.games-selected{
    width: 100%;
    background-color: var(--home-background);
}

.games-selected .image-container{
    height: auto;
    aspect-ratio: 3.6 / 1;
}

.games-selected .image{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.games-selected .game-info-container .game-words{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.games-selected .game-info-container .game-vid{
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 50rem;
    margin: 2rem 0 !important;
    position: relative;
   
    .block-Video_Embed{
        width: 100%;
        div{
            display: flex;
            justify-content: center;
            width: 100%;
        }
    }
    video{
        width: calc(100% - 12px);
        border-radius: 10px;
        outline: 6px solid var(--video-border);
        overflow: hidden;
    }
    iframe{
        border-radius: 10px;
        overflow: hidden;
        outline: 6px solid var(--video-border);
        width: calc(100% - 12px) !important;
        height: unset !important;
        aspect-ratio: 3 / 2 !important;
    } 
}
.games-selected .game-info-container .game-vid:has(.frame){
    
    .frame{
        position: relative;
        width: calc(100% );
        
        z-index: 2;
        user-select: none;
        pointer-events: none;
    }
    .block-Video_Embed, video{
        position: absolute;
        z-index: 1;
        border-radius: 0 !important;
        outline: unset !important;
        width: 97% !important;
        top: 2.5%;
    }
    iframe{
        border-radius: 0 !important;
        outline: unset !important;
        width: 97% !important;
        top: 2.5%
    }
}
.games-selected .game-info-container-vertical .game-vid{
    
    grid-area: 4 / 1 / 9 / 6; 
    video,iframe{
        margin-top: 3rem;
    }
}
.games-selected .game-info-container-vertical{
    max-width: 70rem;

    margin: 2rem auto !important; 
	float: none !important; 

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 0px;
}
.games-selected .game-info-container-vertical:has(.game-vid){
    grid-template-rows: repeat(8, 1fr) !important;
}
.games-selected .game-info-container-horizontal{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 70rem;
    margin: 2rem auto !important; 
	float: none !important; 
}

.games-selected .game-info-container-vertical .game-words-container{
    
    grid-area: 1 / 1 / 5 / 4; 
}

.games-selected .game-title{
    font-size: 2.25rem;
    font-weight: bold;
    font-family: Poppins-Extra-Bold;
    text-transform: uppercase;

    color: var(--games-dropdown-title);

    margin-bottom: 1rem;
}
.games-selected .game-info-container-horizontal .game-title{
    text-align: center;
}

.games-selected .game-desc{
    font-size: 12pt;
    font-family: Poppins-Semi-Bold;
    color: var(--games-text-info);
}

.games-selected .game-info-container-vertical .game-logo-container{
    width: 75%;
    height: auto;
    justify-self: end;
    grid-area: 1 / 4 / 6 / 6;
}

.games-selected .game-info-container-horizontal .game-logo-container{
    height: auto;
    display: flex;
    justify-content: center;

    margin-bottom: 1.5rem;
}

.game-info-container-vertical .game-logo,
.game-info-container-horizontal .game-logo{
    width: 100%;
    object-fit: cover;
    max-height: 100%;
}

.games-selected .game-info-container-vertical .game-downloadable-container{
    grid-area: 5 / 1 / 6 / 4;
    margin: 0;
    align-items: flex-end ;
}
.games-selected .game-info-container-horizontal .game-downloadable-container{
    margin-top: 2rem;
}

.games-selected .game-downloadable-container{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 1rem;
    width: 100% !important;
    /* height: auto; */
    
}
.games-selected .game-downloadable-container img{
    /* width: 100%; */
    height: 100%;
    /* flex-grow: 1; */
    /* object-fit: cover; */
    /* max-width: 9rem; */
    max-height: 4rem;
}
.games-selected .game-downloadable-container a{
    text-decoration: none;
    
}

.hide-content{
    position: relative;
}

.hide-content .game-words-container,
.hide-content .game-logo-container{
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease, visibility 0s 1s;
}

.hide-extra{
    visibility: hidden;
}

@media (max-width: 1750px) {
    .games-selected .game-info-container-vertical{
        padding: 0 5%;
    }
    
    .games-selected .game-info-container-horizontal{
        padding: 0 5%;
    }
}


@media (min-width: 1490px) {
    /* .games-selected .game-title{
        font-size: 3rem;
    } */

    /* .games-selected .game-desc{
        font-size: 1.5rem;
    } */
}

@media (max-width: 1490px) {
    /* .games-selected .game-title{
        font-size: 2.5rem;
    } */

    /* .games-selected .game-desc{
        font-size: 1.25rem;
    } */
}

@media (max-width: 1240px) {
    /* .games-selected .game-title{
        font-size: 2rem;
    }

    .games-selected .game-desc{
        font-size: 1rem;
    } */
    .games-selected .game-info-container-horizontal .game-downloadable-container{
        width: 40%;
    }
}

@media (max-width: 960px) {
    .games-selected .game-info-container-vertical .game-words-container{
        width: 80%;
    }

    .games-selected .game-info-container-vertical{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .games-selected .game-title{
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .games-selected .game-info-container-vertical .game-logo-container{
        margin-top: 1rem;
        margin-bottom: 1rem;
        width: 30%;
    }

    .games-selected .game-info-container-horizontal .game-logo-container{
        margin-bottom: 1rem;
    }

    

    

}
@media (max-width: 790px) {
    .games-selected .game-title{
        font-size: 1.75rem;
    }
    .games-selected .game-desc{
        font-size: 0.9rem;
    }

    .games-selected .game-info-container-vertical .game-logo-container{
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        width: 35%;
    }

    .games-selected .game-info-container-horizontal .game-logo-container{
        margin-bottom: 0.8rem;
    }

    .games-selected .game-info-container .game-downloadable-container{
        width: 60%;
        grid-row-gap: 1.15rem;
    }

    .games-selected .game-info-container .game-downloadable-container a:nth-child(1){
        grid-area: 1 / 1 / 3 / 3;
    }
    .games-selected .game-info-container .game-downloadable-container a:nth-child(2){
        grid-area: 3 / 1 / 5 / 3;
    }
    .games-selected .game-info-container .game-downloadable-container a:nth-child(3){
        grid-area: 1 / 2 / 3 / 4;
    }
    .games-selected .game-info-container .game-downloadable-container a:nth-child(4){
        grid-area: 3 / 2 / 5 / 4;
    }

    .games-selected .game-info-container-horizontal .game-downloadable-container{
        margin-top: 1rem;
    }

}


@media (max-width: 560px) {
    .games-selected .game-title{
        font-size: 1.5rem;
    }

    .games-selected .game-desc{
        font-size: 0.8rem;
    }


    .games-selected .game-info-container-vertical .game-logo-container{
        width: 40%;
    }

    .games-selected .game-info-container-vertical .game-downloadable-container{
        width: 70%;
        grid-row-gap: 0.8rem;
    }

    .games-selected .game-info-container .game-downloadable-container{

        width: 50%;

        margin-left: auto;
        margin-right: auto;

        flex-wrap: wrap;

        gap: 1rem;
    }


}


@media (max-width: 420px) {
    .games-selected .game-info-container-vertical{
        margin-top: 0.7rem;
    }
    .games-selected .game-info-container-horizontal{
        margin-top: 0.7rem;
    }

    .games-selected .game-info-container-vertical .game-words-container{
        width: 85%;
    }

    .games-selected .game-title{
        font-size: 1.4rem;
        margin-bottom: 0;
    }

    .games-selected .game-desc{
        font-size: 0.75rem;
    }

    .games-selected .game-info-container-vertical .game-logo-container{
        width: 50%;
    }
    .games-selected .game-downloadable-container{
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center !important;
        align-items: center !important;
    }
}

@media (max-width: 350px) {

    .games-selected .game-title{
        font-size: 1.35rem;
    }

    .games-selected .game-info-container-horizontal .game-title{
        font-size: 1.2rem;
    }

    .games-selected .game-desc{
        font-size: 0.7rem;
    }

    .games-selected .game-info-container-vertical .game-logo-container{
        width: 55%;
    }

}