@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{
    padding: 0px;
    margin : 0px;
    box-sizing: border-box;
}

html,body{
    width : 100% !important;
    height : 100%;
    overflow-x: hidden;
    color : black
}

html{
	overflow-y:hidden;
}
.body-finish-simple{
	width : 100%;
    overflow-x: hidden;
    overflow-y:hidden;
    height : 100%;
}

h1{
    font-family: 'Mulish';
    color: white;
    font-weight: 700;
    font-size: 4rem;
    margin : 10vw;
    
}



.img-nuage{
    width : 100%;
    position: absolute;
    bottom: 0;
}

.img-nuage-bottom{
    width : 100%;
    position: absolute;
    top: -1px;
    rotate: 180deg;
    left : 0;
}




header{
    padding:  10vw 0 20vw 0;
    width: 100%;
    background-image: linear-gradient(188deg, #00a8e2 25%, #0075bf 100%) !important;
    display: grid;
    align-content: center;
    position: relative;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;

}

.sect_message_fin{

    position: relative;
    background-image: linear-gradient(188deg, #00a8e2 25%, #0075bf 100%) !important;
    height: 100%;
    width: 100%;
    display: grid;
    justify-content: center;
    

}

#form{
    display: flex;
    flex-direction: column;
    margin-top: 15vh;
    width : 80vw;
}




.box_question{
    padding: 5vh;
    padding-bottom: 4vh;
    margin-bottom: 4vh;
    background-color:aliceblue;
    border-radius: 1rem;
    display : flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    position: relative;
}

.text_expliquation{
	color : #A24901 !important;
}
.text_question{
    font-family: "Mulish";
    font-weight: 700;
    margin-bottom: 2vh;
}

.text-remeciment{
    margin-bottom: 10vh;
}

.text-precision{
    font-size: 0.8rem;
    margin-top: -2vh;
}

input[type="radio"], input[type="radio"] + label{
    margin-bottom: 1vh;
}

input[type="checkbox"], input[type="checkbox"] + label{
    margin-bottom: 1vh;
}

input[type="radio"]{
    display: none;
}

input[type = "radio"] + label{
    position: relative;
    padding-left: 1.4rem;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    line-height: 1.2rem;
    
}



input[type ="radio"] + label::before {
    content : "";
    display: block;
    position: absolute;
    left : 0;
    bottom: 2px;
    height : 1rem;
    width :1rem;
    border-radius : 1rem;
    border: 1px #00A8E2 solid;
    box-sizing: border-box;

}


input[type = "radio"]:checked + label::before{
    background-color: #00A8E2;
}


input[type = "checkbox"]{
    display: none;
}

input[ type = "checkbox"] + label{
    position: relative;
    padding-left: 1.4rem;
    font-family: 'Roboto', sans-serif;
    text-align: left;
    cursor: pointer;
    display: inline-block;
    line-height: 1.2rem;
    display: flex;

}

input[type = "checkbox"] + label::before{
    content : "";
    display: block;
    position: absolute;
    left : 0;
    bottom: 50%;
    transform: translateY(50%);
    height : 1rem;
    width :1rem;
    border: 1px #00A8E2 solid;
    box-sizing: border-box;
}

input[type = "checkbox"] + label::after{
    content : "";
    display: none;
    position: absolute;
    left : 0.6rem;
    bottom: 50%;
    transform: translateY(50%);
    height : 0.6rem;
    width :0.3rem;
    rotate: 45deg;
    border-bottom: 2px #00A8E2 solid;
    border-right: 2px #00A8E2 solid;
    box-sizing: border-box;

}

input[type = "checkbox"]:checked + label::after{
    display: block;
}




textarea {
    appearance: none;
    border: none;
    background: #ffff;
    border :  #00A8E2 1px solid;
    border-radius: 0.5rem;
    width: 100%;
    padding: 2vh;
    outline: none;
    resize: none; 
    font-family: 'Roboto';
    caret-color: #00A8E2;
    box-sizing: border-box

}

input[type = "email"]{
    appearance: none;
    border: none;
    background: #ffff;
    border :  #00A8E2 1px solid;
    border-radius: 0.5rem;
    width: 100%;
    padding: 2vh;
    outline: none;
    font-family: 'Roboto';
    caret-color: #00A8E2;
    box-sizing: border-box
}

textarea:focus, input[type = "email"]:focus, select:focus, select:active{
    border: #00A8E2 2px solid
}


.explications{
    
    font-family: "Mulish";
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2vh;
    line-height: 1.7rem;
}
select{
    background: #ffff;
    border :  #00A8E2 1px solid;
    border-radius: 0.5rem;
    font-family: 'Roboto';
    padding: 2vh;
}


.error{
    position: relative;
}
.error::after{
    content: "Vous devez d'abord répondre à cette question";
    color: #cc4e56 !important;
    position: absolute;
    right: 2vh;
    top: 2vh;
    font-size: 0.9rem;
    font-family: "mulish";
    background-image: url("../images/icon-error.svg");
    background-repeat: no-repeat;
    background-size: 0.9rem;
    padding-left: 1.4rem;
    background-position: 0 center;
    font-weight: 700;
}


.errormail{
    position: relative;
}

.errormail::after{
    content: "Ce mail n'existe pas veuillez le modifier.";
    color: #cc4e56 !important;
    position: absolute;
    right: 2vh;
    top: 2vh;
    font-size: 0.9rem;
    font-family: "mulish";
    background-image: url("../images/icon-error.svg");
    background-repeat: no-repeat;
    background-size: 0.9rem;
    padding-left: 1.4rem;
    background-position: 0 center;
    font-weight: 700;
}

.button_submit{
    background-color: #00A8E2;
    color: #ffff !important;
    font-weight: 700;
    font-family: 'Mulish' ;
    padding: 2vh;
    border : #00A8E2 1px solid;
    border-radius: 0.5rem;
    width :fit-content;
    cursor: pointer;
    z-index : 3;
    margin-bottom : 10vh
}

.button_submit:hover{
    background-color: #ffff;
    color: #00A8E2 !important;

}

.box-submit{
    margin: 2vh;
}

.message_fin_box{
    margin-top: 5vh;
    color: white !important;
    font-family: 'Mulish' !important;
    padding-top: 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height : 100%;
}

.message_fin_box h2{
	font-size : 4vw !important;
    font-family: 'Mulish' !important;
}

h2{
    font-size: 4vw !important;
    backdrop-filter: blur(1px);
    align-self: center;
    color : white !important;
    
}

.box-MBTI, .box-retour{
   
	margin-top: 10vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    text-align: center
}

.box-retour{
	margin-top : 2vh;

}


.button_MBTI{
	margin-left : 5vw;
}
.button_MBTI, .button_retour{    
	color: #FFFFFF !important;
    border-width: 0px !important;
    border-color: rgba(210, 159, 104, 0);
    border-radius: 100px;
    font-size: 34px;
    font-family: 'Amatic SC', handwriting !important;
    font-weight: 900 !important;
    background-color: #F08135;
    padding-right: 1em !important;
    padding-left: 1em !important;
	width : fit-content;
    font-weight: 700;
    cursor: pointer;
    margin-top:5vh ;
    line-height: 1.2em !important;
    
}

.button_MBTI:hover, .button_retour:hover{
    background-color: #00A8E2;
    color: white !important;
    
}

.button_retour{
	background-color :#A9C639 !important;
}
.autresujet{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.text-autresujet{
    width :50%;
    margin-left: 3vw;
}

.box_checkbox{
    display: flex;
    align-items: center;
}

.img_oiseau{
    position: absolute;
    width : 80%;
    height: auto;
    left : 10%;
    top : 20%
}


.box-MBTI > p, .box-retour > p {
    font-size: 2vw !important;
}


#main-content .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

#page-container {
    padding-top: 0 !important;
}

@media screen and (max-width : 613px){
    h1{
        font-size: 10vw;
        margin : 10vw;
    }

    .error::after, .errormail::after{
        font-size: 3vw;
        line-height: 0.9rem;
    }

    h2{
        font-size: 10vw;
        text-align: center;
    }

    .box-MBTI, .box-retour{
        flex-direction: column;
    }
    .box-MBTI > p, .box-retour >p{
        font-size: 4vw !important;
        text-align: center;
    }

}