@font-face {
    font-family: "din_B";
    src: url('../font/din/Black/URWDIN-Black.eot');
    src: url('../font/din/Black/URWDIN-Black.eot?#iefix') format('embedded-opentype'),
        url('../font/din/Black/URWDIN-Black.woff') format('woff'),
        url('../font/din/Black/URWDIN-Black.ttf') format('truetype');
    font-weight: bold;
    font-style: bold;
}

@font-face {
    font-family: "din";
    src: url('../font/din/Regular/URWDIN-Regular.eot');
    src: url('../font/din/Regular/URWDIN-Regular.eot?#iefix') format('embedded-opentype'),
        url('../font/din/Regular/URWDIN-Regular.woff') format('woff'),
        url('../font/din/Regular/URWDIN-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** texte **
-----------------------------------------------------------------
-----------------------------------------------------------------*/


h1 {
    font-size: 2em;
    margin: 0 0;
    margin-top: 2.2em;
}

h3 {
    margin-top: 1.7em;
    margin-bottom: -.6em;
}



/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** COL. **
-----------------------------------------------------------------
-----------------------------------------------------------------*/

.co-1 {
    width: calc(100% / 7 * 1);
}

.co-2 {
    width: calc(100% / 7 * 2);
}

.co-3 {
    width: calc(100% / 7 * 3);
}

.co-4 {
    width: calc(100% / 7 * 4);
}

.co-5 {
    width: calc(100% / 7 * 5);
}

.co-6 {
    width: calc(100% / 7 * 6);
}

.co-7 {
    width: calc(100% / 7 * 7);
}



.right {
    justify-content: flex-end
}

.right:after {
    content: "";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.center {
    justify-content: center;
}

/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** GENERAL **
-----------------------------------------------------------------
-----------------------------------------------------------------*/


* {
    margin: 0;
}

body {
    font-family: "din";
    overflow-x: hidden;
    background-color: #f6f6f6;
}

input,
button,
submit {
    border: none;
}

section {
    clear: both;
    position: relative;
    /*    display: flex;*/
}

a {
    text-decoration: none;
    color: #000;
    letter-spacing: .4px;
    transition: all .3s;
}

p {
    margin: 1em 0;
    display: inline-block;
    width: 50vw;
}

li {
    list-style-type: square;
}

/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** header **
-----------------------------------------------------------------
-----------------------------------------------------------------*/

header {
    display: flex;
    align-items: center;
    padding: 10px 40px;
    position: fixed;
    z-index: 100;
    top: 0;
    height: 40px;
    width: 100vw;
    background-color: #f6f6f6;
    box-shadow: 0 2px 10px rgb(177, 177, 177);
}

header .logo {
    height: 30px;
}


header ul {
    text-align: right;
}

header li {
    list-style-type: none;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    width: auto;
    margin: 1em;
    padding: 0 1.4vw;
}

header li a {
    text-decoration: none;
    transition: all .2s;

}

header nav {
    width: 60vw;
    margin-right: 10vw;
    position: absolute;
    right: 0;
}


.underline {
    position: relative;
    cursor: pointer;
}

.underline::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 7px;
    z-index: -1;
    background-color: #ffce00;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}


.underline:hover::before {
    left: 0;
    right: auto;
    width: 100%;
}


.subline {
    text-align: right;
    margin-top: -20px;
}

.opening {
    margin-top: 4em;
    font-size: 1.2em;
    width: 70vw;
}


header.visible {
    height: 100vh;
}

header.visible .logo {
    position: absolute;
    top: 15px;
}

header .navsmall {
    position: absolute;
    top: 25px;
    left: 79vw;
}


header.visible nav {
    display: block;
    margin-right: 0vw;
    right: 45vw;
}

header.visible nav li {
    display: block;
    margin-bottom: 3em;
}




/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** Wrapper **
-----------------------------------------------------------------
-----------------------------------------------------------------*/
.wrapper {
    width: 90vw;
    max-width: 900px;
    margin: 0 auto;
}




/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** Title **
-----------------------------------------------------------------
-----------------------------------------------------------------*/

#title {
    width: 100vw;
    height: 35vh;
    min-height: 400px;
    padding-top: 200px;
    background-color: #ffce00;
    text-align: center;
}

#title .logo {
    width: 50vw;
    max-width: 700px;
    display: inline-block;
    margin: 0 25vw;
}

/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** ISNCRIPTION **
-----------------------------------------------------------------
-----------------------------------------------------------------*/
.inscr {
    margin: 80px;
    width: 350px;
    height: 80px;
    background-color: #ffce00;
    font-size: 3em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.inscr:hover {
    color: #f6f6f6;
}

.inscr::before {
    content: '>';
    opacity: 0;
    font-size: 0px;
    position: absolute;
    bottom: 42px;
    right: 332px;
    z-index: 0;
    color: #f6f6f6;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}


.inscr:hover::before {
    content: '>';
    opacity: 100;
    font-size: 360px;
    position: absolute;
    bottom: -233px;
    right: -58px;
    z-index: 0;
    color: #f6f6f6;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}



/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** Tableau **
-----------------------------------------------------------------
-----------------------------------------------------------------*/


tr:nth-child(odd) {
    background-color: #d6d6d6;
}

td {
    padding: 0.5em 1em;
}


/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** FAQ **
-----------------------------------------------------------------
-----------------------------------------------------------------*/

#faq p {
    margin: .3em 0;
}

#faq .rep {
    margin-bottom: 1.3em;
}


/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** FOOTEER **
-----------------------------------------------------------------
-----------------------------------------------------------------*/
footer {
    background-color: #ffce00;
    height: 300px;
    margin-top: 150px;
    padding-top: 5em;
    display: flex;
    align-items: center;
}

footer div {
    width: 25%;
    max-width: 900px;
    margin: 0 auto;
    display: inline-block;
}

footer a {
    display: block;
    margin: 1em 0;
}

footer a span {
    transition: all .2s;
}

footer a:hover span {
    padding-left: 10px;
    transition: all .2s;
}

footer .sponsor{
    width: 60%;
    display: flex;
    align-items: center;
}

footer .sponsor img{
    display: inline-block;
    width: 80%;
}

footer .sponsor .frib{
    width: 50%;
}

footer .sponsor a{
    display: inline-block;
    width: 30%;
    margin: 0 1%;
}


/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** géometric **
-----------------------------------------------------------------
-----------------------------------------------------------------*/


#quand .yellow {
    position: absolute;
    width: 500px;
    height: 400px;
    border: solid 90px #ffce00;
    transform: rotate(-33deg);
    top: -50px;
    right: -600px;
    z-index: -1;
}

#quand .divider {
    position: absolute;
    width: 120px;
    height: 290px;
    background-color: #f6f6f6;
    top: -160px;
    left: 50px;
}


#prog .yellow {
    position: absolute;
    width: 500px;
    height: 530px;
    border: solid 140px #ffce00;
    transform: rotate(70deg);
    top: 250px;
    left: -700px;
    z-index: -1;
}

#prog .divider {
    position: absolute;
    width: 430px;
    height: 330px;
    background-color: #f6f6f6;
    top: -209px;
    left: 340px;
}



/*---------------------------------------------------------------
-----------------------------------------------------------------
                        ** formulaire de contact **
-----------------------------------------------------------------
-----------------------------------------------------------------*/


#contacter {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    width: 100vw;
    z-index: 2;
    background-color: rgba(255, 222, 0, .5);
}

#cont {
    width: 70vw;
    margin: 0 auto;
    background-color: #fff;
    outline: 3px solid #000;
    outline-offset: -3px;
}

#contact.visible,
#contacter.visible {
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    position: fixed;
    top: 0px;
    transition: all 0.5s ease-in-out;
    visibility: visible;
    display: block;
    z-index: 2;
    padding: 19vh 0;
}


fieldset {
    border: 0;
    padding: 8vh 7vw;
}

#contact_form {
    margin: auto;
}

#contact_form .pers {
    width: 49%;
    margin-bottom: 3vw;
    display: inline-block;
    position: relative;
}

#cont {
    position: relative;
}

#cont button {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 2em;
    background-color: #fff;
    width: 49px;
}



/*---------------------------------------------------------------
-----------------------------------------------------------------
     ** CODE Générique -- formulaire de contact **
-----------------------------------------------------------------
-----------------------------------------------------------------*/

#contact_form .sub {
    width: 100%;
}

#contact_form .pers p {
    position: absolute;
    top: -17.5px;
    font-size: 1.2em;
    color: #333;
}

#contact_form .pers:hover p {
    font-size: 0.85em;
    top: -110%;
    color: #a1a1a1;
    transition: all 0.2s ease-in-out;
}


#contact_form .pers .focus {
    font-size: 0.85em;
    top: -110%;
    color: darkgrey;
    transition: all 0.2s ease-in-out;
}


#contact_form .pers:hover input {
    color: darkgrey;
    font-size: 1.2em;
    background-color: rgba(255, 246, 0, 0.12);
    transition: all 0.2s ease-in-out;
}

#contact_form .pers p input:focus {
    font-size: 0.8em;
    color: darkgrey;
    top: -110%;
    transition: all 0.2s ease-in-out;
    background-color: rgba(0, 0, 0, .03);
}

#contact_form .pers input {
    width: 90%;
    font-size: 1.2em;
}

#contact_form input {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    border-bottom: 2px inset;
    border-color: #ffde00;
    transition: all 0.2s ease-in-out;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

#contact_form textarea {
    width: 100%;
    height: 30vh;
    border: none;
    border-left: 1px inset;
    background-color: rgba(255, 246, 0, 0.12);
    border-color: #fffe00;
    margin: auto;
    padding: 1vw;
    overflow: auto;
    font-size: 1.2em;
}

#contact_form textarea:hover {
    border-left: 2px inset;
    border-color: #fffe00;
    background-color: rgba(255, 246, 0, 0.12);
    transition: all 0.2s ease-in-out;
}

#contact_form textarea:focus {
    border-left: 2px inset;
    border-color: #fffe00;
    background-color: rgba(255, 246, 0, 0.12);

}


#valid input {
    font-size: 1.3em;
    border-bottom: 3px inset;
    border-color: darkgrey;
}

.error {
    padding: 5px 9px;
    border: 1px solid red;
    color: red;
    border-radius: 3px;
}

.success {
    padding: 5px 9px;
    border: 1px solid green;
    color: green;
    border-radius: 3px;
}

form span {
    color: red;
    font-size: 1em;
}

#contact_form input[type*="submit"] {
    background-color: rgba(0, 0, 0, 0);
    color: #00FFFF;
    font-size: 1.5em;
    font-family: 'dingras';
}


#contact_form .btn {
    border: none;
    border-bottom: 2px inset;
    border-color: #00FFFF;
    transition: all 0.2s ease-in-out;
    color: #00FFFF;
    float: right;
    margin: 2em 0;
    font-family: 'dingras';
    position: relative;
}

#contact_form .btn::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 11px;
    left: 0%;
    bottom: -10px;
    background-color: #00FFFF;
    transition: all ease-in-out .2s;
}

#contact_form .btn:hover::after {
    width: 100%;
    left: 0;
}

#contact_form input[type=button] {
    float: right;
    margin-top: -60px;
    margin-right: 45px;
    font-family: "impact-lt-std", 'Impact', 'Charcoal', sans-serif;
}



/*---------------------------------------------------------------
-----------------------------------------------------------------
     ** Responsive **
-----------------------------------------------------------------
-----------------------------------------------------------------*/




@media (max-width: 450px) {
    header .navsmall {
        display: block;
    }

    header nav {
        display: none;
    }

    p {
        width: 80vw;
    }
    
    table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}


}

@media (min-width: 450px) {
    header .navsmall {
        display: none;
    }

}
