body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    overflow-x: hidden;
    background: black;
    width: 100vw;
}

@font-face {
    font-family: "pixel";
    src: url("../Fonts/dogicapixel.ttf");
}

.games-wrapper section div .games-s img:hover{
    transform: scale(1.025);
}

.games-wrapper{

    display: flex;
    flex-direction: column;
    p{
        font-size: 1rem;
    }

    section{
        width: 100vw;
        height: 100vh;
        padding: 2rem,2rem;
        border: 0;

        div{
            text-align: center;
            
            .games-s{
                width: 90svw;
                height: 60svh;
                margin-left: 5svw;
                margin-top: 0;
                word-wrap: break-word;
                display: flex;

                gap: 1rem;
                align-items: center;

                p{
                    font-size: 1rem;
                    padding: 2.5rem;
                    text-align: center;
                    align-items: center;
                }


                .ss{
                    width: 38%;
                    border-radius: 20px;
                    box-shadow: 0 8px 16px 0 rgb(18, 22, 26);
                    transition: 0.2s linear;
                }

                .games-text{
                    width: 20%;

                    img{
                        width: 50%;
                    }
                }

                
                background: rgba(92, 127, 137, 0.11);
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
                border-radius: 20px;
                border: 1px solid rgb(30, 30, 30);
                box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
            }

            h1{
                font-family: "pixel";
                font-size: 5vw;
            }
        }
    }

    .bg{
        position: absolute;
        object-fit: cover;
        border: 0;
        height: 100%;
        z-index: -2;
        overflow: hidden;
    }
}

.popup-image{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(92, 127, 137, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
    z-index: 100;
    display: none;

    span{
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 40px;
        font-weight: bolder;
        color: white;
        cursor: pointer;
        z-index: 100;
    }

    img{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 20px;
        height: 85%;
        width: auto;
        box-shadow: 0 8px 16px 0 rgb(18, 22, 26);
        object-fit: cover;
    }
}

@media only screen and (max-width: 800px){
    .games-wrapper{
        display:flex;
        flex-direction: column;

        p{
            font-size: 1rem;
        }
    
        section{
    
            div{
                text-align:center;
                .games-s{
                    width: 90svw;
                    height: 90svh;
                    margin-left: 0svw;
                    margin-top: 0;
                    word-wrap: break-word;
                    display:  inline-block;
                    align-items: center;
                    text-align: center;
                    align-content: center;
    
                    gap: 1rem;
    
                    p{
                        font-size: 1rem;
                    padding: 2.5rem;
                    text-align: center;
                    align-items: center;
                    }

                    .ss{
                        border-radius: 20px;
                        box-shadow: 0 8px 16px 0 rgb(28, 37, 47);
                        height: 30%;
                        width: auto;
                    }
    
                    background: rgba(92, 127, 137, 0.11);
                    backdrop-filter: blur(10px);
                    -webkit-backdrop-filter: blur(10px);
                    border-radius: 20px;
                    border: 1px solid rgb(30, 30, 30);
                    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
    
                    .games-text{
                        margin-left: 5%;
                        width: 90%;
                        align-items: center;

                        img{
                            width: 20%;
                        }
                    }
                }
    
                h1{
                    font-family: "pixel";
                    font-size: 5vw;
                }
            }
        }
    
        .bg{
            position: absolute;
        object-fit: cover;
        border: 0;
        height: 100svh;
        width: 100vw;
        z-index: -2;
        }
    }
    .popup-image{
        img{
            width: 95%;
            height: auto;
        }
    }

    
}