@font-face {
    font-family: 'norwesterregular';
    src: url('fonts/norwester-webfont.woff2') format('woff2'),
        url('fonts/norwester-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: GlacialIndifference;
    src: url("fonts/GlacialIndifference-Regular.otf") format("opentype");
}

@font-face {
    font-family: PlayfairDisplay-Bold;
    src: url("fonts/PlayfairDisplay-Bold.ttf") format("opentype");
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;

    background-color: #71919F;

    font-family: GlacialIndifference;
    font-size: 17px;
    color: #434952;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--background);
    height: 80px;
    align-items: center;
    padding: 0 20px;
}

main {
    min-height: calc(100% - 80px - 100px);
}

footer {
    position: relative;
    bottom: 0;
    left: 0;

    height: 100px;
    width: 100%;

    background-color: var(--background);

    align-items: center;
    text-align: center;
}

a {
    text-decoration: none;
    color: #434952;
}

h1 {
    text-align: center;
    font-family: "GlacialIndifference";
    padding: 5px;
    margin: 0;
    font-size: 20px;
    letter-spacing: 0.2em;
    font-weight: bold;
}

h2 {
    font-family: PlayfairDisplay-Bold;
    font-size: 34px;
    padding-bottom: 0;
    margin-bottom: 10;
}

h3 {
    font-family: "GlacialIndifference";
    letter-spacing: 0.2em;
    font-size: 30px;
    font-weight: 400;
    padding-bottom: 10px;
    text-align: center;
}

h4 {
    padding-top: 0;
    margin-top: 0;
    font-weight: normal;
    color: #71919F;
    font-size: 16px;
}

h5 {
    font-family: "GlacialIndifference";
    letter-spacing: 0.1em;
    font-size: 16px;
    text-align: center;
}

:root {
    --bar-width: 40px;
    --bar-height: 6px;
    --hamburger-gap: 5px;
    --foreground: black;
    --background: white;
    --hamburger-margin: 20px;
    --animation: 200ms ease-in-out;
    --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}

.page_classique {
    text-align: center;
    margin-bottom: 40px;
}

.hamburger-menu {
    display: none;
}

.logo {
    text-align: center;
    font-family: "GlacialIndifference";
}

.nom1 {
    padding: 5px;
    margin: 0;
    font-size: 20px;
    letter-spacing: 0.2em;
    font-weight: bold;
}

.nom2 {
    margin: 0;
    font-size: 16px;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    justify-content: space-around;
}

.menu li {
    padding: 10px 20px;
}

.menu a {
    text-decoration: none;
    color: black;
    padding-bottom: 4px;
    background-image: linear-gradient(#000000, #000000);
    background-size: 0% 0.1em;
    background-position-x: 50%;
    background-position-y: 100%;
    background-repeat: no-repeat;
    transition: background-size ease-in-out 0.5s;
}

.menu a:hover {
    background-size: 100% 0.1em;
}

.partie-1 {
    background-image: url("images/mont_01.jpg");
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video-wrapper {
    width: auto;
    height: 500px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#background-video {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.message_accueil {
    position: absolute;
    color: white;
}

.galerie {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    column-count: 3;
    column-gap: 0px;
    padding: 10px;
    transition: 0.5s ease-in-out;
}

.galerie img {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
    border-radius: 20px;
}

.galerie img:hover {
    transform: scale(0.95);
}

.galerie img.full {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0;
}

.galerie img.full:hover {
    z-index: 999;
    transform: none;
}

/* Index Partie 2 (sous la vidéo) */

.partie-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: auto;
    position: relative;
    top: -30px;

    background-color: #ffffff;
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.sorties {
    border: 2px solid;
    margin: 8px;
    background-color: #d9ccc1;
    border-radius: 5px;
    overflow: hidden;

}

.liste_sortie {
    border-collapse: collapse;
    margin: 25px 25px 25px 25px;
    font-size: 0.9em;
    width: fit-content;
    border-radius: 5px 5px 0 0;
    overflow: hidden;

    border-collapse: separate;
    border-spacing: 0 1em;
}

.liste_sortie caption {
    font-family: "GlacialIndifference";
    letter-spacing: 0.2em;
    font-size: 30px;
    font-weight: 400;
    padding-bottom: 10px;
}

.liste_sortie tr {
    background-color: white;
    height: 60px;
}

.liste_sortie td {
    padding: 12px 22px;
    text-align: left;
}

.date {
    background-color: #C0DAE2;
    font-family: "GlacialIndifference";
}

.lien {
    border: 1px solid;
    padding: 10px;
    color: #434952;
    background-color: white;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.liste_sortie tr:nth-of-type(even) {
    background-color: #e5dfd8;
}


.afficher_date {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 20px auto 50px auto;

    background-color: #ffffff;
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.afficher_date_2 {
    border: 2px solid;
    margin: 8px;
    padding: 0px 20px 20px 20px;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
}

.afficher_sortie {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: fit-content;

    background-color: #ffffff;
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.afficher_sortie_2 {
    min-width: 600px;
    border: 2px solid;
    margin: 8px;
    padding: 0px 20px 20px 20px;
    background-color: #ebe2e2;
    border-radius: 5px;
    overflow: hidden;
}

.formulaire {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cadre {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: fit-content;

    background-color: #ffffff;
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.cadre_2 {
    min-width: 600px;
    border: 2px solid;
    margin: 8px;
    padding: 10px 20px 10px 20px;
    background-color: #d9ccc1;
    border-radius: 5px;
    overflow: hidden;
}

.info_sortie {
    background-color: #434952;
    color: #ffffff;
    width: 60%;
    margin: auto;
    padding: 20px;
}

.info_sortie p {
    text-align: left;
    text-justify: inter-word;
}

.mes_sorties {
    position: relative;
    display: flex;
    align-items: normal;
    justify-content: center;
}

.sortie_image {
    padding: 0;
    margin: 10px 0px;
    background-color: white;
}

.sortie_image img {
    width: 500px;
    padding: 0;
    margin: 0;
}

.button_programme {
    text-align: center;
    padding-top: 20px;
}

.sortie_texte {
    width: 430px;
    padding: 30px;
    text-align: justify;
    background-color: #ffffff;
    margin: 10px 0px;
}

.pictogram {
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: 20px;
}

.picto {
    height: 50px;
    padding-left: 10px;
}

.tarif {
    font-size: 16px;
    table-layout: fixed;
    width: 100%;
}

.tarif-1 {
    width: 40%;
    padding: 5px 3px;
    text-align: right;
}

.tarif-2 {
    width: 45%;
}

.tarif-3 {
    width: 16%;
    padding: 5px 3px;
}

.arbo_sortie {
    background-image: url("images/fond_sable_2.jpg");
    background-position-x: 50%;
    background-position-y: 100%;
    background-repeat: no-repeat;
    background-size: 100%;

    margin: 0;
    padding: 0;
}

.ligne_carre_1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ligne_carre_2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.carre {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    width: 300px;
    height: 300px;
    border-radius: 15px 15px 15px 15px;
    margin-left: 20px;
    margin-right: 20px;
    opacity: 0.8;
}

.form_1_sortie {
    margin: 10px;
}

.form_1_sortie label {
    background-color: #F4F3EF;
    padding: 20px;
    margin: 10px;
    display: inline-block;
    width: 300px;
}

.form_1_sortie input {
    text-align: center;
    background-color: #F4F3EF;
    padding: 20px;
    margin: 10px;
}

.form_1_prix {
    background-color: #F4F3EF;
    padding: 20px;
    margin: 10px;
    display: inline-block;
    width: 100px;
}

.formulaire_reserver {
    display: block;
    border: none;
}

.formulaire_reserver input[type=number]::-webkit-inner-spin-button {
    height: 50px;
}

.form_2_sortie label {
    background-color: #F4F3EF;
    padding: 10px;
    margin: 10px 0;
    display: inline-block;
    width: 150px;
}

.form_2_sortie input {
    background-color: #F4F3EF;
    padding: 10px;
    margin: 10px;
}

.icone {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.icone img {
    height: 30px;
}

.ligne_icone {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.ligne_icone img {
    padding-right: 10px;
}

.back {
    border: 1px solid transparent;
    background-image: url("images/fond_sable_3.jpg");
    background-position-x: 50%;
    background-position-y: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.formulaire select,
input {
    font-family: "GlacialIndifference";
    font-size: 15px;
}

@media (max-width: 700px) {
    header {
        padding: 0;
    }

    .menu {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
        min-width: 300px;

        position: absolute;
        top: 60px;
        right: 0px;
        background-color: white;
        z-index: 5;
    }

    .menu li {
        padding: 20px;
    }

    .hamburger-menu {
        --x-width: calc(var(--hamburger-height) * sqrt(2));
        display: flex;
        flex-direction: column;
        gap: var(--hamburger-gap);
        width: max-content;
        position: absolute;
        top: var(--hamburger-margin);
        right: var(--hamburger-margin);
        z-index: 2;
        cursor: pointer;
    }

    .hamburger-menu::before,
    .hamburger-menu::after,
    .hamburger-menu input {
        content: "";
        width: var(--bar-width);
        height: var(--bar-height);
        background-color: var(--foreground);
        border-radius: 999px;
        transform-origin: left center;
        transition: opacity var(--animation), width var(--animation), rotate var(--animation), translate var(--animation);
    }

    .hamburger-menu input {
        appearance: none;
        padding: 0;
        margin: 0;
        outline: none;
        pointer-events: none;
    }

    .hamburger-menu:has(input:checked)::before {
        rotate: 45deg;
        width: var(--x-width);
        translate: 0 calc(var(--bar-height) / -2);
    }

    .hamburger-menu:has(input:checked)::after {
        rotate: -45deg;
        width: var(--x-width);
        translate: 0 calc(var(--bar-height) / 2);
    }

    .hamburger-menu input:checked {
        opacity: 0;
        width: 0;
    }



    .hamburger-menu:has(input:checked)+.menu {
        display: flex;
    }

    .nom1 {
        font-size: 16px;
    }

    .partie-2 {
        max-width: 100%;
    }

    .liste_sortie {
        margin: 10px;
        width: 300px;
    }

    .liste_sortie caption {
        font-size: 16px;
    }

    .liste_sortie td {
        display: block;
        text-align: center;
    }

    .date {
        display: block;
    }

    .icone {
        flex-direction: column;
    }

    .arbo_sortie {
        padding-top: 10px;
        margin: 0;
        background-position: center;
        background-size: cover;
    }

    .ligne_carre_1 {
        flex-direction: column;
        padding: 0px;
    }

    .ligne_carre_2 {
        flex-direction: column;
        padding: 0px;
    }

    .carre {
        height: 150px;
        margin-bottom: 10px;
    }

    .info_sortie {
        width: 80%;
    }

    .sortie_image {
        position: absolute;
        top: 90%;
    }

    .sortie_image img {
        display: none;
    }

    .arbo_sortie {
        margin: 0;
        padding: 10px;
    }

    .formulaire input {
        font-size: 12px;
    }

    .galerie {
        column-count: 2;
    }

    .galerie img {
        object-fit: cover;
        height: 180px;
    }
}