/* 
Theme Name: up-game 
Author: Александр Дудников
Author URI: http://aleksandrdudnikov.ru/
Version: 1.0
*/

@font-face {
    font-family: Gilroy;
    font-display: swap;
    src: url("https://up-game.pro/wp-content/themes/up-game/assets/fonts/Gilroy-Bold.woff2")
            format("woff2"),
        url("https://up-game.pro/wp-content/themes/up-game/assets/fonts/Gilroy-Bold.woff")
            format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: Gilroy;
    font-display: swap;
    src: url("https://up-game.pro/wp-content/themes/up-game/assets/fonts/Gilroy-Medium.woff2")
            format("woff2"),
        url("https://up-game.pro/wp-content/themes/up-game/assets/fonts/Gilroy-Medium.woff")
            format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: icons;
    font-display: swap;
    src: url("https://up-game.pro/wp-content/themes/up-game/assets/fonts/icons.woff2")
            format("woff2"),
        url("https://up-game.pro/wp-content/themes/up-game/assets/fonts/icons.woff")
            format("woff");
    font-weight: 400;
    font-style: normal;
}

.main-preloader {
    position: fixed;
    background: black;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    display: flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0s;
}
.main-preloader.done {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
    pointer-events: none;
}
html.has-preloader,
html.has-preloader body {
    overflow: hidden;
}
.main-preloader.active {
    opacity: 1;
    visibility: visible;
}

.main-preloader-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.main-preloader-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-preloader-img {
    max-width: 335px;
    height: 335px;
    object-fit: cover;
}

.main-preloader-body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 31px;
}
.main-preloader-cnt {
    display: flex;
    align-items: center;
    gap: 15px;
}
.loading-img img {
    animation: rotate-spinner 1s linear infinite;
    width: 40px;
    height: 40px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.main-preloader-cnt p {
    font-weight: 700;
    font-size: 40px;
    line-height: 18px;
    color: #ffc700;
}

@media (max-width: 600px) {
    .main-preloader-img {
        max-width: 235px;
        height: 235px;
    }

    .main-preloader-cnt p {
        font-size: 30px;
    }
}

.block404 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    background: url(../left.png) center left/20% no-repeat,
        url(../right.png) center right/20% no-repeat,
        url(../down.png) bottom center no-repeat !important;
}
.gt-current-lang {
    display: none;
}

.grid-fav__item.item-fav {
    width: 100%;
}
.fav__grid.grid-fav {
    width: 100%;
}
.preloader video {
    position: fixed;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
}
.advantages__items .swiper-slide {
    opacity: 1 !important;
}
/*  */

.edit-account.form .form-row {
    display: none;
}
.gtranslate_mob {
    display: none;
}
@media (max-width: 768px) {
    .gtranslate_mob {
        display: block;
    }
    .header__menu.menu {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .gtranslate_wrapper {
        z-index: 5;
    }
    a.glink img {
        width: 30px;
    }
}
.item-nav-footer-t__list li {
    width: fit-content;
}
.item-nav-footer-t__link {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-nav-footer-t__link:hover {
    color: rgb(255, 214, 69) !important;
}
