/* 
Reset
*/

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 22, 2020 */
@font-face {
    font-family: "vcr_osd_monoregular";
    src: url('fonts/VCR_OSD_MONO_1.001.ttf');

    font-weight: normal;
    font-style: normal;

}

*{
    /* Supprimer toutes les marges */
    padding: 0;
    margin: 0;
    

    /* IntÃ©grer les padding et les border dans le bloc */
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; /* CSS3 */
}

/* Passer d'une base 16 Ã  une base 10 */
html{
    font-size: 62.5%; /* => 1rem = 10px */
}

body{
    font-size: 1.6rem;
}

a{
    color: inherit;
    text-decoration: none;
}

img{
    max-width: 100%;
}

.main-navigation{
    display: inline-block;
    width: 80%;
    z-index:10000 !important;
}


.background-text{
    display: inline-block;
    width: 20%;
    position: fixed;
    margin: 7em 0em 0em 1em;
    z-index: 1;
}

.introduction-text{
    margin: 0.5em 0em;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.72em;
    font-style: italic;
}

.lire-la-suite{
    margin-top:1em;
    text-transform: uppercase;
    font-style: italic;
    text-decoration: underline;  

}

.bg-title{
    font-family: "vcr_osd_monoregular", Arial, Helvetica, sans-serif;
    font-size: 2em;
    font-weight:normal;
}

.article{
    margin: 0em 0.5em;
    display: inline-block;
    width: 16.5em; 
    height: 5em;
}

.main-content{
    display: flex;
    height: 100vh;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space:nowrap;
    scroll-behavior: smooth;
    font-weight:normal;
    padding-left: 2em;
}

.articles{
    margin: 17vh 5em 20em 17em;
    z-index: 10;
}

.project-title{
    margin-bottom: 0.5em !important;
    transform: translateY(0.1em);
    text-transform: uppercase;
    font-size: 0.7em;
    text-align: center;
    vertical-align: bottom;
    font-weight: normal;
    font-style: italic;
}

.project-image{
    border: 1px solid black;
    background-size: cover;
    white-space: nowrap;
    align-self: flex-start;
    overflow: hidden;
    width: 24em;
    height: 24em;
    object-fit: cover;
}

.subtitle{
    text-align: left;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.6em;
    font-weight:normal;
}

.blank{
    color: white;
}

body{
    display: flex;
}

.main-content a{
    width: 3em;
    height: 5em;
}

.single-project-title{
    font-family: "vcr_osd_monoregular", Arial, Helvetica, sans-serif;
    text-align: left;
    text-transform: uppercase;
    font-style: italic;
    align-self: flex-start;
    font-weight: normal;
    width: 100%;
}

.single-project-title{
    margin-bottom: 2em;
}


a:hover{
    color: blue;
}


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

    .header{
        font-size: 2em;
    }

    .main-menu{
        font-size: 2em;
    }

    .background-text{
        padding-top: 5em;
    }

    .introduction-text{
        height: max-content;
        font-size: 1.5em !important;
    }

    .articles{
        margin: 15em 12em;
    }

    .articles .article{        
        font-size: 3.2em;
    }

    img {
        max-width: 100%;
        max-height: 100vh;
    }
}
