#gamesIntro{
    width: 61%;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
}
@media (max-width: 1500px){
    #gamesIntro{
        width: 81%;
    }
}

#gamesContainer{
    width: 60%;
    margin: 0 auto;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    padding: 10px;
    h2{
        margin-bottom: 5px;
    }
}
@media (max-width: 1500px){
    #gamesContainer{
        width: 80%;
    }
}
.gamesContainerBlock {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thick; /* Make scrollbar thicker */
    padding-bottom: 10px; /* Add space between scrollbar and cards */
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.gamesContainerBlock::-webkit-scrollbar {
    width: 12px; /* Increase width of scrollbar */
    background: transparent;
}
.gamesContainerBlock::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border-radius: 25px;
}
.gamesCard {
    width: 300px;
    height: 200px;
    background-color: rgb(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    overflow: hidden;
    flex: 0 0 auto;
    position: relative;
}
.gamesCardDescription {
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    opacity: 0;
    text-align: center;
    transition: all 0.3s ease;
    h4{
        text-decoration: underline;
    }
    p{
        color: rgb(200, 200, 200);
    }
}

.gamesCard:hover .gamesCardDescription {
    visibility: visible;
    opacity: 1;
}
