/* RESPONSIVIDADE PARA DISPOSITIVOS MOVEIS */

/* MENU HAMBURGUER*/
@media (max-width: 1150px) {
  html,
  body {
    overflow-x: hidden;
  }

  main {
    background:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(/images/paotrigo.png) center;
    height: 92vh;
    background-size: cover;
    background-color: var(--brown);
  }

  .nav-list {
    position: absolute;
    top: 8vh;
    right: 0;
    width: 50vw;
    height: 92vh;
    background: var(--links);
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
    z-index: 999;
  }

  .nav-list li {
    margin-left: 0;
    opacity: 0;
  }

  .nav-list a {
    font-size: 1.3rem;
  }

  .mobile-menu {
    display: block;
  }

  .nav-list.active {
    transform: translateX(0);
  }

  .nav-list.active li {
    opacity: 1;
    transition: opacity 0.3s ease 0.2s;
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(-35deg) translate(-6px, 8px);
}

.mobile-menu.active .line2 {
  opacity: 0;
}

.mobile-menu.active .line3 {
  transform: rotate(35deg) translate(-5px, -9px); /* 1 foi */
}

@media (max-width: 1150px) {
  section,
  content {
    max-width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .content h3 {
    font-size: 3rem;
    color: var(--bege);
  }

  .content p {
    font-size: 1.3rem;
    color: white;
  }
}

/* CARDAPIO RESPONSIVO */
@media (max-width: 1150px) {
  .title {
    font-size: 4rem;
    color: #68421d;
    display: block;
    align-items: center;
    text-align: center;
  }

  /*
  .menu .title {
    margin-top: 100px;
    margin-bottom: 30px;
  } */

  .menu .subtitle {
    color: var(--links);
    font-size: 1.5rem;
    align-items: center;
    text-align: center;
    margin-bottom: 100px;
    font-family: "Saudagar", sans-serif;
    text-transform: none;
    margin: 3vh;
  }

  /* RESPONSIVO SWIPER */
  .card-list .card-item .card-link {
    user-select: none;
    display: block;
    background: #fff;
    padding: 2vh;
    margin-left: 0;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 11px 10px rgba(0, 0, 0, 0.05);
    cursor: default;
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .card-list .card-link .card-image {
    width: 20vh;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
  }

  .card-list .card-link .card-title {
    font-size: 2rem;
    color: var(--links);
    font-weight: 500;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .card-title,
  #special {
    font-size: 1.69rem;
    color: var(--links);
    font-weight: 500;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .card-list .card-link .btn {
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
    cursor: pointer;
    text-align: center;
    display: block;

    font-size: 1.4rem;
    padding: 1rem 1rem;
  }

  .btn:hover {
    transition: none;
    margin: 5px auto 0;
    font-size: 1.7rem;
    padding: 1rem 2rem;
  }

  .card-wrapper {
    max-width: 1500px;
    margin: 0 7vh;
    padding: 50px 15px;
    overflow: hidden;
  }

  .card-wrapper .swiper-pagination-bullet {
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: #4d604d;
  }

  .card-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
  }
}

@media (max-width: 1150px) {
  .about {
    background-color: #e6b375;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.705);
  }
  .logo-center img {
    width: 34vh;
  }
  .about h2 {
    color: var(--bege);
    font-size: 1rem;
    margin: 50px;
  }
}

/* ABOUT US */
@media (max-width: 1150px) {
  .history {
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 3vh;
  }

  .history h3 {
    color: var(--links);
    font-size: 3rem;
  }

  .history p {
    color: var(--brown);
    font-size: 1.2rem;
    text-align: justify;
    text-transform: none;
    padding: 0;
  }
}

/* DETALHES ACIMA DO FOOTER */
@media (max-width: 1150px) {
  .details {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .details img {
    display: block;
    max-width: 10vh;
    height: auto;
  }

  .details h3 {
    font-size: 1.3rem;
  }
}

/* FOOTER */

/*** Tablet ***/
@media (max-width: 768px) {
  footer {
    padding: 32px 24px;
  }

  .footer-meio {
    gap: 16px;
  }
}

/*** Celular: ***/
@media (max-width: 560px) {
  footer {
    padding: 28px 20px;
  }

  .footer-topo p {
    font-size: 1rem;
  }

  .footer-meio {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .footer-meio section {
    width: 100%;
  }

  .btn-whatsapp {
    width: 100%;
    max-width: 50px;
  }
}
