.games-page {
    z-index: 1;
    position: relative;
    width: 100%;
}

.games-page .tanki-online-header {
    display: flex;
    margin-right: auto;

}

.games-page .title-description {
    margin-top: 24.5rem;
    margin-bottom: 0;
    width: 60rem;
}

.games-page .tanki-online-header {
    margin-bottom: 2.5rem;
}

.games-page .android-ios {
    margin-top: 1.5rem;
    color: #FFF;
    font-family: 'Formular';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.games-page .right-block {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.games-page .green-text {
    color: #77FF33;
    transition: 0.3s ease;
}

.games-page .fat-text {
    font-weight: 700;
}

.games-page .tanki-logo {
    width: 15rem;
    height: 5rem;
    background: url(../../img/components/games/logo-tanki.svg) no-repeat;
    background-size: contain;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

.games-page .tanki-online-header .tanki-button {
    text-decoration: none;
    display: flex;
    width: 15rem;
    height: 4rem;
    padding: 1.5625rem 1.5625rem 0.6875rem 1.5625rem;
    flex-direction: column;
    flex-shrink: 0;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: .3s ease;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
}

.tanki-button .button-text {
    color: var(--White, #FFF);
    text-align: center;
    font-family: 'Formular';
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 0.875rem;
    text-transform: uppercase;
    margin: 0;
    transition: all .2s ease;
}

.tanki-button .hidden-part .button-text {
    opacity: 0;
}

.games-page .tanki-button:hover {
    background: var(--Red, #F22424);
}

.tanki-button:hover .visible-part .button-text {
    opacity: 0;
}

.tanki-button:hover .button-text {
    opacity: 1;
    transform: translateY(-1rem) !important;
}

/*slider-style-start*/
.games-page .video-block {
    margin-bottom: 5rem;
    margin-right: -2.5rem;
    padding-right: 2.5rem;
}

.games-page .video-container img.image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.25rem;
}

.games-page .video-container .video iframe#iframe_container {
    border-radius: 1.25rem;
    aspect-ratio: 16/9;
}

.games-page .video-block button.controls {
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    top: auto;
    bottom: auto;
}

.games-page .video-block .swiper-button-next,
.games-page .video-block .swiper-button-prev {
    width: 5rem !important;
    height: 5rem !important;
    top: auto !important;
    bottom: auto;
    margin-top: 0 !important;
    background: url(../../img/components/body/forward-black.svg);
    background-size: contain;
    color: transparent !important;
}

.games-page .video-block .swiper-button-next {
    right: 2rem !important;
}

.games-page .video-block .swiper-button-prev {
    left: 2rem !important;
    transform: rotate(180deg);
}

.games-page .video-block .swiper-button-next.swiper-button-disabled,
.games-page .video-block .swiper-button-prev.swiper-button-disabled {
    display: none;
    cursor: auto;
    pointer-events: none;
}

.games-page .video {
    position: relative;
    cursor: grab;
    margin-top: 0rem;
    aspect-ratio: 16/9;
    user-select: none;
}

.games-page .video-block .video-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

.games-page .video-block .stage {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

/*slider-style-end*/

.games-page .hiring-block-vacancies {
    margin-bottom: 2.5rem;
}

.head-block {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "first second"
        "three fourth";
    align-items: end;
    width: 100%;
    grid-auto-rows: auto;
    grid-auto-flow: column;
}

.title-description {
    grid-area: first;
}

.android-ios {
    grid-area: three;
    transform: translateY(-1.25rem);
}

.tanki-logo {
    grid-area: second;
    justify-self: flex-end;
    transform: translateY(-1.25rem);
}

.tanki-button {
    grid-area: fourth;
    justify-self: flex-end;
    transform: translateY(-1.25rem);
}

/*Adaptive*/
@media screen and (max-width: 1530px) {
    .games-page .title-description {
        width: 55rem;
    }

    .games-page .video iframe#iframe_container,
    .games-page .video img.image {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 1000px) {
    .games-page {
        padding: 0 0.25rem;
        width: 100%;
    }

    .games-page .tanki-online-header {
        flex-direction: column-reverse;
    }

    .games-page .video {
        height: auto;
    }

    .games-page .video iframe#iframe_container,
    .games-page .video image {
        aspect-ratio: 16/9;
    }
    .games-page .video-block {
        margin-right: -2.8rem;
        padding-right: 2.8rem;
    }
}

@media screen and (max-width: 900px) {
    .games-page .head-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 13.5rem;
    }

    .games-page .tanki-logo {
        display: flex;
        justify-self: center;
        margin-bottom: 6.375rem;
        order: 1;
        transform: none;
        align-self: center;
    }

    .games-page .title-description {
        order: 2;
        font-size: 4rem;
        text-align: left;
        margin-top: 0;
        margin-bottom: 1.5rem;
        width: auto;
    }

    .games-page .tanki-online-header .tanki-button {
        order: 3;
        width: 100%;
        justify-self: flex-start;
        transform: none;
    }

    .android-ios {
        order: 4;
        justify-self: flex-start;
        transform: none;
    }
}

@media (max-width: 768px) {
    .games-page .video-block {
        margin-right: -3rem;
        padding-right: 2.5rem;
    }
}

@media (max-width: 600px) {
    .games-page .video {
        height: auto;
    }

    .games-page .title-description,
    .games-page .android-ios {
        text-align: start;
    }
}

@media screen and (max-width: 600px) {
    .games-page .title-description {
        font-size: 2rem;
    }
}

@media (max-width: 560px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 360px) {

    .main-bkg.games #video_content {
        height: 25rem;
    }

    .main-bkg.games:before {
        height: 25rem;
    }

    .games-page {
        padding: 0;
    }

    .games-page .tanki-online-header {
        margin-bottom: 1.5rem;
    }

    .games-page .video-block {
        margin-bottom: 2.5rem;
        margin-right: -1.25rem;
        padding-right: 1.25rem;
    }
}