/* ---MAIN STYLES--- */

.main_section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 10% 8% 8% 8%;
}

.main_section .main_box {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.main_section .main_slider {
  position: relative;
}

.main_section .main_slider .slick-dots {
  display: flex;
  gap: 20px;
  position: absolute;
  right: 10%;
  bottom: 10%;
  list-style: none;
}

.main_section .main_slider .slick-dots li.slick-active button {
  background-color: var(--yellow);
}

.main_section .main_slider .slick-dots li button {
  display: block;
  width: 15px;
  height: 15px;
  padding: 0;
  border-radius: 100%;
  background-color: var(--orange);
  text-indent: -999vw;
}

.main_section .title_box {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.main_section h1 {
  display: flex;
  flex-direction: column;
}

.main_section h1 .span_1 {
  color: var(--orange);
  font-size: 70px;
  transform: translateX(5%);
}

.main_section h1 .span_2 {
  color: var(--gray);
  font-size: 50px;
  align-self: center;
}

.main_section h1 .span_3 {
  color: var(--orange);
  font-size: 70px;
}

.main_section .slide_btn {
  width: fit-content;
  border-radius: 30px;
  padding: 5px;
}

.main_section .slide_btn span {
  padding: 0;
  font-size: 25px;
  font-weight: 400;
}

.main_section .slide_btn i {
  z-index: 1;
}

.main_section .slide_btn i {
  display: flex;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  color: var(--orange);
  width: 50px;
  height: 40px;
  margin: 3px;
  background: white;
  transition: all 0.2s ease-in-out;
}

.main_section .slide_btn:hover i {
  color: var(--gray);
}

.main_section .media_box {
  width: 55%;
  position: relative;
}

.main_section .leaves_img {
  position: absolute;
  top: 15%;
  right: 0;
  width: 20%;
  -webkit-filter: drop-shadow(3px 3px 8px #00000040);
  filter: drop-shadow(3px 3px 8px #00000040);
  z-index: 1;
}

.main_section .networks_box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  top: 50%;
  left: 0;
  padding: 50px 10px;
  border-radius: 0 50px 50px 0;
  transform: translateY(-50%);
  background: white;
  box-shadow: 5px 5px 10px #00000020;
  transition: 0.25s;
}

.main_section .networks_box:hover {
  padding: 50px 10px 50px 15px;
}

.main_section .networks_box a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_section .networks_box i {
  font-size: 18px;
  color: var(--orange);
}

.main_section .networks_box a:hover i {
  color: var(--yellow);
}

.main_section #blob_01 {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  z-index: -1;
}

.main_section #blob_02 {
  position: absolute;
  top: 25%;
  right: 0;
  width: 6%;
  z-index: -1;
}

.main_section .leaves_first_sect {
  position: absolute;
  top: 74%;
  right: 0;
  width: 15%;
  z-index: -1;
}

@media (max-width: 1800px) and (min-width: 996px) {
  .main_section {
    padding: 10% !important;
  }

  .main_section .slide_btn span {
    font-size: 15px !important;
  }

  .main_section h1 .span_1 {
    color: var(--orange) !important;
    font-size: 50px !important;
    transform: translateX(5%) !important;
  }

  .main_section h1 .span_2 {
    color: var(--gray) !important;
    font-size: 40px !important;
    align-self: center !important;
  }

  .main_section h1 .span_3 {
    color: var(--orange) !important;
    font-size: 50px !important;
  }

  .menu_section {
    padding: 8%;
  }
  .menu_section .card_box{
    height: 27vw !important;
  }

  .category_section .food_item img {
    transform: scale(1.2) !important;
  }

  .app_section::before {
    height: 70% !important;
  }

  .delivery_section h2 {
    font-size: 55px !important;
  }

  .delivery_section p {
    font-size: 20px !important;
  }
}

@media (max-width: 996px) {
  .main_section {
    height: fit-content;
    padding: 30% 10%;
  }
  .main_section .main_box {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .main_section .slide_btn span {
    font-size: 20px;
  }
  .main_section .main_slider .slick-dots {
    right: 0%;
    left: 50%;
    justify-content: center;
    transform: translateX(-50%);
    bottom: 5%;
  }
  .main_section .main_slider .slick-dots li button {
    width: 10px;
    height: 10px;
  }
  .main_section .title_box {
    align-items: center;
    gap: 15px;
  }
  .main_section h1 {
    text-align: center;
  }
  .main_section h1 .span_2 {
    color: var(--gray);
    font-size: 28px;
    align-self: center;
  }
  .main_section h1 .span_3 {
    color: var(--orange);
    font-size: 40px;
  }
  .main_section h1 .span_1 {
    color: var(--orange);
    font-size: 40px;
    transform: translateX(5%);
  }

  .main_section .media_box {
    width: 100%;
  }
  .main_section .leaves_img {
    top: 10%;
    width: 25%;
  }
  .main_section #blob_01 {
    width: 65%;
  }
  .main_section #blob_02 {
    top: 85%;
    width: 17%;
  }
}

/* ---ABOUT STYLES--- */

.about_section {
  position: relative;
  padding: 10% 15%;
}

.about_section #blob_04 {
  position: absolute;
  left: -2%;
  top: 6%;
  width: 9%;
}

.about_section .about_box {
}

.about_section .info_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about_section h2 {
  color: var(--orange);
  font-size: 70px;
}

.about_section h2 span {
  color: white;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--yellow);
}

.about_section a {
  width: fit-content;
  margin-top: 10px;
  border-radius: 30px;
  padding: 10px 20px;
  background: var(--orange);
}

.about_section a::after {
  background: var(--yellow);
}

.about_section a span {
  color: white;
  padding: 0;
  font-size: 20px;
}

.about_section a:hover span {
  color: white;
}

.about_section .media_box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.about_section .media_box img {
  width: 70%;
}

@media (max-width: 996px) {
  .about_section {
    padding: 20% 0 0 0;
  }
  .about_section::before {
    width: 56.5%;
  }
  .about_section #blob_04 {
    position: absolute;
    left: -2%;
    top: 15%;
    z-index: -1;
    width: 25%;
  }
  .about_section .about_box {
    grid-template-columns: 100%;
  }
  .about_section .info_box {
    padding: 0 10%;
  }
  .about_section h2 {
    font-size: 50px;
  }
  .about_section .media_box img {
    width: 50%;
  }
}

/* ---MENU STYLES--- */

.menu_section {
  position: relative;
  padding: 0 8% 8% 8%;
}

.menu_section .title_box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu_section h2,
.menu_section p {
  text-align: center;
}

.menu_section .title_box h2 {
  color: var(--orange);
  font-size: 40px;
}

.menu_section .title_box p {
  width: 70%;
}

.menu_section .carousel_box {
  position: relative;
}

.menu_section .nav_box i {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  color: white;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  border-radius: 50%;
  background: var(--yellow);
  z-index: 1;
}

.menu_section .nav_box i:hover {
  background: var(--orange);
  transform: translateY(-50%) scale(0.95);
}

.menu_section .prev_card {
  left: -50px;
}

.menu_section .next_card {
  right: -50px;
}

.menu_section .card_box {
  position: relative;
  display: flex;
  margin: 5%;
  height: 24vw;
  border-radius: 10px;
  box-shadow: 3px 3px 15px #00000020;
  overflow: hidden;
  transition: 0.5s;
  cursor: pointer;
  flex-direction: column;
}


.menu_section .card_box:hover {
  transform: translateY(-5px);
}

.menu_section .bg_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  animation: slide_bg 25s linear infinite;
}

.menu_section .media_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10% 10% 3% 10%;
}

.menu_section img {
  width: 100%;
  -webkit-filter: drop-shadow(3px 3px 8px #00000040);
  filter: drop-shadow(3px 3px 8px #00000040);
  transition: 0.5s;
}

.menu_section .card_box:hover img {
  transform-origin: bottom;
  transform: scale(1.05);
}

.menu_section .info_box {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  background: #fff3e0;
  padding: 0 10% 10% 10%;
  justify-content: flex-end;
}

.menu_section .info_box h2 {
  color: var(--orange);
  font-size: 18px;
}

.menu_section .info_box p {
  display: -webkit-box;
  font-size: 14px;
  margin: 15px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.menu_section .waves_01 {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-98%);
  width: 100%;
  z-index: -1;
}

.menu_section #blob_03 {
  position: absolute;
  top: 55%;
  left: 0;
  width: 9%;
  z-index: -1;
}

@media (max-width: 996px) {
  .menu_section {
    padding: 0% 0 20% 0;
  }
  .menu_section .title_box {
    padding: 0 10%;
  }
  .menu_section .title_box h2 {
    font-size: 30px;
  }
  .menu_section .title_box p {
    width: 100%;
  }
  .menu_section .prev_card {
    left: 10px;
  }
  .menu_section .next_card {
    right: 10px;
  }
  .menu_section .card_box {
    margin: 30px 18% 50px 18%;
    height: 90vw;
  }
  .menu_section #blob_03 {
    top: 70%;
    width: 15%;
  }
}

/* ---WELCOME STYLES--- */

.welcome_section {
  padding: 5% 8% 10% 8%;
}

.welcome_box {
  background-color: var(--yellow);
  padding: 5%;
  position: relative;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.welcome_box .app_chicken {
  position: absolute;
  right: 2%;
  top: -6%;
  width: 10%;
  animation: app_rotation 3s alternate infinite;
}

.welcome_box .app_soda {
  position: absolute;
  top: -12%;
  right: 14%;
  width: 6%;
  animation: app_rotation 3s alternate-reverse infinite;
}

.welcome_box h2 {
  font-size: 55px;
  color: var(--orange);
}

.welcome_box span {
  font-size: 40px;
}

@media (max-width: 996px) {
  .welcome_section {
    padding: 0% 5% 20% 5%;
  }

  .welcome_box {
    padding: 10%;
    gap: 3vw;
  }

  .welcome_box h2 {
    font-size: 30px;
  }

  .welcome_box span {
    font-size: 20px;
  }

  .welcome_box img {
    display: none;
  }
}

/* ---APP STYLES--- */

.app_section {
  position: relative;
  padding: 5% 10%;
}

.app_section .app_box {
  display: grid;
  grid-template-columns: 50% 50%;
  position: relative;
}

.app_section .app_box::before {
  position: absolute;
  content: "";
  left: 10%;
  z-index: -1;
  top: 8%;
  width: 90%;
  height: 80%;
  background-color: var(--yellow);
  border-radius: 25px;
}

.app_section .media_box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app_section .media_box img:not(.app_man) {
  position: absolute;
}

.app_section .app_man {
  width: 70%;
}

.app_section .app_fries {
  width: 32%;
  bottom: 0;
  left: 0;
  z-index: 1;
  animation: app_rotation 5s alternate-reverse infinite;
}

.app_section .app_chicken {
  width: 25%;
  top: 0;
  left: 0;
  z-index: 1;
  animation: app_rotation 3s alternate infinite;
  animation-delay: 3s;
}

.app_section .app_soda {
  width: 13%;
  top: 35%;
  left: -15%;
  z-index: 1;
  animation: app_rotation 3s alternate infinite;
}

.app_section .app_juice {
  width: 17%;
  top: 7%;
  right: 10%;
  z-index: -1;
  animation: app_rotation 2s alternate infinite;
}

.app_section .info_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.app_section h2 {
  color: var(--orange);
  font-size: 100px;
  display: flex;
  z-index: 1;
  flex-direction: column;
}

.app_section h2 span {
  color: var(--gray);
  align-self: center;
}

.app_section .slide_btn {
  width: fit-content;
  border-radius: 25px;
  background: var(--orange);
}

.app_section .slide_btn:hover span {
  color: var(--orange);
}

.app_section .slide_btn::after {
  background: white;
}

.app_section .slide_btn span {
  color: white;
  font-size: 30px;
  padding: 10px 20px;
}

.app_section .store_box {
  display: flex;
  justify-content: center;
  align-content: center;
  gap: 5px;
}

.app_section .store_box img {
  width: 100%;
}

@media (max-width: 1800px) and (min-width: 996px) {
  .app_section h2 {
    font-size: 70px !important;
  }

  .app_section .slide_btn span {
    font-size: 25px !important;
  }
}

@media (max-width: 996px) {
  .app_section {
    padding: 30% 10%;
  }
  .app_section::before {
    top: 50%;
    width: 90%;
    height: 70%;
  }
  .app_section .slide_btn span{
    color: white;
    font-size: 18px;
    padding: 10px 20px;
  }
  .app_section .app_box {
    grid-template-columns: 100%;
    gap: 30px;
  }
  .app_section .app_box::before {
    position: absolute;
    content: "";
    left: 0%;
    z-index: -1;
    top: 8%;
    width: 100%;
    height: 100%;
    background-color: var(--yellow);
    border-radius: 25px;
  }
  .app_section .media_box {
    justify-content: flex-end;
  }
  .app_section .app_fries {
    left: 5%;
  }
  .app_section .app_chicken {
    left: 5%;
  }
  .app_section .app_soda {
    width: 15%;
    left: -5%;
  }
  .app_section .app_juice {
    right: -5%;
  }
  .app_section h2 {
    font-size: 30px;
  }
  .app_section .store_box img {
    width: 100%
  }
}

/* ---CATEGORY STYLES--- */

.category_section {
  position: relative;
  padding: 0;
}

.category_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 59%;
  height: 100%;
  border-radius: 0 20px 20px 0;
  background: var(--orange);
  z-index: -1;
}

.category_section .leave_01,
.category_section .leave_02 {
  position: absolute;
  width: 15%;
}

.category_section .leave_01 {
  top: 0;
  left: 0;
  transform: translate(-30%, -50%);
}

.category_section .leave_02 {
  bottom: 0;
  right: 0;
  transform: translateY(40%);
}

.category_section .category_box {
  display: grid;
  grid-template-columns: 45% 55%;
}

.category_section .info_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15% 5% 15% 15%;
}

.category_section .info_box h2 {
  color: white;
  display: flex;
  gap: 10px;
  font-size: 70px;
}

.category_section .info_box h2 span {
  color: var(--yellow);
}

.category_section p {
  color: white;
  margin: 20px 0 25px 0;
}

.category_section .nav_box {
  display: flex;
  gap: 30px;
}

.category_section .nav_box i {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  color: var(--orange);
  font-size: 20px;
  border-radius: 50%;
  background: white;
  z-index: 1;
}

.category_section .nav_box i:hover {
  color: white;
  transform: scale(0.95);
  background: var(--yellow);
}

.category_section .media_box {
  position: relative;
  overflow: hidden;
}

.category_section .bg_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  object-fit: cover;
  z-index: -2;
  animation: slide_bg 25s linear infinite;
}

.category_section .category_slick {
  height: 100%;
}

.category_section .slick-list,
.category_section .slick-track {
  height: 100% !important;
}

.category_section .food_item {
  height: 100%;
  display: grid;
  gap: 30px;
  justify-items: center;
  grid-template-columns: 50% 50%;
  align-items: center;
  position: relative;
}

.category_section .food_item img {
  -webkit-filter: drop-shadow(3px 3px 8px #00000040);
  filter: drop-shadow(3px 3px 8px #00000040);
  transform: scale(1.5);
}

.category_section .food_item h2 {
  color: var(--orange);
  font-size: 60px;
  width: fit-content;
  justify-self: flex-start;
  position: relative;
}

.category_section .food_item h2::before {
  position: absolute;
  bottom: -7%;
  left: 0;
  border-radius: 25px;
  content: "";
  width: 50%;
  height: 7px;
  background-color: var(--orange);
}

.category_section .food_item #comillas {
  position: absolute;
  left: 0;
  width: 10%;
  bottom: 6%;
  transform: rotate(180deg);
}

@media (max-width: 996px) {
  .category_section {
    padding: 20% 0 0 0;
  }
  .category_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 66%;
    border-radius: 0;
    background: var(--orange);
    z-index: -1;
  }
  .category_section .leave_01,
  .category_section .leave_02 {
    width: 35%;
  }
  .category_section .category_box {
    grid-template-columns: 100%;
  }
  .category_section .info_box {
    padding: 0 5% 5% 5%;
  }
  .category_section .info_box h2 {
    font-size: 35px;
  }
  .category_section .media_box {
    padding: 0 10% 10% 10%;
  }
  .category_section .food_item {
    grid-template-columns: 60% 40%;
    gap: 0;
  }
  .category_section .food_item h2::before {
    position: absolute;
    bottom: -20%;
    left: 0;
    border-radius: 25px;
    content: "";
    width: 50%;
    height: 5px;
    background-color: var(--orange);
  }
  .category_section .food_item h2 {
    font-size: 25px;
  }
  .category_section .food_item img {
    transform: scale(1);
  }
}

/* ---DELIVERY STYLES--- */

.delivery_section {
  position: relative;
  padding: 8% 8% 25% 8%;
  z-index: 1;
}

.delivery_section .delivery_box {
  position: relative;
  display: grid;
  justify-items: end;
  grid-template-columns: 50% 50%;
}

.delivery_section .delivery_box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  border-radius: 500px 100px 100px 500px;
  background: var(--orange);
  z-index: -1;
}

.delivery_section .info_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10% 0 10% 20%;
}

.delivery_section h2 {
  color: white;
  font-size: 85px;
}

.delivery_section .yellow_txt {
  color: var(--yellow);
}

.delivery_section p {
  color: white;
  font-size: 30px;
  font-weight: 500;
  margin: 15px 0;
}

.delivery_section a {
  width: fit-content;
  background: white;
  padding: 10px 20px;
  border-radius: 25px;
}

.delivery_section a::after {
  background: var(--yellow);
}

.delivery_section a span {
  color: var(--orange);
  padding: 0;
  font-size: 20px;
}

.delivery_section .media_box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.delivery_section img {
  transform-origin: right;
}

@media (max-width: 996px) {
  .delivery_section {
    padding: 20% 10% 40% 10%;
  }
  .delivery_section .delivery_box {
    grid-template-columns: 100%;
  }
  .delivery_section .delivery_box::before {
    width: 100%;
    border-radius: 500px 500px 50px 50px;
  }
  .delivery_section .info_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25% 10%;
  }
  .delivery_section h2 {
    font-size: 32px;
    text-align: center;
  }
  .delivery_section p {
    text-align: center;
  }
  .delivery_section img {
    transform-origin: center;
    transform: scale(1.2);
  }
}
