@import url('https://fonts.googleapis.com/css?family=Poiret+One|Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');


body{
    background-image: url(https://media.meteojob.com/theme/2.3/images/bg-clouds.png), linear-gradient( #1c82c9,#52a4df,#8eccf5);
    background-size: cover;
    background-attachment: fixed;
    padding:0;
    margin: 0;
}

main{
    margin: 8% auto;
    width: 50vw;
    height: 150vh;
}
header{
    text-align: center;
    font-family: 'Poiret One', cursive;
    color: #FFF;
}
header>img{
    width: 15vw;
}
h1{
    font-size: x-large;
}
form{
    background-color: #FFF;
    height: auto;
    border-radius: 5px; 
    box-sizing: border-box;
    font-family: "Open Sans" ;
    font-size: 0.9em;
    font-weight: bolder;
    color: rgba(71, 71, 71, 0.932);
    padding: 5%;
}
input::placeholder{
    font-family: 'Open Sans', sans-serif ;  
    font-weight: 0.5;
    font-size: 1.15em; 
}
input:focus{
    outline-color: rgba(27, 180, 240, 0.925);
}
.un {
    display: flex; 
    justify-content: space-between;
}
.un div input{
    padding-left: 2%;
    margin-top: 1vh;
    height: 5vh;
    width: 21vw;
}
.deux{
    display: flex;
    flex-direction: column;
}
.deux input{
    width: 98%;
    padding-left: 2%;
    margin-top: 1vh;
    margin-bottom: 1vh;
    height: 5vh;
}
.deux label{
    display: inline-block;
    margin-top: 2%;
}
input[type="password"]{
    border: none;
    width: 90%;
    height: 70%;
    margin-top: 0;
    padding-left: 0;
    outline-color: rgba(255, 255, 255, 0);

}
.mot_de_passe{
    display: flex;
    height: 6vh;
    border: 1px solid rgba(179, 177, 177, 0.795);
    justify-content: space-around;
    align-items: center;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

.mot_de_passe i{

    opacity: 0.5;
}
span{
    display: inline-block;
    margin: 2% auto;
}
.trois input{
    display: none;
}
.trois{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}

.trois label{
    width: 9vw;
    height: 4.5vh;
    background-color: #f2f2f2;
    color: rgb(71, 71, 71);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1%;
    padding: 1%;
    font-size: 1em;
    font-weight: lighter;
    cursor: pointer;
    text-align: center;
}
a{
    text-decoration: none;
    color: rgba(65, 62, 62, 0.952);
    font-weight: bold;
    font-size: 1em;
}

a:hover{
    text-decoration: underline;
}

input[type=checkbox]:checked+label{
    background-color: rgb(68, 139, 231);
    color: #FFF;    
}

.condition{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 2vh;
}

.condition div{
    height: auto;
}

.condition>div a{
    text-decoration: underline;
    font-size: 1em;
}
#fin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    height: 5vh;
    width: 7vw;
}

#fin input{
    display: none;
}

#fin label{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
     
input[type=radio]+label{
    width: 100%;
    height: 70%;
} 

label[for="oui"]{
    background-color: #FFF;
    color: #FFF;
    padding-left: 1%;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

label[for="non"]{
    background-color: #b9c2ca;
    color: #FFF;
    padding-right: 1%;
    padding-top: 1%;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

input[value=oui]:checked+label{
    background-color: rgb(68, 139, 231);
    color: #FFF;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    transition: 0.5s;
}
input[value=non]:not(:checked)+label{
    background-color: #fff;
    color: #FFF;
    transition: 0.5s;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
input[value=non]:checked+label{

    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    transition: 0.5s;
}
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 6vh;
}

button{
    background-color: rgb(68, 139, 231);
    color: white;
    border: none;
    width: 10vw;
    height: 7vh;
    padding: 1%; 
    font-size: 1.3em;
    font-family: 'Open Sans', sans-serif;

}
form>div{
    display: flex;
    flex-direction: column;
}
#contrat{
    margin: 3% 0;
}    