* {
    box-sizing: border-box;
}
:root {
    --speed: 0.85;
    --primary: #fff;
    --size: 20;
    --ease: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
body {
    /* background: #fafafa; */
    /* font-family: 'Alata', sans-serif; */
    min-height: 100vh;
    overflow-x: hidden;
    padding: 0;
}
main {
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.main-game {
    height: 100%;
    overflow: hidden;
}

section {
    /* align-items: center;
    display: flex;
    font-size: 3rem; */
    /* height: 100vh; */
    /* justify-content: center;
    scroll-snap-align: center;
    width: 100vw; */
}
.menu {
    position: fixed;
}
.menu__toggle {
    opacity: 0;
    position: absolute;
}
.menu__toggle:checked ~ .menu__content .menu__item {
    --active-x: var(--x);
    --active-y: var(--y);
    --scale: 1;
}
.menu__toggle:checked ~ .menu__toggle-label:not(.menu__toggle-label--closer) {
    --clip: circle(1000% at 0% 0%);
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(10px);
}
.menu__toggle:checked ~ .menu__toggle-label .menu__icon:nth-of-type(1) {
    --scale: 0;
}
.menu__toggle:checked ~ .menu__toggle-label .menu__icon:nth-of-type(2) {
    --scale: 1;
}
.menu__toggle-label {
    cursor: pointer;
    height: calc(var(--size, 20) * 0.5vmin);
    width: calc(var(--size, 20) * 0.5vmin);
    display: block;
    --clip: circle(100% at 0% 0%);
    -webkit-clip-path: var(--clip);
    clip-path: var(--clip);
    position: absolute;
    top: 0;
    left: 0;
    transition: backdrop-filter calc(var(--speed, 1) * 1s) var(--ease), clip-path 0s, -webkit-clip-path 0s;
}
.menu__toggle-label--closer {
    z-index: 3;
    --scale: 0;
}
.menu__icon {
    --scale: 1;
    height: calc(var(--size, 20) * 0.25vmin);
    width: calc(var(--size, 20) * 0.25vmin);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-70%, -70%) scale(var(--scale, 1));
    fill: var(--primary);
    transition: all calc(var(--speed, 1) * 1s) var(--ease);
}
.menu__icon:nth-of-type(2) {
    --scale: 0;
}
.menu__content {
    background: hsl(var(--hue, 0), 50%, 50%);
    margin: 0;
    display: block;
    list-style-type: none;
    z-index: -1;
    filter: url("#goo");
    position: absolute;
    top: 0;
    height: 0;
    width: 0;
    left: 0;
    z-index: 2;
}
.menu__content:after {
    background: hsl(var(--hue, 0), 50%, 50%);
    content: '';
    border-radius: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    height: calc(var(--size, 20) * 1vmin);
    width: calc(var(--size, 20) * 1vmin);
    top: 0;
    left: 0;
}
.menu__item {
    background: hsl(var(--hue, 0), 50%, 50%);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    list-style-type: none;
    font-size: 1rem;
    height: calc(var(--size, 20) * 1vmin);
    left: calc(var(--active-x, 0) * 1vw);
    overflow: hidden;
    place-items: center;
    position: absolute;
    text-align: center;
    top: calc(var(--active-y, 0) * 1vh);
    transform: translate(-50%, -50%) scale(var(--scale, 0.75));
    transition: all calc(var(--speed, 1) * 1s) calc(var(--delay, 0) * 1s) var(--ease);
    width: calc(var(--size, 20) * 1vmin);
}
@media (min-width: 768px) {
    .menu__item {
        font-size: 2rem;
    }
}
.menu__item:nth-of-type(1) {
    --delay: 0.1;
    --x: 35;
    --y: 35;
}
.menu__item:nth-of-type(2) {
    --delay: 0.2;
    --x: 65;
    --y: 35;
}
.menu__item:nth-of-type(3) {
    --delay: 0.3;
    --x: 35;
    --y: 65;
}
.menu__item:nth-of-type(4) {
    --delay: 0.4;
    --x: 65;
    --y: 65;
}
.menu__item:nth-of-type(5) {
    --delay: 0.5;
    --x: 65;
    --y: 65;
}
.menu__item:nth-of-type(6) {
    --delay: 0.6;
    --x: 65;
    --y: 65;
}
.menu__link {
    align-items: center;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-decoration: none;
}
.menu__link:hover {
    /* text-decoration: underline;
    */
}


.games {
    /* margin-top: 10rem; */
}

.games .row {
    padding: 1rem;
}

.game {
    /* background-image: url("https://placehold.co/600x400/EEE/31343C");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat; */
    /* background: linear-gradient(180deg, rgba(252, 182, 20, 0.5) -0.03%, rgba(18, 21, 24, 0.5) 100.03%); */
    /* border: 1px solid #ffffff8e; */
    padding: 1rem .6rem;
    margin-top: 1rem;
    text-align: center;
}

.val {
   /*background-image: url("../img/Vector\ \(26\).png") !important;*/
    padding: 1rem;
}

.apex {
    /*background-image: url("../img/Vector\ \(27\).png") !important;*/
    padding: 1rem;
}

.ass {
    /*background-image: url("../img/Vector\ \(28\).png") !important;*/
    padding: 1rem;
}

.bat {
    /*background-image: url("../img/Vector\ \(29\).png") !important;*/
    padding: 1rem;
}

.night {
    /*background-image: url("../img/Vector\ \(30\).png") !important;*/
    padding: 1rem;
}

.night img {
    height: 100% !important;
}

.night {
    margin-top: 0;
}

.game h2 {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.game span {
    color: #ADB0BC;
    font-size: 12px;
}

.game img {
    width: 100%;
    margin-bottom: 0.2rem;
    height: 280px;
    object-fit: cover;
}

.games .form-control {
    display: block;
    width: 100%;
    padding: 0.7em 1.5rem;
    font-size: 14px;
    color: #FFF;
    background-color: #4848488F;
    background-clip: padding-box;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0;
    background-image: url("https://placehold.co/600x400/EEE/31343C");
    background-position: calc(100% - 1.5rem) 50%;
    background-repeat: no-repeat;
    background-size: 1.5%;
}

.games .form-control::placeholder {
    color: #ADB0BC;
    font-size: 12px;
}

.games .form-control:focus {
    background-color: #4848488F !important;
}
.mobile {
    padding-top: 10rem;
    padding-bottom: 5rem;
    display: none;
}

.mobile-slide {
    height: 400px;
    display: flex;
    justify-content: end;
    flex-flow: column;
    padding: 1.5rem;
    /* text-align: center; */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 8px;
}

.mobile-slide h2 {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: bold;
}

.mobile .swiper-slide:first-child {
    width: 100% !important;
}

.mobile .swiper-slide:nth-last-child(3){
    width: 100% !important;
}

.new-games .swiper-container {
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 480px) {
    .new-games .swiper-container {
        min-height: 320px;
    }
}
.new-games .swiper-container-wrapper {
    display: flex;
    flex-flow: column-reverse nowrap;
    /* height: 100vh; */
    width: 100%;
}
@media (min-width: 768px) {
    .new-games .swiper-container-wrapper {
        flex-flow: row nowrap;
    }
    .games {
        margin-top: 5rem;
        padding-bottom: 5rem;
    }
}

.new-games .swiper-button-next, .swiper-button-prev {
    color: #000;
}

.new-games .gallery-thumbs {
    padding: 1rem;
}

.new-games .gallery-thumbs img {
    height: 60px;
    width: 60px;
}

.new-games .gallery-thumbs span {
    color: #FFFFFF;
    font-size: 16px;
}

.new-games .gallery-top img {
    height: 100%;
    width: 100%;
     object-fit: cover;
    border-radius: 22px;
    /* margin-left: 2rem; */
}

.new-games {
    margin-top: 12rem;
}

.new-games .swiper-slide .description,
.new-games .swiper-slide .title {
    display: block;
    opacity: 0;
    transition: 0.5s ease 0.5s;
}
.new-games .swiper-slide-active .description,
.new-games .swiper-slide-active .title {
    opacity: 1;
}
.new-games .swiper-slide-active .title {
    margin-bottom: 0.5rem;
    font-size: 24px;
    color: #000;
    transition: opacity 0.5s ease 0.5s;
}
.new-games .swiper-slide-active .description {
    font-size: 16px;
    color: #777;
    transition: opacity 0.5s ease 0.75s;
}

.new-games .gallery-top {
    position: relative;
    width: 100%;
    height: 75vh;
}
@media (min-width: 768px) {
    .new-games .gallery-top {
        width: 74%;
        height: 70vh;
        margin-right: 10px;
    }
}

.game__content {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FFF;
    text-align: center;
}

.new-games .gallery-thumbs {
    width: 100%;
    /* height: 25vh; */
    padding-top: 10px;
   /* margin-top: 1rem;*/
}
@media (min-width: 768px) {
    .new-games .gallery-thumbs {
        width: 24%;
        margin-right: 2%;
        height: 70vh;
        padding: 0;
    }
}
.new-games .gallery-thumbs .swiper-wrapper {
    flex-direction: row;
}
@media (min-width: 768px) {
    .new-games .gallery-thumbs .swiper-wrapper {
        flex-direction: column;
    }
}
.new-games .gallery-thumbs .swiper-slide {
    width: 25%;
    flex-flow: row nowrap;
    height: 100%;
    opacity: 0.75;
    cursor: pointer;
}
@media (min-width: 768px) {
    .new-games .gallery-thumbs .swiper-slide {
        flex-flow: column nowrap;
        width: 100%;
    }
}
.new-games .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    background-color: #252525;
    border-radius: 10px;
    padding: .45rem;
}

@media (max-width: 768px) {
    .games .form-control {
        background-size: 3%;
    }
    .new-games {
        display: none;
    }
    .mobile {
        display: block;
    }
    .games {
        margin-top: 5rem;
    }
}
