body {
    font-family: "Poppins", sans-serif;
    margin-top: 100px;
    padding: 0;
    background-color: #f4ebdb;
}

/* Estilos para la barra de navegación */
nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 5%;
    height: 100px;
    background-color: #31475e;
}

nav .logo {
    float: left;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #FF6D09;
    text-transform: uppercase;
}
.logotipo {
    display: flex;
}
.logotipo img {
    height: 48px;
    margin-right: 10px;
}
nav .lista {
    float: right;
    padding: 0;
    margin: 0;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;  
}
nav .lista li {
list-style: none;

}
nav .lista a {
    display: block;
    text-transform: uppercase;
    padding: 15px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #ffff;
    text-decoration: none;
    border-radius: 25px;
    }
nav .lista a:hover {
    background-color: #F79464;
}
#toogle {
    position: absolute;
    top: -100px;
}   
nav .icon-bars {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translate(-50%);
}
nav .icon-bars .line {
    width: 30px;
    height: 5px;
    background-color: #ffffff;
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
}
/* Estilo para las imágenes dentro del slider */

.sliders {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
  }
    .slider {
      width: 100%;
      height: 20%;
      overflow: hidden;
    }
    
    .slide {
      width: 100%;
      display: none;
    }
    
   /* Estilo para las imágenes dentro de las diapositivas */
.slide img {
  /* La imagen ocupa todo el ancho disponible del contenedor */
  width: 100%;
  /* La altura se ajusta automáticamente para mantener la relación de aspecto */
  height: auto;
  /* Se establece la posición relativa */
  position: relative;
}
/*texto de presentacion*/
.inpacto-container {
    text-align: center;
    background-color: #f9f9f9;
   
}
.inpacto-container h2 {
    font-size: 40px;
    font-weight: bold;
    color:orange;
    margin-top: 0;
    margin-bottom: 10px;
}
.inpacto-container h4 {
    font-size: 30px;
    font-weight:bolder;
    color: #e68609;
    margin-top: 0;
}
.inpacto-container p {
    color: rgb(0, 0, 0); /* Color de texto naranja */
    font-size: 20px; /* Tamaño de fuente de 30px */
    text-align: center; /* Centrar el texto */
    font-weight: 600; /* Negrita */
    margin-top: 20px; /* Margen superior del párrafo dentro del contenedor */
    margin-bottom: 20px; /* Margen inferior del párrafo dentro del contenedor */
    margin-left: 20px; /* Margen izquierdo del párrafo dentro del contenedor */
    margin-right: 20px; /* Margen derecho del párrafo dentro del contenedor */
}
  
.section1 {
    text-align: center;
    background-color: #ffffff;
}
.section1 h2 {
    font-size: 30px;
    font-weight:bolder;
    color: #e68609;
    margin-bottom: 50PX;
}
.tarjetas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.tarjeta:hover {
    box-shadow: 0 5px 15px rgba(217, 161, 6, 0.5);
    transform: translatey(-15px);
}

.tarjeta {
    width: 250px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.tarjeta img {
    max-width: 100%; /* Ancho máximo */
    height: auto; /* Altura ajustada automáticamente */
    border-radius: 8px;
}

.tarjeta p {
    font-size: 18px;
}

.tarjeta {
    width: 250px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.tarjeta img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tarjeta h3 {
    margin-top: 10px;
    font-size: 18px;
    color: #e68609;
}

.tarjeta p {
    font-size: 14px;
}
/*caracteristicas*/
.contenedor-caracteristicas {
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
    background-color: #fffdf6;
    gap: 10px;

}
.contenedor-caracteristicas img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    margin-top: 10px;
    margin-bottom: 10px;
}
/*controles del video*/
.contenedor-video-mp4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%; /* El video ocupará el 100% del ancho de su contenedor */
    height: auto; /* La altura se ajustará automáticamente para mantener la proporción */
    margin-bottom: 10px;
    background-color: #efebe5;

  }
  .contenedor-video-mp4 video {
    max-width: 100%; /* Ajusta el ancho del video al tamaño máximo disponible */
    max-height: 100%; /* Ajusta la altura del video al tamaño máximo disponible */
    
  }
  
/*que ofrecemos*/
.contenedor {
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: #f4ebdb;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  .contenido {
    width: 30%; /* Ancho del contenido */
    box-shadow: 0 5px 15px rgba(180, 127, 2, 0.5);
  }
  
  .contenido img {
    display: block;
    width: 100%; /* Ancho máximo de la imagen */
    height: auto; /* Altura ajustada automáticamente para mantener la proporción */
    border: 2px solid rgb(162, 156, 156);
    border-radius: 25px;
    box-shadow: 11px 13px 24px -11px rgba(0,0,0,0.75);
    margin-bottom: 15px;
  }
  .contenedor h2 {
    font-weight: bold;
    color: #000000;
    text-align: center;
  }
  .titulo-of {
    font-weight: bold;
    color: #e68609;
    font-size: 30px;
    text-align: center;
    background-color: #f4ebdb;
  }
  .contenedor p {
    font-size: 20px;
    margin-left: 20px;
    margin-right: 20px;
  }
/*Estilos para la section de carta equipo*/
.sectionEquipo {    
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-color: #edf0f3;
}
.titulo-equipo h2 {
    font-weight: bold;
    font-size: 30px;
    color: #e68609;
    text-align: center;
    
}
.titulo-equipo p {
    font-size: 18px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
}
.carta_equipo {
    position: relative;
    width: 300px;
    height: 480px;
    background-color: #ffff;
    border-radius: 5px;
    border: 2px solid rgb(208, 204, 204); /* Borde sólido de color negro */
    overflow: hidden;
    transition: .5s;
    margin: 15px 20px;
}
.carta_equipo:hover {
    box-shadow: 0 5px 15px rgba(166, 117, 2, 0.5);
    transform: translateY(-15px);

}
.carta_equipo .head_equipo {
    height: 125px;
    width: 100%;
    position: relative;
}
.carta_equipo .head_equipo .circulo_equipo{
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background:#FF5A01;
    bottom: 0;
}
.carta_equipo .head_equipo .img {
    width: 150px;
    height: 150px;
    position: absolute;
    background:#ffff;
    padding: 5px;
    border-radius: 50%;
    bottom: -30%;
    left:50%;
    transform: translate(-50%);

}
.carta_equipo .head_equipo .img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.carta_equipo .descripcion_equipo {
    height: 220px;
    padding: 40px 20px 20px 20px;
    border-bottom: solid 1px rgb(6, 74, 76, .18);
    text-align: center;

}
.carta_equipo .descripcion_equipo h3 {
    color: rgb(10, 10, 10);
}
.carta_equipo .descripcion_equipo h4 {
    color: rgb(223, 120, 16);
}
.carta_equipo .descripcion_equipo p {
    margin-top:20px;
    font-size: 15px;
}
.carta_equipo .contacto2 {
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carta_equipo .contacto2 a {
    text-decoration: none;
    color: #ffff;
    background: #FF5A01;
    padding: 5px 20px;
    border-radius: 5px;
    transition: .3s;
}
.carta_equipo .contacto2 a:hover {    
    background: #da9571;    
}
/* Estilos para el encabezado */
.header {
    background-color: #ffcc00; /* Amarillo */
    padding: 20px;
}

/* Estilos para el contenido principal */
.main {

    display: flex;
    flex-direction: column; /* Coloca los elementos uno debajo del otro */
}
.sections-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/*iconos-pequeños*/
.contenedor-iconos-p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: auto; /* Altura de la sección */
    gap: 20px;
  }
  
  .iconos-p {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #000000; /* Añade un borde sólido de 1px con color gris */
    border-radius: 10px; /* Aplica esquinas redondeadas de 10px */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Añade una sombra de color negro con desplazamiento de 0 en el eje X, 2px en el eje Y, un radio de 4px y transparencia */
}
  .material-symbols-outlined {
    color: #dfb92e;
  }
/* Estilos la seccion 2 */
.section2 {   
    padding: 20px;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background-color: #edf0f3;
    height: auto;
    width: 100%;
}

/*Estilos para mapa y formulario de contacto*/  
   .contenedor_contacto {
    padding: 20px;
    border: 1px solid #4b4848; /* Borde del contenedor */
    box-shadow: 0 0 10px rgba(206, 168, 29, 0.8); /* Sombra */
    width: 550px;
    height: 550px;
    background-color: #ffffff;
    border-radius: 5px;
    
  }
  
  
  .section2 h2 {
    text-align: center;
    color: #000000;
  }
  
  .campo {
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    font-weight: bold;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
  
  textarea {
    resize: vertical;
  }
  
  .boton {
    text-align: center;
  }
  
  button {
    padding: 10px 20px;
    background-color: #FF5A01;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #b36b0c;
  }


.half-width {
    width: 20%;
}
/* Estilos para la barra lateral */
.aside {
    flex: 0 0 200px;
    background-color: #9966ff; /* Púrpura */
    padding: 20px;
}

/* Estilos para el pie de página */
.footer {
    background-color: #173E54; /* Color de fondo */
    color: #fff; /* Color del texto */
    padding: 20px; /* Espaciado interno */
    display: flex; /* Utiliza Flexbox para distribuir los elementos */
    justify-content: space-between; /* Distribuye los elementos de manera uniforme */
    align-items: center; /* Centra verticalmente los elementos */
}

.footer h3 {
    font-weight: bold; /* Negrita para los encabezados h3 */
}

.footer p {
    font-size: 16px; /* Tamaño de fuente para los párrafos */
}
.footer-section a {
    text-decoration: none;
    color: #edf0f3;
}

@media(max-width:768px){
    
    nav .logo {
        float: none;
        width: auto;
        justify-content: center;        
    }
    nav .lista {
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: #19314a;
        overflow: hidden;
        transition: all .5s ease-in-out;
    }
    nav .lista a {
        font-size: 20px;
    }
    nav :checked ~ .lista {
        bottom: 0;
    }
    nav .icon-bars {
        display: block;
    }

    #mapa {
        width: 100%;
        height: 400px; /* Puedes ajustar la altura según sea necesario */
    }
    
    .contenedor_contacto{
        height: 400px;
    }
    .sectionEquipo {
        display: flex;
        flex-direction: column;
    }
    .contenedor {
        display:flex;
       flex-direction: column;
       align-items: center;
       
    }
    .contenido {
        width: 100%;
    }
    .contenedor-caracteristicas {
        display: flex;
        flex-direction: column;        
    }
    .contenedor-caracteristicas img {
        height: 100%;
        width: 100%;
    }
}