body {
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-style: normal;
    margin: auto;
    width: 100%;
    box-sizing: content-box;
    background-color: rgb(12, 12, 12);
    color: rgb(255, 255, 255);
    text-align: justify;
}

header {
    border: 3px solid red;
}

select {
    padding: 10px;
    margin: 0 20px;
    border: 3px solid rgb(105, 0, 119);
    font-family: "Mukta", Arial, Helvetica, sans-serif;
}

.S-All {
    border-bottom: 3px solid rgb(105, 0, 119);
    padding: 20px;
}

h2 {
    text-align: center;
    color : rgb(196, 151, 202)
}

p {
    font-family: "Mukta", Arial, Helvetica, sans-serif;
    font-weight: 200;
}

footer p {
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-weight: 300;
}

h1 a {
    text-decoration: none;
    color: white;
}

footer a {
    text-decoration: none;
    color: white;
}

/* Page principale */

/* Barre de navigation */

#navbar-container {
    width: 100%;
    height: 100%;
    background-color: rgb(34, 33, 33);
}

#navbar {
    height: 12vh;
    background-color: rgb(34, 33, 33);
    box-shadow: 0px 0px 5px 2px black;
    padding: 0px 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

h1 {
    font-size: 32px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0px 0px 0px ;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

#page-character, #page-about, #page-contact {
    font-size: 20px;
}

.nav-menu {
    display: none;
}

.nav-menu i {
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.fa-brands {
    color: white;
}

#social .fa-brands {
    gap: 20px;
    font-size: 30px;
}

/* Premier bloc */

#bloc-1 img {
    box-shadow: 0px 0px 6px 2px black;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 70%;
    height: 280px;
}

#bloc-1 h2 {
    margin: auto;
    background-color: rgb(34, 33, 33);
    box-shadow: 0px 0px 5px 2px black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 360px;
    height: 200px;
    margin-top: 20px;
}

#bloc-1 p {
    padding: 20px;
    margin:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}

/* Second bloc */

#bloc-2 {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

#bloc-2text {
    display: flex;
    flex-direction: column;
    justify-content: right;

}

#bloc-2 h2 {
    margin: auto;
    background-color: rgb(34, 33, 33);
    box-shadow: 0px 0px 5px 2px black;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 360px;
    height: 200px;
    margin-top: 20px;
}

#bloc-2 p {
    padding: 10px;
    margin:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 18px;
    width: 60%;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.dev-video {
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: right;
    align-items: center;
    align-content: center;
}

.dev-video iframe {
    aspect-ratio: 16/9;
}

/* Troisième bloc */

#bloc-3text {
    display: flex;
    flex-direction: row-reverse;
    justify-content: right;
}

#bloc-3 h2 {
    margin: auto;
    background-color: rgb(34, 33, 33);
    box-shadow: 0px 0px 5px 2px black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 30%;
    height: 200px;
    margin-top: 20px;
}

#bloc-3 p {
    padding: 20px;
    margin:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 18px;
    width: 70%;
}

/* Quatrième bloc */

#bloc-4text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#bloc-4 p {
    padding: 20px;
    margin:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 18px;
    width: 70%;
}

#bloc-4 h2 {
    margin: auto;
    background-color: rgb(34, 33, 33);
    box-shadow: 0px 0px 5px 2px black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 25%;
    height: 200px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#bloc-4text a {
    color: white;
}

/* Footer */

footer {
    background-color: rgb(34, 33, 33);
    box-shadow: 0px 0px 5px 2px black;
    padding: 0px 20px;
    color: white;
    margin: 10px;
}

#footer-1 {
    display: flex;
    justify-content: space-between;
}

#footer-1A {
    width: 320px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    font-size: 22px;
    gap: 16px;
}

#footer-1A img {
    width: 80px;
    height: 80px;
}

#footer-1B {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#contact {
    font-size: 22px;
}

#footer-icons {
    padding: 0px;
}

#footer-2 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 140px;
    font-size: 20px;
    padding-top: 30px;
}

/* Page about */

#about {
    text-align: center;
}

#staffs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#staffs a {
    text-decoration: none;
    color : rgb(196, 151, 202)
}

#staffs img {
    width: 70%;
    height: 70%;
}

.staff-name {
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.staff-member {
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.staff-description {
    font-size: 16px;
}

/* Page contact */

#Contacts-Block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 71px;
    padding-bottom: 71px;
}

#contacth2 {
    padding: 20px;
}

#Contact-P {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#contact-img {
    padding-top: 40px;
    width: 40%;
    height: 40%;
}

/* Page personnages */

.character-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom : 20px;
    padding-top : 20px;
    border-bottom: 2px solid rgb(255, 255, 255);
}

.character-profile-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom : 20px;
    padding-top : 20px;
}

.character-name {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 23px;
}

#name-satan .fa-heart {
    color: rgb(247, 70, 0);
}

#name-belzebuth .fa-heart {
    color: rgb(255, 123, 0);
}

#name-belphegor .fa-heart {
    color: rgb(51, 190, 255);
}

#name-gremory .fa-heart {
    color: rgb(255, 0, 55);
}

#name-asmodeus .fa-heart {
    color: rgb(178, 45, 255);
}

#name-lucifer .fa-heart {
    color: rgb(255, 219, 57);
}

.character-sin {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 5px;
    gap: 8px;
}

.character-description {
    width: 50%;
    text-align: justify;
}

#bloc-copy {
    text-align: center;
    padding-top: 20px;
}

/* Media Queries */
/* Retirer le flex pour #navbar-container, c'est ce qui crée le problème de la largeur, check ça quand tu peux!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

@media(max-width:953px) {
    #navbar-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: column;
    }

    #navbar {
        height: 26vh;
        display: flex;
        align-items: center;
        align-content: center;
        padding: 0px;
    }

    h1 {
        align-self: center;
    }

    #footer-1A {
        font-size: 18px;
        gap: 16px;
    }
    
    #footer-1A img {
        width: 70px;
        height: 70px;
    }

    #footer-2 {
        gap: 100px;
        font-size: 18px;
        justify-content: center;
    }

    #contact {
        font-size: 20px;
    }

    #header-icons {
        padding: 0px;
    }

    #social .fa-brands {
        font-size: 30px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    #footer-icons .fa-brands {
        font-size: 26px;
    }
}

@media(max-width:768px) {
    #bloc-1 img {
        height: 180px;
    }

    .dev-video {
        width: 60%;
    }

    .staff-description {
        font-size: 14px;
    }

    select {
        padding: 5px;
        margin: 0 10px;
    }

    #navbar {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
}

@media(max-width:425px) {
    .dev-video {
        width: 80%;
    }

    #page-character, #page-about, #page-contact {
        font-size: 16px;
    }

    #bloc-1 h2 {
        width: 230px;
    }

    #bloc-2 h2 {
        width: 230px;
    }

    #bloc-3text {
        display: flex;
        flex-direction: column;
    }

    #bloc-3 h2 {
        width: 230px;
    }

    #bloc-1 img {
        height: 120px;
    }

    #footer-icons {
        gap: 20px;
    }

    #footer-icons .fa-brands {
        font-size: 20px;
    }

    #footer-1 {
        padding-top: 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #contact {
        margin-bottom: 8px;
    }

    #footer-2 {
        gap: 16px;
        font-size: 12px;
        padding: 4px;
    }

    #staffs {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #staffs img {
        width: 50%;
        height: 50%;
    }

    .staff-member {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    select {
        padding: 0px;
        margin: 0 00px;
        border: 3px solid rgb(105, 0, 119);
    }

    #navbar {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: row;
    }
}

@media(max-width:375px) {
    .dev-video {
        width: 80%;
    }
    
    #page-character, #page-about, #page-contact {
        font-size: 14px;
    }

    #footer-1A img {
        width: 60px;
        height: 60px;
    }

    select {
        padding: 0 10px;
        border: 3px solid rgb(105, 0, 119);
    }
}

@media(max-width:320px) {
    #social .fa-brands {
        font-size: 20px;
    }

    #bloc-1 img {
        height: 80px;
    }

    #footer-1A img {
        width: 46px;
        height: 46px;
    }

    #footer-1 {
        align-items: normal;
    }

    #contact {
        font-size: 18px;
    }

    #footer-1A {
        width: 240px;
    }
}