@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800');

p, form, h1, ul, li{
    margin: 0;
    padding: 0;
}

form{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body{
    margin: 0;
    padding: 0;
    background: url('../img/fond.png') repeat center center #70c0bb;
    overflow: hidden;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    font-family: "Open Sans";
    font-size: 1.2vw;
    height: calc(100vh - 10px);
}

#wrapper{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#contentBoxStep0{
    width: 73.20%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    height: 82.29%;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 25px rgba(0,0,0, 0.4);
    position: relative;
}

#animaux{
    position: absolute;
    width: 12.9%;
    height: 95.8%;
    right: 0;
    top: 2.5%;
}

#animaux img{
    width: auto;
    height: 100%;
    margin-left: 50%;
}

#illustrationBoxStep0{
    position: absolute;
    left: 0;
    top: 1%;
    height: 100%;
    width: 25.85%;
    background: url("../img/illustration.png") no-repeat left center;
    background-size: contain;
}

.tagline{
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 2vw;
}

.small{
    font-weight: 600;
    font-size: 1.2vw;
}

.yellowButton{
    background-color: #ffd200;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    text-decoration: none;
    font-family: 'Open Sans';
    font-weight: 800;
    font-size: 1.7vw;
    text-transform: uppercase;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
    width: 32.6%;
    margin-top: 5%;
    transition: 0.2s;
}

.yellowButton:hover{
    background-color: #70c0bb;
    color: #FFFFFF;
}

.boxQuestion, .boxIllustration{
    display: none;
}

.boxQuestion{
    width: 73.20%;
    box-sizing: border-box;
    flex-flow: column;
    align-items: center;
    height: 82.29%;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 25px rgba(0,0,0, 0.4);
    position: relative;
}

.Large{
    width: 100%;
    justify-content: center;
}

.boxIllustration{
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
}

.boxIllustration img{
    width: 100%;
}

#fadeBloc{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/fond.png') repeat center center #70c0bb;
    top: 0;
    left: 0;
    z-index: 99;
}

.headerQuestion{
    width: 100%;
    height: 38.7%;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: flex-start;
}

.headerQuestion img{
    width: 33%;
    margin-left: -1.5%;
}

.bodyQuestion{
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 75%;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

.questionLeft, .questionRight{
    width: 15%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.questionRight{
    align-items: flex-end;
}

.contentQuestion{
    width: 70%;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.prevStep{
    display: block;
    width: 15%;
    cursor: pointer;
}

.prevStep img{
    width: 100%;
    transition: 0.3s;
}

.prevStep:hover img{
    width: 80%;
    margin-right: 20%;
}

.logoAva{
    width: 100%;
}

.logoAva img{
    width: 80%;
    margin-left: 6%;
    margin-bottom: 10%;
}

.contentQuestion h1{
    text-align: center;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 1.4vw;
    margin-bottom: 5%;
}

.reponseQuestion{
    width: 47%;
}

.lastOne{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin-top: 2%;
}

.reponseQuestion li{
    list-style-type: none;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    font-family: 'Open Sans';
    font-size: 1.4vw;
    margin-bottom: 3%;
    cursor: pointer;
}

.pattoune{
    width: 10%;
    margin-right: 10px;
}

.pattoune img{
    width: 100%;
}

.lastOne .pattoune{
    width: 8%;
}

.progression{
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.progression .yellowButton{
    font-weight: 800;
    font-size: 1.4vw;
    padding-top: 1.5%;
    padding-bottom: 1.5%;
    width: 22.6%;
    margin-top: 5%;
    transition: 0.2s;
}

.progressBar{
    margin-top: 5%;
    width: 55%;
    border: 1px solid #000000;
}

.progressBarInside{
    background-color: #ffd200;
    height: 1vw;
}

input{
    -webkit-appearance : none;
}

input[type="text"], input[type="email"], select, input[type="tel"]{
    border: 1px solid #a0a0a0;
    font-size: 1.2vw;
    padding: 1%;
    text-transform: uppercase;
    margin-top: 1.2%;
    transition: 0.2s;
    box-sizing: border-box;
    -webkit-appearance : none;
    border-radius: 0;
}

input[type="email"], .warning{
    width: 33%;
}

.warning{
    text-align: right;
    font-size: 0.8vw;
    font-family: "Open Sans";
    margin-bottom: 1.5%;
}

input:focus{
    border: 1px solid #ffd200;
}

.formLine{
    width: 48%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}

.formLine1 input{
    width: 32%;
}

.formLine1 select{
    width: 32%;
}

.formLine2 input{
    width: 100%;
}

.formLine3 input{
    width: 49%;
}

.validQuestionnaire{
    position: absolute;
    width: 60%;
    bottom: -6%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.validQuestionnaire .yellowButton{
    margin-top: 0;
}

.wantmore{
    width: 100%;
    text-align: center;
}

@media only screen and (max-width: 800px) {
    #contentBoxStep0, .boxQuestion{
        width: 100%;
        height: 100vh;
    }

    .tagline, .small, .yellowButton, h1, li, input, body, .reponseQuestion, .contentQuestion h1{
        font-size: 4vw;
    }

    .reponseQuestion li{
        font-size: 4vw;
    }

    .reponseQuestion{
        width: 90%;
    }

    .headerQuestion{
        height: 10%;
    }

    .bodyQuestion{
        height: 50%;
        top: 20%;
    }

    #animaux{
        position: absolute;
        width: 1%;
        right: 10%;
        height: 20%;
        top: 40%;
    }

    .yellowButton{
        width: 50%;
    }

    .progression .yellowButton{
        font-size: 4vw;
        width: 100%;
    }

    .logoAva{
        display: none;
    }

    .formLine{
        width: 95%;
        display: flex;
        flex-flow: row;
        justify-content: space-between;
    }

    input[type="text"], input[type="email"], select, input[type="tel"]{
        border: 1px solid #a0a0a0;
        font-size: 3vw;
        padding: 1%;
        text-transform: uppercase;
        margin-top: 2%;
        transition: 0.2s;
        box-sizing: border-box;
        -webkit-appearance : none;
        border-radius: 0;
    }

    input[type="email"], .warning{
        width: 73%;
    }

    .validQuestionnaire{
        position: relative;
        width: 60%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}