* {
    box-sizing: border-box;
}
.vmodal {
    /*	COMPONTENT & MODAL*/
    }
    
    .vmodal.open .modal-overlay,
    .vmodal-open .modal-window {
        opacity: 1;
        z-index: 1000;
    }
    .vmodal.open .modal-window {
        transform: translateY(0);
        opacity: 1;
    }
    
    .vmodal.open .modal-overlay{
        background: rgba(0, 0, 0, .5);
    }
    
    .vmodal.hide .modal-overlay,
    .vmodal-hide .modal-window {
        opacity: 1;
        z-index: 1000;
    }
    .vmodal.hide .modal-window {
        transform: translateY(-100vh);
        opacity: 1;
    }
    
    .modal-window, .modal-overlay {
        opacity: 0;
        z-index: -1;
    }
    
    .modal-overlay {
        position: fixed;
        top:0;
        bottom: 0;
        left: 0;
        right: 0;
        transition: background .5s ease-in;
    }
    
    .modal-window {
        width: 100%;
        padding: 0;
        transform: translateY(-200px);
        transition: transform .5s ease;
        color:white;
    }
    
    .modal-close {
       position:relative;
       float: right;
       right: 20px;
       top:5px;
       font-size: 40px;
       color:red;
       cursor: pointer;
    }
    
    .modal-body {
        padding: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
       
    }

    .GameModal {
        width: 95%;
        height: 90vh;
        border-radius: 20px;
        box-shadow: 0px 0px 20px 20px rgba(110,122,255, .2);
        overflow: auto;
    }

    .overflowing-content {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        box-shadow: 0px 0px 20px 20px rgba(110,122,255, .2);
        overflow: auto;
    }

    .GameModal .game-pic {
        width: 50%;
        height: auto;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: hidden;
        padding:50px;
        float: left;
    }   


    .game-pic img {
        width: 500px;
        border-radius: 20px;
    }
    
    .game-des {
        padding:50px;
       width: 50%;
        float: left;
    }

    .game-des h4 {
        font-size: 30px;
    }

    .down-container {
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid #505050;
        padding:10px;
        border-radius: 10px;
        width: 80%;
        margin: 0 auto;
    }

    .down-container .m-button {
        width: 180px;
        padding:10px;
        border:2px solid gray;
        border-radius: 10px;
        background: rgba(145,115,255, 1);
        color:white;
        transition: all ease .3s ;
    }

    .m-button:hover {
        border:2px solid white;
        background: transparent;
        box-shadow: 0 0 5px 5px rgba(145,115,255, .4);
        transform: scale(1.05);

    }

    .game-scenes {
        width: 80%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        gap:10px;
        padding:20px;
        
    }

    .game-scenes img {
        max-width: 300px;
    }


    @media screen and (max-width:892px) {
      .GameModal {
       border-radius: 0;
       width:100%;
       height: 100vh;
       padding: 0;
      }

      .GameModal .row{
        display: flex;
        flex-direction: column;
        padding: 0;

      }
      .GameModal .row .game-pic {
        width: 100%;

        float: none;
      }

      .GameModal .row .game-des {
        width: 100%;
        text-align: center;
      }

      .GameModal .row .game-scenes {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
      }

      .modal-close {
        top: -5px;
        right: 30px;
      }
    }