
/* 
 * Auteur: Théo Cornu et Enzo 
 */


body{
    display: flex;
    flex-direction: column;
    background-image: url(../image/page_accueil/unsplash_kYh-O1Jk7EE.png);
    font-family: 'Comic sans ms', sans-serif;
    background-repeat: no-repeat;
    background-position: left top;
    width: 100%;
    background-size: cover;
    margin: 0%;
}

footer{
    display: none;
}

/*LOGO*/
#logo{
    height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 10%;
}
#logo_global{
    height: 18%;
}

/*REGISTRATION FORM*/
.container{
    display: flex;
    justify-content: center;
    align-items: center; 
}
#form{
    background-color: #E0EEF1;
    width: 25%;
    padding: 1%;
    border-radius: 8px;
}

/*TITLE*/
h1{
    text-align: center;
}

/*SUBTITLE*/
#subtitle{
    text-align: center;
}

/*FORM*/
fieldset{
    border-right-style: none;
    border-left-style: none;
    border-bottom-style: none;
}

/*INPUTS*/
.inputs{
    background-color: #E0EEF1;  
}
.enterText{
    margin-top: 1%;
    margin-bottom: 1%;
    padding: 2%;
    border-radius: 8px;
}

/*NAME*/
#lastname{
    width: 44%;
}
#firstname{
    width: 44%;
}

/*EMAIL*/
#email{
    display: block;
    margin-right: auto;
    width: 94%;
}

/*LOGIN*/
#username{
    width: 44%;
}
#password{
    width: 44%;
}

/*BIRTHDATE*/
.date{
    width: 32%;
    border-radius: 8px;
    font-family: "Comic sans MS";
    border-color: black;
    padding: 1%;
}
#birthdate{
    padding-top: 2%;
}

/*GENDER*/
.gender_global{
    display: flex;
    justify-content: space-around;
}
#gender_title{
    margin-top: 2%;
    margin-bottom: 2%;
}
.gender{
    display: flex;
    border: 1px;
    border-style: solid;
    padding: 1%;
    padding-left: 2%;
    padding-right: 2%;
    border-radius: 8px;
    margin: 1%;
    align-items: center;
    
}

/*FAMILY PLACE*/
#placeFamily{
    background-color: #E0EEF1;
} 
#selectBox {
    position: relative;
} 
#selectBox select {
    width: 100%;
    font-weight: bold;
}  
.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
} 
#checkboxes {
    display: none;
    border: 1px #dadada solid;
} 
#checkboxes label {
    display: block;
} 
#checkboxes label:hover {
    background-color: gray;
}
#select{
    background-color: #E0EEF1;
    border-radius: 8px;
    font-family: "Comic sans MS";
}

/*CONDITIONS*/
#conditions{
    font-size: 70%;
    text-align: center;
}
.chartes{
    color: black;
}
.chartes:hover{
    color: #226979;
}

/*SUBMIT*/
#submitDiv{
    text-align: center;
}
#submit{
    width: 50%;
    color: white;
    border-radius: 8px;
    background-color: #226979;
    font-weight: bold;
    font-size: 17px;
    padding-top: 1%;
    padding-bottom: 1%;
}

/*ALREADY HAVE A ACCOUNT*/
#haveAccount_global{
    text-align: center;
    margin-top: 2%;
}
#haveAccount{
    text-align: center;
    font-size: 90%;
    color: black;
}
#haveAccount:hover{
    color: #226979;
}


/*RESPONSIVE*/
@media only screen and (max-width: 1400px){
    /*REGISTRATION FORM*/
    #form{
        width: 40%;
    }
}

@media only screen and (max-width: 900px){
    /*LOGO*/
    #logo{
        width: 35%;
    }

    /*REGISTRATION FORM*/
    #form{
        width: 88%;
    }

    /*INPUTS*/
    .enterText{
        margin-left: 2%;
    }
    
    /*NAME*/
    #lastname{
        width: 88%;
    }
    #firstname{
        width: 88%;
    }

    /*EMAIL*/
    #email{
        width: 88%;
    }

    /*LOGIN*/
    #username{
        width: 88%;
    } 
    #password{
        width: 88%;
    }
}



