/* IMPORT DE FONTS */
@font-face {
    font-family: "Amerika";
    src: url('../fonts/AMERSN.ttf');
}
@font-face {
    font-family: "Roboto Regular";
    src: url('../fonts/Roboto-Regular.ttf');
}
@font-face {
    font-family: "Roboto Light";
    src: url('../fonts/Roboto-Light.ttf');
}

/* DECLARATION DES VARIABLES */
:root {
    --lightest-grey:#E8E8E8;
    --light-grey:#919090;
    --grey:#202020;
    --dark-grey:#101010;
    --blue:#00AEEF;
    --dark-blue:#0078A6;
    --darkest-blue:#005D81;
    --lightest-blue:#2BC2FC;
    --light-blue:#07BAAF;
}

/*  */
body {
    /* height: 100vh; */
    width:100vw;
    background-color: var(--lightest-grey);
}

.grecaptcha-badge {
    display: none;
}

/**************************************
                HEADER
***************************************/
#header {
    width: 100%;
    height: 100px;
    background-color: var(--dark-blue);
    text-align: center;
    line-height: 50px;
    vertical-align: middle;
    border-top:solid 5px #00aeef;
    position: fixed;
    top:0;
    z-index: 2;

    background: #1e5799;
    background: -moz-linear-gradient(top, #1e5799 0%, #005d81 0%, #2989d8 0%, #005d81 0%, #0078a6 100%);
    background: -webkit-linear-gradient(top, #1e5799 0%,#005d81 0%,#2989d8 0%,#005d81 0%,#0078a6 100%); 
    background: linear-gradient(to bottom, #1e5799 0%,#005d81 0%,#2989d8 0%,#005d81 0%,#0078a6 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#0078a6',GradientType=0 );

/*    -webkit-box-shadow: 0px 10px 10px 0px rgba(255,255,255,0.4);
    -moz-box-shadow: 0px 10px 10px 0px rgba(255,255,255,0.4);
    box-shadow: 0px 10px 10px 0px rgba(255,255,255,0.4);
*/    
}

#logo {
    width: 96px;
    position: fixed;
    top:5px;
    left: 2px;
}

#picto-mail {
    position: fixed;
    top:25px;
    right:25px;
    height: 50px;
}

h1 {
    font-family: "Amerika";
    color:white;
    font-size: 2.3em;
}

h2{
    color:var(--dark-grey);
    font-size: 1.3em;
    font-family: "Roboto Regular";
}

.noteHebergement {
    font-style: italic;
}
.noteHebergement::before {
    background-image: none !important;
}

/**************************************
                CONTACT
***************************************/
#lienHeader {
    position: fixed;
}

#formContact {
    width:70%;
    margin:30vh auto;
}

#formContact>div {
    display: inline-block;
}

#formContact,
#formContact input,
#formContact textarea {
    font-family: "Roboto Regular";
}

#formContact input {
    display: block;
}

#formGauche,
#formDroite {
    width:49.5%;
    vertical-align: top;
}
#formGauche {
    float: left;
}

#formGauche input {
    margin:2px 0;
    height: 30px;
    font-size: 12pt;
    border-style: solid;
    border-color: var(--light-grey);
}
#formGauche input:first-child {
    margin-top:0;
}

#formDroite {
    float: right;
}

#formDroite textarea {
    padding-top: 5px;
    height: 105px;
    font-size: 12pt;
    border-style: solid;
    border-color: var(--light-grey);
}

#formContact input,
#formContact textarea,
.submit {
    width:100%;
    height:40px;
}

#formContact textarea {
    height: 133px;
}

#formSession {
    display: none;
}

.submit {
    width:101%;
    font-size: 12pt;
    text-transform: uppercase;
    background-color: var(--dark-blue);
    border:none;
    color:white;
    cursor: pointer;
    margin-top: 2px;
    height: 45px;
}

.submit:hover {
    color:var(--light-grey);
    background-color: var(--darkest-blue);
}
.required::before {
    content:"*";
}

/**************************************
                FOOTER
***************************************/
#footer {
    width:100%;
    padding:20px 0 20px 20%;
    text-align: left;
    background-color: var(--lightest-grey);
    position: fixed;
    bottom:0;
}

#footer a {
    color:var(--light-grey);
}

#footer a:hover {
    color:var(--dark-grey);
}

#footer p {
    padding: 3px 0;
    width: 200px;
    font-family: "Roboto Regular";
}

/***********************************
            MEDIA QUERIES
************************************/
@media screen and (max-width:1000px) {
    body {
        height: inherit;
    }
	h1 {
		font-size: 200%;
	}
	h2 {
		visibility: initial;
		margin-top:10% !important;
	}
    /* HEADER */
    #header {
        height: 60px;
    }

    #logo {
        width: 58px;
        height: 58px;
        margin-top:1px;
        position: inherit;
    }
    
    #picto-mail {
        position: fixed;
        top:15px;
        right:15px;
        height: 30px;
    }

    #formSession {
        display: block;
    }

    /* CONTACT */
    #formContact {
        width: 94vw;
        margin: 15vh 2vw 0 2vw;
    }

    #formContact>div {
        display: block;
        width:100%;
    }

    /* FOOTER */
    #footer p{
        margin-left:10px;
        margin-right:10px;
        padding:3px 0;
    }

    #bloc-tuto {
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.65);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        display: none;
    }
    
    #tuto {
        width: 100%;
        position: fixed;
        top: 20vh;
        left: 0;
        z-index: 1200;
        display: none;
    }

    .tuto-on {
        display: block !important;
    }
}