:root {
  --primnary-color: #00a8db;
  --secundary-color: #ff1867;
  overflow-x:hidden;  
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow-x:hidden;  
  h1,
  h2,
  h3 {
    font-family: "iconic_trialheavy";
  }
  h4 {
    font-family: "uni_sansbold";
  }
  p,
  a,
  ul li {
    font-family: "uni_sans_regularregular";
  }
}

header {
  position: relative;
  background-color: var(--primnary-color);
  padding: 1rem 0;
  margin: 0 auto;
  width: 100%;
}

header .flexbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 90vw;
  margin: 0 auto;
}

header .flexbox .logouno img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

header .flexbox .menugroup {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .flexbox .menugroup .menu {
  padding-right: 2rem;
}

header .flexbox .menugroup .menu nav ul {
  margin-bottom: 0;
  display: flex;
  list-style: none;
  align-items: center;
  height: 100%;
}

header .flexbox .menugroup .menu nav ul li {
  padding-right: 7vw;
} 

header .flexbox .menugroup .menu nav ul li:nth-child(4) a {
   color:#00a8db;
   background-color:#fff;
   padding:0.25rem 1rem;
   border-radius:0.7rem;
   box-shadow:4px 16px 20px rbga(0,0,0,0.6);
}

header .flexbox .menugroup .menu nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5vw;
}

header .flexbox .menugroup .amadita img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* --- NUEVOS ESTILOS PARA EL BOTÓN (Escritorio) --- */
.amadita {
  display: flex;
  align-items: center;
}

.menu-btn {
  display: none; /* Oculto en escritorio */
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  margin-left: 20px;
}

.video {
   height: 100vh;
   width: 100%;
}

.video iframe {
    height:100%;
}

@media screen and (max-width:769px) {
   .video {
    height: 600px !important;
   }
   .video iframe {
       height:600px !important;
   }
}

.banner {
  height: 100vh;
  width: 100vw;
  background-color: var(--primnary-color);
}

.wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 80vw;
  margin: 0 auto;
}

.contenido h4,
.contenido h1,
p {
  color: #fff;
}

.contenido h4 {
  font-size: 2.3vw;
}

.contenido h1 {
  font-size: 8vw;
  line-height: 0.8;
}

.contenido p {
  font-size: 1.2vw;
  width: 70%;
  margin-bottom: 2rem;
}

.contenido p:last-of-type {
    margin-bottom: 0;
}

.papeles img {
  width: 40vw;
  height: auto;
  object-fit: contain;
}

.lashojas {
  background-image: url(img/fondo-lashojas.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100vw;
}

.lashojas .wrap {
    align-items: start;
    padding-top: 8rem;

}

.lashojas .contenido p {
    width: 50%;
    padding-top: 1rem;
}

.popocolores {
    background-color: var(--primnary-color);
      height: 100vh;
  width: 100vw;
}

.popocolores .wrap .popoimage, .contenido {
     max-width: 40vw;
    justify-content: end;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.popocolores .wrap .popoimage img {
    width: 100%;
    object-fit: contain;
    max-height: 400px;
}

.popocolores .contenido p {
    width: 100%;
}

.popocolores .contenido h2 {
    font-size: 3vw;
    text-transform: uppercase;
    width: 80%;
    line-height: 1;
    padding-bottom: 2rem;
}

.popocolores .contenido h3 {
    font-size: 1.8vw;
     line-height: 2;
     text-transform: uppercase;
}

.formadepopo {
    background-color: var(--secundary-color);
    width: 100vw;
    height: 100vh;
}

.formadepopo .contenido h2 {
    font-size: 3vw;
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 3.5rem;
}

.formadepopo .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5vw;
}

.formadepopo .grid .componente .titulo {
  display: flex;
  align-items: center;
  padding-bottom: 2rem;
}

.formadepopo .grid .componente:nth-of-type(1) .titulo img {
    width: 83px;
    object-fit: contain;
    height: auto;
}

.formadepopo .grid .componente .titulo img {
  width: 120px;
  padding-right: 1vw;
}

.formadepopo .grid .componente .titulo h4 {
    font-size: 1.6vw;
    color: #fff;
}

.formadepopo .grid .componente .texto p {
    font-size: 1vw;
    margin-bottom: 1rem
}

.container {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 80vw;
    margin: 0 auto;
}

footer {
  background-color: #fff;
  padding: 2rem 0;
  display: flex;
  justify-content: flex-end;
  max-width: 80vw;
  margin: 0 auto;
}

footer .logo img {
  width: auto;
  height: 90px;
  object-fit: contain;
}

.gototop {
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 1000;
}

.gototop:hover button {
  transform: scale(1.5);
}

.gototop button {
  border: 0;
  background-color: transparent;
  width: 3em;
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secundary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: .5s;
}

.gototop button svg {
  width: 1.5em;
  height: 1.5em;
}

.gototop button svg path {
  fill: #fff;
}


@media screen and (max-width:728px) {
    .formadepopo .grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}


@media screen and (max-width:1024px) {
  .menu-btn {
      display: block; /* Muestra el botón en móvil */
    }

    header .flexbox .menugroup .menu {
      display: none; /* Oculta el menú por defecto */
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: var(--primnary-color);
      padding: 1rem 0;
      z-index: 999;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    header .flexbox .menugroup .menu.active {
      display: block; /* Clase que añade JavaScript para mostrarlo */
    }

    header .flexbox .menugroup .menu nav ul {
      flex-direction: column;
      justify-content: center;
      padding-left: 0;
    }

    header .flexbox .menugroup .menu nav ul li {
      padding: 1rem 0; /* Espaciado para dispositivos táctiles */
      padding-right: 0;
      text-align: center;
    }

    header .flexbox .menugroup .menu nav ul li a {
      font-size: 1.5rem;
    }
    .amadita {
      flex-direction: column;
      align-items: end;
    }
      .amadita img {
        height: 30px !important;
      }
    .wrap {
        flex-direction: column;
        justify-content: center !important;
        max-width: 89vw !important;
        margin: auto;
    }
    
    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .banner .contenido {
      margin-bottom: 2rem;
      max-width: 80vw;
    }
    .banner .contenido h1 {
      font-size: 4rem;
    }
    .banner .contenido h4 {
      font-size: 1.5rem;
      line-height: 0.9;
    }
    .banner .contenido p {
      font-size: 1.1rem;
      width: 100%;
    }
    .banner .papeles img {
      height: 250px;
      width: auto;
      object-fit: contain;
    }
    .banner, .lashojas, .popocolores, .formadepopo {
        height: auto !important;
        padding:5rem 0 ;
    }

    .lashojas {
      padding: 4rem 0 20rem 0;
    }

    .lashojas .wrap {
      padding-top: 0;
      max-width: 80vw !important;
    }
    .lashojas .wrap .contenido {
      max-width: 60vw !important;
    }
     .lashojas .wrap .contenido h1 { 
      font-size: 4rem;
     }
     .lashojas .wrap .contenido p {
      font-size: 1rem;
      width: 100%;
     }
     .popocolores {
       padding: 3rem 0;
     }
     .popocolores .wrap {
      justify-content: start !important;
     }
     .popocolores .popoimage {
      margin-bottom: 1.5rem;
     }
     .popocolores .popoimage img {
      width: auto;
     }
     .popocolores .contenido {
      padding-top: 1.5rem;
      max-width: 80vw;
     }
     .popocolores .contenido h2 {
      font-size: 1.5rem;
      padding-bottom: 1.5rem;
     }
     .popocolores .contenido h3 {
       font-size: 1.2rem;
       line-height: 1;
       margin-bottom: 1rem;
     }
      .popocolores .contenido p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
      }
      .formadepopo .container .contenido {
        max-width: 80vw;
      }
      .formadepopo .container .contenido h2 {
        padding-bottom: 2rem;
        font-size: 1.5rem;
      }
      .formadepopo .container .grid .componente .titulo {
        padding-bottom: 1rem;
      }
      .formadepopo .container .grid .componente .titulo img {
        height: 50px;
      }
      .formadepopo .container .grid .componente:nth-of-type(2) .titulo img,
      .formadepopo .container .grid .componente:nth-of-type(3) .titulo img {
        height: 30px;
        width: auto;
      }
      .formadepopo .container .grid .componente .titulo h4 {
         font-size: 1.2rem;
         padding-left: 1rem;
      }
      .formadepopo .container .grid .componente .texto p {
        font-size: 1rem;
      }
      .video {
          height:auto !important;
      }
}