html{
    background-color: black;
    scroll-behavior: smooth;
}

body{
    width: 100%;
    max-width: 850px;
    min-width: 300px;
    margin: 0;
    padding: 0;
    margin: auto;
    background-color: white;
    scroll-behavior: smooth;
}

#entete{
    position: static;
    height: 100vh;
    width:100%;
    margin: auto;
    padding: 0;
    /*background-image: url("entete.jpg");
    background-repeat: no-repeat;*/
    overflow: hidden;
}
#entete img{
    width: 850px;
    min-width: 300px;
    height: 1218px;
    margin-left: -240px;
    margin-top: -310px;
}
#feuille{
    margin: auto;
    width: 55px;
    height: 60px;
    background-image: url("pic_feuille_55x60.png");
}
#go{
    position: absolute;
    width: 100%;
    max-width: 850px;
    min-width: 300px;
    margin: auto;
    top: 55vh;
    z-index: 20;
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 1.3em;
    font-weight: 100;
    line-height: 98%;
    text-align: center;
    color: white;
}
#go span{
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35% 35%;
    background-color: rgba(255,255,255,0.4);
    font-family: 'Montserrat', sans-serif;
}
#go span:hover{
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35% 35%;
    background-color: rgba(255,255,255,0.7);
    font-family: 'Montserrat', sans-serif;
}
#go a{
    text-decoration: none;
}
#go a:visited{
    color: white;
}

.item_part{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#q1{
    margin-bottom: -100px;
}
.quizz{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 360px;
    margin-top: 40px;
    margin-bottom: 40px;
}
#quizz7_order{
    height: 450px;
}

.quest{
    margin-left: 40px;
    margin-right: 40px;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3em;
}
.form_visi{
    display: block;
    width: 100%;
}
.form_novisi{
    display: none;
}
.bout{
    display: block;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    outline:0;
    width: 200px;
    height: 30px;
    margin: auto;
    border: 1px solid black;
    border-radius: 0px;
    background-color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2em;
}
.bout:hover{
    outline:0;
    border: 1px solid black;
    border-radius: 0px;
    background-color: white;
}
.bout:focus{
    outline:0;
    border: 1px solid black;
    border-radius: 0px;
    background-color: white;
}
.bout:active{
    outline:0;
    border: 1px solid black;
    border-radius: 0px;
    background-color: white;
}

.rep{
    display: block;
    /*width: 250px;*/
    height: 0px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    overflow: hidden;
    opacity: 0;
    transition: all 0.05s ease-in-out;
}
.rep_visi{
    display: block;
    /*width: 250px;*/
    
    height: auto;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: 40px;
    margin-right: 40px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-top: 1px solid black;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1em;
    text-align: justify;
    line-height: 130%;
    overflow: hidden;
    opacity: 1;
    transition: all 0.5s ease-in-out;
}

.img_full{
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.img_full img{
    width: auto;
    height: 100%;
}
.vid_full{
    width: 100%;
    height: 400px;
    margin-top: 40px;
    overflow: hidden;
}
.vid_full video{
    margin-left: -180px;
    margin-top: -100px;
}

.img_part{
    width: 86%;
    max-width: 400px;
    height: 500px;
    margin: auto;
    text-align: center;
    overflow: hidden;
}
.img_part img{
    height: 100%;
    width: auto;
    margin: auto;
}

#footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 6px;
    padding-bottom: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    text-align: center;
    background-color: black;
    color: white;
}


.nocredits{
    display: none;
    width: 100%;
    margin: auto;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8em;;
    text-align: center;
    background-color: black;
    color: white;
}
.credits{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
    padding-top: 4px;
    border: 1px dotted lightgray;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8em;;
    text-align: center;
    background-color: black;
    color: white;
}
.credits div{
    margin-bottom: 10px;
}
.credits div a{
    display: flex;
    align-items: center;
    color: white;
}
.credits div a:visited{
    color: white;
}
.credits img{
    margin-right: 6px;
}
#affcredits{
    margin: auto;
    padding-bottom: 20px;
    border: 0px;
}

#bcredit{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    outline:0;
    border: 1px solid black;
    border-radius: 0px;
    background-color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.0em;
}
#bcredit:hover{
    outline:0;
    border: 1px solid black;
    border-radius: 0px;
    background-color: white;
}
#bcredit:focus{
    outline:0;
    border: 1px solid black;
    border-radius: 0px;
    background-color: white;
}
#bcredit:active{
    outline:0;
    border: 1px solid black;
    border-radius: 0px;
    background-color: white;
}
/*
@media only screen and (min-width: 600px) {
    #entete img{
        margin-left: 0px;
        margin-top: 0px;
    }
    .img_full{
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .vid_full{
        text-align: center;
    }
    .vid_full video{
        margin-left: 0px;
    }
}
@media only screen and (min-width: 550px) {
    .item_part{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 60px;
        margin-bottom: 60px;
        margin-left: 40px;
        margin-right: 40px;
    }
    
    .img_full{
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .img_full img{
        width: 100%;
        height: auto;
    }
    #quizz4_order{
        order: 1;
    }
}*/

@media only screen and (orientation: landscape) {
    #entete img{
        margin: 0px;
        margin-top: -400px;
    }
    #go{
        top: 32vh;
    }
    .img_full{
        max-height: 100vh;
        width: 100%;
        overflow: hidden;
    }
    .vid_full video{
        margin-left: 0px;
    }
}

@media only screen and (min-width: 550px) {
    html{
        background-color: black;
    }
    #entete img{
        margin-left: 0px;
    }
    .item_part{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 40px;
        margin-left: 40px;
        margin-right: 40px;
    }
    .img_part{
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin: auto;
        text-align: center;
        overflow: hidden;
    }
    .img_part img{
        height: 100%;
        width: auto;
        margin: auto;
    }

    .item_full{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 40px;
        margin-left: 40px;
        margin-right: 40px;
    }
    .img_full{
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin: auto;
        text-align: center;
        overflow: hidden;
    }
    .img_full img{
        height: 100%;
        width: auto;
        margin: auto;
    }
   
    .vid_full{
        width: 100%;
        height: 300px;
        margin-top: 0px;
        overflow: hidden;
    }
    .vid_full video{
        margin-left: -180px;
        margin-top: -100px;
    }
    .quizz{
        margin: 0px;
    }
    #q1{
        margin-bottom: 0px;
    }
    #quizz1_order{
        order: 1;
    }
    #quizz3_order{
        width: 98%;
        order: 1;
    }
    #rep3{
        font-size: 1.0em;;
    }
    #img3{
        width:96%;
    }
    #quizz4_order{
        width: 90%;
        order: 0;
    }
    #quizz5_order{
        order: 1;
    }
    #quizz7_order{
        width: 90%;
        order: 1;
    }
}