* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  text-decoration: none;
  color: #000;
}

body {
  font-family: "Neue Haas Display", sans-serif;
  background-color: #fff09b;
  overflow-x: hidden;
  background-image: url("../img/bg.png");
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.primary-text {
  color: #99b103;
}

.hero {
  width: 100%;
  max-width: 1920px;
  padding: 60px 117px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  min-height: 100vh;
}

.title {
  font-size: 130px;
  line-height: 100%;
  font-weight: 600;
  max-width: 64%;
}

.title-smile img {
  transform: translateY(25px);
}

.description {
  font-size: 40px;
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
}

.arrow {
  margin-top: 30px;
}

.arrow-mobile {
  display: none;
}

.food {
  position: absolute;
  top: -30%;
  right: -20%;
  max-width: 75%;
  z-index: -1;
}

.logo {
  position: absolute;
  top: 780px;
  right: 117px;
}

.thanks {
  display: none;
}

/* Laptop - 1024px to 1439px */
@media (max-width: 1439px) {
  .hero {
    padding: 50px 80px;
  }

  .title {
    font-size: 100px;
    max-width: 70%;
  }

  .description {
    font-size: 32px;
    margin-top: 35px;
  }

  .btns {
    margin-top: 25px;
    max-width: 540px;
  }

  .btn {
    width: 260px;
    font-size: 26px;
    padding: 20px 18px;
  }

  .btn img {
    width: 65px;
  }

  .food {
    top: -10%;
    right: -12%;
    max-width: 70%;
  }

  .logo {
    top: 680px;
    right: 80px;
    max-width: 200px;
  }
}

/* Tablet - 768px to 1023px */
@media (max-width: 1023px) {
  body {
    background-position: center;
  }
  .hero {
    padding: 40px 50px;
    min-height: auto;
  }

  .title {
    font-size: 70px;
    max-width: 85%;
  }

  .title-smile img {
    transform: translateY(15px);
    max-width: 60px;
  }

  .description {
    font-size: 26px;
    margin-top: 30px;
    flex-direction: column;
    gap: 20px;
  }

  .arrow {
    display: none;
  }

  .arrow-mobile {
    display: block;
    margin-top: 20px;
  }

  .btns {
    max-width: 100%;
    margin-top: 150px;
    gap: 15px;
  }

  .btn {
    width: 240px;
    font-size: 22px;
    padding: 18px 16px;
    border-radius: 32px 8px 8px 32px;
  }

  .btn img {
    width: 55px;
  }

  .food {
    top: 10%;
    right: -10%;
    max-width: 80%;
  }
}

/* Mobile - 320px to 767px */
@media (max-width: 767px) {
  .hero {
    padding: 30px 40px;
  }

  .title {
    font-size: 48px;
    max-width: 100%;
  }

  .title-smile img {
    transform: translateY(10px);
    max-width: 40px;
  }

  .description {
    font-size: 18px;
    margin-top: 20px;
  }

  .arrow-mobile {
    margin-top: 15px;
  }

  .btns {
    max-width: 80%;
    margin: 0 auto;
    margin-top: 100px;
    gap: 12px;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 200px;
    font-size: 20px;
    padding: 16px 14px;
    border-radius: 28px 8px 8px 28px;
  }

  .btn img {
    width: 50px;
  }

  .food {
    top: 10%;
    right: -40%;
    max-width: 140%;
    z-index: 1;
  }

  .logo {
    display: none;
  }

  .thanks {
    display: block;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .thanks-title {
    font-size: 25px;
    font-weight: 600;
    line-height: 100%;
  }
  .thanks-description {
    font-size: 12px;
  }
  .smile-img {
    width: 124px;
    height: 124px;
  }
}

/* Small Mobile - 320px to 480px */
@media (max-width: 480px) {
  .hero {
    padding: 60px 40px;
  }

  .title {
    font-size: 40px;
  }

  .title-smile img {
    max-width: 32px;
    transform: translateY(8px);
  }

  .description {
    font-size: 16px;
  }

  .btns {
    margin-top: 40px;
    max-width: 100%;
  }

  .btn {
    font-size: 15px;
    padding: 11px 16px;
    max-width: 160px;
  }

  .btn img {
    width: 45px;
  }

  .food {
    top: 10%;
    right: -36%;
    max-width: 140%;
    z-index: 1;
  }
}

/* Small Mobile - 320px to 480px */
@media (max-width: 420px) {
  .hero {
    padding: 40px 20px;
  }

  .btns {
    margin-top: 20px;
  }

  .thanks {
    margin-top: 30px;
  }
}

.buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 24px 4px 4px;
  border: none;
  border-radius: 12px;
  font-family: "Neue Haas Display", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  animation: attention 2s ease-in-out infinite;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-yandex {
  background: #ffcc00;
  color: #000;
  animation-delay: 0s;
}

.btn-aksu {
  background: #fff;
  color: #000;
  animation-delay: 0.3s;
}

.btn-wolt {
  background: #00b5e4;
  color: #000;
  animation-delay: 0.6s;
  padding-left: 20px;
}

@keyframes attention {
  0%,
  86%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  88% {
    transform: scale(1.08) rotate(-2deg);
  }

  90% {
    transform: scale(1.08) rotate(2deg);
  }

  92% {
    transform: scale(1.08) rotate(-2deg);
  }

  94% {
    transform: scale(1.08) rotate(2deg);
  }
}

.btn img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.btn:hover {
  animation: none;
  transform: scale(1.05);
}

.btn-yandex:hover {
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
}

.btn-aksu:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

@media (max-width: 1000px) {
  .buttons {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .btn {
    width: 100%;
    max-width: 45%;
    padding: 4px 12px 4px 4px;
  }

  .btn img {
    width: 40px;
    height: 40px;
  }
}
