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

body{
    
    font-family: 'Roboto';
    background-color: rgb(235, 235, 235);
    
}
/* Menú */
a{
    text-decoration: none;
}

ol,ul{
    list-style: none;
}

.header{
    height: 80px;
    background-color: rgb(235, 235, 235);
    
}

.navbar{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    padding: 0px 2rem;
    z-index: 10;
    
}

.img_logo{
    height: 70px;
}

.list_icon{
    color: red;
    cursor: pointer;
}

.menu_hamburguesa{
    display: none;
}

.menu_hamburguesa:checked + .ul_links {
    height: auto;
   

}

.logo{
    color: rgb(15, 15, 15);
}
.li_link{
    margin-bottom: 10px;
    
}

.ul_links{
    width: 100%;
    background-color: rgb(235, 235, 235);
    position: absolute;
    top:80px;
    left: 0px;
    height: 0;
    overflow: hidden;
   /*height: calc( 100vh - 80px );*/
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    transition: all .3s;

}

.link{
    font-size: 2rem;
    color: rgb(16, 16, 16);
    font-weight: bold;
    height: 100%;
}



@media (min-width: 800px){

}

/* responsi para menu */
@media (min-width: 1500px){
    .labe_hamburguesa{
        display: none;
    }

    .navbar{
        display: flex;
        height: 80px;
        justify-content: space-between;
    }

    .ul_links{
       
        display: flex;
        position: static;
        justify-content: space-between;
        width: auto;
        height: auto;
        margin-right: 120px;
        flex-direction: row;
        gap: 2rem;
    }

    .li_link{
        margin-bottom: 0px;
    }

   
    
    .link{
        font-size: 1.1rem;
        transition: all .2s;
        padding: .2rem .7rem;
        display: flex;
        height: 80px;
        align-items: center;
        margin-left: 10px;
        margin-right: 10px;
        
    }

    .link:hover{
        height: 100%;
        color: #333;
        font-size: 1.2rem;
        
    }

    .ul_links{
        
        height: 80px;
        
    }

   

    .li_link:hover{
        background-color: rgb(130, 234, 238);
        height: 80px;
        font-size: 1.2rem;
        transition: 0.5s;

    }

    .img_logo{
        margin-left: 200px;
    }
}



/* para carrusel */

/*.para_carrusel img{
    width: 100%;
    height: auto;
}

.para_carrusel img{
    width: 100%;
    height: auto;
}*/

/* Carrusel */
.carousel-section {
    width: 100%; /* Mantener todo el ancho */
    overflow: hidden;
    margin-bottom: 20px; /* Espaciado inferior */
    height: 200px; /* Ajustar la altura al 80% del alto de la ventana */
}

.carousel {
    display: flex;
    width: 100%; /* Ocupa todo el ancho del contenedor */
    height: 100%;
}

.carousel img {
    width: 100%; /* Cada imagen ocupa todo el ancho */
    height: auto; /* Asegurar que las imágenes llenen la altura del carrusel */
    /*object-fit: cover; /* Recortar imágenes para ajustarse a la altura */
}

/* Botones del Carrusel */
.carousel-button {
    position: absolute;
    top: 25%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 2;
    border-radius: 5px;
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Ocultar todas las imágenes excepto la activa */
.carousel-image {
    position: absolute;
    top: 80px;
    left: 0;
    opacity: 0; /* Oculta por defecto */
    transition: opacity 0.5s ease-in-out; /* Transición suave */
    z-index: 1; /* Asegura que todas las imágenes estén en la misma capa */
}

.carousel-image.active {
    opacity: 1; /* Muestra solo la imagen activa */
    z-index: 2; /* La imagen activa está encima */
}

.carousel-container {
    position: relative; /* Define el carrusel como contexto */
    margin-top: 50px; /* Si el menú cubre parte del carrusel */
    
}

/* responsi para carrusel */
@media (min-width: 800px){

    .carousel-section{
        height: 100vh; /* Ajustar la altura al 80% del alto de la ventana */

        object-fit: cover; /* Recortar imágenes para ajustarse a la altura */

    }


    .carousel img {
        width: 100%; /* Cada imagen ocupa todo el ancho */
        height: 100vh; /* Ajustar la altura al 80% del alto de la ventana */
        object-fit: cover; /* Recortar imágenes para ajustarse a la altura */
    }

    .carousel-button{

        top: 50%;

    }


}





/* Contenido */
.content-section {
    display: flex; /* Usar flexbox */
    flex-direction: column; /* Alinear los elementos de forma vertical */
    gap: 20px; /* Espaciado entre las cajas */
    padding: 40px;
    max-width: 1100px; /* Ancho máximo para la sección */
    margin: 0 auto; /* Centrar horizontalmente */
    margin-top: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-box {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-box h2 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
}

.content-box p {
    color: #666;
}

.presentation-text {
    font-size: 1.2em;
    color: #333;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 20px;
}



/* Contenedor de la presentación (texto + imagen) */
.presentation {
    display: flex; /* Utilizamos flexbox para organizar los elementos en fila */
    align-items: center; /* Alinea verticalmente los elementos al centro */
    justify-content: space-between; /* Deja espacio entre los elementos */
    gap: 20px; /* Espacio entre texto e imagen */
}

/* Estilos del texto */
.presentation .text {
    flex: 1; /* Hace que el texto ocupe el espacio disponible */
}

/* Estilos de la imagen */
.presentation .image {
    flex: 0 0 45%; /* La imagen ocupará el 40% del ancho del contenedor */
}

.presentation img {
    width: 100%; /* Asegura que la imagen ocupe todo el espacio de su contenedor */
    height: auto; /* Mantiene la proporción original de la imagen */
    border-radius: 8px; /* Agrega bordes redondeados a la imagen */
}

/* Contenedor para los círculos de imágenes */
.image-circles {
    display: flex;
    justify-content: space-between;
    
    gap: 20px;
    margin-top: 20px;
}

/* Estilo para los círculos */
.circle {
    text-align: center;
    width: 250px; /* Ancho del círculo */
    height: 250px; /* Alto del círculo */
    border-radius: 50%; /* Hace el círculo */
    overflow: hidden; /* Oculta lo que se sale del círculo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para los círculos */
    transition: transform 0.3s ease; /* Efecto al pasar el mouse */
    display: flex;
    flex-direction: column; /* Organiza imagen y descripción verticalmente */
    align-items: center; /* Centra los elementos dentro del círculo */
    justify-content: center; /* Asegura que los elementos estén centrados */
}

.circle:hover {
    transform: scale(1.1); /* Aumenta el tamaño cuando se pasa el mouse */
}

/* Estilo de la imagen dentro del círculo */
.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen para que encaje bien en el círculo */
}

/* Descripción debajo de la imagen */
.circle p {
    margin-top: 10px;
    font-size: 1em;
    color: #555;
    text-align: center;
}

#section3 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* Crea 5 columnas de igual tamaño */
    gap: 20px;  /* Espacio entre las columnas */
    padding: 20px;
}

.column {
    background-color: #f4f4f4;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.column h2 {
    font-size: 18px;
    color: #333;
}

.column p {
    font-size: 13px;
    margin-top: 2.5px;
    margin-bottom: 2.5px;
    color: #666;
}

/* Responsividad: Cuando la pantalla es más pequeña (por ejemplo, en dispositivos móviles) */
@media (max-width: 1024px) {
    #section3 {
        grid-template-columns: repeat(3, 1fr);  /* 3 columnas en pantallas más pequeñas */
    }
    .presentation{
        display: flex;
        flex-direction: column;
    }
    .container{
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    #section3 {
        grid-template-columns: 1fr;  /* 1 columna en pantallas aún más pequeñas */
    }
}

.t-e-h1 {
    font-size: 2em; /* Tamaño del texto */
    font-weight: bold; /* Negrita como un h1 */
    color: red; /* Color rojo */
}

.imagen-local {
    display: block; /* Asegura que la imagen esté en una línea separada */
    margin-top: 20px; /* Espacio entre el texto y la imagen */
    max-width: 100%; /* Ajusta la imagen al ancho del contenedor */
    height: auto; /* Mantiene la proporción */
}

/* Estilo general del contenedor */
.container {
    display: flex; /* Divide el contenedor en dos columnas */
    gap: 20px; /* Espacio entre la imagen y el mapa */
    margin-top: 20px; /* Margen superior para separar del texto */
}

/* Estilo para la imagen */
.container img {
    max-width: 100%; /* Asegura que la imagen se ajuste al espacio disponible */
    height: auto; /* Mantiene las proporciones de la imagen */
    flex: 1; /* Toma el 50% del espacio del contenedor */
}

/* Estilo para el mapa */
.container iframe {
    flex: 1; /* Toma el 50% del espacio del contenedor */
    border: none; /* Quita bordes del iframe */
}

.fixed-circle {
    position: fixed;       /* Hace que el círculo permanezca fijo mientras se hace scroll */
    bottom: 20px;          /* Establece la distancia desde la parte inferior de la página */
    right: 20px;           /* Establece la distancia desde la parte derecha de la página */
    width: 100px;          /* Ancho del círculo */
    height: 100px;         /* Alto del círculo (igual al ancho para que sea un círculo) */
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;    /* Bordes redondeados para hacerlo un círculo */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* Sombra para dar profundidad */
    z-index: 1000;         /* Asegura que el círculo esté encima de otros elementos */
    cursor: pointer;      /* Cambia el cursor cuando pasa sobre el círculo */
}


.fixed-circle img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;  /* Hace que la imagen tenga bordes redondeados */
}

.fixed-circle p {
    margin: 0;
}

/* Estilo para el rectángulo que se muestra al hacer clic */
.affiliation-box {
    position: fixed;
    bottom: 130px;
    right: 20px;
    width: 170px;
    height: 80px;
    background-image: url('img/6.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid rgba(114, 111, 109, 0.929);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.affiliation-box.hidden {
    display: none !important;
}

/* Texto dentro del rectángulo */
.affiliation-box p {
    margin: 0;
    font-size: 18px;
    text-align: center;
    color: rgb(24, 23, 23);
    background-color: #eeebf0; /* Color de fondo del botón */
    padding: 5px 10px; /* Espaciado interno para parecer un botón */
    border-radius: 20px; /* Bordes redondeados */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Sombra para darle efecto 3D */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    transition: background-color 0.3s ease; /* Transición suave en el cambio de color */
    
}

.affiliation-box p:hover {
    background-color: #d1cfd6; /* Color más oscuro al pasar el cursor */
}

.presentation-boxed {
    margin: 0 auto; /* Centra el contenido horizontalmente */
    max-width: 800px; /* Limita el ancho del texto */
    padding: 20px; /* Añade espacio interno alrededor del texto */
    text-align: justify; /* Justifica el texto */
    
}

.circle-caption {
    font-size: 14px; /* Tamaño de la fuente */
    color: #555; /* Color del texto */
    text-align: center; /* Alinea el texto centrado */
    margin-top: 5px; /* Espacio entre la imagen y la frase */
}

/* Contenedor circular */

.cont-circle {
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    justify-content: center;
    align-content: center;
    align-items: center;

}

.diametro1 {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    
    justify-content: space-between;
    margin-bottom: 10px;
    
   
     
}

.d1 {

display : flex;
flex-direction: column;
height: 100%;
width: 200px;
justify-content: center;
align-items: center;
text-align: center;


}

.d1 p {
    margin-top: 10px;
}

.diametro1 img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
     
}
.diametro2 img {
    
    width: 120px;
    height: 120px;
    border-radius: 50%;
     
}

.diametro2 {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    justify-content: space-between;
   
     
}

/* responsi para menu */
@media (min-width: 800px){

    .diametro1{
        margin-bottom: 50px;
        padding-left: 130px;
        padding-right: 130px;
    }
    .diametro2{
        margin-bottom: 50px;
    }

    .diametro1 img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
         
    }
    .diametro2 img {
        
        width: 200px;
        height: 200px;
        border-radius: 50%;
         
    }


}




.circle-container {
    display: grid;
    grid-template-areas: 
        "center"
        "left right"
        "left2 right2"
        "final";
    grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
    grid-template-rows: auto; /* Ajusta la altura automáticamente */
    gap: 20px; /* Espacio entre los elementos */
    justify-items: center; /* Centrar los elementos horizontalmente */
    align-items: center; /* Centrar los elementos verticalmente */
    margin: 20px;
}

/* Círculos individuales */
.circle {
    width: 200px; /* Ajusta el tamaño de los círculos */
    height: 200px;
    border-radius: 50%; /* Hace que los elementos sean circulares */
    overflow: hidden; /* Esconde el contenido sobrante */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; /* Fondo para los círculos */
    
}

/* Imágenes dentro de los círculos */
.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen al círculo */
}



/* Estilo del footer */
.footer {
    background-color: #686767; /* Fondo oscuro */
    color: #fff; /* Texto blanco */
    text-align: center; /* Centrar el texto */
    padding: 10px 0; /* Espaciado */
    font-size: 14px; /* Tamaño del texto */
}

.carousel-container1 {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .carousel1 {
    display: flex;
    width: max-content;
    animation: scroll-carousel 40s linear infinite;
  }
  
  .circle1 {
    flex: 0 0 auto;
    width: 220px; /* o el tamaño que necesites */
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
  }
  
  .circle1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  

@keyframes scroll {
    0% {
        -webkit-transform: translatex(0);
        transform: translatex(0);
    }

    100% {
        -webkit-transform: translatex(calc(-200px * 5));
        transform: translatex(calc(-200px * 5));
    }
}

/* Animación */
@keyframes scroll-carousel {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* Mueve la mitad del total porque duplicamos */
    }
  }
  
