@font-face {
    font-family: 'Dreaming Regular';
    src: url('/font/FontsFree-Net-Dreaming.ttf') format('truetype');
}


.background {
    /* Fond pour la page d'accueil */
    background-image: url("/public/images/circuits-velos.jpg");
    min-height: 110vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: polygon(0 0%, 100% 0, 100% 60%, 0% 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.background h1 {
    margin-top: 150px;
    font-size: 12.5rem;
    font-family: 'Dreaming Regular';
}

.background p {
    font-size: 4.6875rem;
    font-family: 'Dreaming Regular';
}

body footer {
    position: relative;
}

.parcours {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parcours h1 {
    font-size: 1.875rem;
    margin-bottom: 20px;
}

.parcours p {
    font-weight: 0;
    font-size: 1.5625rem;
    max-width: 1000px;
}

iframe {
    margin-top: 20px;
    margin-bottom: 25px;
}

.buttons {
    display: flex;
    flex-direction: row;
}

.button-pdf {
    margin: 25px;
    margin-top: 75px;
    margin-bottom: 100px;
    font-family: inherit;
    font-weight: 500;
    font-size: 20px;
    padding: 0.7em 1.4em 0.7em 1.1em;
    color: white;
    background: #8bcdc8;
    border: none;
    letter-spacing: 0.05em;
    border-radius: 20em;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    text-decoration: none;
}

@media (max-width: 1001px) {
    .background h1 {
        font-size: 10rem;
        text-align: center;
    }

    .background p {
        font-size: 4rem;
        text-align: center;
    }

    .parcours h1 {
        font-size: 1.5rem;
    }

    .parcours p {
        font-weight: 0;
        font-size: 1rem;
    }
}

@media (max-height: 731px) {
    .background h1 {
        font-size: 8rem;
    }
}

@media (max-width: 564px) {
    .background h1 {
        font-size: 8rem;
    }

    .background p {
        font-size: 3rem;
    }

    .button-pdf {
        font-size: 0.8rem;
    }
}

@media (max-height: 585px) {
    .background h1 {
        font-size: 6rem;
    }

    .background p {
        font-size: 3rem;
    }
}

@media (max-width: 310px) {
    .background h1 {
        font-size: 5rem;
    }

    .background p {
        font-size: 2rem;
    }
}

@media (max-width: 1100px) {
    .background {
        clip-path: polygon(0 0%, 100% 0, 100% 80%, 0% 100%);
    }
}

@media (max-width: 519px) {
    .buttons {
        display: flex;
        flex-direction: column;
    }

    .button-pdf {
        margin: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .button-pdf:nth-child(1) {
        margin-bottom: 25px;
    }

    .button-pdf:nth-child(2) {
        margin-bottom: 50px;
    }
}

@media (max-height: 620px){
    .background h1 {
        margin-top: 75px;
    }
}


@media (max-height: 455px){
    .background h1 {
        margin-top: 0;
    }
}