@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/background.jpg");
    min-height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.background h1 {
    margin-top: 300px;
    font-size: 7rem;
    text-shadow: -5px -5px 0 rgb(168, 168, 168), 1px -1px 0 rgb(168, 168, 168), -1px 1px 0 rgb(168, 168, 168), 1px 1px 0 rgb(168, 168, 168);
}


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: 20px;
}

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

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: #7aa55e;
    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: 7rem;
        text-align: center;
    }

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

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

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


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

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

}

@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;
    }
}

.hours h1 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #448ccc;
    text-transform: uppercase;
}

/* Highlight des aktuellen Tages */
table {
    border-collapse: collapse;
}

#activerow-open {
    border: 3px solid #5fff4d;
}

#activerow-close {
    border: 3px solid red;
}

#activerow>td {
    color: #448ccc;
    font-weight: 600;
}

#activerow>td>span {
    color: #448ccc;
}

/* Design der Tabelle */
.opening-hours {
    overflow: hidden;
    box-shadow: 5px 5px 15px 3px #000000;
    background-color: white;
    padding: 1em;
    max-width: 0px;
    min-width: 350px;
    margin-top: 100px;
}

.hours {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
}

.fvl-d>td {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.2px;
    color: #A299AC;
    text-transform: uppercase;
    padding: 1em;
}

.fvl-d>td>span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #A299AC;
    text-transform: uppercase;
}

@media screen and (max-width: 382px) {

    .fvl-d>td {
        font-size: 14px;
        padding: 15px 5px;
    }

    #activerow {
        border: none;
        background-color: #448ccc;
    }

    #activerow>td {
        color: white;
        font-weight: 600;
    }

    #activerow>td>span {
        color: white;
    }

}

@media (max-width: 769px) {
    body footer {
        position: relative;
    }
}

@media (max-width: 1200px) {
    .background h1 {
        font-size: 6rem;
    }
}
@media (max-width: 680px) {
    .background h1 {
        margin-top: 200px;
    }
}
@media (max-width: 420px){
    .background h1 {
        font-size: 4em;
    }
}
@media (max-height: 800px) {
    .background h1 {
        margin-top: 200px;
    }
}
@media (max-height: 700px) {
    .background h1 {
        margin-top: 75px;
    }
}
