@import url("https://fonts.googleapis.com/css?family=Open+Sans&display=swap");

h1{
  font-family: 'Fugaz One', sans-serif;
}


.float{
   position: fixed;
   width: 60px;
   height: 60px;
   background-color: #25d366;
   bottom: 40px;
   right: 40px;
   color: #fff;
   border-radius: 50%;
   text-align: center;
   box-shadow: 2px 2px 3px #999;
   z-index: 999;
  }
  .fa-whatsapp{
    font-size: 60px;
  }
.float:hover{
  background-color: #28e76e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "open sans";
}

.contenedor {
  padding: 60px 0;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}

.titulo {
  color: #030303;
  font-size: 30px;
  text-align: center;
  margin-bottom: 60px;
}
/*modal*/

.modal{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #111111bd;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s .9s;
  --transform: translateY(-100vh);
  --transition: transform .8s;
}

.modal--show{
  opacity: 1;
  pointer-events: unset;
  transition: opacity .6s;
  --transform: translateY(0);
  --transition: transform .8s .8s;
}

.modal__container{
  margin: auto;
  width: 90%;
  max-width: 600px;
  max-height: 90%;
  background-color: #fff;
  border-radius: 6px;
  padding: 3em 2.5em;
  display: grid;
  gap: 1em;
  place-items: center;
  grid-auto-columns: 100%;
  transform: var(--transform);
  transition:var(--transition);
}

.modal__title{
  font-size: 2.5rem;
}

.modal__paragraph {
    margin-top: 10px; /* Ajusta el margen superior según tus preferencias */
    overflow-y: auto; /* Agrega una barra de desplazamiento vertical si el contenido es demasiado grande */
}
.modal__img{
  width: 90%;
  max-width: 300px;
}

.modal__close{
  text-decoration: none;
  color: #ffffff;
  background-color: #ff0000;
  padding: 1em 3em;
  border: 1px solid ;
  border-radius: 6px;
  display: inline-block;
  font-weight: 300;
  transition: background-color .3s;
}

.modal__close:hover{
  color: #ff1e00;
  background-color: #fff;
}
/*Preloader*/

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid rgb(255, 204, 204);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #dfc transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*Header*/
.logo {color: rgb(255, 255, 255); transition: 1s ease;}
.logo_2 {color: black;transition: 1s ease;}
.point-red {color: rgb(252, 1, 1); transition: 1s ease;}
.header {display: flex;background-color: rgba(43, 255, 0, 0);width: 100%;height: 60px;justify-content: space-between;text-transform: uppercase;position: fixed;padding: 10px;transition: 1s ease;z-index: 2;}
.header_2 {background-color: rgb(255, 255, 255);transition: 1s ease;}
.menu-bar {display: flex;align-items: center;}
.nav {display: flex;padding: 0;margin: 0;}
.btn-header {padding: 10px;font-size: 18px;font-weight: 700;color: rgb(255, 255, 255);transition: 1s ease;}
.btn-header_2 {color: #000;transition: 1s ease;}
svg:not(:root).svg-inline--fa {overflow: visible;margin-right: 10px;}
.inicio h1 {font-size:  50px;color: #fff;}
.inicio h2 {font-size: 30px;color: #fff;font-weight: 300;}
.inicio {height: 100vh;background-image: url("../img/fabrica-produccion-ventanas-puertas-aluminio-pvc-detalles-equipamiento-industrial_179755-7453-transformed.jpeg");background-color: rgb(50, 50, 50);background-size: cover;background-blend-mode: soft-light;background-repeat: no-repeat;background-position: center;display: flex;justify-content: center;align-items: center;text-align: center; flex-direction: column;}
.button {font-size: 18px;padding: 15px 40px;border: none;background: white;color: #333;cursor: pointer;margin-top: 18px;border-radius: 50px;animation: shadow-pulse 1s infinite;text-transform: uppercase;}
.button:hover {color: rgb(255, 255, 255);background-color: rgb(0, 0, 0);transition: 1s ease;}
.wave {height: 150px;overflow: hidden;width: 100%;bottom: 0;position: absolute;}
@keyframes shadow-pulse {0% {box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.4);}100% {box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);}}
@media screen and (max-width: 800px) {.header {justify-content: space-around;}#menu_bar {display: flex;width: 30px;height: 20px;position: relative;z-index: 2;}
  .menu_hamburger {width: 100%;height: 4px;border-radius: 4px;display: block;position: absolute;background-color: #fff;transition: 0.75s ease;transform-origin: 0px 100%;}
  .menu_hamburger_2 {background-color: black}
  .menu_hamburger:nth-child(2) {top: calc(50% - 2px);}
  .menu_hamburger:nth-child(3) {bottom: 0;}
  .visible_menu .menu_hamburger:nth-child(1) {transform: rotate(45deg) translate(-2px, 1px);}
  .visible_menu .menu_hamburger:nth-child(2) {opacity: 0;}
  .visible_menu .menu_hamburger:nth-child(3) {transform: rotate(-45deg) translate(-3px, 3px);}
  .nav {margin-top: 60px;top: -100%;position: fixed;align-items: center;flex-direction: column;justify-content: end;width: 100%;background-color: rgb(128, 128, 128);}
  .visible_menu .header {background-color: white;}
  .visible_menu .menu_hamburger {background-color: black;transition: 1s ease;}
  .nav {opacity: 0;transition: 0.55s ease;}
  .visible_menu .nav {top: 0;opacity: 1;background: white;-webkit-box-shadow: 0 8px 80px -8px rgb(255, 255, 255);-moz-box-shadow: 0 80px 8px -8px rgb(255, 255, 255);box-shadow: 0 8px 80px -8px rgb(255, 255, 255);}
  .btn-header {color: black;transition: 1s ease;}
  .visible_menu .logo {color: black;transition: 1s ease;}
}
/*About us*/
.sobre-nosotros {
  padding: 30px 0 60px 0;
}

.contenedor-sobre-nosotros {
  display: flex;
  flex-wrap: wrap; /* Añadido para permitir que los elementos se envuelvan en pantallas pequeñas */
  justify-content: space-evenly;
  align-items: center; /* Centrar los elementos verticalmente */
}

.imagen-about-us {
  width: 100%;
  max-width: 400px;
  height: auto; /* Esto garantiza que la altura se ajuste proporcionalmente al ancho */
  margin-bottom: 20px;
}
.contenedor-sobre-nosotros2 {
  display: flex;
  flex-wrap: wrap; /* Añadido para permitir que los elementos se envuelvan en pantallas pequeñas */
  justify-content: space-evenly;
  align-items: center; /* Centrar los elementos verticalmente */
}

.imagen-about-us2 {
  width: 100%;
  max-width: 400px;
  height: auto; /* Esto garantiza que la altura se ajuste proporcionalmente al ancho */
  margin-bottom: 20px;
}
.sobre-nosotros .contenido-textos {
  width: 100%; 
}

.contenido-textos h3 {
  margin-bottom: 15px;
}

.contenido-textos h3 span {
  background: #fffb00;
  color: #fff;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  width: 30px;
  height: 30px;
  padding: 2px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
  margin-right: 5px;
}

.contenido-textos p {
  padding: 0 0 30px 15px;
  font-weight: 300;
  text-align: justify;
}


/*Galería Portafolio*/

.portafolio {
  background: #f2f2f2;
  padding: 20px; /* Ajusta el espacio alrededor de la galería */
}

.portafolio p {
  text-align: center;
  margin-bottom: 45px;
  font-size: 20px;
}

.galeria-port {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.btn-work {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-work li {
  display: inline-block;
  text-align: center;
  margin-left: 10px;
  margin-bottom: 45px;
  padding: 6px 12px;
  border: 1px solid #000000;
  list-style: none;
  color: #030303;
  cursor: pointer;
}

.btn-work li:hover {
  color: #fff;
  background: #ff4800;
  transition: all 0.2s;
}

.btn-work .active {
  color: #070707;
  background: #eeff00;
}

.imagen-port {
  width: calc(20% - 10px); /* Ajusta el ancho y resta el margen */
  margin-bottom: 20px; /* Espacio entre las imágenes */
  box-sizing: border-box; /* Incluye el borde y el relleno en el ancho total */
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
}

.imagen-port > img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Cambia 'cover' a 'contain' */
  display: block;
}

/* Reglas de medios para dispositivos móviles */
@media screen and (max-width: 768px) {
  .galeria-port {
    justify-content: space-between;
  }

  .imagen-port {
    width: calc(33.33% - 10px); /* Ajusta el ancho para 3 imágenes en una fila */
  }
}


/*Our team*/

.about-services {
  background: #f2f2f2;
  padding-bottom: 30px;
}

.servicio-cont {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.servicio-ind {
  width: calc(33.33% - 20px);
  margin: 0 10px 20px 10px;
  text-align: center;
  box-sizing: border-box;
}

.servicio-ind img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.servicio-ind h3 {
  margin: 10px 0;
}

.servicio-ind p {
  font-weight: 300;
  text-align: justify;
}

.contenedor1 {
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .servicio-ind {
    width: 100%;
    margin: 0 auto;
  }
}



/*media querris*/


@media screen and (max-width: 900px) {
  .contenedor-sobre-nosotros {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .sobre-nosotros .contenido-textos {
    width: 90%;
  }
  .imagen-about-us {
    width: 90%;
  }
  /*Galería*/
  .imagen-port {
    width: 40%;
  }
  /*Servicios*/
  .servicio-cont {
    justify-content: center;
    flex-direction: column;
  }
  .servicio-ind {
    width: 80%;
    text-align: center;
  }
  .servicio-ind:nth-child(1),
  .servicio-ind:nth-child(2) {
    margin-bottom: 60px;
  }
  .servicio-ind img {
    width: 70%;
  }
}

@media screen and (max-width: 320px) {
  nav {
    text-align: center;
    padding: 30px 0 0 0;
  }
  nav > a {
    margin-right: 5px;
  }
  .textos-header h1 {
    font-size: 35px;
  }
  .textos-header h2 {
    font-size: 20px;
  }
  /*About us*/
  .imagen-about-us {
    margin-bottom: 60px;
    width: 99%;
  }
  .sobre-nosotros .contenido-textos {
    width: 95%;
  }
  /*Galeria*/
  .imagen-port {
    width: 95%;
  }
}


/* Estilos generales del footer */
footer {
  background: #D4D4D4;
  padding: 60px 0 30px 0;
  overflow: hidden;
}

/* Contenedor principal del footer */
.contenedor-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 90%;
  margin: auto;
  padding-bottom: 50px;
  border-bottom: 1px solid #ccc;
}

/* Contenido de cada sección del footer */
.content-foo {
  flex: 1;
  text-align: center;
  margin-bottom: 20px;
}

.content-foo h4 {
  color: #fff;
  border-bottom: 3px solid #b32621;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.content-foo p {
  color: #010101;
  margin-bottom: 10px;
}

/* Mapa de Google */
.google-maps {
  flex: 2;
}

.google-maps iframe {
  width: 100%;
  height: 500px;
}

/* Información de la empresa */
.empresa-info {
  flex: 1;
  padding: 20px;
}

/* Estilos para dispositivos móviles */
@media screen and (max-width: 600px) {
  .contenedor-footer {
    flex-direction: column;
  }

  .google-maps iframe {
    height: 300px;
  }
}

/* Estilos para el título final del footer */
.titulo-final {
  text-align: center;
  font-size: 24px;
  margin: 20px 0 0 0;
  color: #000000;
}

.fa-facebook {
  font-size: 35px;
}

.fa-instagram {
  font-size: 35px;
}

 