:root
{
    --headerColor : #101010;
    --backgroundColorPrincipal : #151515;
    --backgroundColorSecondary : #1b1b1b;
    --textPrimaryColor : #fff;
    --textSecondaryColor : #52BF90;
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    background-color: var(--backgroundColorPrincipal);
}

header
{
    background-color: var(--headerColor);
    padding: 10px 0;
    position: sticky; /* Fixe le header */
    top: 0; /* Positionne en haut de la page */
    left: 0; /* Aligne à gauche */
    width: 100%; /* Largeur de 100% pour s'étendre sur toute la page */
    z-index: 1000; /* Assure que le header reste au-dessus d'autres éléments */
    border-bottom: 3px solid #52BF90;
}

h2
{
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--textPrimaryColor);
}

.text
{
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.header-container
{
    max-width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text a
{
    color: var(--textPrimaryColor); /* Couleur par défaut du texte */
    text-decoration: none; /* Supprime le soulignement du lien */
    transition: color 0.3s ease; /* Transition de couleur */
}

.text a:hover
{
    color: var(--textSecondaryColor); /* Couleur au survol */
}

.header-name h1
{
    color: #fff;
    font-size: 24px;
}

nav ul
{
    list-style: none;
    display: flex;
}

nav ul li
{
    margin-left: 20px;
}

nav ul li a
{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

nav ul li a:hover
{
    color: #52BF90;
}

/* Section de présentation du jeu */
.game-presentation
{
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 800px; */
    margin: 80px 0px;
    max-width: 100%;
    gap: 50px;
}

.game-presentation-separator
{
    width: 50%;
    border: 1px solid var(--textSecondaryColor);
}

.game-information
{
    display: flex;
    flex-direction: column;
    max-width: 600px;
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--textPrimaryColor);

    gap: 20px;
}

.game-information a
{
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.game-information a:hover
{
    color: #52BF90;
}

.game-specification
{
    text-align: left;
}

.game-pitch
{
    text-align: left;
}

.poster
{
    /* height: 100%; */
    height: 800px;
}

.poster img
{
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Section de la galerie d'images et de vidéos */
.game-media
{
    max-width: 100%;
    /* margin-bottom: 250px; */
    background-color: var(--backgroundColorPrincipal);
}

.game-media p
{
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    color: var(--textPrimaryColor);
}

.trailer
{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
    gap: 20px;
}

.trailer h1
{
    font-family: "Titillium Web", sans-serif;
    font-style: normal;
    color: var(--textPrimaryColor);
}

.responsibilities-line
{
    border: 2px solid var(--textSecondaryColor);
}

.responsibilities
{
    text-align: center;
    font-weight: 600;
    font-size: 44px;
    color: var(--textPrimaryColor);
    margin-bottom: 5px;
}

.role-chapter
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0 40px 0;
}

.role-chapter:nth-child(odd)
{
    background-color: var(--backgroundColorSecondary);
}

.role-part
{
    display: flex;
    flex-direction: column;
}

.role-text
{
    display: flex;
    flex-direction: column;
    width: 1000px;
}

.role-title
{
    text-align: center;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: var(--textSecondaryColor);
}

.role-description
{
    text-align: justify;
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--textPrimaryColor);
}

.role-galery
{
    display: flex;
    gap: 50px;
    width: 100%;
    max-width: 2300px;
    padding: 20px 0 0px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.role-image
{
    /* width: 720px;
    height: auto; */

    height: 480px;
    width: auto;

    border-radius: 24px;
}

.portrait
{
    height: 720px;
}

.role-video
{
    height: 480px;
    width: auto;
    border-radius: 16px;
}

.centered-container
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 75px 0;
}

.return-button
{
    padding: 20px 60px;
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-size: 20px;
    background-color: #52BF90;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.return-button:hover
{
    background-color: #3a8f6a; /* Change la couleur au survol */
}

/* @media (max-width : 1920px)
{
    .game-presentation
    {
        height: 600px;
        margin: 60px 0px;
        gap: 50px;
    }

} */

/* Responsive design */
@media (orientation: portrait)
{
    header
    {
        padding: 30px 0;
    }

    .header-container
    {
        max-width: 80%;
    }

    .header-name h1
    {
        font-size: 30px;
    }

    .text a
    {
        font-size: 30px;
    }

    .game-presentation
    {
        flex-direction: column;
        text-align: center;
    }

    .game-presentation-separator
    {
        width: 80%;
    }

    .game-information
    {
        align-items: center;
    }

    .game-specification
    {
        max-width: 100%;
        white-space: nowrap;
        font-size: 34px;
    }

    .game-information
    {
        max-width: 80%;
        font-size: 24px;
    }

    .responsibilities
    {
        font-size: 54px;
    }

    .role-title
    {
        font-size: 48px;
    }

    .role-text
    {
        align-items: center;
    }

    .role-description
    {
        max-width: 80%;
        font-size: 16px;
    }

    .return-button
    {
        padding: 40px 120px;
        font-size: 34px;
        border-radius: 15px;
    }
}
