:root{
    --paddingLeft : 10%;
    --margeV: 3rem;
    --margeVV: 10vh;
    --violet : #563AB3;
    --bleuFonce : #03161C;
    --blanc : #FAFCFF;
}
@font-face{
    font-family: 'plus';
    src: url("../fonts/plus.ttf");
}
@font-face{
    font-family: 'plusSB';
    src: url("../fonts/plusSB.ttf");
}
@font-face{
    font-family: 'plusEB';
    src: url("../fonts/plusEB.ttf");
}
@font-face{
    font-family: 'plusEL';
    src: url("../fonts/plusEL.ttf");
}
*{
    margin: 0;
    padding: 0;
    font-family: plus;
}
body{
    background: var(--blanc);
}
header, main, footer{
    padding: 2vh var(--paddingLeft);
}
.button{
    background: var(--bleuFonce);
    color: var(--blanc);
    border-radius: 25px;
    height: 1.7rem;
    line-height: 1.7rem;
    text-decoration: none;
    padding: .7rem 1.2rem;
    font-size: .85em;
    font-family: plusEB;
}
.blanc{
    color: var(--bleuFonce);
    background: var(--blanc);
}
.active{
    color: var(--violet);
    font-weight: bold;
}
/* ===========================

        HEADER

=========================== */
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header > a img{
    height: 6vh;
}
header #mainnav{
    width: 80%;
    display: flex;
    justify-content: space-between;
}
header #shortnav a,
header nav a{
    color: var(--bleuFonce);
    text-decoration: none;
}
#shortnav{
    display: none;
    position: absolute;
    top: 10vh;
    right: 0;
    padding: 2%;
    border-radius: 0 0 15px 15px;
    width: 60%;
    background: var(--blanc) url('../images/carres.png') no-repeat 5% 5%;
}
#mobile{
    display: none;
}
/* ===========================

        ASIDE = banniere

=========================== */
aside{
    height: 60vh;
    background: url('../images/bg-home.png') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: left;
}
aside div{
    width: 45%;
    margin-left: var(--paddingLeft);
    text-align: left;
    color: var(--blanc);
    height: 60%;
}
aside h1{
    font-size: 3em;
    font-family: plusEB;
    text-transform: uppercase;
}
aside p{
    margin: var(--margeV) auto;
    font-size: 2em;
}
aside h1::first-line{
    font-family: plusEL;
}
/* ===========================

        MAIN

=========================== */
article{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: var(--margeVV);
}
article h2{
    width: 100%;
    font-size: 2.8em;
    text-align: center;
    margin-top: var(--margeV);
    margin-bottom: var(--margeV);
    padding-bottom: 2em;
}
/* les sections pour les 1/3 */
article section{
    width: 26%;
    text-align: center;
}
section img,
section h3{
    margin: 0 0 var(--margeV);
}
/* les articles pour les 1/2 */
article article{
    width: 46%;
}
form{
    width: 50%;
    margin: auto;
}
form fieldset{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border: none;
}
form legend{
    width: 100%;
    padding-bottom: .2em;
    text-transform: uppercase;
    border-bottom: 3px solid black;
}
form fieldset label{
    width: 46%;
    margin: 2%;
}
form fieldset label[for="message"]{
    width: 100%;
}
form fieldset label input,
form fieldset label textarea,
#volume select{
    display: block;
    width: 100%;
    line-height: 2.5rem;
    border-radius: 10px;
    margin-top: .1em;
    border: 1px solid #CCC;
    text-indent: .7em;
}
form fieldset label textarea{
    height: 10em;
}
input[type="submit"].button{
   margin-left: 69%;
    width: 30%;
    height: 3rem;
    border: none;
}
/* ===========================

        FOOTER

=========================== */
footer{
    display: flex;
    justify-content: space-between;
    margin-top: 8vh;
}
footer div,
footer div a{
    font-family: plusSB;
}
footer a{
    color: var(--bleuFonce);
    text-decoration: none;
}
footer div:first-of-type a{
    margin-right: 2em;
}


/* ===========================

        HOME

=========================== */
#home aside div{
    text-align: center;
    margin: auto;
}
#home aside div{
    color: var(--blanc);
}
#home main > article > article:first-of-type{
    background: url('../images/bg-home-2.png') no-repeat ;
    height: 60vh;
}
#home main > article > article h3{
    text-align: left;
}
#home ul{
    width: 100%;
    margin: var(--margeV) 0;
}
#home ul li{
    list-style-type: none;
    background: url('../images/puce.svg') no-repeat left center;
    height: 3em;
    padding-left: 3em;
    display: flex;
    align-items: center;
}
#deco-home{
    display: none;
}


/* ===========================

        FORMATEUR

=========================== */
#formateur aside {
    background-image: url('../images/bg-formateur.png');
}
#formateur main article:first-of-type section{
    width: 22%;
    text-align: left;
}
#formateur main article:last-of-type{
    background: url('../images/bg-formateur-contact.png') no-repeat 105% center;
}
section p a{
    text-decoration: none;
    color: var(--violet);
    font-family: plusEB;
}


/* ===========================

        ORGANISME

=========================== */
#organisme aside {
    background-image: url('../images/bg-organisme.png');
}
form fieldset > b{
    width: 50%;
    display: block;
}
[type="radio"]{
    width: 15%;
    display: inline-block;
}
#volume input,
#volume select{
    width: 48%;
    display: inline-block;
}
#volume select{
    height: 2.5rem;
}
/* ===========================

        A PROPOS

=========================== */
#apropos aside {
    background-image: url('../images/bg-apropos.png');
}
#apropos main h2{
    text-align:center;
    font-size: 2.8em;
    margin: var(--margeV) 0;
}
#apropos main img{
    width: 100%;
    height: auto;
}
#apropos #chrono-mobile{
    display: none;
}
