@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
* {
    margin: 0;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
}

/*--------------------------HEADER----------------------------------*/

#header {
  position:fixed;
  top:0px;
  width:100%;
  display:inline-flex;
  flex-direction: row;
  justify-content:flex-end;
  padding: 0px; 
  background: #f6f3a0;
  color: rgb(82 81 80);
  min-height: 100px;
  align-items: left;
  z-index: 500;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.936);
}


/*-------------------------MENU PRINCIPAL---------------------------*/
#header a{
  text-decoration: none;
  /* color:#f1f1f1; */
}

/* #baseheader{
  position:absolute;
  top: 100px;
} */

#header a:hover{font-weight: bolder;}

/*--------------MENU----------------*/
#btn-menu {
  display: none;
}

header label{
  display: none;
  width: 30px;
  height: 30px;
  padding:10px;
}

header label:hover{
  cursor:pointer;
}

.menu ul{
  margin: 0;
  list-style: none;
  padding:0;
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-around;
  width: 100%;
  top: -100%;
  background-color: #f6f3a0;
}
#titulo{
  padding-top: 110px;
  font-size: 32px;
  justify-content: center;
  text-align: center;
 
}
.menu{
  /* position: relative; */
  display: flex;
  justify-content: center;
  text-align: center;
}
.menu li{
  flex-grow:1;
}

.menu li a{
  /* display:flex; */
  text-decoration: none;
  font-size: 1.5em;
  color:rgb(82 81 80);
  width: 100%;
}

.logo {
  position:relative;
  display: flex;
  border: none; 
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transform: translateX(-0%); 
}

.logo img {
  margin: 10px;
}

/*-----------------------------NAV---------------------------------------*/

nav{
  display: flex;
  flex-direction: row;
}
nav a{
  font-weight: 600;
  padding: 10px;
}



/*----------------------------WHATSAPP------------------------------*/
.boton {
  /* padding: 20px; */
  font-size: 30px;
  width: 40px;
  display: block !important;
  text-align:right;
  text-decoration: none;
  margin: 4px 2px;
  border-radius: 60%;
  position: fixed;
  z-index: 9999999;
  top:20%;
  left:95%;
  max-width: 40%;
}
  
.boton:hover {
  opacity: 0.7;
}
  
.btn-whatsapp {
  background: #45bbff;
  color:white;
}

/*......................... Estilos para INICIO....................................... */
.contenedor-index {
  padding-top: 20px; 
  /* padding-left: 10px; */
  padding-bottom: 15px;
  display: flex;
  flex-direction: row;
  /* max-height: 800px; */
  width: 100%;
  background-color: rgba(201, 197, 197, 0.9);
}

.foto {
  flex-basis: 50%;
  padding-top: 20px;
  padding-left: 6px;
}

.foto img {
  width: 100%;
  height: auto;
}

.descripcion {
  flex-basis: 50%;
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
}

#titulo-nos{
  font-size: 2em;
  font-weight: 700;
}

cite{
 color: rgb(8, 0, 0);
 font-size: 24px;
 padding-top: 10px;
 text-align:end;
}
.descripcion h1 {
  font-size: 38px;
  margin-top: 0;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 5px;
}

.descripcion p {
  font-size: 22px;
}

/*----------------------------ESTILO PARA POLIURETANO------------------------------*/

.main-poliuretano {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  padding-bottom: 90px;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-image: url(files/foto15.jpg);
  background-image: opacity 0,8;
  background-size: cover;
}

.titulo-caracteristicas{
  padding-top:10px;
  padding-bottom: 40px;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  justify-content: center;
  }

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 34px;
}

.feature {
  width: 400px;
  height: 126px;
  padding: 20px;
  background-color: rgba(246, 241, 241, 0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
  text-align: center;
  justify-content: center;
}

.feature i {
  font-size: 24px;
  color: #1dad1d;
  margin-bottom: 10px;
}

.feature h2 {
  margin: 0;
  font-size: 19px;
  color:#080700
}


/*----------------------------ESTILO PARA GALERIA------------------------------*/
.titulo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  text-align: center;
  width: 100%;
  align-content: center;
}

.titulo h2 {
  font-size: 36px;
  margin: 0;
  color: rgb(13, 0, 0);
  text-align: center;
}
.titulo-galeria{
  padding-top: 12px;
  text-align: center;
  padding-bottom: 13px;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  justify-content: center;
  width: 100%;
  background-color: rgba(201, 197, 197, 0.9); 
  color: #080700;
  }


.grid-container {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 200px;
  row-gap: 22px;
  background-color:  rgba(201, 197, 197, 0.9); 
  padding-top: 0px;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}

.grid-container > div {
  background-color: rgba(20, 0, 0, 0.8);
  text-align: center;
  padding: 0px;
  max-width:430px;
  max-height: 240px;
}

.galeria {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 50px;
  row-gap: 32px;
  background-color:  rgba(201, 197, 197, 0.9); 
  padding-top: 0px;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  margin: 0 auto;
}

.imagen {
  flex-basis: 20%; 
}

.imagen img {
  height: 400px;
  width: 300px;
}

/* .gal-img2:hover{
  scale:calc(1.05);
} */

.gal-img img{
  width: 100%;
  height: auto;
}

.gallery-item img, .gallery-item video { display: grid; width: 100%; height: auto; transition: transform 0.3s ease; 
} 

.gallery-item.horizontal { width: calc(50% - 5px); 
} 

.gallery-item.vertical { 
  width: calc(100% - 5px);
  max-height: 500px; /* Ajusta la altura según tus necesidades */ 
  height: 100%;
  width: 100%;
} 
.gallery-item.vertical img, .gallery-item.vertical video { width: 100%; height: 100%; /* Asegura que el video mantenga el tamaño de las imágenes */ 
  object-fit: cover; /* Asegura que el video se ajuste bien */ 
  
}

/*-------------------------ESTILO PARA CONTACTO------------------------------*/

.container-contacto{
  padding-top: -40px;
  padding-bottom: 65px;
  background-image: linear-gradient(rgb(245, 196, 107), rgb(238, 233, 233));
  background-position:bottom;
  background-repeat: repeat;
  background-size: auto;
  width: 100%;
}
.titulo-contacto{
  padding: 10px;
  text-align: center;
  width: 100%;
}
form {
  width: 500px;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #00000b;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  margin-bottom: 10px;
}

input[type="submit"] {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}


/* ........................Estilos para el footer .......................................*/
footer {
  background-color: #f6f3a0;
  padding-top: 0px;
  margin-top: 0px;
  padding-bottom: 10px;
  border-top: 0px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  /* max-height: 100px; */
  padding-top: 10px;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
.fas fa-phone{
 gap: 5px;
 color: rgb(82, 81, 80);
}

.col-md-4 {
  display: flex;
  text-align: center;
  justify-content:center;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}

.col-md-3 {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 0 20px 0 20px;
}

.col-md-6 {
  min-width: 300px;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding-left: 0px;
  padding-right: 20px;
}

ul {display: flex;
  flex-direction: row;
}

img {
  /* max-width: 100%; */
  padding-bottom: 0px;
}
li{
  list-style-type: none;
}

p {
  padding: 5px;
  margin-bottom: 0px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(82, 81, 80);
  font-size: 17px;
}

i {
  margin-right: 0px;
}

a {
  text-decoration: none;
  color: rgb(82, 81, 80);
}

.copyright {
  text-align: center;
  align-items: center;
}


/*--------------------------- RESPONSIVE 1024px ----------------------------*/
@media (max-width:1370px){
  .galeria{
    grid-template-columns: auto auto;
  }
  .logo{
    transform: translateX(-240%);
  }
}


@media (min-width: 1024px) {
  .image {
    max-width: 700px;
  }
  .logo{
  transform: translateX(-220%);
  } 
}

@media (max-width:1025px){
  #titulo-nos, .titulo-caracteristicas, .titulo-galeria, .titulo-contacto{
    font-size: 1.75em;
    /* font-weight: 700; */
  }
  
  cite{
   color: rgb(8, 0, 0);
   font-size: 1.25em;
  }

  .container {
    max-width: 1024px;
  }
  
  .boton{
    left:93%;
  }
  
  p {
    font-size:0.8em;
  }
  .grid-container, .galeria {
    grid-template-columns: auto auto;
    column-gap: 30px;
  }
}
/*--------------------------- RESPONSIVE 769px ----------------------------*/
/* @media (min-width: 769px) {
  .image {
    max-width: 500px;
  }
} */
  

@media (max-width:769px){
  .logo{
    transform: translateX(-200%);
  }
  header label{
    display: block;
    margin:30px;
  }
  #header{
    justify-content: space-between;
  }
  .menu{
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    /* margin-top: -100%; */
    transition: all 2s;
  }
  .menu ul{
    flex-direction: column;
  }
  .menu li{
    border-top:black solid 1px;
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  #btn-menu:checked ~ .menu{
    margin:0;
    display: block;
  }
  
  #titulo-nos, .titulo-caracteristicas, .titulo-galeria, .titulo-contacto{
    font-size: 1.5em;
  }
  p{
    font-size: 1em;
  }
  .row{
    flex-direction: column;
  }
  .boton{
    left:90%;
  }
  .contenedor-index{
    flex-direction: column;
    /* width:95%; */
    height: auto;
  }
  .foto {
    padding-left: 0px;
  }
  .grid-container{
    grid-template-columns: auto auto;
    column-gap: 15px;
  }
  .gal-img{
    height: 95%;
  }
  .galeria{
    grid-template-columns: auto;
  }
}

/*--------------------------- RESPONSIVE 700px ----------------------------*/
@media (max-width: 700px) {
  .image {
    max-width: 425px;
  }
  .logo{
    transform: translateX(-0%);
  }
}
/*--------------------------- RESPONSIVE 500px ----------------------------*/
@media (max-width: 500px) {
  .image {
    max-width: 400px;
  }
  form{
    width:300px;
  }
}
/*--------------------------- RESPONSIVE 425px ----------------------------*/
@media (max-width: 426px) {
  .image {
    max-width: 375px;
  }
  .boton{
    left:87%;
  }
  .col-md-6{
    flex-direction: column;
  }
  #titulo-nos, .titulo-caracteristicas, .titulo-galeria, .titulo-contacto{
    font-size: 2em;
  }
  .grid-container, .galeria {
    grid-template-columns: auto;
    /* column-gap: 15px; */
  }
}

/*--------------------------- RESPONSIVE 320px ----------------------------*/
@media(max-width:321px){
  .boton{
    left:85%;
  }
  #ul-foot{
    flex-direction: column;
  }
  #titulo-nos, .titulo-caracteristicas, .titulo-galeria, .titulo-contacto{
    font-size: 1.5em;
  }
  .text-inicio{
    font-size: 1em;
  }
  .main-poliuretano{
    width: 100%;
  }
}

 

