.projectcategory {
    margin: 2em 0 0 0;
    text-align: center;
}

    .projectcategory h2 {
        font-size: 2em;
        margin-bottom: 1em;
    }

.portfoliovideogamecontainer {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 1em auto;
    gap: 2em;
    text-align: left;
    background-color: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(16px);
    box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.5);
    padding: 1.5em;
    border-radius: 8px;
}

.game-video {
    flex: 1;
    max-width: 350px; /* Taille similaire à l'image */
    display: flex;
    justify-content: center;
}

    .game-video iframe {
        width: 100%;
        height: 200px; /* Ajuste la hauteur pour une taille équilibrée */
        border-radius: 4px;
    }

.game-image {
    flex: 1;
    max-width: 350px; /* Agrandissement de l'image */
    height: auto;
    border-radius: 8px;
}

.game-info {
    flex: 1;
    color: #ffffff; /* Texte en blanc */
}

.portfoliovideogamecontainer h3 {
    margin: 0 0 0.3em 0; /* Réduction des espaces autour du titre */
}

.portfoliovideogamecontainer h3 a {
    text-decoration: underline;
    color: #ffffff; /* Titre en blanc */
    font-size: 1.3em; /* Réduction de la taille du titre */
}

    .portfoliovideogamecontainer h3 a:hover {
        color: #FF0000;
    }

.description {
    margin: 0.5em 0 1em;
    color: #ffffff; /* Texte descriptif en blanc */
}

.tools {
    display: flex;
    justify-content: center; /* Centre les logos */
    gap: 1em;
    margin-top: 0.5em;
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
}

.tools img {
    width: 40px;
    height: auto;
}

/* Media query pour les petits écrans (téléphones) */
@media (max-width: 600px) {
    .portfoliovideogamecontainer {
        flex-direction: column; /* Empile l'image et le texte */
        align-items: center;
        text-align: center;
    }

    .game-image {
        max-width: 100%; /* L'image prend toute la largeur disponible */
    }

    .game-info {
        margin-top: 1em; /* Ajoute un espace entre l'image et le texte */
    }
}
.video-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em;
    margin: 0 0 2em 0;
}

.portfoliovideocontainer {
    flex: 1 1 40%; /* 45% pour deux vidéos côte à côte, s'ajuste si l'écran est plus petit */
    max-width: 600px; /* Limite la taille des vidéos */
    background-color: #000;
    padding: 0.5em;
    border-radius: 8px;
}

    .portfoliovideocontainer iframe {
        width: 100%;
        height: 315px; /* Hauteur fixe pour un format standard */
        border: 0px;
    }

/* Media query pour les écrans plus petits */
@media (max-width: 768px) {
    .portfoliovideocontainer {
        flex: 1 1 100%; /* Les vidéos passent en pleine largeur */
        max-width: none; /* Suppression de la limite de largeur */
    }
}

.podcast-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(16px);
    box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.5);
    padding: 1.5em;
    border-radius: 8px;
    text-decoration: none; /* Enlève le soulignement du lien */
    color: white;
    gap: 2em;
    max-width: 800px;
    margin: 2em auto; /* Centrage horizontal avec espace */
}

    .podcast-container img.podcast-image {
        max-width: 150px; /* Limite la taille de l'image */
        height: auto;
        border-radius: 8px;
        margin: 0 0 0 4em;
    }

.podcast-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 25%; /* Décale le texte pour qu'il commence à la moitié du conteneur */
    text-align: left; /* Pour garder l'alignement du texte à gauche */
}

    .podcast-info h3 {
        text-decoration: underline;
        color: #ffffff; /* Titre en blanc */
        font-size: 1.3em; /* Réduction de la taille du titre */
    }

    .podcast-info ul {
        list-style-type: disc;
        margin-left: 20px;
        font-size: 1em;
    }

    .podcast-info li {
        margin-bottom: 0.5em;
    }

/* Media query pour les petits écrans (téléphones) */
@media (max-width: 600px) {
    .podcast-container {
        flex-direction: column; /* Empile les éléments en mode colonne sur les petits écrans */
        align-items: center;
        text-align: center;
    }

        .podcast-container img.podcast-image {
            width: 50%;
            margin: 0.5em auto;
        }

    .podcast-info {
        margin-left: 0; /* Enlève le décalage à gauche sur les petits écrans */
        text-align: center; /* Centre le texte sur les petits écrans */
    }
}

.contact{
    padding: 0.2em 0 0 0;
    background-color: #111111;
}

.social-media-links {
    display: none; /* Masque les images par défaut */
}

/* Styles pour les écrans de 1129px ou moins */
@media (max-width: 1129px) {
    .social-media-links {
        display: flex;
        gap: 1em;
        justify-content: center; /* Centre les images horizontalement */
        align-items: center; /* Centre les images verticalement */
        padding: 1em 0; /* Ajoute un espace de 2em en haut et en bas */
    }

        .social-media-links img {
            width: 2em;
        }
}

footer {
    background-color: #111;
    color: #f0f0f0;
    text-align: center;
    padding: 1.3em;
}