@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

:root {
  --beige: #d6c9ba;
  --seashell: #f9f5f0;
  --rose: #c8938c;
  --hover-width: 75%;
  --other-width: 25%;
  --speed: 1000ms;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

h1 {
  font-family: "Katibeh", cursive;
  font-weight: 400;
  font-size: 10rem;
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.split.left h1 {
  color: var(--seashell);
}

.split.right h1 {
  color: var(--beige);
}

.btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  text-decoration: none;
  font-size: 1.5rem;
  text-transform: uppercase;
  width: 15rem;
  padding: 1.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn:hover {
  box-shadow: 2px 2px 2px 2px rgba(65, 34, 21, 0.3);
  letter-spacing: 1px;
}

.split.left .btn {
  color: var(--beige);
  background-color: var(--seashell);
}

.split.right .btn {
  color: var(--seashell);
  background-color: var(--beige);
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #333;
}

.split {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.split.left {
  left: 0;
  background: url("./imgs/bg_lunch_1440.jpg") no-repeat top 0 left 50%;
  background-attachment: fixed;
  background-size: cover;
}

.split.right {
  right: 0;
  background: url("./imgs/bg_desserts_1440.jpg") no-repeat top 0 right 50%;
  background-attachment: fixed;
  background-size: cover;
}

.split.right,
.split.left {
  transition: all var(--speed) ease-in-out;
}

.hover-left .left {
  width: var(--hover-width);
}

.hover-left .right {
  width: var(--other-width);
}

.hover-right .right {
  width: var(--hover-width);
}

.hover-right .left {
  width: var(--other-width);
}

.logoContainer {
  position: absolute;
  top: 50px;
  left: 50%;
  z-index: 100;
  width: 250px;
  transform: translateX(-50%);
}

.logoContainer .logo {
  max-width: 100%;
}

@media (max-width: 1440px) {
  h1 {
    font-size: 9rem;
    top: 17%;
  }

  .btn {
    top: 37%;
  }
}

@media (max-width: 1280px) {
  h1 {
    font-size: 8rem;
  }

  .btn {
    font-size: 1.25rem;
    width: 12rem;
    padding: 1.25rem;
    top: 36%;
  }

  .logoContainer {
    width: 200px;
  }
}

@media (max-width: 810px) {
  h1 {
    font-size: 7rem;
  }

  .btn {
    top: 30%;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.5rem;
  }

  .btn {
    font-weight: bold;
    font-size: 0.85rem;
    width: 8rem;
    padding: 0.85rem;
    top: 26%;
  }
}
