/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: white;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   NAVIGATION
   ========================= */

.nav {
    width: 100%;
    padding: 15px 20px 12px 20px;
    background: white;
    border-bottom: 1px solid black;

    position: sticky;
    top: 0;
    z-index: 100;
}

.nav_liens {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.nav_liens a {
    color: black;
    text-decoration: none;
    font-size: 14px;
}

.nav_liens a:hover {
    text-decoration: underline;
}

.nav_liens a.nav_actuelle {
    background: yellow;
    border-radius: 20px;
    padding: 6px 12px;
}

.nav_bouton {
    display: none;

    border: none;
    background: none;

    font-size: 22px;

    padding: 0;

    cursor: pointer;
}



@media (max-width: 900px) {

    .nav {
        padding: 15px 20px;
    }

    .nav_bouton {
        display: block;
    }

    .nav_liens {
        display: none;

        flex-direction: column;
        align-items: flex-start;

        gap: 15px;

        padding-top: 20px;
        padding-bottom: 10px;
    }

    .nav_liens.nav_ouvert {
        display: flex;
    }

}


/* =========================
   ACCUEIL
   ========================= */

.acceuil {
    width: 100%;
    height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.acceuil_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =========================
   FOOTER
   ========================= */

.footer {
    width: 100%;
    padding: 15px 20px;
    background: white;
    text-align: center;
}
.footer p {
    font-size: 12px;
    color: black;
}


/* =========================
   LOGIN
   ========================= */
.page_login {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login_conteneur {
    width: 250px;
}

.login_form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.login_form input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid black;
    border-radius: 0;
    background: white;
    color: black;
    font-family: inherit;
    font-size: 14px;
}

.login_form button {
    width: 100%;
    padding: 10px;
    border: 1px solid black;
    border-radius: 0;
    background: black;
    color: white;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.login_form button:hover {
    background: white;
    color: black;
}

.login_erreur {
    font-size: 12px;
    color: black;
    margin-top: 5px;
}

.phrase_login {
    width: 100%;
    margin: 10px 0 0 0;
    text-align: right;
    font-size: 8px;
    
}



/* =========================
   SECTION PHOTO
   ========================= */

.section_photo {
    width: 100%;
    display: grid;
    grid-template-columns: 30% 70%;
    border-bottom: 1px solid black;
    margin-bottom: 15px;
}

.section_photo_texte {
    padding: 30px 25px;
    position: sticky;
    top: 80px;
    align-self: start;
}

.section_photo_texte h1 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 20px;
}

.section_photo_texte p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 350px;
}

.section_photo_mosaique {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
    overflow: hidden;
    padding-bottom: 15px;
}

.section_photo_image {
    height: var(--hauteur_photo);
    width: auto;
    display: block;

    transform: scale(0.9);
    opacity: 0;

    animation-name: apparition_photo;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}
@media (max-width: 700px) {

    .section_photo_image {
        height: 220px;
    }

}
@media (max-width: 450px) {

    .section_photo_image {
        height: 160px;
    }

}

@keyframes apparition_photo {
    from {
        transform: scale(0.9);
        opacity: 0.5;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
/* =========================
	INFO et CONTACTE
   ========================= */
   .info_contact {
    width: 100%;
}


/* BIO */

.bio {
    width: 100%;
    display: grid;
    grid-template-columns: 55% 45%;
    border-bottom: 1px solid black;
}

.bio_photo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
}

.bio_photo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 600px;
    display: block;
}

.bio_texte {
    padding: 30px 40px;
}

.bio_texte h1 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 20px 0;
}

.bio_texte p {
    max-width: 500px;

    font-size: 14px;
    line-height: 1.5;

    white-space: pre-line;
}


/* FORMULAIRE */

.contact {
    width: 100%;
    padding: 50px 30px 80px 30px;
    box-sizing: border-box;
}

.contact h1 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 30px 0;
}

.formulaire_contact {
    width: 100%;
    max-width: 700px;
}

.formulaire_ligne {
    display: flex;
    flex-direction: column;

    margin-bottom: 20px;
}

.formulaire_ligne label {
    font-size: 14px;
    margin-bottom: 7px;
}

.formulaire_ligne input,
.formulaire_ligne textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid black;
    border-radius: 0;

    background: white;

    padding: 10px;

    font-family: inherit;
    font-size: 14px;
}

.formulaire_ligne textarea {
    height: 150px;
    resize: vertical;
}

.formulaire_bouton {
    border: 1px solid black;
    background: white;

    padding: 10px 20px;

    font-family: inherit;
    font-size: 14px;

    cursor: pointer;
}

.formulaire_bouton:hover {
    background: yellow;
}
/* =========================
   VISIONEUSE
   ========================= */

.visionneuse {
    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background: rgba(255, 255, 255, 0.9);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    z-index: 1000;

    transition: opacity 0.2s ease;
}

.visionneuse_active {
    opacity: 1;
    visibility: visible;
}

.visionneuse_image {
    max-width: 95vw;
    max-height: 95vh;

    width: auto;
    height: auto;

    object-fit: contain;

    display: block;

    cursor: pointer;

    transform: scale(0.95);

    transition: transform 0.25s ease;
}

.visionneuse_active .visionneuse_image {
    transform: scale(1);
}

.visionneuse_fleche {
    position: fixed;

    top: 50%;
    transform: translateY(-50%);

    width: 60px;
    height: 60px;

    padding: 0;

    border: none;
    background: none;

    cursor: pointer;

    z-index: 1002;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visionneuse_fleche img {
    width: 25px;
    height: 25px;

    display: block;
}

.visionneuse_fleche:hover {
    opacity: 0.5;
}

.visionneuse_fleche_gauche {
    left: 20px;
}

.visionneuse_fleche_droite {
    right: 20px;
}
