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

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

body {
    font-family: var(--police-corps);
    background-color: var(--color-secondary);
    margin: 0;
    padding: 20px;
    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;
}

/*** MENU ***/
main {
    display: flex;
    width: 100%;
    height: 100%;
    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;
}

.container_top {
    padding-bottom: 0;
}

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

.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%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 5%;
}

.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%;
    height: fit-content;
    flex-direction: column;
    justify-content:justify;
    align-items: center;
}


.encart_serie{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap:10%

}

.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;
    gap: 5%;
    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: 35%;
    height: fit-content;
    margin-bottom: 0.1vw;
}


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

.encart_paysage figure img{
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/**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 : 1vh;
}

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

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