/**Je suis désolé pour toutes les lignes**/
/**Joyeux Noël**/

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif, sans-serif;
    background-color: rgb(16, 16, 20);
    min-height: 100vh;
    color: white;
}

main {
    display: contents;
}

/*Style d'écriture de la page*/
@font-face {
    font-family: 'quantum';
    src: url('../fonts/quantum.ttf') format('truetype');
}

/*Style quantum ajouté à tous les titres*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'quantum';
}

h2,
h3,
h4,
h5,
h6 {
    color: #FCEE0A;
}

span {
    color: #FCEE0A;
}


/*************************NAV BAR**************************************/

header {
    display: flex;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    text-align: right;
    padding: 1em;
    z-index: 1;
    position: fixed;
    top: 0;
    justify-content: space-between;
    align-items: center;
}

header img {
    max-width: 100%;
    transition: transform 0.5s ease-in-out;
    /*Transition qui dure 0.5s en ease-in-out (l'animation) qui 
    s'applique sur la balise transform */
}

header img:hover {
    transform: scale(0.92);
    /*balise transforme par rapprot à la transition
    qui "zoom" de 0.92 soit un zoom inversé de 8%*/
}

#logo {
    width: 16%;
    height: auto;
    float: left;
    margin-left: 4%;
    align-items: center;
}


header ul {
    margin-right: 100px;
    font-size: 1vw;
    list-style-type: none;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -10px;
}

header li {
    margin-right: 40px;
}

header a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

header a:hover {
    color: #FCEE0A;
}

/*animation qui place un élèment d'une hauteur de 2px
avec une animation qui dure 0.3s sous les texte de page du menu*/
/*animation découvertes sur le web en cherchant un scroll auto*/
#menuNav::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 2px;
    background: #FCEE0A;
    transform: scale(0);
    /*scale 0 car il ne s'affiche pas toute suite*/
    transition: transform 0.3s ease-in-out;
    /*même transition que pour l'image plus tôt*/
}

/*affichage de l'animation (soulignage progréssif) 
au passage de la souris par dessus*/
#menuNav:hover::after {
    transform: scale(1);
}

/*************************FOOTER**************************************/

footer {
    width: 100%;
    background: url('../img/fond_footer.png') no-repeat center center/cover;
}

#footerPages li {
    text-decoration: none;
    margin-top: 20px;
    width: auto;
}

#imgFooter {
    display: flex;
    width: 40%;
    padding: 20px;
}

footer img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

footer img:hover {
    transform: scale(0.92);
}

footer ul {
    display: flex;
    flex-direction: column;
    width: auto;
    font-size: 1vw;
    list-style-type: none;
    text-decoration: none;
}

#footerPages a:hover {
    color: #FCEE0A;
}

.container {
    display: flex;
    align-items: center;
}

#footerPages {
    width: 50%;
    display: flex;
}

#footerPages a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

/*Exactement la même animation que pour le menu de la nav*/
#footerPages li::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 2px;
    background: #FCEE0A;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
}

#footerPages li:hover::after {
    transform: scale(1);
}

#copyright {
    width: 100%;

}

#copyright p {
    font-size: 1vw;
    margin-bottom: 0;
    text-align: center;
    padding-bottom: 20px;
}

/*************************Responsive footer**************************************/

@media screen and (max-width: 1000px) {

    .container {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    footer img {
        width: 100%;
        height: auto;
    }

    footer ul {
        width: auto;
        list-style-type: none;
        text-decoration: none;
        text-align: center;
        padding: 0;
    }

    #footerPages {
        width: 100%;
        display: flex;
        align-items: center;
    }

    #footerPages li {
        text-decoration: none;
        margin-top: 20px;
        width: auto;
    }

    footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }

    #footerPages {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    #footerPages a {
        text-decoration: none;
    }

    #footerPages li {
        text-decoration: none;
        margin-top: 20px;
        width: auto;
    }
}

/*************************Responsive header menu burger**************************************/

/*A faire*/


/*************************Flexible**************************************/

.flex-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

.flex-left {
    width: 30%;
}

.flex-right {
    width: 70%;
}

/*************************Main**************************************/

/**illustration top page**/

.imgTop {
    background-image: url('../img/cyberpunk-2077-ville.jpg');
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
}

.titre {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 2vw;
    text-align: center;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.titre h4 {
    color: white;
}

/*Animation de révélation des titres*/
/*Keyframe renvoi à l'animation reveal plus bas
il passe d'une opacité nulle jusqu'à une opacité de 1 donc pleine*/
@keyframes reveal {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealT {
    from {
        opacity: 0.69;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*durée de l'animation 2s en linéair et l'animation 
est "reveal"*/
.titre h4,
h1 {
    animation: reveal linear 2s;
}

/**Séparation**/

.separation {
    background-color: rgb(54, 54, 54);
    display: flex;
    align-items: center;
}

.separation ul {
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
    height: 2vw;
    padding-top: 1%;
}

.separation li {
    display: inline;
    margin: 0 40px;
    font-size: 1vw;
}

.separation a {
    color: white;
    text-decoration: none;
}

.separation a:hover {
    color: #FCEE0A;
}

/**Univers**/

.elemUnivers {
    display: flex;
    justify-content: space-between;
    max-width: 70%;
    flex-wrap: wrap;
}

.elemUniversGauche {
    min-width: 400px;
    width: 44%;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.elemUniversGauche img {
    width: 90%;
    transition: transform 0.5s ease-in-out;
}

.elemUniversGauche img:hover {
    transform: scale(0.96);
}

.elemUniversGauche h2 {
    width: 80%;
    font-size: 2.8vh;
    text-align: right;
    padding: 22% 0 6% 0;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 60%;
    /*Fin de l'animation*/
}

.elemUniversDroite {
    width: 50%;
    float: right;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.elemUniversDroite img {
    padding-top: 100px;
    width: 74%;
    transition: transform 0.5s ease-in-out;
}

.elemUniversDroite img:hover {
    transform: scale(0.96);
}

.elemUniversDroite>h4,
.elemUniversDroite>p {
    width: 80%;
    font-size: 2vh;
    padding-left: 14%;
}

.elemUniversGauche>h4,
.elemUniversGauche>p {
    width: 90%;
    font-size: 2vh;
    padding-left: 12%;
}

.elemUniversDroite>h4,
.elemUniversDroite>p,
.elemUniversGauche>h4,
.elemUniversGauche>p {
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 6%;
    /*Fin de l'animation*/
}

/**Elems night city**/

.NCtitre {
    font-size: 2vh;
    text-align: center;
    padding-top: 10%;
    padding-bottom: 1.6%;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 70%;
    /*Fin de l'animation*/
}

.NCimg img {
    width: 86%;
    transition: transform 0.5s ease-in-out;
}

.NCimg img:hover {
    z-index: 100;
    transform: scale(0.96);
}

.NCimg {
    text-align: center;
    width: 100%;
    height: 100vh;
}

.elemNC .flex-center {
    background-color: rgba(0, 0, 0, 0.5);
}

.NCtexte {
    width: 70%;
    display: flex;
    flex-direction: column;
    font-size: 2vh;
    text-align: center;
    padding-top: 6%;
    padding-bottom: 4%;
}

.NCtexte h4,
.NCtexte p {
    width: 100%;
    font-size: 2vh;
    animation: revealT linear 2s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 40%;
    /*Fin de l'animation*/
}

/**Elems personnages**/

.elemP {
    padding-top: 10%;
    padding-bottom: 6%;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.imgPerso {
    width: 100%;
    text-align: center;
}

.imgPerso img {
    width: 16%;
    height: auto;
    transition: transform 0.5s ease-in-out;
    padding: 2%;
}

.imgPerso img:hover {
    transform: scale(0.96);
}

.Ptexte {
    display: flex;
    flex-direction: column;
    width: 60%;
    font-size: 2vh;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 20%;
    /*Fin de l'animation*/
}

/**Boutons**/

button {
    width: 120px;
    height: 5vh;
    margin-top: 4%;
    background-color: #FCEE0A;
    border: none;
    border-radius: 12px;
    font-size: 2vh;
    transition: transform 0.5s ease-in-out;
}

button a {
    text-decoration: none;
    color: white;
}

button:hover {
    background-color: #FCEE0A;
    color: black;
    transform: scale(1.1);
}


/*************************Page Univers**************************************/

/**Top page**/

.titreTop h2 {
    color: white;
    width: 40%;
    margin-left: 4%;
    font-size: 4.4vh;
    animation: reveal linear 2s;
}

.titreTop {
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.topPageU {
    background-image: url('../img/Univers.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 50vh;
}

/**paragraphe 1**/

.elemU1 {
    width: 70%;
    flex-wrap: wrap;
    padding-top: 8%;
}

.elemU1 img {
    width: 52%;
    float: left;
    transition: transform 0.5s ease-in-out;
    padding: 2%;
}

.elemU1 img:hover {
    transform: scale(0.96);
}

.elemU1 h3,
.elemU1 p {
    font-size: 2.2vh;
    text-align: left;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 30%;
    /*Fin de l'animation*/
}

.elemU1 div {
    width: 38%;
    float: left;
    padding: 2%;
    padding-top: 8%;
}

/**paragraphe 2**/

.elemU2 {
    display: inline-block;
    width: 70%;
    flex-wrap: wrap;
}

.elemU2 img {
    width: 52%;
    float: left;
    transition: transform 0.5s ease-in-out;
    padding: 2%;
}

.elemU2 img:hover {
    transform: scale(0.96);
}

.elemU2 h3,
.elemU2 p {
    font-size: 2.2vh;
    text-align: right;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 30%;
    /*Fin de l'animation*/
}

.elemU2 div {
    width: 38%;
    float: left;
    padding: 2%;
    padding-top: 8%;
}

/**paragraphe 3**/

.elemU3 {
    display: inline-block;
    width: 70%;
    padding-bottom: 8%;
    flex-wrap: wrap;
}

.elemU3 img {
    width: 52%;
    float: left;
    transition: transform 0.5s ease-in-out;
    padding: 2%;
}

.elemU3 img:hover {
    transform: scale(0.96);
}

.elemU3 h3,
.elemU3 p {
    font-size: 2.2vh;
    text-align: left;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 30%;
    /*Fin de l'animation*/
}

.elemU3 div {
    width: 38%;
    float: left;
    padding: 2%;
    padding-top: 8%;
}

/*************************Page NightCity**************************************/

/**Top page**/

.topPageNC {
    background-image: url('../img/nightcity.jpg');
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
    width: 100%;
    height: 50vh;
}

/**paragraphe 1**/

.elemNC1 {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding-top: 8%;
    padding-bottom: 4%;
    justify-content: center;
}

.elemNC1 img {
    width: 70%;
    transition: transform 0.5s ease-in-out;
    padding-bottom: 1%;
}

.elemNC1 img:hover {
    transform: scale(0.96);
}

.elemNC1 div {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.elemNC1 h3,
.elemNC1 p {
    width: 100%;
    font-size: 2.2vh;
    text-align: left;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 8%;
    /*Fin de l'animation*/
}

/*************************Page Personnages**************************************/

/**Top page**/

.topPageP {
    background-image: url('../img/personnages.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 50vh;
}

/**paragraphe type 1**/

.espaceT {
    padding-top: 8%;
}

.perso1 {
    display: flex;
    max-width: 70%;
    width: 60%;
    flex-wrap: wrap;
    padding-bottom: 2.8%;
    flex-direction: row;
    align-items: end;
}

.perso1 img {
    width: 80%;
    transition: transform 0.5s ease-in-out;
}

.perso1 img:hover {
    transform: scale(0.96);
}

.perso1 h3,
.perso1 p {
    width: 90%;
    font-size: 2vh;
    text-align: left;
    margin-left: 10%;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 30%;
    /*Fin de l'animation*/
}

/**paragraphe type 2**/

.perso2 {
    display: flex;
    max-width: 70%;
    width: 60%;
    flex-wrap: wrap;
    padding-bottom: 2.8%;
    flex-direction: row;
    align-items: end;
}

.perso2 img {
    width: 80%;
    transition: transform 0.5s ease-in-out;
}

.perso2 img:hover {
    transform: scale(0.96);
}

.perso2 h3,
.perso2 p {
    width: 90%;
    font-size: 2vh;
    text-align: right;
    margin-left: 10%;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 30%;
    /*Fin de l'animation*/
}

/*************************Page Contact**************************************/

/**Top page**/

.topPageC {
    background-image: url('../img/contact.jpg');
    background-attachment: fixed;
    background-position: top;
    background-size: cover;
    width: 100%;
    height: 50vh;
}

/**Formulaire**/

form {
    width: 46%;
    text-align: center;
    padding-top: 6%;
    padding-bottom: 6%;
    font-size: 1.2vw;
}

legend {
    font-size: 1.8vw;
}

fieldset {
    color: #FCEE0A;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4%;
    border-radius: 8px;
}

fieldset fieldset {
    margin-top: 8%;
    padding: 6%;
    display: flex;
    align-items: center;
    animation: revealT linear 1s;
    animation-timeline: view();
    /*Fait apparaitre par rapport au scroll*/
    animation-range-start: cover 0%;
    /*Début de l'animation*/
    animation-range-end: contain 40%;
    /*Fin de l'animation*/
}

fieldset img {
    width: 90%;
}

label {
    width: 50%;
    display: flex;
    padding: 2%;
}

input,
textarea,
select {
    width: 50%;
    border-radius: 8px;
    height: 1.2vw;
}

/*modifier le texte affiché dans les input, textarea et select*/
input::placeholder,
textarea::placeholder,
select {
    font-size: 0.8vw;
}

select {
    float: right;
}

textarea {
    height: 6vw;
    width: 60%;
}

/*Bouton d'envoi du formulaire*/
#submit {
    width: 6vw;
    height: 2vw;
    background-color: #FCEE0A;
    border: none;
    border-radius: 12px;
    font-size: 1vw;
    transition: transform 0.5s ease-in-out;
}

#submit:hover {
    background-color: #FCEE0A;
    color: white;
    transform: scale(1.1);
}

form div {
    display: flex;
    width: 100%;
    padding: 4% 4% 0 6%;
}/*Tout pile 1000*/