/* Header styles start */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: .2s linear;
    padding: 0px 0;
    z-index: 999;
}

.header__nav {
    gap: 20px;
    padding: 16px 0px;
}

[x-cloak] {
    display: none !important;
}

.burger {
    display: none;
}

.burger img {
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 1024px) {
    .header {
        background: #fff;
    }

    .header__nav {
        display: flex;
        flex-direction: row;
    }

    .burger {
        display: block;
    }
}

@media screen and (max-width: 1024px) {
    .header__action {
        display: none;
    }
}

.header__nav .link {
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    color: #fff;
    transition: .2s linear;
}

.header_active {
    background: #fff;
}

.header__nav-mob {
    padding: 20px;
    gap: 12px;
}

.header__nav-mob .link {
    color: #1F1534;
    font-weight: 800;
    font-size: 18px;
    line-height: 18px;
    transition: .2s linear;
}

.header_active .header__nav .link {
    color: #1F1534;
}

.header__nav .link .active,
.header__nav-mob .link .active {
    color: #9867FF;
    font-weight: 900;
    opacity: 1;
}

.header__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}


.sidebar {
    position: fixed;
    z-index: 100000;
    top: 60px;
    left: 0;
    bottom: 0;
    background-color: #fff;
    transform: translateX(-100%);
    transition: 0.3s linear;
    width: 200px;
    box-shadow: none;
}

.sidebar_active {
    transform: translateX(0%);
    box-shadow: 10px 40px 50px rgb(229 233 246 / 40%);
}

/* Header styles end */

/* Hero styles start */
.hero {
    position: relative;
    z-index: 1;
    background: #fff;
    height: 720px;
    text-align: center;
}

.hero__wrapper {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

    position: absolute;
    overflow: hidden;
    z-index: 2;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero styles end */

/* Intro styles start */

.intro {
    padding: 62px 0 0;
    position: relative;
}

.intro_item {
    width: 32%;
    padding: 0 40px 38px;
    align-items: center;
    background: #FFFFFF;
    box-shadow: 10px 40px 50px rgba(229, 233, 246, 0.4);
    border-radius: 20px;
}

.intro_item img {
    width: 170px;
    margin-bottom: 36px;
}

.intro__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    margin-bottom: 24px;
}

.intro__text {
    text-align: center;
    margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
    .intro .wrap {
        flex-direction: column;
    }

    .intro_item {
        width: 100%;
        padding: 20px;
    }

    .intro__title,
    .intro__text {
        text-align: left;
    }

    .intro_item.col {
        flex-direction: row;
        gap: 24px;
    }
}

@media screen and (max-width: 768px) {
    .intro_item {
        padding: 15px;
    }

    .intro_item img {
        width: 80px;
    }

    .intro_item.col {
        gap: 15px;
    }

    .intro__title {
        font-size: 20px;
        margin-bottom: 16px;
    }
}


/* Intro styles end */


/* App styles start */

.app {
    padding: 60px 0 100px;
}

.app_img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

@media screen and (max-width: 1024px) {
    .app>div {
        flex-direction: column !important;
    }

    .app_img {
        max-width: 100%;
        max-height: 400px;
        margin-bottom: 24px;
    }

    .app_img img {
        max-width: 100%;
        max-height: 400px;
        margin: 0 auto;
    }
}

/* App styles end */

/* Games styles start */

.games {
    background: #9867FF;
    padding: 80px 0;
}

.games__title {
    font-weight: 700;
    font-size: 36px;
    line-height: 55px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #fff;
    margin-bottom: 86px;
}

.games_item {
    width: 32%;
    height: 270px;
    padding: 35px;
    align-items: center;

    background: #fff;
    border-radius: 30px;
}

.games_item img {
    width: 198px;
    margin-top: -74px;
}

.games__subtitle {
    text-align: center;
    font-size: 30px;
    line-height: 124%;
    font-weight: 500;
    color: #000;
    margin-top: 26px;
}

@media screen and (max-width: 1280px) {
    .games__subtitle {
        font-size: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .games__title {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 40px;
    }

    .games__subtitle {
        font-size: 14px;
    }

    .games_item {
        padding: 20px;
        height: 165px;
    }

    .games_item img {
        width: 120px;
        margin: -42px auto 0px;
    }
}

/* Games styles end */

/* comments styles start */

.comments {
    padding: 0 0 130px;
    background-image: url('../img/comments_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.comments__title {
    font-size: 48px;
    margin-bottom: 14px;
    text-align: center;
    color: #683292;
    max-width: 100%;
}

.comments__slider {
    width: 100%;
    max-width: 730px;
    margin: 80px auto 0;
}

.comments__slide,
.slick-slide {
    padding: 20px 20px 80px;
}

.comments__slide div {
    background: #fff;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 317px;
    box-shadow: 0px 18px 52.8537px rgba(215, 228, 249, 0.5);
    border-radius: 20px;
    padding: 80px;
    background-image: url('../img/comment_bg.png');
    background-size: 30%;
    background-position: center 20%;
    background-repeat: no-repeat;
    position: relative;
}

.comments__slide div::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    background: #fff;

    width: 80%;
    height: 317px;
    box-shadow: 0px 18px 52.8537px rgba(215, 228, 249, 0.5);
    border-radius: 20px;
    padding: 80px;
    margin-bottom: -60px;
}

.comments__slide P {
    font-weight: 400;
    font-size: 26.7px;
    line-height: 140%;
    text-align: center;
    color: #6F7277;
}

@media screen and (max-width: 1280px) {
    .comments {
        background-size: 100%;
    }

    .comments__slider {
        max-width: 530px;
    }

    .comments__title {
        font-size: 36px;
    }

    .comments__slide P {
        font-size: 26px;
    }
}

@media screen and (max-width: 1024px) {
    .comments__title {
        font-size: 24px;
    }

    .comments__slider {
        max-width: 330px;
    }

    .comments__slide div {
        padding: 26px;
        height: auto;
    }

    .comments__slide div::before {
        padding: 26px;
        height: 170px;
    }

    .comments__slide P {
        font-size: 14px;
    }
}

@media screen and (max-width: 624px) {
    .comments {
        background-image: url('../img/comments_bg_mob.png');
    }
}

.comments__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}


.comments__dots button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #eee;

}

.comments__dots li.slick-active button {
    background: #9867FF;
}

/* comments styles end */


/* Footer styles start */

footer {
    background: #9867FF;
    color: #fff;
    padding: 80px 0;
}

.footer .title {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.footer .subtitle {
    max-width: 300px;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 19px;
}

.footer__menu {
    flex: 1;
    min-width: 350px;
}

.footer__menu:last-child {
    margin-top: 44px;
}

.social {
    width: 160px;
    margin-left: -10px;
}

.social img:first-child {
    margin-left: -40px;
    margin-bottom: -10px;
}


.social img:last-child {
    margin-left: -100px;
    margin-top: -25px;
}

.link_title {
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #EEEEEE;
    margin-bottom: 10px;
}

.link {
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
}

.rights {
    align-self: flex-end;
}

.footer_main_button {
    width: 182px;
    background: #fff;
    border: 2px solid #fff;
    color: #9867FF;
}

.footer_main_button:hover {
    color: #fff;
    background: #9867FF;
}

@media screen and (max-width: 1024px) {

    .footer__nav {
        align-items: center;
    }

    .footer__menu {
        align-items: center;
        margin-top: 20px;
    }

    .rights {
        align-self: center;
    }
}

/* Footer styles end */