/* Estilos globales */
body {
    font-family: 'Arial', sans-serif;
    background-color: #eef2f7;
    margin: 0;
    padding: 20px;
    color: #333;
    line-height: 1.6;
    background-image: url("fondo2 (1).jpg");

}

/* Contenedor principal */
.container {
    max-width: 1050px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Efecto hover para hacer más visible el contenedor */
.container:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Encabezados */
.header {
    font-size: 38px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #1e293b;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.subtitle {
    color: #007bff;
    font-size: 22px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Estilos de eventos */
.event {
    background: #f9fafb;
    padding: 18px;
    margin: 15px 0;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 110px auto 160px 80px;
    align-items: center;
    gap: 18px;
    border-left: 6px solid #007bff;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* 🎯 Efecto hover: hacer más grande el cuadro */
.event:hover {
    transform: scale(1.05); /* Aumenta un 5% el tamaño */
    background: #ffffff; /* Se vuelve más blanco */
    opacity: 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
}

/* Estilos del tiempo */
.time {
    background: #007bff;
    color: white;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Estilos del contenido del evento */
.details {
    color: #222;
    font-size: 17px;
    font-weight: 500;
}

.extra-text {
    color: #666;
    font-size: 15px;
    font-style: italic;
}

/* Estilos de imagen mejorados */
.image {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Efecto hover en la imagen */
.image:hover {
    transform: scale(1.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* Estilos de bloque de descanso */
.break {
    background: #d1d5db;
    text-align: center;
    padding: 14px;
    font-weight: bold;
    margin: 30px 0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Media query para hacer el diseño más responsive */
@media (max-width: 768px) {
    .event {
        grid-template-columns: 100px auto;
        grid-template-rows: auto auto;
        gap: 12px;
        text-align: center;
    }

    .time {
        grid-column: span 2;
    }

    .image {
        margin: auto;
    }
}
