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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
}

.logo {
    height: 50px;
    transition: filter 0.3s ease;

}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

.nav-link {
    color: #ff37ff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff37ff;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.nav-link:hover::after {
    visibility: visible;
    transform: scaleX(1);
}

.hero-content {
    z-index: 1;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: #ffd700;
    color: #333;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #fff;
    color: #ff37ff;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section {
    padding: 100px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ffd700;
    margin: 20px auto 0;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 60px;
}

.feature {
    flex-basis: calc(33.333% - 30px);
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.parallax-section {
    background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.parallax-section .container {
    position: relative;
    z-index: 1;
}

.schedule-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.schedule-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.schedule-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.highlight {
    font-weight: bold;
    color: #ff4500;
    font-size: 1.5rem;
    margin-top: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #ffd700;
}

.btn {
    display: inline-block;
    background-color: #ffd700;
    color: #333;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #333;
    color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.heart {
    color: #ff4500;
    font-size: 1.2rem;
    animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .features {
        flex-direction: column;
    }

    .feature {
        flex-basis: 100%;
    }

    .schedule-info {
        flex-direction: column;
    }

    .schedule-item {
        margin-bottom: 20px;
    }
}

/* Tabla */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

table thead th {
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tbody tr:hover {
    background-color: #e0f7fa;
    cursor: pointer;
}

/* Estilo de enlaces en tablas */
table tbody a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

table tbody a:hover {
    color: #ff37ff;
}

/* Estilos responsivos para tablas */
@media (max-width: 768px) {
    /* Hacer que la tabla tenga scroll horizontal en pantallas pequeñas */
    .table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important; /* Suaviza el scroll en dispositivos móviles */
    }

    /* Asegura que la tabla sea de ancho completo dentro de su contenedor */
    table {
        width: 100% !important;
        display: block !important;
    }

    /* Ocultar el encabezado en pantallas pequeñas */
    table thead {
        display: none !important;
    }

    /* Mostrar cada fila como un bloque completo en pantallas pequeñas */
    table tbody, table tr {
        display: block !important;
        width: 100% !important;
    }

    table tbody tr {
        margin-bottom: 20px !important;
        border: 1px solid #ddd !important; /* Añadir borde entre filas */
        padding: 10px !important;
        background-color: #fff !important; /* Asegura que el fondo sea blanco */
    }

    /* Asegura que cada celda dentro de una fila esté separada */
    table tbody td {
        display: flex !important;
        justify-content: space-between !important;
        padding: 10px 0 !important;
        border: none !important; /* Eliminar los bordes internos */
    }

    /* Utilizar el atributo data-label para mostrar la etiqueta de columna */
    table tbody td::before {
        content: attr(data-label) !important;
        font-weight: bold !important;
        flex-basis: 40% !important;
        text-align: left !important;
        color: #333 !important; /* Asegura que el texto sea legible */
    }

    /* Asegura que el texto de las celdas esté alineado a la derecha */
    table tbody td {
        text-align: right !important;
        font-size: 1rem !important;
    }

    /* Aumentar el tamaño de los enlaces en las tablas para mejorar la usabilidad en móviles */
    table tbody a {
        font-size: 1.2rem !important;
        color: #3498db !important;
    }

    /* Asegura que los enlaces cambien de color cuando se hace hover */
    table tbody a:hover {
        color: #ff37ff !important;
    }
}

