@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@200;400;600&display=swap');


body > * {
    font-family: 'Work Sans', sans-serif;
    text-align: left;
    background-color: #f1ecec;
}

html,
body {

    /*   interdit le copier du texte sur tout le site   */
    -webkit-user-select: none !important;
    -moz-user-select: -moz-none !important;
    -ms-user-select: none !important;
    user-select: none !important;

    height: 100%;
    margin: 0 auto;
    color: #202321;
    width: 100%;
    display: grid;
    grid-template-rows: 10vh auto 10vh;
    grid-template-areas:
        "head"
        "cont"
        "foot";
    grid-template-columns: 1fr;
    background-color: #f1ecec;
}


a {
    text-decoration: none;
    color: #170C01;
}




/* ----------------------------------------- Version Mobile ----------------------------------------- */





/* Header */

#header {
    display: none;
}

#headerBackground {
    position: fixed;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    background-color: #170C01;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 100;
}

#headerBackground img {
    height: 100%;

}






/* Menu Burger */

#menu-burger {
    width: 50px;
    height: 50px;
    background: #170C01;
    border-radius: 50%;
    position: fixed;
    top: 16px;
    right: 5%;
    cursor: pointer;
    z-index: 200;
}

#menu-burger .menu-icon {
    display: block;
    height: 2px;
    width: 18px;
    background: #f1ecec;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -1px;
}

#menu-burger .menu-icon:after {
    content: '';
    display: block;
    height: 2px;
    width: 18px;
    background: #f1ecec;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -5px;
    transition: 0.35s;
}

#menu-burger .menu-icon:before {
    content: ' ';
    display: block;
    height: 2px;
    width: 18px;
    background: #f1ecec;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: 4px;
    transition: 0.35s;
}

#menu-burger .menu-icon.open:before {
    transform: rotate(45deg);
    margin-top: -1px;
    background: #170C01;
}

#menu-burger .menu-icon.open:after {
    transform: rotate(-45deg);
    margin-top: -1px;
    background: #170C01;
}

#menu-burger.open {
    background: #f1ecec;
}

#menu-burger .menu-icon.open {
    background: #f1ecec;
}

#overlay-menu {
    position: fixed;
    background: #170C01;
    height: 100%;
    width: 100%;
    opacity: 0.85;
    z-index: 100;
    right: -100%;
    transition: 0.35s;
}

#overlay-menu.open {
    right: 0%;
}

#overlay-menu nav {
    height: 60%;
    position: relative;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 32px;
    text-align: center;
}

#overlay-menu nav ul {
    display: inline-block;
    margin: auto;
    height: 100%;
    list-style: none;
}

#overlay-menu nav ul li {
    position: relative;
    color: #f1ecec;
    margin-bottom: 20px;
}

#overlay-menu nav ul li a {
    color: #f1ecec;
    text-transform: uppercase;
}

#overlay-menu nav ul li a:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    height: 3px;
    width: 0%;
    background: #f1ecec;
    transition: 0.25s;
}

#overlay-menu nav ul li a:hover:after {
    width: 100%;
}







/* Footer */

#footer {
    grid-area: foot;
    align-items: center;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    height: 5vh;
    width: 100%;
    background-color: #170C01;
    color: #F6F6F6;
    bottom: 0;
    position: fixed;
}

#footer h6 {
    margin: 10px 0;
}

#footer a {
    text-transform: uppercase;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    margin: 0 15px;
    color: #f1ecec;
}

#linkHomeMobile {
    padding: 0 0 28px 0;
}

#footerCredit {
    display: none;
}



/* Emplacement du contenu des pages */

.content {
    height: 100%;
    grid-area: cont;
}







/* Page accueil */

#home {
    background-image: url("/../img/home-background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 85vh;
}







/* Global */

h1 {
    text-transform: uppercase;
    background: #170C01;
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: whitesmoke;
    margin: 0;
    cursor: pointer;
}

p {
    padding: 0 25px;
    font-size: 12px;
    text-align: justify;
}

h2 {
    font-size: 20px;
    padding-left: 25px;
    margin: 5px 0;
}







/* Page saisons */

#saisonList {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    flex-direction: column;
    justify-content: space-around;
    grid-gap: 45px;
}

#saison ul {
    font-size: 10px;
}

#saison {
    padding: 40px 15px 100px 15px;
}

#saison article {
    filter: drop-shadow(2px 2px 2px black);
}






/* Popup saison */

.extension {
    background-color: #f1ecec;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
    height: 100%;
    border-radius: 0 0 8px 8px;
    border: solid 0.5px;
    top: 40px;
    position: absolute;
}

.cachee {
    display: none;
}







/* dimension des contenu de la page saison */

#saisonList article {
    height: 50vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    overflow: hidden;
}

#saisonList article h1 {
    position: absolute;
    border-radius: 8px 8px 0 0;
}

#saisonList article h1:hover {
    color: #756C5D;
}

#saisonList img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}







/* Page acteur */

#acteur {
    padding: 40px 15px 100px 15px;
}

#acteurList {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    flex-direction: column;
    justify-content: space-around;
    grid-gap: 45px;
}

#acteurList a:hover {
    color: #756C5D;
}

#acteurList article {
    height: 60vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    filter: drop-shadow(2px 2px 2px black);
    overflow: hidden;
}

#acteurList h1 {
    border-radius: 8px 8px 0 0;
    position: absolute;
}

#acteurList p {
    font-size: 12px;
}

#acteurList ul {
    font-size: 12px;
    list-style-type: none;
}

#acteurList img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}









/* Page épisode */

#episode {
    padding: 40px 0 70px 0;
}

.episodeList {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    flex-direction: column;
    justify-content: space-around;
    margin: 0 15px 20px 15px;
    filter: drop-shadow(2px 2px 2px black)
}

.saison-episode {
    cursor: inherit;
    border-radius: 8px 8px 0 0;
}

.episodeList article {
    height: auto;
    filter: drop-shadow(1px 1px 1px black);
    padding: 5px;
    overflow: hidden;
}

.episodeList article h1 {
    opacity: 0.6;
}

.episodeList article h1:hover {
    opacity: 1;
}

.episodeList article img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.episodeList p {
    font-size: 12px;
}

.episodeList ul {
    font-size: 12px;
    list-style: none;
    padding-left: 25px;
}

.episodeList .extensionEpisode {
    border: none;
    padding: 0;
    grid-gap: 0;
    background: currentcolor;
    height: 100%;
}

.episodeGrid {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    background: lightgray;
    border-radius: 0 0 8px 8px;
}

.episodeGrid a:hover {
    color: #756C5D;
}

.episodeList article .extensionEpisode {
    height: auto;
}

.episodeBackgroundAll {
    height: 100%;
    background-position: 0 -24px;
    background-size: cover;
    background-repeat: no-repeat;
}

.bouton-episode {
    cursor: pointer;
    color: #170C01;
    background: darkgrey;
    width: 30%;
    border-radius: 8px;
    font-size: 16px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    text-transform: uppercase;
}

.bouton-episode:hover{
    width: 35%;
    opacity: 0.9;
}

#episodeListSaison1 {
    background-image: url("../img/background-episode-saison1.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;
}

#episodeListSaison2 {
    background-image: url("../img/background-episode-saison2.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;
}

#episodeListSaison3 {
    background-image: url("../img/background-episode-saison3.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;
}

#episodeListSaison4 {
    background-image: url("../img/background-episode-saison4.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;
}

#episodeListSaison5 {
    background-image: url("../img/background-episode-saison5.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;
}

#episodeListSaison6 {
    background-image: url("../img/background-episode-saison6.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;
}








/* Popup Episode */

.cacherEpisode {
    display: none;
}




















/* ----------------------------------------- Version desktop intermédiaire ----------------------------------------- */

@media screen and (min-width:960px) {


    body {
        grid-template-rows: 10vh auto 5vh;
    }







    /* Header */

    #header {
        grid-area: head;
        align-items: center;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        height: 10vh;
        width: 100%;
        position: fixed;
        z-index: 100;
        background-color: #170C01;

    }

    .headerLogo {
        width: 10%;
    }

    .headerLogo img {
        width: 80%;
    }

    #header a {
        text-transform: uppercase;
        color: #F6F6F6;
    }

    #header a:hover {
        color: #756C5D;
    }

    #headerBackground {
        display: none;
    }







    /* footer */

    #footer {
        height: 5vh;
    }

    #footerLink {
        display: none;
    }

    #footerCredit {
        display: flex;
    }







    /* Menu Burger */

    #menu-burger {
        display: none;
    }




    #acteurList {
        grid-template-columns: repeat(1, 1fr);
    }

    #acteur {
        padding: 40px 250px 180px 250px;
    }

    #saison {
        padding: 40px 250px 100px 250px;
    }

    #saisonList {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }






    /* Modification de la page episode */

    .episodeGrid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(1, 1fr);
        height: 30vh;
    }

    .episodeBackgroundAll {
        background-position: center;
    }

    .episodeList p {
        font-size: 14px;
    }

    .episodeList h1 {
        margin: 0;
    }

    .episodeList article .extensionEpisode {
        margin: 0;
    }

    .bouton-episode {
        background: #170C01;
        color: #f1ecec;
        width: 20%;
    }

    .bouton-episode:hover {
        color: #756C5D;
        width: 21%;
    }

    #episodeListSaison1 {
        background-position: 0 -120px;
    }

    #episodeListSaison2 {
        background-position: 0 -14px;
    }

    #episodeListSaison3 {
        background-position: 0 -100px;
    }

    #episodeListSaison4 {
        background-position: center;
    }

    #episodeListSaison5 {
        background-position: center;
    }

    
    
    
    
    
     /* Modification de la page saison */
    
    #saison ul {
        font-size: 12px;
    }
    
    
    
    
}





/* ----------------------------------------- Deuxième Version desktop intermédiaire ----------------------------------------- */

@media screen and (min-width:1400px) {

    /* Modification de la page acteur */

    #acteurList {
        grid-template-columns: repeat(2, 1fr);
    }







    /* Modification de la page saison */

    #saisonList {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }





}





/* ----------------------------------------- Version desktop ----------------------------------------- */

@media screen and (min-width:1700px) {








    /* Modification de la page saison */

    #saison {
        padding: 40px 200px 100px 200px;
    }

    #saisonList {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    article {
        height: 45vh;
    }
    
    .extensionEpisode {
        height: 88%;
        padding-top: 20px;
    }

    #saison p {
        font-size: 12px;
    }

    h1 {
        height: 40px;
        width: 50%;
        border-radius: 8px;
    }

    h1:hover {
        width: 100%;
    }

    #saison h2 {
        font-size: 26px;
    }


    #saisonList article {
        height: 48vh;
    }

    #saisonList article h1 {
        border-radius: 8px;
    }






    /* Modification de la page acteur */

    #acteur {
        padding: 40px 200px 100px 200px;
    }

    #acteurList {
        grid-template-columns: repeat(3, 1fr);
    }

    #acteurList h1 {
        color: whitesmoke;
        width: 60%;
    }

    #acteurList h1:hover {
        color: #756C5D;
        width: 100%;
    }

    #acteurList article {
        height: 48vh;
    }







    /* Modification de la page episode */

    .episodeGrid h2 {
        padding-top: 20px;
    }

    .saison-episode {
        width: 100%;
        margin: 0 0 20px 0;
        border-radius: 8px 8px 0 0;
    }

    .episodeList {
        margin: 0 10px 80px 10px;
    }

    #episode {
        padding: 40px 200px 10px 200px;
    }

    #episodeListSaison1 {
        background-position: 0 -133px;
    }

    #episodeListSaison2 {
        background-position: 0 -3px;
    }

    #episodeListSaison3 {
        background-position: 0 -145px;
    }

    #episodeListSaison4 {
        background-position: 0 -160px;
    }

    #episodeListSaison5 {
        background-position: 0 -228px;
    }


}
