body {
    background-color: #000;
    color: #fff;
    font-family: 'Pacifico', cursive;
}

.navbar {
    background-color: #000;
}

.navbar-brand {
    color: #FFA500 !important;
}

header {
    position: relative;
    text-align: center;
    color: white;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.parrafos_legibles{
    font-size: 1.5rem; /* Ajusta el tamaño según prefieras */
    line-height: 1.6; /* Opcional: para mejorar la legibilidad */
}

/* Asegurar que las imágenes tengan el mismo tamaño */
.gallery-item {
    position: relative;
    overflow: hidden;
    height: 100%; /* Ajusta este valor al tamaño deseado */
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen para que encaje perfectamente */
    transition: 0.5s ease; /* Suaviza el efecto de transición */
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Ocultar el texto inicialmente */
    font-size: 1.2em;
    font-family: 'Pacifico', cursive;
    transition: 0.5s ease; /* Suaviza la aparición del texto */
}

.gallery-item:hover img {
    opacity: 0.6; /* Hace que la imagen sea transparente al pasar el ratón */
}

.gallery-item:hover .overlay {
    opacity: 1; /* Muestra el texto al pasar el ratón */
}
/*Fin galería*/

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Media/portada.PNG') center center / cover no-repeat;
    opacity: 0.5;
    z-index: -1;
}

.footer {
    background-color: #000;
    color: #FFA500;
    padding: 10px 0;
    text-align: center;
}

