@font-face {
    font-family: 'WitcherFont';
    src: url('fonts/witcher-font.ttf') format('ttf');
}
html{
    margin-top: 0 !important;
}

#conteneur {
    margin: 0;
    padding: 0;
    height: auto;
}

body{
    margin: 0;
    /* -webkit-text-stroke: 0.1px rgb(234, 234, 234); */

    /* box-shadow: inset 0 0 0 1000px rgba(0,0,0,.3); */
    /* box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .3); */

    color: white;
}

p{
    font-size: 20px;
}

header {
    background-image: url(images/The-Witcher-3-header-mobile-cropped.png);
    background-color: gray;
    /* background-size: 100%; */
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 30%;
    /* padding-top: ; */
    display: flex;
    flex-direction: column;
    text-align: center;
    /* justify-content: center; */
    justify-content: flex-end;
    /* align-items: center; */
    /* color: white; */

    /* box-shadow: inset 0 0 0 1000px rgba(0,0,0,.3); */
    box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .3);
}

header .header-titre{
    display: flex;
    justify-content: center;
    align-items: center;
}

header .header-titre h1{
    /* font-size: 36px; */
    /* font-family: 'WitcherFont', sans-serif; */
    /* font-family: 'WitcherFont'; */
}

header nav{
    display: flex;
    /* flex-wrap: nowrap; */
    justify-content: flex-end;
    align-items: flex-end;

    padding: 100px 10px 10px 10px;
    /* padding: 10px; */
}

header nav a {
    font-size: 20px;
    color: white;
    /* color: rgb(39, 39, 39); */
    padding-left: 20px;
    /* text-decoration: none; */
}


.DevenirWitcher{
    background-image: url(images/devenir-le-sorcier.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: gray;
    /* color: white; */
    max-width: 100%;
    height: auto;
    /* padding: 15px; */
    padding: 0 15px 30px 15px;
    padding-top: 0;

    /* box-shadow: inset 0 0 0 1000px rgba(0,0,0,.3); */
    box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .3);
}

.DevenirWitcher h2{
    padding-top: 5px;
    margin-top: 0;
    margin-bottom: 10px;
}

.DevenirWitcher p{
    /* margin: 0; */
    margin: 15px 0 0 0;
}

.DevenirWitcher p:nth-of-type(1){
    /* margin-bottom: 0; */
    padding-bottom: 10px;
}

.DevenirWitcher p:nth-of-type(2){
    padding-bottom: 0px;
}


.Combat{
    background-image: url(images/master-combat-dynamique.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: gray;
    /* color: white; */
    /* padding: 15px; */
    padding: 0 15px 30px 15px;
    padding-top: 0;
}

.Combat h2{
    padding-top: 5px;
    margin-top: 0;
    margin-bottom: 10px;
}

.Combat p{
    /* margin: 0; */
    margin: 15px 0 0 0;
}


.Explorer{
    background-image: url(images/Explorez-monde-dark-fantasy.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: gray;
    /* color: white; */
    padding: 0 15px 30px 15px;
    /* padding-top: 0; */

    /* box-shadow: inset 0 0 0 1000px rgba(0,0,0,.3); */
    box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .3);
}

.Explorer h2{
    padding-top: 5px;
    margin-top: 0;
    margin-bottom: 0;
    /* margin-bottom: 10px; */
}

.Explorer p{
    margin: 15px 0 0 0;
}


footer{
    height: 20%;
    background-color: rgba(39,39,39);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

footer h3{
    /* color: black; */
    margin: 0;
}

footer .footer-socials{
    display: flex;
    /* flex-direction: row; */
}

/* footer .footer-socials a{
    display: flex;
    justify-content: space-around;
} */

footer .footer-socials a:nth-of-type(1){
    margin-right: 20px;
}

footer .footer-socials a:nth-of-type(3){
    margin-inline: 20px;
}

footer .footer-socials a:nth-of-type(5){
    margin-left: 20px;
}

footer .footer-liens{
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-liens a{
    color: #9D9D9D;
}

footer .footer-liens a:nth-of-type(2),
footer .footer-liens a:nth-of-type(3),
footer .footer-liens a:nth-of-type(4){
    margin-top: 20px;
}

/* --------------------------------------------- */

/*desktop*/
@media (width>500px){
    header{
        background-image: url(images/The-Witcher-3-Thumbnail.jpg);
        background-size: cover;
        height: 20%;
        width: 100%;
        /* height: 25%; */
    }
    #header-titre h1{
        font-size: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header nav{
        padding: 10px;
    }
    header nav a{
        font-size: 1.5rem;
    }
    #CombatEtExplorerGrid,
    footer{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .Combat,
    .Explorer{
        height: auto;
    }
    .DevenirWitcher h2,
    .Combat h2,
    .Explorer h2{
        font-size: 1.6rem;
    }
    .DevenirWitcher p,
    .Combat p,
    .Explorer p{
        font-size: 1.4rem;
    }
    .Combat,
    .footer-socials{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
    }
    .Explorer,
    .footer-liens{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2;
    }
    footer{
        /* width: 100%; */
        height: auto;
        padding: 20px 0 20px 0;
    }
    footer .footer-socials{
        display: flex;
        /* flex-direction: column; */
        align-items: center;
        justify-content: space-evenly;
    }

    footer .footer-socials a{
        margin: 0;
        margin-bottom: 20px;
    }
    footer .footer-liens{
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin: 0 auto;
    }
}