@import url(color.css);
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
@import url(boxes.css);

* {
  margin: 0px;
  padding: 0px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  scroll-behavior:smooth ;
  text-wrap: pretty;
  overflow-x: hidden;
}
.whatsapp {
  z-index: 9999;
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 20px;
  padding: 10px 5px;
  text-align: center;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
  border-radius: 100%;
  background: #16e61a;
  
}
.whatsapp:hover {  
  background: #4caf50;
    transition: all .3s ease-in-out;
  }
.whatsapp .fab {
    color: var(--color-blanco);
    font-size: clamp(2.5rem, 2vw, 3.3rem);
    display: flex;  
    justify-content: center; 
    align-items: center; 
  }
.whatsapp .fa-whatsapp {
  font-size: clamp(2.5rem, 2vw, 3.3rem);
  color: var(--color-blanco);
  &:hover {
    color: var(--color-blanco);
    transition: transform .3s ease-in-out;
  }

}


.pulse {
    animation: pulse-animation 2s infinite 
  }
  
  @keyframes pulse-animation {
    0% {
      box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.3019607843) rgba(0, 0, 0, 0.2);
    }
    100% {
      box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
  }

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;

}

.top_info {
  width: 100%;
  height: 40px;  
  padding: 5px 30px;  
  background-color: var(--bg-top-info);
  align-items: flex-end;
  color: white;
  margin-bottom: 20px;
  align-items: center;
  display: flex;
  justify-content: flex-end;
  transition: .2s ease-in-out;
  a {
    color: var(--color-blanco);
    text-decoration: none;
    &:hover {
      color: #1424b3;
      transition: .2s ease-in-out;
    }
  }
}
.scroll {
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
  transition: .2s ease-in-out;
  background-color: var(--color-blanco);
  
}

.info {
  text-align: right;
  font-size: var(--top-info-size);
}
/*.splide__progress__bar {
  height: 3px;
  background: #ccc;
}*/

.splide__slide img {
  width: 100%;
  height: auto;
  
}
/* FIN DE MENU */

/* SECCION NOSOTROS Y CONTACTO */
.main-content {
  width: 100%;
  max-width: 1280px;
  margin-top: 25px;
  margin-bottom: 25px;
  text-align: center;
  p {
    font-size: 1.2rem;
    padding: 0.85rem;
  }
  .main-text {
    text-transform: uppercase;
    color: var(--blue-text);
    font-size: 1.65rem;
    padding-inline: 1.25em;
    text-wrap: pretty;
  }
}
.sobre-nosotros {
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  .titulo {
    width: 100%;
    text-align: center;
    padding: 25px;
  }
}

.estructuras__metal {
  width: 33%;
  line-height: 1.5rem;
  padding-inline: 15px;
  display: flex;
  flex-direction: column;
  .titulo__icono {
    width: 100%;
    height: 100px;
    h3 {
      padding-top: 1.2rem;
      font-size: 1.2rem;
      color: var(--blue-text);
      text-transform: uppercase;
    }
    img {
      float: left;
      margin-right: 25px;
      width: 70px;
    }
  }
  p {
    clear: both;
    padding-block: 1.2em;
    text-align: justify;
    text-wrap: pretty;
  }
  .mas_info {
    padding-top: 1rem;
  }
  
}

.informacion {
  padding-top: 5px;
}

.diseno__construccion {
  width: 33%;
  line-height: 1.5rem;
  padding: 0 15px;
  .titulo__icono {
    width: 100%;
    height: 100px;
    h3 {
      padding-top: 1.2rem;
      font-size: 1.2rem;
      color: var(--blue-text);
      text-transform: uppercase;
    }
    img {
      float: left;
      margin-right: 25px;
      margin-top: 8px;
      width: 50px;
    
    }
  }
  p {
    clear: both;
    padding: 20px 0;
    text-align: justify;
  }
  .mas_info {
    padding-top: 1rem;
  }
}
.alquiler__andamios {
  width: 33%;
  line-height: 1.5rem;
  padding: 0 15px;
  .titulo__icono {
    width: 100%;
    height: 100px;
    h3 {
      padding-top: 1.2rem;
      font-size: 1.2rem;
      color: var(--blue-text);
      text-transform: uppercase;
    }
    img {
      float: left;
      margin-right: 25px;
      width: 50px;
      margin-top: 8px;
    }
  }
  p {
    clear: both;
    padding: 20px 0;
    text-align: justify;
  }
  .mas_info {
    padding-top: 1rem;
  }
}

.empresa {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: var(--bg-servicios);
}

.mas_info a {
  text-decoration: none;
  color: var(--blue-text);
  &:active {
    text-decoration: none;
    color: #000;
  }
  &:visited {
    text-decoration: none;
    color: var(--blue-text);
  }
  &:hover {
    text-decoration: underline;
    color: var(--blue-text);
  }
}

.empresa_col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  width: 100%;
  max-width: 1280px;
  height: auto;
}

.sobre_empresa {
  /*grid-area: nosotros*/
  padding: 12px 15px;
  line-height: 28px;
  width: 100%;
  -ms-flex-item-align: start;
  align-self: start;
  h2 {
    padding: 5px 0;
    text-transform: uppercase;
    &:first-child {
      color: var(--blue-text);
      font-weight: 700;
    }
  }
}

.proforma {
  /*grid-area: contacto*/
  width: 100%;
  padding: 25px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-center;
  text-align: center;
  h2 {
    text-align: center;
    padding-bottom: 15px;
    font-size: 20px;
    color: var(--blue-text);
    text-transform: uppercase;
  }
  p {
    font-size: 18px;
    padding: 10px;
    text-align: center;
    color: var(--blue-text);
    margin-bottom: 10px;
  }
  form { 
    input {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  textarea {
    width: 100%;
    padding: 5px;
    height: 120px;
    margin-bottom: 10px;
    font-size: 14px;
    resize: none;
  }
  button {
    width: 70%;
    padding: 5px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 5px;
    background-color: red;
    border: 0px;
    color: white;
    text-shadow: 2px 2px 5px #000000;
    cursor: pointer;
    margin-top: 15px;
    text-transform: uppercase;
  }
  }
}

.alert {
  padding: 1em;
  color: #ffffff;
  border-radius: 2px;
  margin-bottom: 20px;
  font-size: 14px;
  .error {
    background: #f2dede;
    border: 1px solid #a94442;
    color: #a94442; 
  }
  .success {
    background: #4caf50;
  }
}

#trabajos {
  width: 98%;
  background-color: var(--color-blanco);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.trabajos_titulo {
  width: 100%;
  text-align: center;
  color: var(--blue-text);
  padding: 1rem;
}

.trabajos_show {
  width: 100%;
  max-width: 1650px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;

}
@media (max-width: 430px) {
  .trabajos_show {
    width: 320px;
  }
}

.ver_mas {
  width: 98%;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(1.2rem, 1vw, 1rem);
    color: var(--blue-text);
    a {
      text-decoration: none;
      color: var(--color-blanco);
      padding: 15px;
      background-color: var(--blue-text);
      &:hover{
        text-decoration: underline;
        color: var(--color-blanco);
      }
      &:visited{
        color: var(--color-blanco);
      }
    }

}

/* CSS DE ESTRUCTURA */

.estructura_home {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  max-width: 1200px;
  .titulo {
    color: var(--blue-text);
    padding-bottom: 15px;
    text-transform: uppercase;
    font-size: 1.2rem;
  }
}
.estructura_empresa {
  /*grid-area: nosotros*/
  padding: 12px 15px;
  line-height: 28px;
  width: 100%;
  -ms-flex-item-align: center;
  align-self: center; 
  h2 {
    padding: 5px 0; 
  }
  h2:first-child {
    color: var(--blue-text);
    font-weight: 700; 
  }
  h3 {
    padding-block: 0.85em;
  }
  ul, li {
    list-style: none;
  }
  
}

/* .estructura_empresa ul, li {
  list-style: none;
 /* padding-left: 15px;
} */

.font_awe {
  font-size: 0.8rem;
  color: #00649F;
}
/* CSS AREA DE PROYECTOS */

.showcase {
	margin-top: 20px;
	width: 100%;
	max-width: 1200px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.descripcion {
	width: 20%;
	line-height: 25px;
	padding:10px 15px;
  text-transform: capitalize;
  h3 {
    line-height: 2;
    font-weight: 300;
    font-size: clamp(.95rem, 2vw, 1.15rem);
  }
  span {
    line-height: 2;
    text-wrap: pretty;
    text-transform: capitalize;
  }
  strong {
    font-weight: 600;
  }
}
.portafolio {
	width: 80%;
	padding: 10px 20px;
}
@media (max-width: 991px) { 
  .portafolio {
    width: 100%;
  } 
 }
.galeria {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-content: center;
	img{
		object-fit: cover;
		width: 300px;
		margin-bottom: 20px;
	}
}
.titulo {
	color: var(--blue-text);
	padding-bottom: 10px;
  line-height: 1.5;
  font-weight: 400;
}

/* CSS DEL FOOTER Y CONTACTO */

#contacto {
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-areas:"contacto google";
  grid-gap: 10px; 
  margin: auto;
  padding-top: 15px;
  margin-top: 2em;
  .contacto_titulo {
    grid-area: contacto;
    padding: 1px 6px; 
    h3 {
      color: var(--blue-text);
      padding: 5px 0;
      font-size: 1.2rem;
      text-transform: uppercase; 
      }
    p {
        line-height: 2.5rem;
        font-size: 1rem; }
    }
    .celu {
      padding: 10px 0;
      font-size: 1.2rem; 
      a {
        text-decoration: none;
        color:black;
        transition: 0.5s ease-in-out;
        padding: 0.5rem;
        &:hover {
          padding: 0.5rem;
          background-color: #25d366;
          transition: 0.5s ease-in-out;
          color: #ffffff;
        }
      }
    }
    .tele {
      padding: 10px 0;
      font-size: 1.2rem; 
    }
    .redes_sociales {
      padding: 12px 0; 
    }
    .google_map {
      grid-area: google; 
      .google_map iframe {
        width: 50vw; 
      }
    }
  .icono_w {
    font-size: 2rem;
    color: #25d366;
    margin-right: 1rem; 
  }
  .icono_m {
    font-size: 2rem;
    color: var(--footer-bg);
    margin-right: 0.8rem; 
  }

}

footer {
  width: 100%;
  background: var(--footer-bg);
  padding: 15px 15px; 
  .acgm {
    width: 100%;
    text-align: center;
    color: white;
    font-size: .8rem; 
    a {
      color: white;
      font-size: .8rem;
      text-decoration: none;
      &:hover {
        color: white;
        text-decoration: underline;
        font-size: .8rem; 
        }
      }
    }
}