/* 
   Description : Stylesheet WikiX
   Auteur      : PURY Nadir
   Date        : 26.05.2021 / V1.0 
   */


/*---------------------| Polices personnalisées |----------------------------*/

@font-face {
    font-family: WhitneyBold;
    src: url(../fonts/whitney-2-cufonfonts/whitneybold.otf)
}

@font-face {
    font-family: WhitneyLight;
    src: url(../fonts/whitney-2-cufonfonts/whitneylight.otf)
}

@font-face {
    font-family: WhitneySemiBold;
    src: url(../fonts/whitney-2-cufonfonts/whitneysemibold.otf)
}

@font-face {
    font-family: WhitneyMediumItalic;
    src: url(../fonts/whitney-2-cufonfonts/whitneymediumitalic.otf)
}

@font-face {
    font-family: WhitneyLightItalic;
    src: url(../fonts/whitney-2-cufonfonts/whitneylightitalic.otf)
}

@font-face {
    font-family: WhitneyMedium;
    src: url(../fonts/whitney-2-cufonfonts/whitneymedium.otf)
}


/*-------------------------| Style principaux |---------------------------*/

body {
    font-family: WhitneyMedium;
    color: aliceblue;
}

.corps {
    text-align: center;
}

.accueil {
    text-align: center;
}

.logoSpacex {
    height: 500px;
    width: 750px;
}


/*-------------------------| Style Section 1 |-----------------------------*/

.s1 {
    background-color: #7D6CD9;
    background-size: cover;
}

.s1 h1 {
    font-size: 10em;
    text-align: center;
}

.s1 h2 {
    font-size: 1.4em;
    text-align: center;
    font-family: WhitneyLightItalic;
}


/*-------------------| Flèche vers le bas |------------------------*/

.arrow-down {
    border: solid aliceblue;
    border-width: 0 0.15em 0.15em 0;
    display: inline-block;
    padding: 0.3em;
    margin-bottom: -3em;
    animation: arrow-down 2s infinite;
    font-size: 2em;
}

.s1 p {
    text-align: center;
}


/* --------------------------| Animation de la flèche | ---------------------*/

@keyframes arrow-down {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: rotate(45deg) translate(0.5em, 0.5em);
        opacity: 1;
    }
}


/* --------------------------| Styles de liens | -------------------*/

a:link {
    color: aliceblue;
    text-decoration: none;
}

a:visited {
    color: aliceblue;
}

a:hover {
    color: rgb(197, 184, 255);
}

a:active {
    color: aliceblue;
}

a:visited {
    color: aliceblue;
}

a:hover {
    color: rgb(200, 238, 210);
}

a:active {
    color: aliceblue;
}


/* --------------------------------------------------------------------------------*/

.logout {
    float: right;
}

.s2 {
    background-color: #bcb5e7;
    background-size: cover;
}

.page {
    background-color: #2d1c8b;
    background-size: cover;
    height: 100%;
    width: 100%;
}

.page-login {
    background-color: #6797E6;
    background-size: cover;
    height: 100%;
    width: 100%;
}

.s2 li {
    display: inline-block;
    padding-right: 1.4em;
}

.page li {
    display: inline-block;
    padding-right: 1.4em;
    margin-top: 1em;
}

.s2 nav {
    text-align: center;
}

.page nav {
    text-align: center;
}

.page .home {
    float: left;
}

.img-veh {
    height: 300px;
    width: 400px;
}

.img-crew {
    width: 256px;
    height: 341px;
}


/* ------------------------------- Login --------------------------*/

.wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 400px;
    margin-top: -200px;
    overflow: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 0;
    height: 400px;
    text-align: center;
}

.container h1 {
    font-size: 40px;
    transition-duration: 1s;
    transition-timing-function: ease-in-put;
    font-weight: 200;
}

form {
    padding: 20px 0;
    z-index: 2;
    text-align: center;
}

form input {
    outline: 0;
    width: 250px;
    padding: 10px 15px;
    margin: 0 auto 10px auto;
    display: block;
    text-align: center;
    font-size: 18px;
    color: #000;
    transition-duration: 0.25s;
    font-weight: 300;
}

form input:hover {
    background-color: fade(white, 40%);
}

form input:focus {
    background-color: rgb(220, 235, 255);
    width: 300px;
}

button {
    background-color: #9fbdee;
    border: 10px;
    padding: 10px 15px;
    border-radius: 3px;
    border: #172233;
    width: 250px;
    cursor: pointer;
    font-size: 18px;
    transition-duration: 0.25s;
}

button:hover {
    background-color: #334b72;
    color: aliceblue
}