body {
    background: #f5e3f8;
    justify-content: center;
    align-items: center;
}
#btnf, .btn2, .btn3, .suivant, .afficher, .suivantlast {
    background-color: #b79cf8;
}
.bandeau{
    position: relative;
}
.imagelvl3 {
    position: relative;
    margin-top: 5%;
    width: 100%;
    height: auto;
    text-align: center;
}
.img3 {
    margin-top: 6%;
    position: relative;
    max-width: 20%;
    max-height: 20%;
    display: none;
    vertical-align: middle;
    margin-left: 7.5%;
    margin-right: 7.5%;
}
form{
    z-index: -1;
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
}
.afficher, .suivant{
    position: absolute;
    left: 35%;
    margin-top: 35%;
    display: block;
    width: 30%;
}
.suivant {
    display: none;
}
.afficher {
    background-color: #8c00ff;
}
.p1{
    position: relative;    
}
.phraselvl3{
    position: absolute;
    font-size: 40px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-weight: 900;
}
@media only screen and (max-width:1710px) and  (min-width: 1120px) {
    .phraselvl3, .p1{
        font-size: 30px;
    }
    .imagelvl3 {
        margin-top: 3%;
    }
    .img3 {
        margin-top: 7%;
        max-width: 19%;
    }
    .afficher, .suivant{
        left: 30%;
        width: 40%;
        margin-top: 33%;
    }
}
@media only screen and (max-width:1119px) and  (min-width: 830px) {
    .phraselvl3, .p1{
        font-size: 25px;
    }
    .imagelvl3 {
        margin-top: 3%;
    }
    .img3 {
        margin-top: 15%;
        max-width: 30%;
    }
    .afficher, .suivant{
        left: 30%;
        width: 40%;
        margin-top: 60%;
    }
}
@media only screen and (max-width:829px) and  (min-width: 600px) {
    .p1{
        top: 0%;
    }
    .phraselvl3, .p1{
        margin-top: 5px;
        font-size: 20px;
    }
    .imagelvl3 {
        margin-top: 15%;
    }
    .img3 {
        margin-top: 15%;
        max-width: 31%;
    }
    .afficher, .suivant{
        left: 30%;
        width: 40%;
        margin-top: 60%;
    }
}
@media only screen and (max-width:599px) and  (min-width: 1px) {
    .p1{
        top: 0%;
    }
    .phraselvl3, .p1{
        margin-top: 30px;
        font-size: 18px;
    }
    .imagelvl3 {
        margin-top: 15%;
    }
    .img3 {
        max-width: 30%;
        margin-top: 30%;
    }
    .afficher, .suivant{
        left: 30%;
        width: 40%;
        margin-top: 90%;
    }
}