html{
    flex-wrap: wrap;
    z-index: 1;
    width: 100%;
    box-sizing: 0;
    margin: 0;
    padding: 0;
}

    #primero {
      width: 100%;
      height: 1080px;
      position: relative;
      overflow: hidden;
    }

    #primero video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1; /* Poner el video detrás del contenido */
      filter: brightness(0.5);
    }


#logo{
  max-width:25%;
  margin-left: 1%;
}

#grugar{ 
  width: 50%;
  margin-right: 20%;
}

#menus{
  width: 100%;
  justify-content: space-between;

}

#menu{
  border-radius: 5px;
  width: 100%;
  color:white;
  font-family: "coolvetica";
  background-color: transparent;
  border-color: transparent;
}

#menu:hover{
  transform: scale(1.1);
  margin: 1%;
  transition: 0.5s;
  background-color:#FF6B00;
}

#ingles{
width: 40px;
}

#español{
width: 80%;
}


#inicial{
  background-size: cover;
  display: flex;
  width: 100%;
}

.navbarNavAltMarkup{
  background-size: cover;
}

#mensaje1{
    width: 80%;
    margin-left: 8% ;
    position: absolute; 
}

#mensaje1 #crea{
  color: #FF6B00;
  width: 125%;
  font-family: 'coolvetica'

}

#expertos{
  max-width: 700px;
  color:white;  
  animation-duration: 6s;
  animation-name: slidein;
}

#somos{
  font-family: GillSans;
}

#creando{
  min-width: 90%;
  padding-top: 310px;
  color: #FF6B00; 
  font-size: 220%; 
  font-weight:900;
  animation-duration: 2s;
  animation-name: slidein;
}

#video{
  background-color: #323E48;
  border-radius: 20px;
  width: 20%;
  font-family: Lemonmilk;
}

#videomodal{
width: 100%;
}

#segundo{
  width: 100%;
  height: 1080px;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("../ELEMENTOS/blancos.png");
  background-size:cover;
  margin-top: -360px;
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#nosotros{
  position: flex;
  flex-direction: column;
  align-items: center;
}

  #servi {
    display: flex;
    flex-wrap: wrap; /* Permite que salten a otra línea en pantallas pequeñas */
    gap: 15px; /* Espaciado uniforme entre ellos */
    justify-content: center; /* Centrado horizontal */
    padding: 20px;
    margin-bottom: 5%;
  }

  .popover-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    flex: 1 1 150px; /* Ocupa espacio flexible y mínimo de 150px */
    max-width: 200px; /* No crece más de 200px */
    text-align: center;
  }

  #servicios1{
    background-color: hidden;
    color: #FF6B00;
    font-weight: 900;
    padding: 10px 12px;
    border-radius: 6px;
    display: block;
    text-align: center;
    font-size: 160%;
  }

  #servicios{
    background-color: hidden;
    color: #FF6B00;
    font-weight: 900;
    padding: 10px 12px;
    border-radius: 6px;
    display: block;
    text-align: center;
    font-size: 160%;
  }

  .popover-content {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #323E48;
    color: white;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    width: 100%;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
  }

  .popover-content::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent white transparent;
  }

  .popover-container:hover .popover-content,
  .popover-container:focus-within .popover-content {
    opacity: 1;
    pointer-events: auto;
  }

.contenedor{
  margin-top: 5%;
      display: flex;
      justify-content: center; /* Opcional: centra horizontalmente */
      gap: 20px;      
}

#exhibidores{
  margin-left: 30%;
  width: 50%;
}


    .main-image {
      width: 100%;
      max-height: 500px;
      object-fit: contain;
      margin-top: 10px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .thumbnail-carousel {
      display: flex;
      margin: 20px 0;
      max-width: 100%;
      justify-content: center;
    }

    .arrow {
      font-size: 30px;
      cursor: pointer;
      user-select: none;
      padding: 10px;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 50%;
      margin: 0 5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition: background 0.2s;
    }

    .arrow:hover {
      background-color: #ddd;
    }

    .thumbnails {
      display: flex;
      overflow: hidden;
      max-width: 80vw;
      gap: 8px;
    }

    .thumbnails img {
      height: 60px;
      cursor: pointer;
      border-radius: 6px;
      border: 2px solid transparent;
      transition: transform 0.2s, border-color 0.2s;
      flex-shrink: 0;
    }

    .thumbnails img:hover {
      transform: scale(1.05);
      border-color: #007bff;
    }

#retail{
  margin-left: 15%;
  width: 50%;
}


    .main-image2 {
      width: 100%;
      max-height: 500px;
      object-fit: contain;
      margin-top: 10px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .thumbnail-carousel2 {
      display: flex;
      margin: 20px 0;
      max-width: 100%;
      justify-content: center;
    }

    .arrow2 {
      font-size: 30px;
      cursor: pointer;
      user-select: none;
      padding: 10px;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 50%;
      margin: 0 5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition: background 0.2s;
    }

    .arrow2:hover {
      background-color: #ddd;
    }

    .thumbnails2 {
      display: flex;
      overflow: hidden;
      max-width: 80vw;
      gap: 8px;
    }

    .thumbnails2 img {
      height: 60px;
      cursor: pointer;
      border-radius: 6px;
      border: 2px solid transparent;
      transition: transform 0.2s, border-color 0.2s;
      flex-shrink: 0;
    }

    .thumbnails2 img:hover {
      transform: scale(1.05);
      border-color: #007bff;
    }

#texto{
  font-size: 60%;
  width: 100%;
  margin-left:7%;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  z-index: 0;
  display: flex;

}

#mejor{
  font-size: 200%;
  color:white;
  animation-duration: 4s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 200%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}

#video2{
  background-color: #FF6B00;
  border-radius: 20px;
  font-family: Lemonmilk;
}

#videomodal2{
width: 100%;
}

#tercera{
  width: 100%;
  height: 1080px;
}

#cuarto {
  margin-top: 10%;
  width: 100%;
  height: 1080px;
  position: relative;
  overflow: hidden;
}

#cuarto video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Poner el video detrás del contenido */
  filter: brightness(0.3);
}

#cuarto1{
  width: 70%;
  margin-top: 350px;
  margin-left: 10%;
}

#vdeo:hover{
  transform: scale(1.05);
  transition: all 2s;
}

    .carousel-item > .row {
      display: flex;
    }
    .carousel-item img {
      width: 100%;
      height: 300px;
    }
    .carousel-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 200%;
    }
    .carousel-controls {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      z-index: 1;
      padding: 0 20px;
    }
    .carousel-controls button {
      background-color: #FF6B00;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
    }

#sexto{
  background-image: url(../ELEMENTOS/cuarta.png);
  background-repeat: no-repeat;
  background-size:cover;
  margin-top: 5%;
  width: 100%;
  height: 900px;
  position: relative;
  overflow: hidden;
}

#text1{
  width: 100%;
  position: relative;
  margin-top: 10%;
}

#text2{
  margin-top: 2%;
  position: relative;
}

#sexto1{
  position: relative;
  width: 50%;
}

#sexto2{
  width: 50%;
  margin-top: -10%;
  margin-left: 53%;
}


#text3{
  margin-left: 46%;
  margin-top: 2%;
}

h1, .h1 {
  color: white;
  font-size: 250%;
}

h5, .h5{
  color: white;
  font-size: 100%;
}

#logos{
  width: 10%;
  margin-left: 8%;
  margin-top: 5%;
}

#logos:hover{
  transform:scale(2.5);
  transition: all 2s;
}

#logopisa{
  width: 68px;
  margin-left: 8%;
  margin-top: 5%;
}

#logopisa:hover{
  transform:scale(2);
  transition: all 2s;
  
}

#contactanos{ 
  width: 50%;
  margin-top: -22%;
  margin-left: 50%;
}

#septimo{
  width: 100%;
  height: 400px;
  display: flex;
}

#together{
  width: 70%;
}


.form-control{
  background-color:rgb(240, 239, 219);
}

#redes{
  width: 25%;
  margin-left: 2%;
  margin-top:-54%;
  overflow-y: hidden;
}

#octavo{
  margin-top: 10%;
  width: 50%;
  overflow-y: hidden;
}

input[type="submit"] {
  display: block;
  padding: 6px 30px;
  font-size: 14px;
  background-color: #4460AA;
  color: #fff;
  border: none
}

@media only screen and (min-width: 1900px) and (max-width: 2100px) {

  #nosotros{
    margin-top: -3%;
  }

  #sexto{
    background-size: cover;
    height: 1050px;
  }
  
  h1, .h1 {
    color: white;
    font-size: 200%;
  }
  h5, .h5 {
    color: white;
    font-size: 110%;
  }

  #text1{
    margin-top: 10%;
  }
  
  #sexto2{
    margin-top: -22%;
  }

  #together{
    margin-top: 20px;
  }

  #final{
    margin-top: -5%;
  }

  #redes{
    margin-top: -45%;
  }

  #septimo{
    margin-top: 15%;
  }

}

@media only screen and (min-width: 1790px) and (max-width: 1900px) {
  
  #somos{
    width:200%;
  }

  #sexto{
    background-size: cover;
    height: 1050px;
  }
  
  h1, .h1 {
    color: white;
    font-size: 200%;
  }
  h5, .h5 {
    color: white;
    font-size: 110%;
  }

  #text1{
    margin-top: 10%;
  }
  
  #sexto2{
    margin-top: -22%;
  }

  #together{
    margin-top: 20px;
  }

  #final{
    margin-top: -5%;
  }

  #redes{
    margin-top: -45%;
  }

  #septimo{
    margin-top: 15%;
  }

}

@media only screen and (min-width: 1621px) and (max-width: 1790px) {

  #sexto{
    background-size: cover;
    height: 1000px;
  }
  
  h1, .h1 {
    color: white;
    font-size: 200%;
  }
  h5, .h5 {
    color: white;
    font-size: 110%;
  }

  #text1{
    margin-top: 10%;
  }
  
  #sexto2{
    margin-top: -22%;
  }

  #together{
    margin-top: 20px;
  }

  #final{
    margin-top: -5%;
  }

  #redes{
    margin-top: -45%;
  }

  #septimo{
    margin-top: 15%;
  }

}

@media only screen and (min-width: 1442px) and (max-width: 1620px) {

  #sexto{
    background-size: contain;
  }
  
  h1, .h1 {
    color: white;
    font-size: 200%;
  }
  h5, .h5 {
    color: white;
    font-size: 110%;
  }

  #text1{
    margin-top: 10%;
  }
  
  #sexto2{
    margin-top: -22%;
  }

  #together{
    margin-top: 20px;
  }

  #final{
    margin-top: -5%;
  }

  #redes{
    margin-top: -45%;
  }

  #septimo{
    margin-top: 15%;
  }

}

@media only screen and (min-width: 1120px) and (max-width: 1441px) {

  #sexto{
    background-size: contain;
  }
  
  h1, .h1 {
    color: white;
    font-size: 100%;
  }
  h5, .h5 {
    color: white;
    font-size: 80%;
  }

  #text1{
    margin-top: 10%;
  }

  #texto{
    width: 500%;
  }

  #sexto2{
    margin-top: -22%;
  }

  #together{
    margin-top: 20px;
  }

  #final{
    margin-top: -18%;
  }

  #redes{
    margin-top: -48%;
  }

  #septimo{
    margin-top: 15%;
  }

}

@media only screen and (min-width: 851px) and (max-width: 1119px) {
  h1, .h1 {
    color: white;
    font-size: 200%;
  }
  h5, .h5 {
    color: white;
    font-size: 60%;
  }

  #text1{
    margin-top: 7%;
  }

  #sexto1{
    padding-top: -10%;
  }
  
  #sexto2{
    margin-top: -21%;
  }

  #sexto{
    background-size: contain;
  }

  #final{
    margin-top: -35%;
  }

  #redes{
    margin-top: -60%;
  }

  #septimo{
    margin-top: 15%;
  }
}

@media only screen and (min-width: 740px) and (max-width: 850px) {
  h1, .h1 {
    color: white;
    font-size: 100%;
  }
  h5, .h5 {
    color: white;
    font-size: 70%;
  }

  #text1{
    margin-top: 7%;
  }
  
  #sexto2{
    margin-top: -21%;
    margin-left: 50%;
  }

  #sexto{
    background-size: contain;
  }

  #final{
    margin-top: -60%;
  }

  #redes{
    margin-top: -75%;
  }
  #octavo{
    margin-top: 30%;
  }

  #septimo{
    margin-top: 25%;
  }

  #contactanos{
    margin-top: -33%;
  }

}

@media only screen and (min-width: 612px) and (max-width: 740px) {
  h1, .h1 {
    color: white;
    font-size: 100%;
  }
  h5, .h5 {
    color: white;
    font-size: 30%;
  }

  #text1{
    margin-top: 7%;
  }
  
  #sexto2{
    margin-top: -19%;
  }

  #sexto{
    background-size: contain;
  }

  #final{
    margin-top: -75%;
  }

  #redes{
    margin-top: -85%;
  }

  #septimo{
    margin-top: 30%;
  }

  #contactanos{
    margin-top: -35%;
  }

  #octavo{
    margin-top: 30%;
  }
  

}

@media only screen and (min-width: 511px) and (max-width: 612px) {
  h1, .h1 {
    color: white;
    font-size: 100%;
  }
  h5, .h5 {
    color: white;
    font-size: 30%;
  }

  #text1{
    margin-top: 7%;
  }
  
  #sexto2{
    margin-top: -22%;
  }

  #sexto{
    background-size: contain;
  }

  #logos{
    margin-top: 1%;
  }

  #together{
    margin-top: -220%;
  }

  #redes{
    margin-top: -237%;
  }

  #octavo{
    margin-top: 50%;
  }

  #final{
    margin-top: 25%;
  }

  #redes{
    margin-top: -200%;
  }

  #septimo{
    margin-top: 40%;
  }

  #contactanos{
    margin-top: -140%;
  }
}

@media only screen and (min-width: 320px) and (max-width: 510px) {

  #grugar{
    width:100%;
  }

  #primero{
    width:100%;
  }

  #crea{
    font-size: 125%;
    color:#FF6B00; 
    font-family: 'coolvetica'
  }

  #exp{
    font-family:'Lemonmilk';
    font-size: 100%;
  }

  #nue{
    color: #FF6B00; font-weight: 900; font-family: 'Lemonmilk'; font-size: 100%; margin-top: -5%; margin-bottom: 4%;
  }

  #video{
    width: 50%;
  }

  #proyectos{
    margin-top: -20%;
  }

  #quinto{
    margin-top: 10%;
  }

  #conoce{
    font-size: 180%;
  }

  #sexto{
    margin-top: 30%;
  }

  h5, .h5 {
    color: white;
    font-size: 30%;
  }

  #text1{
    margin-top: 4%;
    font-size: 30%;
  }

  #sexto1{
    margin-top: -3%;
  }
  
  #sexto2{
    margin-top: -30%;
  }

  #sexto{
    background-size: contain;
  }

  #logos{
    margin-top: 1%;
  }

  #final{
    margin-top: -130%;
  }

  #redes{
    margin-top: -120%;
  }

  #septimo{
    margin-top: 40%;
  }

  #contactanos{
    margin-top: -45%;
  }

  #octavo{
    margin-top: 65%;
  }



}

@font-face {
  font-family: "coolvetica";
  src: url("fonts/coolvetica/Coolvetica-Rg.otf");

}

@font-face {
  font-family: "Lemonmilk";
  src: url("fonts/lemon_milk/LEMONMILK-Regular.otf");
}

@font-face {
  font-family: "GillSans";
  src: url("fonts/GillSans-Light.ttf");
}