@font-face {
    font-family: 'TheBoldFont';
    src: url('polices/theboldfont.woff') format('woff'),
         url('polices/theboldfont.otf') format('opentype'),
         url('polices/theboldfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Coolvetica';
    src: url('polices/CoolveticaRG.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LiberationSans';
    src: url('polices/LiberationSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoolveticaCond';
    src: url('polices/CoolveticaRgCond.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bebas';
    src: url('polices/Bebas-Regular.otf') format('opentype');
    src: url('polices/Bebas-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root{
    --color-primary: rgb(0,0,0);
    --color-secondary: rgb(255,255,255);
    --orange : rgb(235,107,45);
    --gris :rgb(239,238,236);
    --police-titre : 'TheBoldFont', sans-serif;
    --police-corps : 'LiberationSans', sans-serif;
    --police-sous-titre : 'Coolvetica', sans-serif;
    --police-sous-titre-cond : 'CoolveticaCond', sans-serif;
    --police-titre-niveau-trois : 'Bebas', sans-serif;
}

body {
    font-family: var(--police-corps);
    background-color: var(--color-secondary);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    color: var(--color-primary);
}

hr {
    width: 100%;
    border: none;
    border-top: 1px solid var(--color-primary);
    margin: 0 0;
    padding: 0;
}

/*** MENU ***/
main {
    display: flex;
    width: 98vw;
    height: 98vh;
    flex-direction: column;
    justify-content:center;
    align-items: center;
}

hr.default {
    width: 100%;
    border: none;
    border-top: 1px solid var(--color-primary);
    margin: 0.1rem 0;
}

.menu_group_top_middle {
    display: flex;
    width: 80%;
    height: fit-content;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    align-self: flex-start;
}

.menu_middle {
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: row;
    justify-content:space-between;
    align-items: flex-end;

    border-bottom: 1px solid var(--color-primary);
    margin-bottom: 3rem;
}

.menu_middle_top{
    display: flex;
    width: 60%;
    height: fit-content;
    flex-direction: row;
    justify-content:space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--color-primary);
    margin-bottom: 1rem;
}

.menu_middle p, .menu_middle_top p{
    margin :0;
    font-size: 0.8rem;
}

/**ACCUEIL**/
.container_top {
    padding-bottom: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.container_top h1 {
    color: var(--color-primary);
    font-family: var(--police-titre);
    text-align: left-bottom;
    margin-bottom: 20px;
    font-size: 11em;
}

@media screen and (max-width: 1380px) {
    .container_top h1{
        font-size: 500%; 
        margin-top: 0;
    }
    .container_top {
        padding-bottom: 0;
        margin-bottom: 25%;
        margin-top: 0;
        max-width: 98%;
        max-height: 90%;
    }
    .index_body{
        overflow-y: none;
    }
}



.container_arrow {
    display: flex;
    width: 95%;
    flex-direction: row-reverse;
    justify-content:flex-start;
    align-items: center;
    margin-top: 20px;
}

.container_arrow_titre_serie{
    display: flex;
    gap:50px;
    width: 95%;
    flex-direction: row;
    justify-content:flex-end;
    align-items: center;
    margin-top: 20px;
}

.container_menu{
    display: flex;
    width: 45%;
    flex-direction: column;
    justify-content:center;
    align-items: flex-start;
}

.menu_item a{
    text-decoration: none;
    color: var(--color-primary);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.menu_item h2{
    color: var(--color-primary);
    text-align: left;
    margin-bottom: 20px;
    font-size: 1rem;
    width: fit-content;
    margin-bottom: 0;
}
.menu_item{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    min-width: inherit;
}

/*** PAGE PROJET ***/
body svg{
    position: right;
}
.main_page_projet {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1%;
}

.titre_projet {
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    
}

.titre_projet h2{
    font-size: 5em;
    margin:0;
    margin-top:-20px;
    font-family: var(--police-titre);
}

.titre_projet h1, .container_arrow_titre_serie h1, .titre_serie h2{
    margin-bottom: 0;
    margin-top :0;
    font-family: var(--police-sous-titre);
}

.description_projet {
    display: flex;
    width: 70%;
    flex-direction: column;
    justify-content:justify;
    align-items: center;
}


.encart_serie{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap:10%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.text_serie{
    display: flex;
    height: fit-content;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    width: 30vw;
}

.text_serie p{
    margin: 0;
    font-size: 0.8rem;
}

.titre_texte_serie{
    font-size: 5rem;
    margin: 0;
    font-weight: bolder;
    padding: 0 3vh 3vh 0;
    font-family: var(--police-sous-titre);
}

.container_series, .container_photos{
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.container_serie, .container_photo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    background-color: var(--gris);
    text-decoration: none;
    width:70%;
}
.container_serie h3.numero_serie {
    color: var(--orange);
    align-self: flex-start;
    margin-bottom: 0;
    font-size: 10rem;
    text-decoration: none;
    font-family: var(--police-sous-titre);
}
.container_serie h3 {
    color: var(--color-primary);
    margin-top: 0.2rem;
    font-size: 3rem;
    margin-right: 0.5rem;
    font-family: var(--police-sous-titre);
}


.titre_serie{
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
}

.encart_serie .container_arrow{
    align-items: flex-start;
    width: 0;
}




/** PAGE SERIE **/

.encart_photo_paysage{
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5%;
}


.container_photos{
    display:flex;
    width: 80%;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container_photos figure{
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5%;
}
.paysage_serie{
    width: 100%;
    height: fit-content;
    margin-bottom: 0.1vw;
}

.portrait_serie{
    width: 100%;
    height: fit-content;
    margin-bottom: 0.1vw;
}

/**CAS 1***/
.encart_paysage_centre{
    display:flex;
    width: 70%;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-bottom:10%;
}

.encart_paysage_centre figure img{
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.encart_paysage_centre figure{
    padding: 0;
    margin:0;
}

/**CAS2**/
.encart_paysage_gauche{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left:2%;
    margin-right: 15%;
    margin-bottom:10%;
}
.encart_paysage_gauche figure img, .encart_paysage_gauche figure{
    margin-left: 0;
}

.encart_paysage_gauche figure{
    width: 90%;
    margin-right: 3%;
}

.encart_paysage_gauche div.texte_photo{
    width: 35%;
}

/*CAS3*/
.encart_paysage_droit{
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left:15%;
    margin-right: 2%;
    margin-bottom:10%;
}
.encart_paysage_droit figure img, .encart_paysage_droit figure{
    margin-right: 0;
}

.encart_paysage_droit figure{
    width: 90%;
    margin-left: 3%;
}

.encart_paysage_droit div.texte_photo{
    width: 35%;
}

/**CAS4*/
.encart_portrait_droit{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left:15%;
    margin-right: 2%;
    margin-bottom:10%;
}
.encart_portrait_droit figure img, .encart_portrait_droit figure{
    margin-right: 0;
}

.encart_portrait_droit figure{
    width: 50%;
    margin-right: 0%;
}

.encart_portrait_droit div.texte_photo{
    width: 65%;
}

/**CAS5*/
.encart_portrait_gauche{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left:2%;
    margin-right: 15%;
    margin-bottom:10%;
}
.encart_portrait_gauche figure img, .encart_portrait_gauche figure{
    margin-left: 0;
}

.encart_portrait_gauche figure{
    width: 50%;
    margin-left: 0%;
}

.encart_portrait_gauche div.texte_photo{
    width: 65%;
}



/**general**/

.titre_photo{
    font-family: var(--police-titre-niveau-trois);
    margin-bottom:0;
}









/**A PROPOS DE MOI **/

figcaption{
    margin :0;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-style: italic;
}

.portrait{
    width: fit-content;
    height: 60vh;
    margin-bottom: 0.1vw;
}
.aproposdemoi p{
    font-size: 0.8rem;
    width: 70%;
    text-align: justify;
}

.main_page_apropos{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    gap : 5vh;
}

.titre_apropos{
    border-top: 1px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vh;
    margin-top:0;
    font-size: 0.7rem;
}

.contenu_apropos_premier{
    display: flex;
    width: 95%;
    height: fit-content;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 5%;
    flex-wrap: nowrap;
    margin-bottom: 5vh;
}

.contenu_apropos_premier div{
    width: 18vw;
}

.text_middle{
    display: flex;
    width: 60%;
    height: fit-content;
    flex-direction: column;
    justify-content:flex-start;
    align-items: center;
    margin-bottom: 3vh;
}
@media only screen and (min-device-width: 851px){
figcaption{
    margin :0;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-style: italic;
}

.portrait{
    width: fit-content;
    height: 60vh;
    margin-bottom: 0.1vw;
}

.main_page_apropos{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    gap : 5vh;
}

.titre_apropos{
    border-top: 1px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vh;
    margin-top:0;
    font-size: 0.7rem;
}

.contenu_apropos_premier{
    display: flex;
    width: 95%;
    height: fit-content;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.contenu_apropos_premier div{
    width: 18%;
}

.text_middle{
    display: flex;
    width: 60%;
    height: fit-content;
    flex-direction: column;
    justify-content:flex-start;
    align-items: center;
    margin-bottom: 3%;
}
}

@media only screen and (max-device-width: 1380px){
    .contenu_apropos_premier, .text_middle{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        width: 80%;
        flex-wrap: wrap;
        gap:0%;
    }
    

    .contenu_apropos_premier div{
        width: 100%;
    }

    .portrait{
        width: 100%;
        height: fit-content;
        margin-bottom: 0.1%;
    }
    .main_page_apropos{
        display:flex;
        flex-direction:column;
}

}


/**CONTACT**/
.main_page_contact{
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1%;
    height: 100vh;
    font-family: var(--police-corps);
}

.main_page_contact p{
    font-size: 1.5rem;
    width: 70%;
    text-align: center;
}