﻿/* BLAZOR */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    /*outline: 1px solid red;*/
}

.validation-message {
    color: red !important;
    font-size: 12px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
}

/* DESIGN SYSTEM */

:root {
    --primary-light: #AA00A2;
    --primary-normal: #670062;
    --primary-dark: #3C0039;
    --secondary-light: #00A08A;
    --secondary-normal: #006154;
    --terciary-normal: #FFB300;
    --black: #3D3D3D;
    --gray: #9A9A9A;
    --white: #EEEEEE;
    --success: #00960F;
    --alert: #AB0000;
    --invisible: rgba(0,0,0,1);
    --primary-font: 'Open Sans';
}

body {
    font-family: var(--primary-font);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: var(--white);
    background-color: var(--primary-dark);
}

h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 65px;
}

h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
}

h3 {
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
}

h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
}

h5 {
    font-weight: 700;
    font-size: 20px;
    line-height: 22px;
}

a {
    text-decoration-color: none;
    text-decoration-line: underline;
    color: var(--white);
}

    a:visited {
        text-decoration-color: none;
        text-decoration-line: underline;
        color: inherit;
    }

    a:not([href]):hover {
        cursor: pointer;
    }

label {
    line-height: 16px;
}

::placeholder {
    font-size: 12px;
    line-height: 16px;
}

.logo {
    font-style: italic;
    font-weight: 700;
    font-size: 40px;
    color: var(--terciary-normal);
}

.logo:hover {
    cursor: pointer;
}

/* INPUT */

.primary-input {
    border-bottom: 2px solid var(--primary-light);
    border-radius: 5px;
    background: var(--white);
    height: 38px;
    width: 100%;
    padding: 0 10px 0 10px;
    display: block;
    box-sizing: border-box;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: var(--primary-font);
}

    .primary-input:focus {
        border-bottom-color: var(--white);
        border-color: var(--primary-light);
        box-shadow: 0 -0.04rem 0rem 0.1rem var(--primary-light);
    }

textarea.primary-input {
    height: auto;
    padding: 10px;
}

.input-group {
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-width: 180px;
    width: 100%;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

    .input-group:focus-within {
        border-color: var(--terciary-normal);
        box-shadow: 0 0 0 0.1rem var(--terciary-normal);
    }

        .input-group:focus-within *:focus {
            border-color: inherit;
            box-shadow: inherit;
        }

    .input-group > .primary-input {
        position: relative;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        width: 1%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border: none;
    }

        .input-group > .primary-input:focus {
            border-color: inherit;
            box-shadow: inherit;
        }

.input-group-append {
    display: flex;
    border-radius: 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: var(--terciary-normal);
    align-items: center;
    padding: 0px 4px;
    color: var(--black);
}

.input-group-append:hover {
    cursor: pointer;
}

/* BUTTON */

.simple-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: auto;
    height: 38px;
    padding: 0 20px;
    border-radius: 20px;
    font-family: var(--primary-font);
    font-size: 16px;
    color: var(--white);
    background-color: var(--secondary-light);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .simple-button:hover {
        box-shadow: 1px 1px 25px 10px rgba(146, 148, 248, 0.4);
    }

    .simple-button:before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, var(--secondary-normal), transparent );
        transition: all 650ms;
    }

    .simple-button:hover:before {
        left: 100%;
    }

.outstanding-button {
    display: flex;
    align-items: center;
    justify-content: left;
    width: auto;
    height: 30px;
    padding: 0 15px 0 10px;
    margin: 5px 0 5px;
    border-radius: 7.5px;
    font-family: var(--primary-font);
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

    .outstanding-button:hover {
        box-shadow: inset 0 0 8px #3d3d3d, 0 0 4px #ffb300;
        outline-color: rgba(255, 255, 255, 0);
        outline-offset: 15px;
        text-shadow: 1px 1px 2px var(--gray);        
    }

    .outstanding-button > span {
        margin-bottom: 1px;
    }

    .outstanding-button.play-button {
        color: var(--black);
    }

    .outstanding-button.bounce-animation:hover {
        box-shadow: inset 0 0 10px #3d3d3d, 0 0 20px #ffb300;
        outline-color: rgba(255, 255, 255, 0);
        outline-offset: 15px;
        text-shadow: 1px 1px 2px var(--gray);
    }

    .outstanding-button.info-button {
        color: var(--white);
        background-color: var(--gray);
    }

    .outstanding-button > i {
        margin-right: 5px;
    }

@media (min-width: 768px) {
    .outstanding-button {
        height: 45px;
    }

        .outstanding-button > i {
            font-size: 36px;
        }

        .outstanding-button > span {
            font-size: 1.6rem;
        }
}

.bounce-animation {
    animation: bounce 2s ease 3s infinite alternate;
}

@keyframes bounce {
    0% {
        -webkit-transform: scale(1.05,.9);
        transform: scale(1.05,.9);
    }

    10% {
        -webkit-transform: scale(.9,1.1) translateY(-.5rem)
    }

    30% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    35% {
        
    }
 }

/* ICONS */

.big-button i {
    font-size: 40px;
    margin: 0 5px 0 0;
}

.small-button i {
    margin: 5px 5px 5px 0;
}

.star {
    animation: stared-animation 1s alternate forwards;
}

.star:hover {
    cursor: pointer;
}

    .star.starred {
        color: var(--terciary-normal);   
        animation: stared-animation 1s alternate forwards;
    }

@keyframes stared-animation {
    0% {
        transform: rotateY(0deg);
    }

    20% {
        transform: rotateX(0deg);
    }

    40% {
        transform: rotateY(-90deg);
    }

    60% {
        transform: rotateX(-90deg);
    }
    80% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

/* LAYOUT */

.wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.content {
    flex: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-normal);
    color: var(--white);
    flex-direction: column;
    align-items: flex-start;
}

.brand-title {
    display: flex;
    font-size: 1.5rem;
    margin: 0.5rem;
    align-items: center;
}

.navbar-links {
    display: none;
    width: 100%;
}

    .navbar-links > ul {
        margin: 0;
        padding: 0 0.5rem;
        display: flex;
        align-items: center;
        justify-content: left;
        flex-direction: column;
        width: 100%;
    }

    .navbar-links > ul > li {
        width: 100%;
        list-style: none;
        transform-box: border-box;
        padding: 0.8rem;
        padding-left: 1.5rem;
        white-space: nowrap;
    }

.navbar-links li:hover {
    cursor: pointer;
}

    .navbar-links li a {
        text-decoration: none;
    }

.navbar-links.active {
    display: flex;
}

.toggle-button,
.search-button {
    display: flex;
    padding: 10px;
    width: 30px;
    height: 100%;
    cursor: pointer;
}

.minimized-navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .minimized-navbar > a {
        text-decoration: none;
    }

.footer {
    text-align: center;
    color: var(--gray);
    background-color: var(--black);
    padding: 10px 10px;
}

.hide-on-mobile {
    display: none;
}

.hide-on-desktop {
    display: block;
}

@media (min-width: 768px) {
    .hide-on-mobile {
        display: block;
    }
    
    .hide-on-desktop {
        display: none;
    }

    .navbar {
        padding: 0 50px;
        flex-direction: initial;
        align-items: initial;
    }

    .navbar-links {
        display: flex;
        width: initial;
    }

    .navbar-links > ul {
        flex-direction: initial;
        width: initial;
    }

    .navbar-links > ul > li {
        padding: .5rem;
    }

    .toggle-button,
    .search-button {
        display: none;
        padding: initial;
    }

    .mega-box {
        position: absolute !important;
        top: 85px !important;
        opacity: 0;
        visibility: hidden;
    }

        .mega-box.active {
            max-height: initial;
            transition: all 0.4s ease;
        }

    .nav-links .mobile-item {
        display: none;
    }

    .nav-links .desktop-item {
        display: initial;
    }

    .content .row .mega-links {
        padding-left: unset;
    }

    .row .mega-links li a {
        text-align: center;
    }

    .mega-box .content .row {
        width: unset;
    }

    .mega-box .content {
        box-shadow: 0 6px 10px rgba(0,0,0,0.15);
        flex-direction: unset !important;
        padding: 0px 200px;
    }

    .row .mega-links > li:last-child {
        margin-bottom: 5px;
    }
}

@media (min-width: 1024px) {
    .navbar {
        padding: 0 100px;
    }

    .mega-box .content {
        padding: 0px 300px;
    }
}

@media (min-width: 1440px) {
    .navbar {
        padding: 0 200px;
    }

    .mega-box .content {
        padding: 0px 500px;
    }
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    background: #3A3B3C;
}

.nav-links .mobile-item {
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links .desktop-item {
    display: none;
}

.mega-box-toggle {
    display: flex;
    align-items: center;
}

.mega-box {
    position: static;
    left: 0;
    top: 65px;
    opacity: 1;
    visibility: visible;
    max-height: 0px;
    overflow: hidden;
    width: 100%;
    z-index: -1;
}

    .mega-box.active {
        top: 52px !important;
        opacity: 1;
        visibility: visible;
        z-index: 3;
        max-height: 100%;
    }

    .mega-box .content {
        background: var(--primary-normal);
        display: flex;
        justify-content: space-between;
        box-shadow: none;
        flex-direction: column;
    }

    .mega-box .content .row {
        width: calc(25% - 30px);
        line-height: 45px;
        width: 100%;
    }

.content .row .mega-links {
    margin-left: -40px;
    padding-left: 15px;
}

.row .mega-links li {
    padding: 0 20px;
    margin: 0;
}

.row .mega-links li a {
    padding: 0 20px;
    display: block;
}

    .row .mega-links li a:hover {
        color: #f2f2f2;
        box-shadow: inset 0px 0px 9px -3px var(--white);
        border-radius: 5px;
    }

#menu-btn:checked ~ .nav-links {
    left: 0%;
}

.backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -2;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    transition: opacity .5s;
}

    .backdrop.show {
        z-index: 2;
    }

        .backdrop.show.opacity-background {
            opacity: 1;
            background-color: rgb(0 0 0 / 80%);
        }

.modal {
    left: auto;
    margin-right: auto;
    margin-left: auto;
    z-index: -1;
    display: block;
    max-width: 500px;
    background-color: var(--primary-normal);
    border-radius: 0.3rem;
    transition: transform .4s ease-in-out;
    transform: scale(0.8);
    visibility: hidden;
}

    .modal:not(.expanded) {
        position: absolute;
        top: 30vh;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .modal.show {
        visibility: visible;
        z-index: 3;
        transform: scale(1);
    }

    .modal.expanded {
        max-width: 800px;
        margin: 1.75rem auto;
        position: relative;
        width: auto;
        background-color: var(--primary-dark);
    }

        .modal.expanded .modal-header {
            display: none;
        }

        .modal.expanded .modal-body {
            padding: 0;
        }

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid var(--white);
}

    .modal.expanded .modal-header {
        border: none;
    }

.modal-header > i {
    padding: 10px;
}

    .modal-header > i:hover {
        cursor: pointer;
    }

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

    .modal-body > form > div {
        margin: 20px 0;
    }

    .modal-body > form > div > label {
        display: block;
        margin-bottom: 5px;
    }

    .modal-body > form > div.links {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modal-body > form > div.links > div {
        display: flex;
        flex-direction: column;
    }

        .modal-body > form > div.links > div > * {
            display: block;
        }

        .modal-body > form > div.links > div > a:first-child {
            margin-bottom: 15px;
        }

@media (min-width: 768px) {
    .modal-body > form > div.links > div {
        flex-direction: row;
    }

    .modal-body > form > div.links > div > a:first-child {
        margin-bottom: 0px;
        margin-right: 10px;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 40px 0;
}

    .pagination .page-item:hover {
        cursor: pointer;
    }

    .pagination .page-item.active:hover {
        cursor: default;
    }

    .pagination .page-item .page-link {
        width: 35px;
        height: 35px;
        line-height: 33px;
        text-align: center;
        border-radius: 5px;
        background-color: var(--secondary-normal);
    }

    .pagination .page-item > i {
        color: var(--secondary-normal);
        padding: 5px;
    }

    .pagination .page-item .page-link {
        position: relative;
        display: block;
        color: var(--white);
        text-decoration: none;
    }

    .pagination .page-item.active .page-link {
        background-color: inherit;
    }

.carousel .carousel-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-left: 30px;
    margin-top: 20px;
}

.carousel .carousel-posters {
    display: flex;
    align-items: center;
    overflow-y: hidden;
    overflow-x: scroll;
    transition: 500ms;
    scroll-behavior: smooth;
    margin-bottom: 20px;
}

    .carousel .carousel-posters::-webkit-scrollbar {
        display: none;
    }

    .carousel .carousel-posters .carousel-poster {
        margin: 0 4px;
    }

    .carousel .carousel-posters .carousel-poster:first-child {
        margin-left: 30px;
    }

.carousel .scroll-button {
    position: absolute;
    height: 150px;
    width: 43px;
    background-color: #0f0f0f4b;
    display: flex;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
}

.carousel .right-arrow {
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 500ms;
}

.carousel .left-arrow {
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 500ms;
}

.carousel .carousel-posters:hover .right-arrow {
    opacity: 1;
    visibility: visible;
}

.carousel .carousel-posters:hover .left-arrow {
    opacity: 1;
    visibility: visible;
}

.carousel .arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.carousel .right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.carousel .left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.spinner {
    display: inline-block;
    width: 80px;
    height: 80px;
}
    .spinner.screen-centered {
        position: absolute;
        top: calc(50% - 64px);
        left: calc(50% - 64px);
    }

    .spinner:after {
        content: " ";
        display: block;
        width: 64px;
        height: 64px;
        margin: 8px;
        border-radius: 50%;
        border: 6px solid #fff;
        border-color: #fff transparent #fff transparent;
        animation: spinner 1.2s linear infinite;
    }

    .spinner:not(.screen-centered) {
        display: inherit;
        margin: auto;
    }

    .spinner:not(.screen-centered):after {
        margin: auto;
    }

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ADS */

.ad {
    position: relative;
    width: fit-content;
    height: fit-content;
}

    .ad i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 16px;
        background-color: var(--white);
        color: var(--secondary-light);
    }

    .ad i:hover {
        cursor: pointer;
    }

    .ad img {
        background-repeat: repeat;
        object-fit: cover;
    }

    .ad .ad-160x600{
        width: 160px;
        height: 600px;
    }

    .ad .ad-300x250 {
        width: 300px;
        height: 250px;
    }

    .ad .ad-300x600 {
        width: 300px;
        height: 600px;
    }

    .ad .ad-728x90 {
        width: 728px;
        height: 90px;
        object-position: 0 -250px;
    }

    .ad .ad-970x90 {
        width: 970px;
        height: 90px;
    }

/* GAMES */

.game-card {
    display: inline-block;
    position: relative;
    height: 140px;
    width: 250px;
    cursor: pointer;
    background-image: linear-gradient(var(--invisible), #0f0f0f);
    border-radius: 4px;
    overflow: hidden;
}

    .game-card > img {
        height: 100%;
        width: 100%;
        -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgb(0 0 0 / 30%)));
        border-radius: 4px;
        transition: transform .5s ease;
    }

    .game-card > h5 {
        position: absolute;
        left: 10px;
        bottom: 10px;
    }

    .game-card > i {
        position: absolute;
        right: 10px;
        top: 10px;
        text-shadow: 0px 0px 7px var(--terciary-normal);
    }
   
    .game-card:hover img {
        transform: scale(1.5);
    }


.gameplay-main-container {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.gameplay-main-container > .ad {
    margin: 0 40px;
    display: none;
}

.game-with-ad {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

    .game-with-ad > .ad {
        margin: 40px 0;
        display: none;
    }

@media (min-width: 1024px) {
    .game-with-ad > .ad {
        display: block;
    }
}

@media (min-width: 1440px) {
    .gameplay-main-container > .ad {
        display: block;
    }
}

.gameplay-title {
    text-align: center;
    margin: 20px;
}

.gameplay-container {
    width: 100%;
    border: 5px var(--primary-normal) solid;
    border-radius: 5px 5px 30px 30px;
}

.gameplay-box > img {
    width: 100%;
    height: 100%;
}

.gameplay-box-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 48px;
    border-radius: 0 0 20.8px 20.8px;
    background-color: var(--primary-normal);
}

.gameplay-box-bar i {
    font-size: 28px;
}

    .gameplay-box-bar i:hover {
        cursor: pointer;
    }


.likes-bar > i:first-child {
    margin-right: 10px;
}

i.like.selected {
    text-shadow: 0 0 0 whitesmoke;
    animation: smoky-like 2s;
}

i.dislike.selected {
    text-shadow: 0 0 0 whitesmoke;
    animation: smoky-dislike 2s;
}

@keyframes smoky-like {
    to {
        transform: translate3d(0px, -80px, 0) rotate(-40deg) skewX(20deg) scale(1.5);
        text-shadow: 0 0 20px whitesmoke;
        opacity: 0;
    }
}

@keyframes smoky-dislike {
    to {
        transform: translate3d(0px, 80px, 0) rotate(-40deg) skewX(20deg) scale(1.5);
        text-shadow: 0 0 20px whitesmoke;
        opacity: 0;
    }
}

.outstanding-game-card {
    position: relative;
    background-image: linear-gradient(var(--invisible), #0f0f0f);
}

    .outstanding-game-card > img {
        width: 100%;
        height: 100%;
        -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgb(0 0 0 / 10%)));
    }

    .outstanding-game-details {
        position: absolute;
        left: 5%;
        bottom: 5%;
    }

        .outstanding-game-details > * {
            margin-bottom: 5px;
        }

        .outstanding-game-details > h1 {
            font-size: 30px;
            line-height: initial;
        }

        .outstanding-game-details > h4 {
            font-size: 14px;
            line-height: initial;
            font-weight: initial;
        }

        .outstanding-game-details > div.outstanding-buttons {
            display: flex;
        }

            .outstanding-game-details > div.outstanding-buttons > *:first-child {
                margin-right: 5px;
            }

@media (min-width: 768px) {
    .outstanding-game-card {
        height: 75vh;
    }

    .outstanding-game-details > h1 {
        font-size: 46px;
    }

    .outstanding-game-details > h4 {
        font-size: 18px;
    }

    .outstanding-game-details > div.outstanding-buttons > *:first-child {
        margin-right: 10px;
    }

    .gameplay-box-bar i {
        font-size: 36px;
    }

    .gameplay-box-bar {
        height: 64px;
    }
}

@media (min-width: 1024px) {
    .game-with-ad {
        width: auto;
    }

    .gameplay-container {
        width: auto;
        min-width: 970px;
    }
}

/* SEARCH PAGE */

.search-container {
    max-width: 800px;
    margin: 40px 10px;
}

    .search-container > * {
        margin: 20px 10px;
    }

    .search-container > .search-title {
        text-align: center;
    }

    .search-container > .search-filters {
        display: flex;
        justify-content: space-between;
    }

    .search-container > .search-filters > .search-filter {
        width: 30%;
    }

    .search-container > .search-filters > .search-filter > label {
        display: block;
        margin-bottom: 5px;
    }

.games-grid {
    display: grid;
    align-content: center;
    grid-template-columns: auto;
    gap: 10px;
    justify-content: center;
}

.games-grid > * {
    margin: 10px;
}


@media (min-width: 768px) {
    .search-container {
        margin: 40px auto;
    }

    .games-grid {
        grid-template-columns: auto auto;
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: auto auto auto;
    }
}

@media (min-width: 1440px) {
    .games-grid {
        grid-template-columns: auto auto auto auto;
    }
}

@media (min-width: 1440px) {
    .games-grid {
        grid-template-columns: auto auto auto auto;
    }
}

.game-modal > div.game-modal-play {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.game-modal h3 {
    margin-bottom: 20px;
}

.game-modal h5 {
    margin-bottom: 10px;
}

.game-modal p {
    margin-bottom: 20px;
}

    .game-modal .carousel .carousel-posters .carousel-poster:first-child,
    .game-modal .carousel .carousel-title {
        margin-left: 0;
    }

    .game-modal .game-modal-video {
        position: relative;
    }

    .game-modal .game-modal-video > i {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 10px;
        cursor: pointer;
    }

    .game-modal .game-modal-info {
        padding: 1rem;
        padding-top: 0;
    }

    .game-modal .video {
        position: relative;
        -webkit-mask-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 0) 100%);
    }

    .game-modal .outstanding-button {
        height: 45px;
        background-color: var(--terciary-normal);
    }

    .game-modal .outstanding-button > i {
        font-size: 36px;
    }

    .game-modal .outstanding-button > span {
        font-size: 1.6rem;
    }

@media (min-width: 768px) {
    .game-modal .game-modal-info .game-modal-info-details {
        display: flex;
    }

    .game-modal-info-details > p {
        margin-right: 30px;
        text-align: justify;
    }

    .game-modal-info-details > div {
        min-width: 180px;
    }
}

/* ACCOUNT PAGE */

.my-account-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.my-account-main > h3 {
    margin: 20px;
}

.my-account-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .my-account-info p {
        margin: 10px;
        color: var(--terciary-normal);
    }

    .my-account-info .user-pic i {
        font-size: 180px;
    }

.my-account-info > h5 {
    margin-top: 10px;
}

.my-account-pasive-info {
    display: flex;
}

.my-account-pasive-info > div {
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.my-account-info > .editable {
    display: flex;
    align-items: center;
}

.my-account-info > .editable > i {
    color: var(--secondary-light);
    cursor: pointer;
}

/* NOT FOUND */

.inner {
    text-align: center;
    height: auto;
    overflow: hidden;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .inner img {
        max-width: 267px;
    }

    .inner .message {
        display: flex;
        flex-direction: column;
        padding: 24px;
    }

    .inner .message h1 {
        padding-bottom: 0;
        margin-bottom: 2rem;
        font-size: 1.875rem;
        line-height: 1.1;
    }

        .inner .message h2 {
            margin-bottom: 2.5rem;
            line-height: 1.4;
        }

        .inner .message h2 {
            font-size: 1em;
            font-weight: 400;
            font-weight: var(--body-font-weight);
            line-height: 1.2em;
            color: #a3a8ab;
            margin: 0;
            padding: 0;
        }

.how-to-play-modal > h5 {
    margin-bottom: 10px;
}

.how-to-play-modal > p {
    margin-bottom: 30px;
}

.how-to-play-modal > ul > li {
    margin-left: 30px;
    list-style: circle;
}

.minecraft-cube-wrapper {
    width: 100%;
    height: 100%;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.minecraft-cube {
    position: relative;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotation 10s infinite alternate;
}

@keyframes rotation {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }

    100% {
        transform: rotateY(720deg) rotateX(60deg);
    }
}

.minecraft-cube-side {
    position: absolute;
    width: 100px;
    height: 100px;
}

.minecraft-cube-side.left {
    background-image: url('https://uploaddeimagens.com.br/images/000/955/232/full/side.jpg?1497835464');
    transform: translateX(-50px) rotateY(90deg);
}

.minecraft-cube-side.right {
    background-image: url('https://uploaddeimagens.com.br/images/000/955/232/full/side.jpg?1497835464');
    transform: translateX(50px) rotateY(90deg);
}

.minecraft-cube-side.bottom {
    background-image: url('https://uploaddeimagens.com.br/images/000/955/231/full/bottom.jpg?1497835434');
    transform: translateY(50px) rotateX(90deg);
}

.minecraft-cube-side.top {
    background-image: url('https://uploaddeimagens.com.br/images/000/955/233/thumb/top.jpg?1497835487');
    transform: translateY(-50px) rotateX(90deg);
}

.minecraft-cube-side.back {
    background-image: url('https://uploaddeimagens.com.br/images/000/955/232/full/side.jpg?1497835464');
    transform: translateZ(-50px);
}

.minecraft-cube-side.front {
    background-image: url('https://uploaddeimagens.com.br/images/000/955/232/full/side.jpg?1497835464');
    transform: translateZ(50px);
}

/* TOASTS */

.toast {
    display: none;
    padding: 1rem;
    color: #fff;
    z-index: 2;
    position: fixed;
    min-width: 20rem;
    max-width: 25rem;
    bottom: 0;
    border-radius: 1rem;
    margin: 1rem;
}

.toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .toast-body p {
        margin-bottom: 0;
    }

.toast-visible {
    display: flex;
    flex-direction: row;
    animation: fadein 1.5s;
}

.toast-info {
    background-color: var(--black);
}

.toast-success {
    background-color: var(--success);
}

.toast-warning {
    background-color: var(--terciary-normal);
}

.toast-error {
    background-color: var(--alert);
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* CONNECT 4 */

.gameplay-box .connect4 {
    background-color: gray;
}

.gameplay-box #board {
    display: block;
    width: fit-content;
    margin: auto;
}

.gameplay-box .info {
    text-align: center;
    background-color: gainsboro;
    padding: 15px;
    font-size: 24px;
    text-shadow: 0 0 1.5px black, 0 0 1.5px black, 0 0 1.5px black, 0 0 1.5px black;
}

.gameplay-box #timer {
    color: black;
}

    .gameplay-box .info > * {
        height: 24px;
        margin: 0 10px;
    }

    .gameplay-box .info > button {
        cursor: pointer;
    }

.gameplay-box #mode, #reset {
    height: 2em;
    padding: 0.1em 0.6em;
    background: #3867d6;
    border: 1px solid #a0a0a0;
    border-radius: 0.3em;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
    font-size: 20px;
    font-weight: bold;
    color: wheat;
}

.gameplay-box option {
    font-weight: bold;
}

.gameplay-box #mode:hover,
#reset:hover {
    background-color: #6080cc;
    cursor: pointer;
}

   .gameplay-box #result {
    background-color: rgba(1, 1, 1, 0.70);
    font-weight: bolder;
    padding: 2em 0 2em 0;
    width: 100%;
    position: absolute;
    top: 40%;
    text-align: center;
    color: wheat;
}

.gameplay-box .game-container {
    position: relative;
}

/* SAMURAI APOCALYPSE */

.gameplay-box .samurai-apocalypse {
    background-color: black;
    font-family: 'Press Start 2p';
}

@keyframes scroll {
    0% {
        background-position-x: 0px;
    }

    100% {
        background-position-x: -928px;
    }
}

.runner-container {
    position: relative;
    margin: 0 auto;
    width: 928px;
    height: 640px;
    overflow: hidden;
}

.layer {
    width: 928px;
    height: 640px;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: repeat-x;
    background-size: contain;
    animation-name: scroll;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-play-state: paused;
}

    .layer.skin-2 {
        filter: hue-rotate(90deg);
    }

    .layer.skin-3 {
        filter: hue-rotate(180deg);
    }

    .layer.skin-4 {
        filter: hue-rotate(270deg);
    }

#layer-09 {
    background-image: url("../images/samuraiApocalypse/layer09.png");
    animation-duration: 20s;
}

#layer-08 {
    background-image: url("../images/samuraiApocalypse/layer08.png");
    animation-duration: 20s;
}

#layer-07 {
    background-image: url("../images/samuraiApocalypse/layer07.png");
    animation-duration: 15s;
}

#layer-06 {
    background-image: url("../images/samuraiApocalypse/layer06.png");
    animation-duration: 15s;
}

#layer-05 {
    background-image: url("../images/samuraiApocalypse/layer05.png");
    animation-duration: 14s;
}

#layer-04 {
    background-image: url("../images/samuraiApocalypse/layer04.png");
    animation-duration: 14s;
}

#layer-03 {
    background-image: url("../images/samuraiApocalypse/layer03.png");
    animation-duration: 8s;
}

#layer-02 {
    background-image: url("../images/samuraiApocalypse/layer02.png");
    animation-duration: 8s;
}

#layer-01 {
    background-image: url("../images/samuraiApocalypse/layer01.png");
    animation-duration: 5s;
}

#layer-00 {
    background-image: url("../images/samuraiApocalypse/layer00.png");
    animation-duration: 4s;
}

#character {
    width: 200px;
    height: 200px;
    position: absolute;
    bottom: 0px;
    image-rendering: pixelated;
    transform: scale(2);
    right: 700px;
}

    #character[data-skin="skin-2"] {
        filter: hue-rotate(90deg);
    }

    #character[data-skin="skin-3"] {
        filter: hue-rotate(180deg);
    }

    #character[data-skin="skin-4"] {
        filter: hue-rotate(270deg);
    }

    #character.running {
        background: url("../images/samuraiApocalypse/character-running.png");
        animation: character-running .8s steps(8) infinite;
    }

    #character.jumping {
        background: url("../images/samuraiApocalypse/character-jumping.png");
        animation: character-jumping 1.125s steps(36) forwards;
    }

    #character.taking-damage {
        background: url("../images/samuraiApocalypse/character-taking-damage.png");
        animation: character-taking-damage .2s steps(3) forwards;
    }

    #character.dying {
        background: url("../images/samuraiApocalypse/character-dying.png");
        animation: character-dying .8s steps(5) forwards;
    }

    #character.attacking {
        background: url("../images/samuraiApocalypse/character-attacking.png");
        animation: character-attacking .8s steps(6) forwards;
    }

    #character.standing {
        background: url("../images/samuraiApocalypse/character-standing.png");
        animation: character-standing .8s steps(8) infinite;
    }

@keyframes character-running {
    0% {
        background-position: 0;
    }

    100% {
        background-position: -1600px
    }
}

@keyframes character-jumping {
    0% {
        background-position: 0px;
        bottom: 0px;
    }

    24.9% {
        background-position: 0px;
    }

    25% {
        background-position: -200px;
    }

    49.9% {
        background-position: -200px;
    }

    50% {
        background-position: -400px;
        bottom: 180px;
    }

    74.9% {
        background-position: -400px;
    }

    75% {
        background-position: -600px;
    }

    99.9% {
        background-position: -600px;
    }

    100% {
        background-position: -800px;
        bottom: 0px;
    }
}

@keyframes character-taking-damage {
    0% {
        background-position: 0
    }

    100% {
        background-position: -600px
    }
}

@keyframes character-dying {
    0% {
        background-position: 0
    }

    100% {
        background-position: -1000px
    }
}

@keyframes character-attacking {
    0% {
        background-position: 0
    }

    100% {
        background-position: -1200px
    }
}

@keyframes character-standing {
    0% {
        background-position: 0
    }

    100% {
        background-position: -1600px
    }
}

.skull {
    width: 96px;
    height: 96px;
    position: absolute;
    bottom: 200px;
    right: 296px;
    background: url("../images/samuraiApocalypse/skull.png");
    animation: skull-run 1s steps(8) infinite, run-backwards 4s linear forwards;
    image-rendering: pixelated;
    transform: scale(1.4);
}

.horse {
    width: 144px;
    height: 96px;
    position: absolute;
    bottom: 78px;
    right: 46px;
    background: url("../images/samuraiApocalypse/horse.png");
    animation: horse-run .6s steps(4) infinite, run-backwards 4s linear forwards;
    image-rendering: pixelated;
    transform: scale(1.4);
}

.claw {
    width: 32px;
    height: 32px;
    position: absolute;
    bottom: 216px;
    right: 248px;
    background: url("../images/samuraiApocalypse/claw.png");
    animation: claw-idle 2s infinite, run-backwards 6s forwards linear;
    image-rendering: pixelated;
    transform: scale(1.4);
}

    .claw.taking {
        animation: claw-idle 2s infinite, run-backwards 6s forwards linear, taking .5s forwards linear;
    }

@keyframes skull-run {
    0% {
        background-position: 0;
    }

    100% {
        background-position: -768px;
    }
}

@keyframes horse-run {
    0% {
        background-position: 0;
    }

    100% {
        background-position: -576px;
    }
}

@keyframes claw-idle {
    0% {
        transform: scale(1.4);
        filter: initial;
    }

    50% {
        transform: scale(1.8);
        filter: saturate(4.5);
    }

    100% {
        transform: scale(1.4);
        filter: initial;
    }
}

@keyframes run-backwards {
    0% {
        right: -200px;
    }

    100% {
        right: 1100px;
    }
}

@keyframes taking {
    0% {
        transform: translateY(0px) rotateY(0deg);
        opacity: 1;
    }

    25% {
        transform: translateY(-35px) rotateY(180deg);
    }

    50% {
        transform: translateY(-70px) rotateY(360deg);
    }

    100% {
        transform: translateY(-60px) rotateY(720deg);
        opacity: 0;
    }
}

.labels-bar {
    display: none;
    justify-content: space-evenly;
    margin-top: 15px;
    color: #ce2038;
    font-size: 18px;
    text-shadow: -1px -1px black, 1px 1px white;
}

.lives, .claws, #gameLogo {
    z-index: 1;
}

.button {
    position: absolute;
    z-index: 1;
    padding: 5px 10px 5px 10px;
    background-color: #beacb3;
    text-shadow: -1px -1px black, 1px 1px white;
    color: #5c3747;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -o-border-radius: 7px;
    border-radius: 7px;
    box-shadow: 0 .2em #97828a;
    cursor: pointer;
    transition: all .05s ease-in-out;
}

#change-background {
    left: 660px;
    top: 600px;
    font-size: 1rem;
}

    #change-background:active, #change-character:active {
        top: 602px;
        box-shadow: none;
    }

    #change-background:hover, #change-character:hover {
        color: #ce2038;
        background-color: #e2d5da;
    }

#change-character {
    left: 50px;
    top: 600px;
}

.play {
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    font-size: 2rem;
    line-height: normal;
    font-weight: bold;
    animation: pulse 1s infinite 1s cubic-bezier(0.25, 0, 0, 1) alternate;
}

@keyframes pulse {
    from {
        color: #5c3747;
    }

    to {
        color: #ce2038;
    }
}

.play:active {
    transform: translateY(-40%) translateX(-50%);
    box-shadow: none;
}

.play:hover {
    background-color: #e2d5da;
}

#gameLogo {
    position: absolute;
    top: 120px;
    left: 50px;
    width: 90%;
}