* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body{
    margin:0;
    padding: 0;
    background:linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(../imagesCER/paysage2.jpg) !important;
    background-size: cover !important;
    color: black;
    font-family: "open sans";
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}


/* ------------------------ NAVBAR ----------------*/
a.navbar-brand {
    color:
            #F7C221 !important;
    font-size: 26px !important;
    font-family: 'Raleway', sans-serif !important;
    line-height: 20px;
}

span.slogo {
    font-size: 15px;
    color:
            #FFF;
    letter-spacing: 5px;
    font-weight: 300;
    font-family: 'Raleway', sans-serif !important;
}


header{
    display:flex;
    justify-content: space-between;
    color: white;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    top: 0;
    z-index: 0;
    width: 100%;
    z-index: 999;
    /*position: absolute;*/
    padding-top: 30px;
    z-index: 999;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    transition: all 0.8s;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    transform: translateY(0%);
    width: 1400px;
}

header div{
    display:flex;
    justify-content: space-between;
    align-items: center;
    font-family: Pacifico;
    margin: 0 2rem;
}

header div i{
    font-size: 2rem;
    margin: 1rem;
}


header nav{
    padding: 1rem 2rem;
}

nav ul li{
    list-style: none;
    display: inline;

    font-size: 16px;
}

nav li a{
    padding: 1rem;
    size: 25px;
    text-decoration: none;
    color: white;
    transition: all 250ms ease-in;
}

nav li a:hover{
    border-width:1px;
    border-style:dashed;
    text-decoration: none;
    color: white;
}



/* ------------------------ TOP SECTION (titre)----------------*/

.titles{
    color: white;
    text-align: center;
    width: 50vw;
    margin: 0 auto;
}

.titles h1{
    font-family: Pacifico;
    font-size: 5rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 0 black;

}

.titles p{
    letter-spacing: 3px;
    text-shadow: 1px 1px 0 black;

}

.titles li{
    list-style:none;
    letter-spacing: 3px;
    text-shadow: 1px 1px 0 black;
}

/* ------------------------ BOT SECTION (box selection auto ecole) ----------------*/



.container-boxes{
    margin: 0 auto;
    padding: 0;
    display:flex;
    justify-content: space-around;
    align-items: flex-end;
    max-width: 80vw;
}

.box{
    background: rgba(255,255,255,.5);
    margin: 1rem;
    padding: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 350px;
    max-height: 180px;
    min-height: 180px;
    transition: all 250ms ease-out;
}

.box:hover{
    background: rgba(255,255,255,.7);
    transform: translateY(-20%);
}

.box a{
    text-decoration: none;
    color: black;
}

.icon{
    font-size: 3rem;
    padding: 1rem;
}

.text h3{
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0;
}

.text p{
    margin-top: 1rem;
    line-height: 1.5rem;
    text-align: left;
}

.text{
    padding: .5rem;
}


/* MEDIAQUERIES */


@media (max-width: 1160px){
    .icon{
        font-size: 2rem;
        padding: 0.5rem;
    }
    .text h3{
        text-transform: uppercase;
        letter-spacing: 4px;
        margin-bottom: 0;
        font-size: 1rem;
    }

    .text p{
        margin-top: 1rem;
        line-height: 1.5rem;
        text-align: left;
        font-size: .8rem;
    }
    nav li a:hover{
        background: none;
        color: black;
    }
}


@media (max-width: 850px){
    body{
        height: 100%;
    }
    .container-boxes{
        flex-direction: column;
    }
    .box:hover{
        background: rgba(255,255,255,.7);
        transform: none;
    }
    .titles h1{
        font-size: 3rem;
    }
}


/* REGISTER*/

@import url(https://fonts.googleapis.com/css?family=Cookie|Raleway:300,700,400);
*{
    box-sizing: border-box;
    font-size: 1em;
    margin: 0;
    padding: 0;
}
body{
    background:linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(../imagesCER/back.jpg) no-repeat;
    background-size: cover;
    color: #333;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
}
.container{
    border-radius: 0.5em;
    box-shadow: 0 0 1em 0 rgba(51,51,51,0.25);
    display: block;
    max-width: 480px;
    overflow: hidden;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 2em;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 98%;
    margin-top: 4%;
}
.container2{
    background: rgba(255,255,255,0.6);
    border-radius: 0.5em;
    box-shadow: 0 0 1em 0 rgba(51,51,51,0.25);
    display: block;
    max-width: 550px;
    overflow: hidden;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 2em;
    position: absolute;
    top: 80%;
    left: 50%;
    z-index: 1;
    width: 98%;
}

.container2:before{
    content: '';
    -webkit-filter: blur(10px);
    filter: blur(10px);
    height: 100vh;
    position: absolute;
    top: 80%;
    left: 50%;
    z-index: -1;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100vw;
}
.container2:after{
    background: rgba(255,255,255,0.6);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 120%;
    left: 0;
    z-index: -1;
    width: 100%;
}
.container:before{
    background-size: cover;
    content: '';
    -webkit-filter: blur(10px);
    filter: blur(10px);
    height: 100vh;
    position: absolute;
    top: 80%;
    left: 50%;
    z-index: -1;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100vw;
}
.container:after{
    background: rgba(255,255,255,0.6);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
}
form button.bt-conf{
    background: rgba(255,255,255,0.25);
    border: 1px solid #33a3;
    line-height: 1em;
    padding: 0.5em 0.5em;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
form button:hover,
form button:focus,
form button:active,
form button.loading{
    background: #333;
    color: #fff;
    outline: none;
}
form button.success{
    background: #27ae60;
    border-color: #27ae60;
    color: #fff;
}
@-webkit-keyframes spin{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(360deg); }
}
@keyframes spin{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(360deg); }
}
form button span.loading-spinner{
    -webkit-animation: spin 0.5s linear infinite;
    animation: spin 0.5s linear infinite;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    height: 1em;
    width: 1em;
}

form label{
    border-bottom: 1px solid #333;
    display: block;
    font-size: 1.25em;
    margin-bottom: 0.5em;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
form label.col-one-half{
    float: left;
    width: 50%;
}
form label.col-one-half:nth-of-type(even){
    border-left: 1px solid #333;
    padding-left: 0.25em;
}
form label input{
    background: none;
    border: none;
    line-height: 1em;
    font-weight: 300;
    padding: 0.125em 0.25em;
    width: 100%;
}
form label input:focus{
    outline: none;
}
form label input:-webkit-autofill{
    background-color: transparent !important;
}
form label span.label-text{
    display: block;
    font-size: 0.5em;
    font-weight: bold;
    padding-left: 0.5em;
    text-transform: uppercase;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

form label.invalid{border-color: #c0392b !important;}
form label.invalid span.label-text{color: #c0392b;}
form label.password{position: relative;}
form label.password button.toggle-visibility{
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75em;
    line-height: 1em;
    position: absolute;
    top: 50%;
    right: 0.5em;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
form label.password button.toggle-visibility:hover,
form label.password button.toggle-visibility:focus,
form label.password button.toggle-visibility:active{
    color: #000;
    outline: none;
}
form label.password button.toggle-visibility span{vertical-align: middle;}

h1{
    font-size: 3em;
    margin: 0 0 0.5em 0;
    text-align: center;
    font-family: 'Cookie', cursive;
}
h1 img{
    height: auto;
    margin: 0 auto;
    max-width: 240px;
    width: 100%;
}
html{
    font-size: 18px;
    height: 100%;
}

.text-center{
    text-align: center;
}

.logo {
    display: block;
    margin: auto;
}

.mdpPerduLien {
    color: grey;
    font-size: 0.8em;
}

.mdpPerduLien:hover {
    color: black;
    text-decoration: none;
}

.mdpPerduLien:visited {
    color: grey;
}

.mdpPerduTitre {
    font-size: 2em;
}

.mdpPerduSousTitre {
    font-size: 1em;
    text-align: center;
}