/*
    FORMULAIRE
*/
#form_steam_picker {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Horizontally centers form elements */
    justify-content: center; /* Optionally vertically centers the form */
    margin: 0 auto;  /* Center the form container in the available space */
    max-width: 400px; /* Optional: Set a maximum width to prevent form from being too wide */
}

#form_steam_picker p {
    margin: 10px 0; /* Add some spacing between input fields */
}

#form_steam_picker input {
    width: 100%;  /* Ensures the input field takes up the full width */
    padding: 8px;
    font-size: 16px;
    margin-bottom: 10px;
}

#game_header{
    padding-top: 25px;
    width: 40%;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

#game_title{
    padding-top: 25px;
    text-align: center;
    color: black;
}

#game_about_the_game{
    padding-top: 25px;
    width: 70%;
    margin: 0 auto;
}

#game_categories{
    width: 70%;
    margin: 0 auto;
}

.category_button{
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    background-color: #2B2B2B;
    color: #A1B1BF;
    border: 1px solid #A1B1BF;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

#game_genres{
    padding-top: 25px;
    width: 70%;
    margin: 0 auto;
}

#game_platforms{
    width: 70%;
    margin: 0 auto;
}

#game_detailed_description{
    padding-top: 35px;
    width: 70%;
    margin: 0 auto;
}

/*
    SCREENSHOTS
*/
#image-grid {
    padding-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    width: 70%;
    margin: 0 auto;
}
#image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
#image-grid img:hover {
    transform: scale(1.5);
}

/*
    VIDÉOS
*/
#video-grid {
    padding-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    width: 70%;
    margin: 0 auto;
}

#video-grid img,
#video-grid video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

#video-grid img:hover,
#video-grid video:hover {
    transform: scale(1.05);
}

#video-grid video {
    outline: none;
    display: block;
    max-height: 200px;
}

/**********************************************************************************************************************/