p{
    font-size: 1.2em;
}
/*Fond Home*/
#home{
    background-image: url("images/Fond.png");
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

@media screen and (max-width: 1025px) {
    #home{
        background-image: url("images/fondHomeMobile.png");
        background-size: cover;
        background-repeat: repeat;
    }
}





#dessinGrid p{
    color: white;
    text-align: center;
}

.link{
    color: white;
    font-weight: bold;
    text-decoration: none;
}
.link:hover{
    color: lightgrey;
}


.menuIcon2 {
    background-image: url("images/menu.png");
    background-size: cover;
    width: 100px;
    height: 100px;
    position: fixed;

    transition: 0.2s ease-in;
    top:1%;
    right: 1%;
    cursor: pointer;
    z-index: 1;
}
.menuIcon2:hover{
    background-image: url("images/menu2.png");
    transition: 0.2s ease-out;
}




.retour{
    position:fixed;
    top:2px;
    left:2px;
    width:8em;

}


/*Hamburger*/

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
    background-image: url("images/FondPopUpBlue.png");
    background-size: cover;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 32px 8px 8px 32px;
    text-decoration: none;
    font-size: 2em;
    color: #C1C1C1;
    display: block;
    transition: 0.3s;
    text-align: center;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}





.hamMoi{
    transform: rotate(3deg);
}
.hamMoi:hover{
    background-color:#337ab7;
}
.hamSite{
    transform: rotate(-2deg);
}
.hamSite:hover{
    background-color: #761c19;
}
.hamHome{
    transform: rotate(4deg);
}
.hamHome:hover{
    background-color: #2BA62B ;
}
.hamVideo{
    transform: rotate(5deg);
}
.hamVideo:hover{
    background-color: #8E37D7 ;
}
.hamDessins{
     transform: rotate(-3deg);
 }
.hamDessins:hover{
    background-color: #c0a16b;
}
.hamJeu{
     transform: rotate(2deg);
 }
.hamJeu:hover{
    background-color: #5C2C00 ;
}
.hamMag{
    transform: rotate(-5deg);
}
.hamMag:hover{
    background-color: darkgreen ;
}




.sidenav2 {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-image: url("images/FondPopUpRouge.png");
    background-size: cover;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}



.sidenav2 a:hover {
    color: #f1f1f1;
}

.sidenav2 p,#email{
    color: white;
    padding: 0 20px;
    text-decoration: none;
}




.sidenav2 .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
}

@media screen and (max-height: 450px) {
    .sidenav2 {padding-top: 15px;}
    .sidenav2 a {font-size: 18px;}
}



/*
#dessin{
    background-image: url("images/DessinFond.png");
    background-size: contain;
}

*/
#jeu{
    background-image: url("images/GameFond.png");
    background-size: cover;
    width: 100%;
    overflow-x: hidden;
}
#magazine{
    background-image: url("images/FondMagazine.png");
    background-size: contain;
    width: 100%;
    overflow-x: hidden;
}
#site{
    background-image: url("images/FondSite.png");
    background-size: contain;
    cursor: url('images/sites/MousePoint.png'), auto !important;;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}
#site a,#site button,#site .menuIcon2{
    cursor: url('images/sites/CursorHand.png'), auto !important;
}


#listSocial a{
    width: 20%;
    margin: 7px 3% 3% 3%;
}
.social{
    width: 100%;
}


#listSocial{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    margin: 10px 10%;
}

/*Page Jeu*/
#contentJeu{
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-top: 15px;
}
#contentJeu p{
    margin: 0 10px;
    padding-bottom: 25px;
    font-size: 1.5em;
}

#imageJeu{
    width: 50vw;
    align-self: center;
}

#spriteGIF{
    width: 100%;
}
#spriteGIF img{
    width: 30%;
}
#textJeu{
    width: 100%;
    padding-top: 15px;
}
#textJeu a{
    margin: 0 30%;
}
@media screen and (max-width: 950px) {
    #contentJeu{
        flex-direction: column;
    }
}


.button {
    background-color: #026C93;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2em;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 50px;
    transition: all .4s ease-in-out;
}

.button:hover{
    background-color: #0E99CD;
    transition: all .4s ease-in-out;
}

/*Page Video*/
#newVideo{
    margin: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/FondVideoBoucle.png");
    background-size: contain;
    background-repeat: repeat;
}
#newVideoDebut{
    width: 100%;
}
.uneVideo{
    display: flex;
    flex-direction: row;
    border-bottom: 2px solid black;
}
.uneVideo:last-of-type{
    border-bottom: none;
}


.imageVideo{
    width: 40vw !important;

    padding: 25px 50px;
}

@media screen and (min-width: 2000px) {
    .uneVideo iframe , .imageVideo {
        width: 40vw !important;
        height: calc(40vw * 0.5628205128205128);
    }
}

.texteVideo{
    width: 50%;
    padding: 25px 35px;
}

@media screen and (max-width: 1024px) {

    .Mobile{
        display: block;
        align-self: center;
    }
    .PC{
        display: none;
    }


    .uneVideo{
        flex-direction: column;
    }
    .uneVideo iframe , .imageVideo{
        width: 80vw !important;
        height: calc(80vw * 0.5628205128205128);
        padding: 25px 10%;
    }
    .texteVideo{
        width: 90%;
        display: flex;
        flex-direction: inherit;
        padding: 25px 5%;
    }
    .retour{
        width:4em;

    }
    #newVideoDebut{
        background-image: none;
        height: 100%;
    }
    #introVideo{
        margin: 0 13% 30px 13%;
        padding: 10px;
        background: none ;
    }

}




/*Page Dessin*/
/*
#dessinGrid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 10%;
}
#dessinGrid img{
    width: 100%;
}
#dessinGrid div{
    width: 40%;
    padding: 30px 5%;
}

#dessinGrid h2{
    text-align: center;
    background-image: url("images/plaqueTitre.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

@media screen and (max-width:1024px) {
    #dessinGrid{
        flex-direction: column;
        width: 80%;
        margin: 0 10%;
    }
    #dessinGrid div{
        width: 90%;
    }

}
*/



/*Page Magazine*/
.unMagazine{
    display: flex;
    flex-direction: row;

}

.unMagazine img{
    width: 40%;
    height: 40%;
    padding: 25px 2.5%;
}

.texteMagazine{
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 25px 2.5%;
}

.Mobile{
        display: none;
    }






@media screen and (max-width: 1024px) {

    .PC{
        display: none;
    }
    .Mobile{
        display: block;
    }

    .unMagazine{
        display: flex;
        flex-direction: column;
    }
    .unMagazine img{
        width: 80%;
    }
    .texteMagazine{
        width: 95%;
        padding: 25px 2.5%;
    }
}


/*Page Site*/
.unSite,.unJeu{
    display: flex;
    flex-direction: row;
    border-bottom: 2px black solid;
}
.unSite:last-of-type{
    border-bottom: none;
}

.texteSite{
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 25px 2.5%;
}

.unSite img{
    width: 30%;
    height: 40%;
    padding: 25px 4.5%;

}


.texteJeu{
    display: flex;
    flex-direction: column;
    width: 45vw;
    padding: 25px 2.5%;
}







.footer{
    width: 100%;
    height: auto;
}


.sidenav5 {
    height: 0;
    width: 0;
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    background-image: url("images/FondPopUpRouge.png");
    background-size: cover;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav5 p,.sidenav5 h2{
    text-align: center;
}

.sidenav5 a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: grey;
    display: block;
    transition: 0.3s;
}

.sidenav5 a:hover {
    color: black;
}

.sidenav5 .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}


#myPreferences{
    width: 10%;
}


.date{
    display: flex;
}
.date>img{
    width: 5vw;
    height: 5vw;
    padding: 0;
}
.date>p{
    font-size: 3vw !important;
    font-weight: bold !important;
    position: absolute !important;
    padding-left: 5.5vw ;
    margin-top: 1vw ;
}


.title{
    width: 65vw;
    margin: 0 15vw;
}


#newVideo,#jeu,#magazine{
    cursor: url(images/CursorNormal.png), auto;

}

.corp{
    width: 100vw;
    position: fixed;
    height: 100vh;
    cursor: url(images/CursorNormal.png), auto;
}

a,.ampouleIcon,.menuIcon,.etiquetteIcon,.telephoneIcon , .videoTaille,#jeu button,#magazine button,.menuIcon2{
    cursor: url(images/CursorsDoigt.png), auto;
}



/*animation*/

.title,#magazine>p,#introVideo,#site>p{
    animation: popDebut 2s ease-in-out;
}

#jeu1, #magazine1,#site1{
    animation: popDebut 1.5s ease-in-out;
}


@keyframes popDebut {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}





/*Responsive*/

@media screen and (max-width: 1024px) {

    .PC{display: none}
    .Mobile{display: block}
    .unSite,.unJeu{
        flex-direction: column;
    }

    .texteSite, .texteJeu{
        display: flex;
        flex-direction: column;
        width: 95%;
        padding: 25px 2.5%;
    }


    .unSite img{
        width: 50%;
        padding: 25px 25%;

    }

    #site h3, #magazine h3, #newVideo h3, #jeu h3, #site a{
        align-self: center;
    }


    .date{
        align-self: center;
        margin-left: -14vw;
    }

    #nomJeu,#logoPit,#logoRhizome, #imageJeu, #trailerPSM{
        align-self: center;
    }

    #logoPit{
        width: 25vw !important;
    }

    .date>img{
        width: 10vw;
        height: 10vw;
        padding: 0;
    }
    .date>p{
        font-size: 6vw !important;
        font-weight: bold !important;
        position: absolute !important;
        padding-left: 11.5vw;
        margin-top: 1vw;
    }

    .unMagazine a{
        align-self: center;
    }
    .unMagazine>img{
        padding: 25px 10%;
    }

}