/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Saira:wght@100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(0, 0%, 51%);
  --first-color-alt: hsla(0, 0%, 66%, 0.959);
  --title-color: hsl(0, 0%, 47%);
  --text-color: hsl(166, 12%, 40%);
  --white-color: hsl(166, 100%, 99%);
  --dark-color: hsl(0, 0%, 75%);
  --body-color: hsl(0, 0%, 9%);
  --body-white-color: hsl(0, 0%, 100%);
  --body-first-color: hsl(0, 0%, 100%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Cormorant", serif;
  --second-font: "Cormorant", serif;
  --biggest-font-size: 2.5rem;
  --big-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 9.5rem;
    --big-font-size: 4rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

input,
button,
body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button {
  outline: none;
  border: none;
}

h1, h2, h3, h4 {
  font-family: var(--second-font);
  font-weight: var(--font-medium);
  line-height: 110%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: whitesmoke;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 4rem;
}

.section__title {
  text-align: center;
  font-size: var(--big-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 2.5rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  transition: box-shadow .4s;
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--white-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__logo:hover {
  color: var(--first-color)
}

.nav__toggle,
.nav__close {
  display: flex;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px){
  .nav__menu {
    position: fixed;
    top: -120%;
    left: 0;
    background-color: var(--body-color);
    width: 100%;
    padding-block: 4rem;
    box-shadow: 0 8px 16px hsla(166, 85%, 80%, .3);
    transition: top .4s;
  }
}

.nav__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.nav__link {
  color: var(--white-color);
  font: var(--font-medium) var(--h1-font-size) var(--second-font);
  line-height: 110%;
  transition: color .4s;
}

.nav__list:hover {
  color: var(--first-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  top: 0;
}

/* Add shadow header */
.shadow-header {
  box-shadow: 0 4px 16px hsla(166, 85%, 80%, .3);
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.home__container {
  
  position: relative;
  padding-top: 3rem;
  row-gap: 0;
}

.home__title {
  width: 100%;
  top: 2PX;
  color: var(--white-color);
  font-size: 50px;
  font-weight: var(--font-semi-bold);
  text-align: center;
}

.home__images {
  position: relative;
  display: grid;
  justify-items: center;
  justify-self: center;
} 

.home__shape {
  width: 300px;
  height: 380px;
  background-color: var(--first-color);
  border-radius: 20%;
  clip-path: inset(3.5% 2.5% -10% 2.5%);
}

.home__images img {
  position: absolute;
}

.home__coffee {
  max-width: 100%;
  width: 160px;
  bottom: -50.5rem;
  right: -4rem;
  rotate: 5deg;


  /* Duración total de la animación: 4s (1s fade-in + 3s visible) */
  animation: fadeEffect 6s forwards;
  
  /* Asegura que inicie invisible */
  opacity: 0; 
}

@keyframes fadeEffect {
  0% {
    opacity: 0; /* Invisble al inicio */
  }
  25% {
    opacity: 1; /* Aparece rápido (en 1 segundo) */
  }
  75% {
    opacity: 1; /* Se mantiene visible 2 segundos más */
  }
  100% {
    opacity: 0; /* Desaparece al final */
    visibility: hidden; /* Oculta totalmente al final */
  }
}


.home__splash {

  animation-name: endereza;
  animation-duration: 5s;
  animation-fill-mode: forwards;
  
  top: 100px;
  max-width: 100%;
  width: 350px;
  
  left: -1rem;
  bottom: -100.5rem;

}

@keyframes endereza {
  from {
    transform: rotate(20deg); /* Empieza a 20 grados */
  }
  to {
    transform: rotate(0deg); /* Termina derecha (0 grados) */
  }
}

/* Aplicamos la animación a la imagen */
.imagen-animada {
  /* Nombre de la animación, duración, tipo de curva y repetición */
  animation: endereza 5s ease-out forwards;
  
  /* Opcional: Para asegurar que la rotación se vea bien */
  display: block;
  margin: 50px auto; /* Solo para centrarla en el ejemplo */
}


.home__bean-1,
.home__bean-2 {
  width: 40px;
}

.home__bean-1 {
  left: 1.5rem;
  top: 1.5rem;
}

.home__bean-2 {
  right: 3.5rem;
  bottom: 6.5rem;
  rotate: -90deg;
  filter: blur(2px);
}

.home__ice-1 {
  width: 50px;
  left: 1.5rem;
  bottom: 3rem;
}

.home__ice-2 {
  width: 40px;
  top: 8rem;
  right: 1.25rem;
  rotate: 60deg;
}

.home__leaf {
  width: 50px;
  right: 12rem;
  bottom: -1rem;
  rotate: -15deg;
}

.home__sticker {
  position: absolute;
  width: 100px;
  
  right: -1.5rem;
  top: 20rem;
  rotate: 15deg;
}

.home__data {
  margin-top: 10rem;
  text-align: center;
}

.home__description {
  color: #DAA520;
  margin-bottom: 0.5rem;
}

/*=============== BUTTON ===============*/

.boton-imagen,
.boton-comprar,
.boton-disenos {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  font-size: 16px;
}

.boton-icono {
  width: 200px; /* Tamaño del icono */
  height: 100px;
  margin-right: 1px; /* Espacio entre imagen y texto */
}

/* Efecto hover (opcional) */
.boton-imagen:hover {
  background-color: transparent;
}





/*=============== POPULAR ===============*/
.popular {
  background-image: url("/assets/img/fondo-acero.jpg");
  background-size: cover;
}

.popular {
  background-color: var(--body-white-color);
}

.popular .section__title {
  color: var(--title-color);
}

.popular__swiper {
  padding-top: 5.5rem;
}

.popular__card {
  width: 280px;
  display: grid;
  row-gap: 1.5rem;
  align-content: center;
}

.popular__images {
  width: 100%;
  height: auto;
  position: relative;
  display: grid;
  justify-items: center;
  justify-self: center;
}

.popular__shape {
  width: 270px;
  height: 150px;
  background-color: var(--first-color);
  border-radius: 20%;
  clip-path: inset(50% 0 0 0);
}

.popular__images img {
  position: absolute;
}

.popular__coffee {
  width: 100%;
  top: -1.5rem;
}

.popular__bean-1{
  width: 180px;
  top: 15rem;
  left: 30rem;
  transition: transform .5s .1s;

}

.popular__bean-2 {
  width: 100px;
  right: -10rem;
  bottom: 12rem;
  rotate: 5deg;
  filter: blur(0px);
  transition: transform .5s .1s;
}

.popular__data {
  text-align: center;
}

.popular__name {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: var(--h1-font-size);
  color: black;
  margin-bottom: .5rem;
}

.popular__description {
  color: #DAA520;
  margin-bottom: .10rem;
}

.popular__card:hover .popular__bean-1 {
  transform: translate(-.5rem, -.25rem);
}

.popular__card:hover .popular__bean-2 {
  transform: translate(-.5rem, -.25rem);
}



/* Swiper class */
.swiper {
    overflow: visible;
    margin-inline: initial;
  }

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 3rem;
}

.about__data {
  text-align: center;
}

.about .section__title,
.about__description {
  text-align: justify;
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

.about__description {
  font-family: 'Times New Roman', Times, serif;
}

.about__images {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}

.about__shape {
  width: 20px;
  height: 100%;
  background-color: var(--first-color);
  border-radius: 50%;
}

.about__images img {
  margin-top: -5px;
  position: absolute;
  width: 80%;
  height: auto;
}

.about__coffee {
  width: 480px;
  filter: drop-shadow(0 8px 16px hsla(166, 85%, 8%, .5));
}

.about__leaf-1,
.about__leaf-2 {
  width: 280px;
}

.about__leaf-1 {
  width: 100%;
  top: 1.5rem;
  right: -6.5rem;
  rotate: -105deg;
}

.about__leaf-2 {
  top: 7.75rem;
  right: -6.5rem;
  rotate: -15deg;
}


/*=============== PRODUCTS ===============*/

.products {
  
  background-image: url("/assets/img/fondo-acero.jpg");
  background-size: cover;
}


.products .section__title {
  color: rgb(83, 83, 83);
}

.products__container {
  grid-template-columns: repeat(2, 1fr);
}

.products__card {
  
  position: relative;
  color: rgb(83, 83, 83);
  padding: 1rem .5rem .25rem;
}

.products__images {
  position: relative;
  display: grid;
  justify-items: center;
  justify-self: center;
}


.products__shape {
  width: 250px;
  height: 120px;
  background-color: var(--first-color);
  border-radius: 50%;
  clip-path: inset(50% 0 0 0);
}

.products__images img {
  position: absolute;
}

.products__coffee {
  width: 600px;
  top: 0;
  transition: transform .4s;
}

.products__ice-1 {
  width: 30px;
  left: .5rem;
  bottom: 0;
  transition: transform .5s .1s;
}

.products__ice-2 {
  width: 20%;
  top: 3.25rem;
  right: .75rem;
  rotate: 60deg;
  transition: transform .5s .1s;
}

.products__data {
  text-decoration: none;
  color: black;
  margin-top: 1.25rem;
}

.products__data a {
  color: #DAA520;
}

.products__name {

  color: var(--white-color);
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}



.products__button {
  position: absolute;
  right: .5rem;
  bottom: 1.25rem;
  width: 32px;
  height: 32px;
  background-color: var(--first-color);
  color: var(--dark-color);
  font-size: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 8px hsla(166, 85%, 8%, .4);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.products__card:hover .products__coffee {
  transform: translateY(-.25rem);
}

.products__card:hover .products__ice-1 {
  transform: translate(-.25rem, -.25rem)
}

.products__card:hover .products__ice-2 {
  transform: translate(-.5rem, -.5rem)
}

/*=============== CONTACT ===============*/
.contact .section__titel {
  color: var(--white-color);
}

.contact__container,
.contact__info {
  row-gap: 2rem;
}

.contact__info {
  color: var(--white-color);
  text-align: center;
}

.contact__title {
  
  font-size: var(--h1-font-size);
  margin-bottom: .5rem;
}

.contact__social {
  display: flex;
  gap: 3px; 
  font-family: Georgia, 'Times New Roman', Times, serif;
  row-gap: .5rem;
  text-decoration: none;
  color: hsl(0, 0%, 9%);
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.contact__social-link {
  color: black;
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}

.contact__social-link:hover {
  transform: translateY(-.25rem);
}

.contact__address {
  font-style: normal;
}

.contact__map {
  color: var(--first-color);
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  margin-top: .5rem;
  font-size: 1rem;
}

.contact__map span {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.contact__images {
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: 3rem;
}

.contact__shape {
  width: 300px;
  height: 300px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.contact__delivery {
  width: 230px;
  position: absolute;
  top: -2.5rem;
  mask-image: linear-gradient(to bottom,
              var(--first-color) 80%,
              transparent 100%);
}


/*=============== FOOTER ===============*/
.footer {
  background-image: url("/assets/img/fondo-acero.jpg");
  background-size: cover;
  padding-block: 4rem 2rem;
}
  


.footer__container {
  row-gap: 3rem;
}

.footer__title {
  font-size: var(--h2-font-size);
  color: rgb(54, 54, 54);
  margin-bottom: 1rem;
}

.footer__social,
.footer__pay,
.footer__form {
  display: flex;
  justify-content: center;
  column-gap: 5rem;
}

.footer__social-link {
  font-size: 1.5rem;
  color: rgb(83, 83, 83);
  transition: transform .4s;
}

.footer__social-link:hover {
  transform: translateY(-.25rem);
}

.footer__pay-card {
  width: 30px;
}

.footer__form {
  color: rgb(83, 83, 83);
  padding: .5rem;
}

.footer__input {
  width: 100%;
  background: transparent;
  padding-left: .75rem;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
}

.footer__input::placeholder {
  color: var(--white-color);
}

.footer__button {
  padding: .75rem 1.5rem;
  color: rgb(83, 83, 83);
  cursor: pointer;
}

.footer__copy {
  display: block;
  margin-top: .5rem;
  color: rgb(83, 83, 83);
  text-align: center;
  font-size: var(--small-font-size);
}


/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background-color: hsl(166, 20%, 30%);
}

::-webkit-scrollbar-thumb {
  
  background-color: hsl(166, 20%, 40%);
}

::-webkit-scrollbar-thumb:hover {
  
  background-color: hsl(166, 20%, 50%);
}




/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 4px 8px hsla(166, 85%, 8%, .4);
  color: var(--white-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover {
  transform: translateY(-.5rem);

}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}




/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 360px) {
  .container {
    margin-inline: 1rem;
   } 
    
  .section__title {
      font-size: 2rem;
    }
  
  .home__title {
      font-size: 3.5rem;
    }

  .home__shape {
    width: 250px;
    height: 250px;
    }

  .home__coffee {
      width: 100%; 
      top: 3rem;
    }

  .home__splash {
    width: 310px;
  }

  .home__sticker {
    top: 25rem;
  }

  .about__shape {
    width: 250px;
    height: 250px;
  }

  .about__coffee {
    width: 240px;
  }

  .products__container {
    grid-template-columns: 160px;
    justify-content: center;
  }

  .contact__shape {
    width: 250px;
    height: 250px;
  } 

  .contact__delivery {
    width: 190px;
  }
}

@media screen and (max-width: 450px) {
  .container {
    margin-inline: 1rem;
   } 
    
  .section__title {
      font-size: 2rem;
    }
  
  .home__title {
      font-size: 3.5rem;
    }

  .home__shape {
    width: 250px;
    height: 250px;
    }

  .home__coffee {
      width: 100%; 
      top: 3rem;
    }

  .home__splash {
    width: 310px;
  }

  .home__sticker {
    top: 25rem;
  }

  .about__shape {
    width: 250px;
    height: 250px;
  }

  .about__coffee {
    width: 240px;
  }

  .products__container {
    grid-template-columns: 160px;
    justify-content: center;
  }

  .contact__shape {
    width: 250px;
    height: 250px;
  } 

  .contact__delivery {
    width: 190px;
  }
}


/* For medium devices */

@media screen and (min-width: 576px) {

  .home__coffee {
        width: 100%;
        top: 1rem;
      }


  .home__container,
  .about__container {
    grid-template-columns: 400px;
    justify-content: center;
  }

  .products__container {
    grid-template-columns: repeat(2, 160px);
    justify-content: center;
  }

  .footer__form {
    width: 360px;
  }

}

@media screen and (min-width: 540px) {

  .home__coffee {
        width: 100%;
        top: 1rem;
      }


  .home__container,
  .about__container {
    grid-template-columns: 400px;
    justify-content: center;
  }

  .products__container {
    grid-template-columns: repeat(2, 160px);
    justify-content: center;
  }

  .footer__form {
    width: 360px;
  }

}

  @media screen and (min-width: 490px) {

  .home__coffee {
        width: 100%;
        top: 1rem;
      }


  .home__container,
  .about__container {
    grid-template-columns: 400px;
    justify-content: center;
  }

  .products__container {
    grid-template-columns: repeat(2, 160px);
    justify-content: center;
  }

  .footer__form {
    width: 360px;
  }

}

@media screen and (min-width:768px) {
  .home__coffee {
        width: 100%;
        top: 1rem;
      }

  .popular__swiper {
    width: 850px;
    overflow-x: clip;
    justify-self: center;
  }

  .products__container {
    grid-template-columns: repeat(3, 160px);
  }

  .contact__container {
    justify-content: center;
  }

  .contact__info {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    column-gap: 6rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .footer div:nth-child(3) {
    grid-column: 1/3;
  }

  .footer__title {
    text-align: center;
  }

}

/* For large devices */
  @media screen and (min-width: 1150px) {
    .container {
      margin-inline: auto;
    }

    .section {
      padding-block: 7rem 5rem;
    }

    .section__title {
      margin-bottom: 1rem;
    }

    .nav {
      height: calc(var(--header-height) + 2rem);
    }

    .nav__toggle,
    .nav__close {
      display: none;
    }

    .nav__list {
      flex-direction: row;
      column-gap: 4rem;
    }

    .nav__link {
      font-size: var(--normal-font-size);
    }

    .home__container {
      grid-template-columns: 970px;
      max-width: 970px;
      padding-top: 2.5rem;
    }

    .home__images {
      transform: translate(1rem, -2rem);
    }

    .home__shape {
      width: 550px;
      height: 390px;
    }

    .home__coffee {
      width: 100%;
      top: 10rem;
    }

   .home__splash {

    animation-name: endereza;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    
    top: 50px;
    max-width: 100%;
    width: 350px;
    
    left: -1rem;
    bottom: -100.5rem;

  }

    @keyframes endereza {
      from {
        transform: rotate(20deg); /* Empieza a 20 grados */
      }
      to {
        transform: rotate(0deg); /* Termina derecha (0 grados) */
      }
    }

    /* Aplicamos la animación a la imagen */
    .imagen-animada {
      /* Nombre de la animación, duración, tipo de curva y repetición */
      animation: endereza 5s ease-out forwards;
      
      /* Opcional: Para asegurar que la rotación se vea bien */
      display: block;
      margin: 50px auto; /* Solo para centrarla en el ejemplo */
    }
    
    .home__bean-1,
    .home__bean-2 {
      width: 70px;
    }

    .home__bean-1 {
      left: 3rem;
      top: 3.5rem;
    }

    .home__bean-2 {
      bottom: 10.75rem;
      right: 6.5rem;
    }

    .home__ice-1 {
      width: 90px;
      left: 5.5rem;
      bottom: 5rem;
    }

    .home__ice-2 {
      width: 70px;
      top: 6.5rem;
      right: 2rem;
    }

    .home__leaf {
      width: 90px;
      right: 10rem;
      bottom: -2.5rem;
    }

    .home__data {
      position: absolute;
      top: 14rem;
      left: 0;
      width: 430px;
      text-align: initial;
      margin-top: 0;
    }

    .home__description {
      margin-bottom: 3rem;
    }

    .home__sticker {
      width: 250px;
      top: 23rem;
      right: -200px;
    }

    .popular__container {
      padding-bottom: 2rem;
    }

    .popular__swiper {
      width: 100%;
    }


    .popular__card {
    width: 400px;
    display: grid;
    row-gap: 1.5rem;
    align-content: center;
    }

    .popular__images {
      width: 100%;
      height: 100%;
      position: relative;
      display: grid;
      justify-items: center;
      justify-self: center;
    }

    

    .popular__shape {
      width: 450px;
      height: 280px;
    }

    .popular__coffee {
      width: 450px;
      top: -2rem;
    }

    .popular__bean-1{
  width: 250px;
  top: 20rem;
  left: 23rem;
  transition: transform .2s .1s;

}

    .popular__bean-2 {
      width: 100px;
      right: 2.5rem;
      bottom: 1.5rem;
    }

    .about__container {
      grid-template-columns: 430px 500px;
      align-items: center;
      column-gap: 6rem;
      padding-block: 2rem;
    }

    .about__data,
    .about .section__title {
      text-align: initial;
    }

    .about__description {
      margin-bottom: 4rem;
    }

    .about__shape {
      width: 400px;
      height: 500px;
    }

    .about__coffee {
      width: 300px;
    }

    .about__leaf-1,
    .about__leaf-2 {
      width: 400px;
    }

    .about__leaf-1 {
      top: 2.75rem;
      left: 9.6rem;
    }

    .about__leaf-2 {
      top: 14.75rem;
      right: -8.5rem;
    }

    .products__container {
      grid-template-columns: repeat(2, 600px);
      gap: 5rem;
      padding-bottom: 10rem;
    }

    .products__card {
      padding: 1.5rem 2rem 2rem;
    }

    .products__shape {
      width: 600px;
      height: 400px;
    }

    .products__coffee {
      width: 900px;
    }

    .products__ice-1 {
      width: 50px;
      left: .75rem;
    }

    .products__ice-2 {
      width: 30px;
      top: 5.5rem;
      right: 1.5rem;
    }

    .products__data {
      margin-top: 1.5rem;
    }

    .products__name,
    .products__price {
      font-size: var(--h2-font-size);
    }

    .products__button {
      right: 1rem;
      bottom: 2rem;
      width: 36px;
      height: 36px;
    }

    .contact .section__title {
      font-size: var(--biggest-font-size);
    }

    .contact__container {
      grid-template-columns: repeat(3, max-content);
      align-items: flex-start;
      column-gap: 3rem;
    }

    .contact__info {
      grid-template-columns: max-content;
      row-gap: 6rem;
      margin-top: 7rem;
    }

    .contact__info:nth-child(2) {
      order: 2;
    }

    .contact__title {
      font-size: var(--h2-font-size);
      margin-bottom: 1rem;
    }

    .contact__social {
      column-gap: 1.5rem;
    }

    .contact__images {
      margin-top: 0;
    }

    .contact__shape {
      width: 500px;
      height: 500px;
    }

    .contact__delivery {
      width: 380px;
      top: -3.5rem;
    }

    .footer__container {
      grid-template-columns: repeat(3, 1fr);
    }

    .footer__container div:nth-child(3) {
      grid-column: initial;
    }

    .footer__container div:nth-child(2) {
      order: 1;
      justify-self: end;
      
    }

    .footer__container div:nth-child(1) {
      justify-self: start;
    }

    .footer__social,
    .footer__pay{
      margin-inline: auto;
      justify-content: center;
    }

    .footer__copy {
      margin-top: 5rem;
    }

    .scrollup {
      right: 3rem;
    }
   
}

/* For 2K resolutions (2048 x 1152, 2048 x 1536) */

@media screen and (min-width: 2048px) {
  body {
    zoom: 1.3;
  }
}
