body {
    font-family: Ebrima;
    background-color: #000;
    color: #fff;
}

.portada {
    height: 75vh;
    width: 100%;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    animation: fondoCarrusel 25s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.portada-text {
    text-align: center;
    z-index: 1;
}

.portada-text h1 {
    font-weight: bold;
    font-size: 6em;
    margin: 0;
}

.btn-portada {
    display: inline-block;
    margin-top: 7rem;
    padding: 10px 20px;
    background-color: #9a8621;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    transition: background-color 0.5s;
}

.btn-portada:hover {
    background-color: #605316;
    color: #000;
}

.info-cards {
    text-align: center;
    margin-top: 150px;
}

.info-cards h2 {
    font-size: 3rem;
    margin: 0 50px;
}
.info-grid {
    margin: 60px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 20px;
}

.info-card {
    justify-items: center;
    background-color: #222;
    color: #fff;
    padding: 20px;
    border-radius: 7px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

.info-card i {
    font-size: 3rem;
    padding-bottom: 10px;
}

.mapa {
    margin-top: 100px;
    padding: 0 20px;
    text-align: center;
}

.mapa h2 {
    margin-bottom: 60px;
    font-size: 3rem;
}

.mapa p {
    font-size: 1.3rem;
}

.mapa-contenedor {
    width: 80%;
    height: 70vh;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

.horarios {
    background-color: #222;
    margin-top: 100px;
    padding-bottom: 100px;
    text-align: center;
}

.franja-youtube {
    background-color: #000;
    /*border-top-left-radius: 30%;
    border-bottom-right-radius: 40%;
    border-bottom-left-radius: 20%;*/
    background-color: #9a8621;
    height: 30vh;
    display: flex;
    flex-wrap: wrap; /* para que en pantallas pequeñas se acomode vertical */
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    text-align: center;
}

.franja-youtube p {
    font-size: 1.5rem;
}

.btn-youtube {
    background-color: #000; /* fondo negro */
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.5s ease;
}

.btn-youtube:hover {
    background-color: darkred; /* gris más claro al pasar el mouse */
    color: #000;
}

.horarios h2 {
    margin-top: 100px;
    margin-bottom: 60px;
    font-size: 3rem;
}

.horarios h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.horario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    /*max-width: 1000px;*/
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.horario-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-color: #ffe755;
    border-style: solid;
    border-width: 2px;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    /*box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease-in-out;*/
}

.icono-grande {
    font-size: 3.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.horario-card h3 {
    margin-bottom: 10px;
    color: #9a8621;
}

.btn-horarios {
    display: inline-block;
    padding: 5px;
    background-color: #9a8621;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.5s;
    margin-top: auto;
}

.btn-horarios:hover {
    background-color: #605316;
    color: #000;
}




/* Carrusel con 3 imágenes */
@keyframes fondoCarrusel {
    0% {
        background-image: url('/images/portada1.jpg');
    }

    50% {
        background-image: url('/images/portada2.jpg');
    }

    75% {
        background-image: url('/images/portada3.jpg');
    }

    100% {
        background-image: url('/images/portada1.jpg');
    }
}