@import 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300';
* {
    font-family: "Source Sans Pro", sans-serif;
    box-sizing: border-box;
    font-weight: 300;
    padding: 0;
    margin: 0;
}

.bandeau{
    position: absolute;
    width: 100%;
    height: 60px;
    background-color: #4d5053;
}

#canvas {
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btnf, .btn2, .btn3, .suivant, .afficher, .suivantlast {
    display: none;
    box-shadow: none;
    -webkit-appearance: none;
       -moz-appearance: none;
        appearance: none;
    border: 0;
    outline: 0;
    height: 70px;
    line-height: 42px;
    width: 100%;
    font-size: 25px;
    border-radius: 25px;
    color: #282d32;
    cursor: pointer;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.1, 3, 0.4, 1);
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    margin-top: 10px;
}
#btnf:hover, .btn2:hover, .btn3:hover, #btnf:hover, .suivant:hover, .suivantlast:hover, .afficher:hover {
    transform: scale(1.025, 1.025);
    }
#btnf:active, .btn2:active, .btn3:active, #btnf:active, .suivant:active, .suivantlast:active, .afficher:active {
    transform: scale(1.05, 1.05);
}

.formulaire{
    position: absolute;
    left: 0;
    top: 140px;
    margin-left: 50%;
    width: 45%;
}
    
.ctnbt {
    position: relative;
    top: 20px;
    width: 100%;
}

.image {
    position: absolute;
    top: 200px;
    height: 480px;
    width: 30%;
    left: 150px;
    overflow: hidden;
}

img {
    object-fit: contain;
}

.p1 {
    position: relative;
    top: 0px;
    font-size: 40px;
    color: black;
    text-align: center;
}

.p2, .p3 {
    color: black;
    position: relative;
    text-align: center;
    display: none;
    font-size: 20px;
    margin-top: 10px;
}

.pscore {
    display: none;
    color: black;
    position: relative;
    font-size: 20px;
    top: 0px;
    display: none;
    margin-top: 20px;
    text-align: center;
}

#interieur {
    position: absolute;
    width: 600px;
    height: 400px;
    background-color: white;
    border-radius: 40px;
    border: solid black 5px;
}

#btnf {
    font-size: 25px;
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}
    
#btns {
    position: relative;
    top: 80px;
}

#pscoref {
    position: relative;
    top: 40px;
    text-align: center;
    font-size: 40px;
    color: black;
}

.btnmenu {
    position: relative;
    left: 0px;
    top: 0px;
    width: 200px;
    height: 100%;
    background-color:  #4d5053;
    font-size: 25px;
    font-weight: 900;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.5s;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.btnmenu:hover{
    opacity: 0.9;
    background-color:  #5e6268;
}
.verbescore, #niveau{
    background-color: #3c3f42;
    position: relative;
    float: right;
    color: white;
    font-size: 25px;
    font-weight: 900;
    width: 250px;
    height: 100%;
    margin-left: 2px;
    text-align: center;
    line-height: 250%;
}

@media only screen and (max-width:1710px) and  (min-width: 1590px) {
    .btn2, .btn3, .suivant, .afficher, .suivantlast {
        font-size: 20px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        height: 70px;
    }
}
@media only screen and (max-width:1589px) and  (min-width: 1270px) {
    .btn2, .btn3, .suivant, .afficher, .suivantlast {
        font-size: 17px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        height: 60px;
    }
    .p1 {
        font-size: 35px;
    }
    .p2, .p3, .pscore {
        font-size: 15px;
    }
    .image {
        top: 160px;
        left: 40px;
        height: 450px;
        width: 40%;
    }
}
@media only screen and (max-width:1269px) and  (min-width: 1120px) {
    .btn2, .btn3, .suivant, .afficher, .suivantlast {
        font-size: 17px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        height: 60px;
    }
    .p1 {
        font-size: 35px;
    }
    .p2, .p3, .pscore {
        font-size: 15px;
    }
    .image {
        top: 160px;
        height: 50%;
        width: 40%;
        left: 40px;
    }
}
@media only screen and (max-width:1119px) and  (min-width: 830px) {
    .formulaire {
        width: 60%;
        position: relative;
        margin: auto;
    }
    .btn2, .btn3, .suivant, .afficher, .suivantlast {
        font-size: 17px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
        border-radius: 15px;
        height: 45px;
    }
    .p1 {
        font-size: 30px;
        top: 10px;
    }
    .p2, .p3, .pscore {
        font-size: 15px;
    }
    .image {
        position: relative;
        top: 110px;
        height: 39%;
        width: 37%;
        margin: auto;
        left: 0px;
    }
    .ctnbt {
        top: 20px;
    }
    .bandeau {
        height: 50px;
    }
    .btnmenu, .verbescore, #niveau {
        font-size: 15px;
    }
    .verbescore, #niveau{
        line-height: 320%;
        width: 180px;
    }
    .btnmenu{
        width: 180px;
    }
}
@media only screen and (max-width:829px) and  (min-width: 600px) {
    .formulaire{
        width: 70%;
        position: relative;
        margin: auto;
    }
    .btn2, .btn3, .suivant, .afficher, .suivantlast {
        font-size: 14px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
        border-radius: 15px;
        height: 40px;
    }
    .p1{
        font-size: 25px;
        top: -10px;
    }
    .p2, .p3, .pscore{
        font-size: 12px;
    }
    .image {
        position: relative;
        top: 100px;
        left: 0px;
        height: 33%;
        width: 33%;
        margin: auto;
    }
    .ctnbt{
        top: 0px;
    }
    #interieur {
        width: 400px;
        height: 300px;
    }
    
    #btnf {
        font-size: 20px;
        margin-top: 10px;
    }
        
    #btns {
        top: 50px;
    }
    
    #pscoref {
        position: relative;
        top: 30px;
        text-align: center;
        font-size: 30px;
        color: black;
    }
    .bandeau {
        height: 50px;
    }
    .btnmenu, .verbescore, #niveau{
        font-size: 15px;
        width: 150px;
    }
    .verbescore, #niveau{
        line-height: 320%;
        width: 145px;
    }
    .btnmenu{
        width: 145px;
    }
}
@media only screen and (max-width:599px) and  (min-width: 1px) {
    .formulaire {
        width: 80%;
        position: relative;
        margin: auto;
    }
    .btn2, .btn3, .suivant, .afficher, .suivantlast {
        font-size: 10px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
        border-radius: 15px;
        height: 40px;
    }
    .p1{
        font-size: 15px;
        top: -30px;
    }
    .p2, .p3, .pscore{
        font-size: 10px;
    }
    .image {
        position: relative;
        top: 80px;
        left: 0px;
        height: 38%;
        width: 38%;
        margin: auto;
    }
    .pscore{
        top: -10px;
    }
    .ctnbt{
        top: -20px;
    }
    #interieur {
        width: 350px;
        height: 300px;
    }
    
    #btnf {
        font-size: 20px;
        margin-top: 10px;
    }
        
    #btns {
        top: 50px;
    }
    
    #pscoref {
        position: relative;
        top: 30px;
        text-align: center;
        font-size: 30px;
        color: black;
    }
    .bandeau{
        height: 40px;
    }
    .btnmenu, .verbescore, #niveau{
        font-size: 10px;
        width: 85px;
    }
    .verbescore, #niveau{
        line-height: 400%;
    }
}

/*https://codepen.io/jh3y/pen/KKwrzOq*/