*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

 .container_carta{
    max-width: 1200px;
    margin: auto;
    margin-top: 100px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

 }

 .card_padre{
    margin: 10px;
    perspective: 1000px;
    
 }

 .card_padre:hover .carta{
    transform: rotateY(180deg);
 }
 .carta{
    width: 350px;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 600ms;

 }
 .card_frontal{
    background-size: cover;
    background-position: center;
 }

 .card_frontal,
 .card_detras{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border-radius: 20px;

 }

 .card_detras{
    transform: rotateY(180deg);
    background: linear-gradient(#e66465, #f0f0f0);
 }

.body_card_frontal{
    width: 100%;
    height: 100%;
    text-align: center; 
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: aliceblue;
    transform: translateZ(100px);
}

.b1{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(238, 173, 160, 0.301);
    border-radius: 20px;
}

.body_card_detras{
    padding: 40px;
    text-align: center;
    
}

.body_card_detras p{
    margin-top: 30px;
    font-size: 18px;
}

.body_card_detras input{
     padding: 10px 40px;
     margin-top: 30px;
     font-size: 16px;
     cursor: pointer;
     border: none;
     color: white;
     background: #5880f6;
     box-shadow: 1px 1px 30px -5px #5880f6;
     border-radius: 10px;
     transition: box-shadow 600ms;
}

.body_card_detras input:hover{
    box-shadow: 1px 1px 30px -5px #449de6;

}
/* 
parte2 */

.body{
    padding: 90px 20px 0;
}
 .encabezado{
   background: linear-gradient(90deg, #f4f4f7 0%, #d44040d8 50%);
   height: 80px;
    width:100% ;
    top: 0;
    left: 0;
    
    
 }

 .navegacion{
    display: flex;
    justify-content: space-between;
    
 }

 .navegacion-link{
    color: white;
    text-decoration: none;
 }

 .log{
     font-size: 30px;
     font-weight: bold;
     padding: 0 40px;
     line-height: 80px;
 }

 .navegacion_menu{
    display: flex;
    margin-right: 40px;
    list-style: none;
 }

 .item-menu{
     font-size: 18px;
     margin: 0 10px;
     line-height: 80px;
     width: max-content;
 }



.link{
    padding: 8px 12px;
}

.togle{
    color: black;
    background: none;
    border: none;
    font-size:30px ;
    padding: 0 20px;
    line-height: 60px;

    display: none;
}

 @media (max-width:768px){
    .body{
        padding-top: 70px;
    }
     .encabezado{
        height: 60px;
      
     }
    
     .log{
         font-size: 25px;
         font-weight: bold;
         padding: 0 20px;
         line-height: 60px;
     }
    
     .navegacion_menu{
        flex-direction: column;
        margin-right: 20px;
        margin: 0;
        background-color: #d82d2d;
        position: fixed;
        left: 0;
        top: 60px;
        width: 100%;
        align-items: center;
        padding: 20px 0;

        height: calc(100% - 60px);
        overflow-y: auto;

        left: 100%;
        transition: left 0.5s;

        z-index: 100;
     }
    
     .item-menu{
         line-height: 70px;
     }
    
     .link:hover,
        .activar{
        background:none;
        color: #e0e9f0;
     }
    
     .togle{
        display: block;

     }
    
     .nav-menu_visible{
        left: 0;
        z-index: 80;
     }
     
 } 

/*  boton */
.cta {
    margin-top: 10px;
    display: inline-block;
    background: #2091F9;
    color: white;
    font-size: 27px;
    padding: 9px 40px;
    border-radius: 5px;
    border: 2px solid #2091F9;
    font-family: 'Noto Sans', sans-serif;
    text-decoration: none;
}

.cta:hover{
    background:   #458ccedc;
    border: 2px solid   #458ccedc;
    color: white;
}

/* parte3 */
.con {
   padding: 60px 0;
   width: 90%;
   max-width: 1000px;
   margin: auto;
   overflow: hidden;
   
 }

 main .sobre-nosotros{
   padding: 30px 0 60px 0;
 }
 .contenedor-sobre-nosotros{
   display: flex;
   justify-content: space-evenly;
 }
 
 .imagen-about-us{
   width: 48%;
 }
 
 .sobre-nosotros .contenido-textos{
   width: 48%;
 }
 
 .contenido-textos h3{
   margin-bottom: 15px;
 }
 
 .contenido-textos h3 span{
   background: #121213;
   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, .5);
   margin-right: 5px;
 }
 
 .contenido-textos p{
   padding: 0px 0px 30px 15px;
   font-weight: 300;
   text-align: left;
 
 }
 
 .titulo {
   color: #111011;
   font-size: 30px;
   text-align: center;
   margin-bottom: 60px;
 }
 
 @media screen and (max-width:900px){
   header{
       background-position: center;
   }
 
   .contenedor-sobre-nosotros{
       flex-direction: column;
       justify-content: center;
       align-items: center;
   }
 
   .sobre-nosotros .contenido-textos{
       width: 90%;
   }
 
   .imagen-about-us{
       width: 90%;
   }
 
 
 
   .imagen-port{
       width: 44%;
   }
 
 
 
   .cards{
       flex-direction: column;
       justify-content: center;
       align-items: center;
   }
 
   .cards .card{
       width: 90%;
   }
 
   .cards .card:first-child{
       margin-bottom: 30px;
   }
 
 
 
   .servicio-cont{
       justify-content: center;
       flex-direction: column;
   }
 
   .servicio-ind{
       width: 100%;
       text-align: center;
   }
 
   .servicio-ind:nth-child(1), .servicio-ind:nth-child(2){
       margin-bottom: 60px;
   }
 
   .servicio-ind img{
       width: 90%;
   }
 }
 
 /*  tarjetas */
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
.container-card{
	width: 100%;
	display: flex;
	max-width: 1100px;
	margin: auto;
}
.title-cards{
	width: 100%;
	max-width: 1080px;
	margin: auto;
	padding: 20px;
	margin-top: 20px;
	text-align: center;
	color: #7a7a7a;
}
.card{
	width: 100%;
	margin: 20px;
	border-radius: 6px;
	overflow: hidden;
	background:#fff;
	box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
	transition: all 400ms ease-out;
	cursor: default;
}
.card:hover{
	box-shadow: 5px 5px 20px rgba(255, 0, 0, 0.4);
	transform: translateY(-3%);
}
.card img{
	width: 100%;
	height: 210px;
}
.card .contenido-card{
	padding: 15px;
	text-align: center;
}
.card .contenido-card h3{
	margin-bottom: 15px;
	color: #7a7a7a;
}
.card .contenido-card p{
	line-height: 1.8;
	color: #6a6a6a;
	font-size: 14px;
	margin-bottom: 5px;
}
.card .contenido-card a{
	display: inline-block;
	padding: 10px;
	margin-top: 10px;
	text-decoration: none;
	color: #363636;
	border: 1px solid  #363636;
	border-radius: 4px;
	transition: all 400ms ease;
	margin-bottom: 5px;
}
.card .contenido-card a:hover{
	background:  #363636;
	color: #fff;
}
@media only screen and (min-width:320px) and (max-width:768px){
	.container-card{
		flex-wrap: wrap;
	}
	.card{
		margin: 15px;
	}
}

/* sliderauto */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400&display=swap');

.containerproje{
    position: relative;
    text-align: center;
}

.containerproje .slide-container .slide{
    min-height: 80vh;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 9%;
    padding-bottom: 70px;
}

.containerproje .slide-container .slide .contentproje{
    flex: 1 1 350px;
    animation: slideContent .4s linear .4s backwards;
    
}
@keyframes slideContent{0%
{
    opacity: 0;
    transform: translateX(-50px);
}

}

.containerproje .slide-container .slide .contentproje h3 {
    font-size: 35px;
    color: aliceblue;    font-family: 'Noto Sans', sans-serif;
}

.containerproje .slide-container .slide .contentproje p {
    font-size: 16px;
    color: black;
    font-family: 'Noto Sans', sans-serif;
    width: 40%;
    height: 10%;
    
}

.containerproje .slide-container .slide .contentproje .bntproj{
    margin-top: 10px;
    display: inline-block;
    background: #2091F9;
    color: white;
    font-size: 30px;
    padding: 9px 40px;
    border-radius: 5px;
    border: 2px solid #2091F9;
    font-family: 'Noto Sans', sans-serif;
    text-decoration: none;
}

.containerproje .slide-container .slide .contentproje .bntproj:hover{
    background:   #458ccedc;
    border: 2px solid   #458ccedc;
    color: white;
}

.containerproje .slide-container{
    display: none;
}

.containerproje .slide-container.active{
    display: block;
}

.containerproje .slide-container:nth-child(1) .slide{
    background: linear-gradient(rgba(221, 44, 44, 0.55) 40%, rgba(255, 255, 255, 0.55) 120%), url(./img/sli1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 98.8vw;
    height: 70vh;
}

.containerproje .slide-container:nth-child(2) .slide{
    background: linear-gradient(rgba(221, 44, 44, 0.55) 40%, rgba(255, 255, 255, 0.55) 120%), url(./img/sli2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 98.8vw;
    height: 70vh;
}

.containerproje .slide-container:nth-child(3) .slide{
    
    background: linear-gradient(rgba(221, 44, 44, 0.55) 40%, rgba(255, 255, 255, 0.55) 120%), url(./img/sli3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 98.8vw;
    height: 70vh;
}

.containerproje #prev,
.containerproje #next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    background: #e42323;
    height: 50px;
    width: 50px;
    line-height: 50px;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
    font-weight: bolder;
    border-radius: 50px;
}

.containerproje #prev:hover,
.containerproje #next:hover{
    background: #ee7b7b;
}

.containerproje #prev{
    left: 20px;
}

.containerproje #next{
    right: 20px;
}

@media(max-width: 500px){
     .containerproje #prev{
        top: 60%;
        left: 0;

     }

     .containerproje #next{
        top: 60%;
        right: 0;

     }


     .containerproje .slide-container .slide .contentproje p{
        font-size: 16px;
        color: #111011;
        font-family: 'Noto Sans', sans-serif;
        width: 70%;
        height: 10%;
     }
} 

/* partefinal */

.banner{
    height: 50vh;
    margin-top: -60px;
    position: relative;
    background: linear-gradient(rgba(221, 44, 44, 0.55) 40%, rgba(255, 255, 255, 0.55) 100%), url(./img/servicio.jpg);
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
}
.banner__descripcion{
    position: absolute;
    text-align: center;
    color: #fff;
    transform: translateX(-50%) translateY(-50%);
  top: 50%;
  left: 50%;
  width: 100%;
  font-size: 15px;
  margin-top: 25px;
}
.button__banner{
    background:  #363636;
    border: none;
    padding: 12px;
    color: #fff;
    font-size: 20px; 
}
.button__banner:hover{
    border:2px solid  #363636;
    background: none;
}
.galeria h1{
    font-size: 40px;
    text-align: center;
}
.galeria{
    margin: 20px;
}
.team  h1{
    font-size: 40px;
text-align: center;
}
.team{
    background: #f6f6f6;
    padding: 30px;
}
.team__columna img{
border-radius: 50%;
}
.team p{
    text-align: justify;
}
.team__grid{
    display: grid;
    grid-gap:30px;
}
.info h1{
    color: #9cc76b;
    font-size: 30px;
}
.info{
    text-align: center;
}
.info__columna{
    margin: 20px;
}
.info .contenedor{
    display: grid;
    grid-gap:10px;
}

@media(min-width:520px){
    .banner h1{
        font-size: 30px;
    }
   
    .info .contenedor{
     grid-template-columns: repeat(3,150px);
     justify-content: space-around;
    }
 
 }

 @media(min-width:1024px){
   
    .banner h1{
        font-size: 45px;
    }   
 
 
 

 
 }

 /* footer */
/*  background: linear-gradient(180deg, #f0efef8c 0%, #f008088c 100%);
 */



footer{
    width: 100%;
    padding: 50px 0px;
    background-size: cover;
    
    background: linear-gradient(180deg, #f0efef8c 0%, #f008088c 100%);

}
footer a{
    text-decoration: none;
    
}
.container__footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    margin-top: 100px;
}

.box__footer{
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.box__footer .logo img{
    width: 180px;
}

.box__footer .terms{
    max-width: 350px;
    margin-top: 20px;
    font-weight: 500;
    color: #7a7a7a;
    font-size: 18px;
}

.box__footer h2{
    margin-bottom: 30px;
    color: #343434;
    font-weight: 700;
}

.box__footer a{
    margin-top: 10px;
    color: #7a7a7a;
    font-weight: 600;
}

.box__footer a:hover{
    opacity: 0.8;
}

.box__footer a .fab{
    font-size: 20px;
}

.box__copyright{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 40px;
}

.box__copyright p{
    margin-top: 20px;
    color: #7a7a7a;
}

.box__copyright hr{
    border: none;
    height: 1px;
    background-color: #7a7a7a;
}
 


.whatsapp-btn {
    position: fixed;
    bottom: 20px; /* Distancia desde la parte inferior */
    left: 10px; /* Distancia desde el borde izquierdo */
    z-index: 1000; /* Asegura que el botón esté sobre otros elementos */
    width: 60px;
    height: 60px;
    background-image: url('/img/wa.ico'); /* Ruta de la imagen del icono de WhatsApp */
    background-size: cover; /* Ajusta el tamaño de la imagen al tamaño del botón */
    border: 2px solid #25D366; /* Borde sólido de 2px de color verde */
    border-radius: 50%; /* Hace que el botón sea completamente redondo */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra */
    transition: transform 0.2s, background-color 0.2s; /* Transición de transformación y color de fondo */
    overflow: hidden; /* Oculta el exceso de animación */
}

/* Efecto de ondas */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: ripple 1s infinite;
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Estilos cuando se pasa el cursor sobre el botón */
.whatsapp-btn:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño del botón */
    background-color: #4CAF50; /* Cambia el color de fondo cuando se pasa el cursor sobre el botón */
}

/* Estilos del mensaje */
.mensaje {
    position: fixed;
    bottom: 30px; /* Distancia desde la parte inferior */
    left: 70px; /* Distancia desde el borde izquierdo */
    z-index: 999; /* Asegura que el mensaje esté sobre el botón */
    font-size: 14px;
    color: #333;
    background-color: #fff; /* Fondo blanco */
    padding: 10px; /* Añade espacio alrededor del texto */
    border-radius: 10px; /* Bordes redondos */
    display: none; /* Oculta el mensaje por defecto */
}



.c-s-n {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.c-t{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.buttonnn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    text-align: center;
}

@media only screen and (min-width: 600px) {
    .c-s-n {
        flex-direction: row;
        justify-content: space-around;
    }

    .c-t {
        margin-top: 0;
    }

    .buttonnn {
        width: 100%;
        margin-bottom: 0;
    }
}

