/* Import Google Fonts - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
   font-family: 'Roboto', sans-serif;
   overflow-x: hidden;
   /* Prevent horizontal scroll */

   margin: 0;
   padding: 0;
   box-sizing: border-box;
}


.barraencabeza {
   /* fondo blanco con transparencia */
   background-color: rgba(255, 255, 255, 0.90);
}

header {
   padding: 10px 0;
   text-align: center;
}

#logo {
   height: 80px;
   /* Adjust logo size */
}

/* Barra de navegación */
#menu li>a {
   font-size: 18px;
   color: #787878;
}

#menu li>a:hover {
   color: #ffffff;
   background-color: #4394fe;
   border-radius: 5px;

}

#menu form>button {
   font-size: 18px;
   font-weight: bold;
}

.altocarusel {
   max-width: 100%;
}

.altocarusel .carousel-inner {
   height: min(30rem, 70vh);
   overflow: hidden;
   border-radius: inherit;
}

.altocarusel .carousel-item,
.altocarusel .carousel-item img {
   height: min(30rem, 70vh);
}

.altocarusel .carousel-item img {
   width: 100%;
   object-fit: cover;
   object-position: center;
}

.eventos-recientes {
   max-width: 48rem;
}

.directorio {
   text-align: center;
   border: 1px solid;
   border-color: #787878;
   background-color: azure;
}

.fotodir {
   width: 10rem;
   height: 13rem;
   border-radius: 10px;
   object-fit: cover;
   transition: transform 0.3s ease;
}

.imgsecretaria {
   width: 5rem;
   height: 5rem;
   border-radius: 10px;
   transition: transform 0.3s ease;
}

.text-secretaria {
   color: #aaaaaa;
   font-size: small;
}