/* styles.css */

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif; /* Aplicar Montserrat como fuente principal */
    background: linear-gradient(-35deg, #1D1EF2, #06a4b3, #1D1EF2); /* Fondo con azul eléctrico */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.subtittle {
    font-family: 'Montserrat Light';
    font-size: 25px;
    color: #fff;
    line-height: 1.2;
}

.container {
    text-align: center;
    max-width: 90%;
    padding: 20px;
    background: transparent; /* Fondo negro semitransparente para mejorar contraste */
    border-radius: 15px;
}

h1 {
    font-size: 4em;
    margin-bottom: 0.5em;
    font-weight: 900; /* Asegura que se use Montserrat-Black */
}

p {
    font-size: 1.5em;
    margin-bottom: 2em;
}

.countdown {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas más pequeñas */
    margin-bottom: 2em;
}

.time {
    margin: 0.5em;
    text-align: center;
    background-color: rgba(243, 243, 243, 0.9); /* Fondo blanco perla con algo de opacidad */
    border-radius: 15px; /* Borde redondeado */
    padding: 1em;
    width: 80px; /* Ajuste de ancho para que todas las tarjetas tengan el mismo tamaño */
}

.time span:first-child {
    font-family: 'Montserrat Light';
    display: block;
    font-size: 2.5em;
    margin-bottom: 5px;
    font-weight: 900; /* Asegura que se use Montserrat-Black */
    color: #3f4859; /* Color del texto para contrastar con el fondo claro */
}

.time span:last-child {
    font-family: 'Montserrat Light';
    font-size: 15px;
    font-weight: 400; /* Un poco más ligero que el valor numérico */
    color: #3f4859; /* Color del texto para contrastar con el fondo claro */
    margin-bottom: 40px;
}

button {
    margin-top: 70px;
    padding: 10px 40px;
    background-color: transparent;
    border-radius: 25px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ddd;
    color: #333; /* Cambia el color del texto en el hover para mayor contraste */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 3em;
    }

    .subtittle {
        font-size: 20px;
    }

    p {
        font-size: 1.2em;
    }

    .countdown {
        justify-content: center;
        flex-direction: row;
        align-items: center;
    }

    .time {
        width: 60px;
        margin: 0.5em;
    }

    .time span:first-child {
        font-size: 2em;
    }

    .time span:last-child {
        font-size: 14px;
    }

    button {
        padding: 8px 30px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 2.5em;
    }

    .subtittle {
        font-size: 18px;
    }

    p {
        font-size: 1em;
    }

    .countdown {
        flex-direction: column;
        align-items: center;
    }

    .time {
        width: 60px;
        margin: 0.5em;
    }

    .time span:first-child {
        font-size: 1.5em;
    }

    .time span:last-child {
        font-size: 12px;
    }

    button {
        padding: 6px 20px;
        font-size: 0.8em;
    }
}
