/* HERO */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-soft);
    background: url("../images/hero-home.jpg") center / cover no-repeat;
}

/* Overlay sombre */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Contenu au-dessus de l'image */
.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 900px;
}

.hero h1 {
    font: var(--font-race);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
}

/* COUNTDOWN */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.countdown div {
    background: var(--white-soft);
    color: var(--blue-ocean);
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
}

.countdown span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

/* REGISTER NOW*/
.register-now {
    margin-top: 2rem;
}

.btn {
    background-color: var(--energy-orange);
    padding: 0.8rem 1.5rem;
    color: var(--white-soft);
    text-decoration: none;
    font-weight: bold;
    border-radius: 15px;
}


/* ABOUT */
.about {
    max-width: 1300px;
}

.about-content {
    display: flex;
    text-align: justify;
    text-indent: 2rem;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.about-content .icon {
    font-size: 3rem;
}

.about-date {
    color: var(--blue-ocean);
    font-weight: bold;
}

.about-event {
    color: var(--blue-ocean);
}

/* EPREUVES */
.epreuves {
    background-color: #e0e9ea;
}

.epreuves-card-split {
    margin: 0.5rem 0rem;
}

/* NATIONAL */
.national {
    background-image: url(../images/national.jpg);
    background-attachment: fixed;
    background-size: contain;
}

/* SPONSOR */
.sponsor {
    display: flex;
    gap: 2rem;
    justify-content: space-evenly;

}
.sponsor img {
    border-radius: 25px;
}

/* RESPONSIVE */
@media screen and (min-width: 993px) {
    .national {
        background-size: cover;
    }
}

@media screen and (max-width: 465px) {
    .countdown {
        gap: 1rem;
        font-size: .66rem;
    }
    .countdown div {
        padding: .66rem;
    }

    .countdown span {
        font-size: 1rem;
    }

    .countdown div {
        min-width: 54px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2.8rem !important;
    }

    .sponsor {
        flex-direction: column;
        align-items: center;
    }

    .sponsor img {
       max-width: 100%;
    }
}

@media screen and (max-width: 572px) {
    .hero h1 {
        font-size: 4rem;
    }
}