@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900);

:root {
    /* Main Colours & BG */
    --main-bg-color: #0e1226;
    --main-color: #fff;
    --second-active: #dee2e6;
    --menu-color: #140f1e;
    --sec-contents-bg: #11a1dc;
    --footer-bg: rgb(18, 18, 18);
    /* Section Colours */
    --h1-color: #dee2e6;
    --h2-color: #dee2e6;
    --h3-color: #dee2e6;
    --h4-color: #dee2e6;
    /* Main Fonts */
    --main-fonts: 'Roboto', sans-serif;
    /* Login btn */
    --btn-login-bg: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 43.75%, #D3D3D3 100%);
    --btn-login-bg-hover: linear-gradient(180deg, #FFFFFF 0%, #f6f6f6 43.75%, #b8b8b8 100%);
    --btn-login-color: #140f1e;
    /* Registration btn */
    --btn-reg-bg: linear-gradient(180deg, #11a1dc 0%, #11a1dc 100%);
    --btn-reg-bg-hover: linear-gradient(180deg, #11a1dc 0%, #11a1dc 100%);
    --btn-reg-color: #140f1e;
}

h1, h2 {
    font-weight: 300;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn, footer nav ul li a, h1, h2, header nav ul li a, section figure figcaption p {
    text-transform: uppercase;
}

.btn, .humburger, div, footer, header, section, section figure {
    position: relative;
}

#buttonTop, .btn, .humburger, .pic {
    cursor: pointer;
}

img {
    height: 100%;
    transition: all .2s ease-in-out;
    width: 100%;
    transition-delay: .1s;
}

#buttonTop {
    width: 40px;
}

section h1 {
    text-align: left;
}

footer nav ul li a, header nav ul li a {
    line-height: 3rem;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    font-weight: 300;
    text-transform: uppercase;
}

*, body, html {
    margin: 0;
    padding: 0;
}

nav ul li, .footer_grid ul li {
    list-style: none !important;
}

footer nav ul li a:hover, header nav ul li a:hover {
    color: var(--second-active);
}

body, html {
    max-width: 100%;
    min-height: 100vh;
    color: var(--main-color);
    border: none;
    overflow-x: hidden;
}

body {
    background: var(--main-bg-color);
    font-family: var(--main-fonts);
    font-size: 14px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

h1 {
    font-size: 50px;
    text-shadow: 0 0 10px transparent;
    font-weight: 800;
    line-height: 50px;
    background: var(--h1-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 30px;
    font-weight: 600;
    text-shadow: 0 0 10px transparent;
    line-height: 40px;
    background: var(--h2-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header nav ul li a, p {
    font-size: 16px;
}

p {
    font-weight: 300;
}

p {
    font-size: 15px;
}

.btn {
    font-weight: 400;
    font-size: 16px;
}

.btn, header nav ul li a {
    font-weight: 700;
    text-align: center;
}

.btn {
    font-size: 18px;
}

p {
    line-height: 22px;
    text-align: justify;
    margin: 8px 0;
}

img {
    -o-object-fit: cover;
    object-fit: cover;
}

.btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 90px;
    height: 50px;
    min-height: 50px;
    margin: 0 2px;
    padding: 0 30px;
    line-height: 1;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    user-select: none;
    color: #fff;
    background: #140f1e;
    transition: 0.2s all ease;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

header .header_row {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
}

header .header_row {
    -ms-flex-align: center;
    display: flex;
}

.btn-login:hover {
    background: var(--btn-login-bg-hover);
}

.btn-reg:hover {
    background: var(--btn-reg-bg-hover);
}

.btn-login {
    background: var(--btn-login-bg);
    color: var(--btn-login-color);
}

.btn-reg {
    background: var(--btn-reg-bg);
    color: var(--btn-reg-color);
}

#buttonTop {
    position: fixed !important;
    visibility: hidden;
    bottom: 30px;
    right: 20px;
    z-index: 99;
    transition: all .2s ease-in-out;
    opacity: 0;
    height: 40px;
    border-radius: 4px;
    background: var(--btn-reg-bg);
}

#buttonTop:hover {
    background: var(--btn-reg-bg-hover);
}
#buttonTop.show{
    opacity: 1;
    visibility: visible;
}
.humburger {
    display: none;
}

header {
    padding: 24px 0;
}

header .header_row {
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

header nav {
    z-index: 3;
}

footer nav ul, header nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

footer {
    background-color: var(--footer-bg);
    padding: 30px 0;
}

.footer_container, section figure figcaption {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

header nav ul li {
    list-style: none;
    border-right: 1px solid rgba(255, 255, 255, 0);
}

footer nav ul li {
    list-style: none !important;
}

footer nav ul li a {
    padding: 0 10px;
    color: var(--main-color);
    -webkit-transition: .2s;
    transition: .2s;
}

header nav ul li a {
    line-height: 20px;
    color: var(--main-color);
    display: block;
    padding: 8px 16px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
}

header nav ul li:last-child {
    margin-right: 0;
    border-right: none;
}

.footer_grid a, header .logo {
    width: 160px;
}

.humburger {
    position: absolute;
    width: 20px;
    right: 16px;
    -webkit-box-shadow: 0 2px 5px transparent;
    box-shadow: 0 2px 5px transparent;
    cursor: pointer;
}

.humburger svg {
    stroke: #fff;
    width: 40px;
    height: 40px;
}

section {
    padding-bottom: 20px;
    margin-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

section:last-child {
    border-bottom: 1px solid transparent;
}

section h1 {
    margin-bottom: 16px;
}

.banner_wrapper {
    width: 100%;
    height: 100%;
    display: block;
    margin: 20px 0;
    overflow: hidden;
}

.banner_wrapper:hover img {
    transform: scale(1.1);
}

section p:last-child {
    margin-top: 12px;
}

section:first-child {
    margin-top: 40px;
}

.footer_container, section figure, section figure figcaption {
    display: -webkit-box;
    display: -ms-flexbox;
}

section figure {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 30px;
}

section figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section figure figcaption {
    position: absolute;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.028);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

footer {
    margin-top: 40px;
}

.footer_grid a {
    margin: 0 8px;
}

.footer_grid svg {
    width: 60px;
    margin-right: 12px;
}

.footer_grid {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    white-space: nowrap;
    height: 60px;
}

.footer_grid ul {
    display: flex;
}

.footer_grid a {
    font-size: 15px;
    font-weight: 400;
    color: var(--main-color);
}

.footer_container {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: column;
    flex-direction: column;
}

.footer_container img {
    width: 80px;
    height: 80px;
}

@media screen and (max-width:1100px) {
    header nav {
        position: absolute;
        top: 80px;
        width: 100%;
        left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    footer nav ul {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    footer nav {
        margin-bottom: 30px;
    }

    section:first-child {
        margin-top: 80px;
    }
}

@media screen and (max-width:600px) {
    .container {
        max-width: 100%;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    p {
        font-size: 14px;
    }

    .humburger {
        display: block;
    }

    .btns-container {
        display: -webkit-box;
        display: -ms-flexbox;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
    }

    .nav_header {
        display: none !important;
        width: 100%;
    }

    header {
        padding: 16px 0;
    }

    .logo {
        width: 150px !important;
    }

    .btns-container {
        display: flex;
        position: absolute;
        width: 100%;
        top: 60px;
    }

    .btns-container a:last-child {
        margin-left: 16px;
    }

    section figure {
        height: 300px !important;
    }

    section figure figcaption {
        padding: 10px;
    }

    section:first-child {
        margin-top: 80px;
    }

    h2 {
        font-size: 24px !important;
    }
}

@media screen and (max-width:375px) {
    .btn, p {
        font-size: 12px;
    }
}

.footer_grid img {
    width: auto;
    height: 30px;
    object-fit: fill;
}

html {
    scroll-behavior: smooth;
}

section a:hover {
    color: #dee2e6 !important;
}

.games__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.games__item {
    grid-column: span 1;
}

.games__overlay {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    transition: .2s;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    display: flex;
    flex-direction: column;
    grid-gap: 10px;
}

.games__overlay:hover {
    opacity: 1;
}

@media screen and (max-width: 900px) {
    .games__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    section {
        padding-bottom: 16px;
        margin-top: 16px;
    }
}

@media screen and (max-width: 475px) {
    .games__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer_content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mobile_menu {
    opacity: 0;
    display: none;
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 100;
    width: 100%;
}
.mobile_menu.active{
    display: flex;
    opacity: 1;
}
.mobile_menu::before {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    width: 100%;
    height: 100%;
}

.mobile_menu nav {
    position: absolute;
    padding: 20px;
    left: -100px;
    left: 0;
    top: 0;
    height: 100vh;
    width: 80%;
    transition: all .2s ease-in-out;
    background: var(--main-bg-color);
    color: var(--main-color);
}

.mobile_menu nav ul {
    margin-top: 40px;
}

.mobile_menu nav ul li a {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    color: var(--btn-login-bg);
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    border-radius: 4px;
    margin: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#close_mobile {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 36px;
    cursor: pointer;
}

.bottom_footer {
    text-align: center;
    line-height: 24px;
    opacity: 0.6;
    font-weight: 300;
}