/* Global veriables */

.container .container {
    justify-content: space-evenly;
}

.container .text-box {
    width: 90%;
}

/* game covers */

.game-card {
    background-color: var(--background-gray);
    padding: 20px;
}

.game-card img {
    float:left;
    transition: 0.3s;
    box-shadow: var(--box-shadow);
}

.game-text {
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    background-color: var(--background-red);
    width: 280px;
    box-shadow: var(--box-shadow);
}

.rating {
    margin-left:10px;
    margin-bottom: 10px;
    margin-top: 1px;
}

.video {
    margin-top: 20px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    float: none;
    clear: both;
    width: 90%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.final {
    margin-left: 22.5%;
    width:fit-content;
}

.char-text {
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    background-color: var(--background-red);
    width: 98%;
    box-shadow: var(--box-shadow);
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: var(--font-weight);
}

.avalibilty-holder {
    justify-content: space-around;
    width: fit-content;
    display: flex;
    background-color: var(--background-gray);
    margin-left: auto;
    margin-right: auto;
}

.avalibilty {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.comment-section {
    background-color: var(--background-gray);
    padding: 15px;
    width: 90%;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
}
.comment-section textarea {
    width: 99.5%;
    height: 100px;
    margin-bottom: 5px;
    box-shadow: var(--box-shadow);
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: var(--font-weight);
}

.comment-section button {
    border: none;
    background-color: var(--background-dark-red);
    color: white;
    padding: 10px;
}

.comment-section button:hover {
    transition: 0.3s;
    box-shadow: var(--box-shadow);
}

.user-comments {
    background-color: var(--background-red);
    color: white;
    margin-bottom: 10px;
    padding: 5px;
    box-shadow: var(--box-shadow);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: var(--font-weight);
}

.user-comments p {
    font-size: var(--font-size-p);
    padding: 0px;
}

@media screen and (max-width: 1620px) {
    .container .container {
        justify-content: initial;
        margin-bottom: 30px;
    }

    .game-card {
        margin-right: 5%;
        margin-left: 5%;
        display: inline-grid;
        padding-left: 40px;
    }

    .game-card img {
        margin-bottom: 20px;
    }

    .rating {
        margin-left: -25px;
    }

    .game-text {
        margin-left: -25px;
    }

}


@media screen and (max-width: 1200px) {
    .container .container{
        display: inline-grid;
        justify-content: center;
    }

    .game-card {
        width: 600px;
        display: initial;
    }

    .rating{
        margin-left: 30px;
    }

    .game-text{
        margin-left: 30px;
    }

}

@media screen and (max-width: 800px) {
    .container .container {
        justify-content: initial;
        margin-bottom: 30px;
    }

    .game-card {
        margin-right: 5%;
        margin-left: 5%;
        display: inline-grid;
        padding-left: 40px;
        width: fit-content;
    }

    .game-card img {
        margin-bottom: 20px;
    }

    .rating {
        margin-left: -25px;
    }

    .game-text {
        margin-left: -25px;
    }

}
