* {
    box-sizing: border-box;
}

body {
    background: #231A2B;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

a {
    color: #ffffff;
    text-decoration: none;
}

h3 {
    font-weight: 500;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    color: #D05021;
    margin: 60px 0;
}

h5 {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    color: #D05021;
}

header {
    background: #231A2B;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

footer {
    background: #2A1E36;
    padding: 20px;
    position: relative;
}

iframe {
    border: 0;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient {
    background: linear-gradient(180deg, #2A1E36 0%, rgba(42, 30, 54, 0) 100%);
    padding: 60px 0;
}

.link {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.link a {
    border: 3px solid #D05021;
    border-radius: 10px;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    color: #FFFFFF;
    padding: 15px 50px;
}

.button {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.button input,
.button button {
    font-family: 'Montserrat', sans-serif;
    background: transparent;
    border: 3px solid #D05021;
    border-radius: 10px;
    cursor: pointer;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    color: #FFFFFF;
    padding: 15px 50px;
}

.button button.button_small {
    font-size: 18px;
    line-height: 22px;
    padding: 10px 50px;
}

.form {
    margin: 0 auto;
    width: 640px;
}

.form input:not([type="submit"]) {
    background: transparent;
    border: 0;
    border-bottom: 3px solid #A64426;
    color: #FFFFFF;
    height: 35px;
    margin-top: 55px;
    max-width: 100%;
    min-width: 100%;
    width: 100%;
}

.form textarea {
    background: transparent;
    border: 0;
    border-bottom: 3px solid #A64426;
    color: #FFFFFF;
    height: 35px;
    margin-top: 55px;
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    min-height: 35px;
    max-height: 300px;
}

.form input::placeholder,
.form textarea::placeholder {
    color: #FFFFFF;
}

.form input:focus:not([type="submit"]),
.form textarea:focus,
.form input:focus-visible:not([type="submit"]),
.form textarea:focus-visible {
    outline: none;
}

.input-error {
    color: #ab0000;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

#iframeWrap {
    display: none;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.mt-0 {
    margin-top: 0;
}

/* block 1 */

.logo {
    height: 100%;
    margin: 20px 0;
}

.logo .logo_desktop {
    display: block;
}

.logo .logo_mobile {
    display: none;
}

.logo img {
    max-height: 100%;
}

.top {
    display: flex;
    justify-content: space-between;
}

.menu {
    margin-top: 40px;
}

.menu_button {
    display: none;
}

.menu ul {
    display: flex;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

.menu a {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    margin: 0 10px;
    position: relative;
}

.menu a.active {
    color: #D05021;
}

.menu a.active:after {
    content: '';
    background-color: #D05021;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: auto;
    height: 3px;
    position: absolute;
    width: 50%;
}

/* block 2 */

.main {
    display: flex;
    align-items: center;
    padding-top: 143px;
}

.main .desc {
    padding-right: 54px;
}

.main .title {
    font-weight: 500;
    font-size: 48px;
    line-height: 59px;
    color: #D05021;
}

.main .line {
    width: 75px;
    height: 3px;
    background: #D05021;
}

.main .text {
    font-weight: 300;
    font-size: 36px;
    line-height: 44px;
    margin: 60px 0;
}

.main .textLogo {
    font-weight: 300;
    font-size: 24px;
    line-height: 30px;
    margin: 60px 0;
}

.circle_1 {
    background: #2A1E36;
    box-shadow: 0 96px 96px #1D1527;
    border-radius: 50%;
    height: 700px;
    padding: 50px;
    position: relative;
    margin-right: -48px;
    width: 700px;
}

.circle_2 {
    background: #403351;
    box-shadow: 0 96px 96px rgba(35, 26, 45, 0.5);
    border-radius: 50%;
    height: 100%;
    padding: 50px;
}

.circle_3 {
    background: linear-gradient(180deg, #1A5484 31.77%, #67123D 75.52%);
    box-shadow: 0 96px 96px rgba(35, 26, 45, 0.5);;
    border-radius: 50%;
    height: 100%;
}

.main_logo {
    position: absolute;
    right: 0;
    left: 0;
    margin: 25px auto 0;
}

/* block 3 */

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service {
    display: flex;
    padding: 0 20px;
    flex-basis: 25%;
}

.service_block {
    background: linear-gradient(180deg, #2A1E36 0%, rgba(42, 30, 54, 0) 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    width: 100%;
}

.service_icon {
    align-items: center;
    background: #231A2B;
    border: 20px solid #403351;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    margin: 15px auto;
    height: 200px;
    width: 200px;
}

.service_desc {
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 30px;
    text-align: center;
}

.service_line {
    background: #D05021;
    height: 3px;
    margin-top: auto;
    width: 80px;
}

/* block team */

.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team_item {
    display: flex;
    padding: 0 20px;
    flex-basis: 25%;
}

.team_item_block {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    text-align: center;
    width: 100%;
}

.team_item_block h5 {
    margin-bottom: 10px;
}

.team_item_position {
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    height: 60px;
}

.team_item_icon {
    align-items: center;
    background: #231A2B;
    border: 20px solid #403351;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    margin: 15px auto;
    max-height: 200px;
    width: 200px;
}

.team_item_icon img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 0;
}

.team_item_desc {
    font-size: 18px;
    line-height: 22px;
}

.team_item_desc span {
    font-weight: 600;
    display: block;
}

.team_item_bottom {
    margin-top: auto;
}

.team_item_line {
    background: #D05021;
    height: 3px;
    margin: 20px auto;
    width: 80px;
}

/* block 4 */

.engine_icon {
    align-items: center;
    background: #231A2B;
    border: 20px solid #403351;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    height: 200px;
    width: 200px;
}

.engine_desc {
    font-weight: 300;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
}

/* block 5 */

.works {
    display: flex;
    flex-wrap: wrap;
}

.work_item {
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    height: 0;
    padding-bottom: calc(100% / 3);
    position: relative;
    width: calc(100% / 3);
}

.display_none {
    display: none;
}

.work_hover {
    display: none;
    background: linear-gradient(0deg, rgba(33, 24, 42, 0.9), rgba(33, 24, 42, 0.9));
    box-shadow: 0 96px 96px #1D1527;
}

.work_item:hover .work_hover {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mb25 {
    margin-bottom: 25px;
}

.work_info {
    background: rgba(0, 0, 0, 0.8);
    display: none;
    padding: 5px 25px 25px;
    text-align: center;
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    height: 100%;
}

.work_item:hover .work_hover.work_info_show {
    justify-content: space-between;
}

.work_info_show .work_info {
    display: block;
}

.work_info_show .button {
    display: none;
}

.work_info h4 {
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    color: #D05021;
}

.dots {
    background: url("./img/icon_011.png") 50% 100% no-repeat;
    height: 31px;
}

.work_item:hover .work_hover .button {
    margin-top: 0;
}

/* bottom */

.bottom {
    display: flex;
    justify-content: center;
    height: 145px;
}

.bottom_logo {
    background: linear-gradient(180deg, #2A1E36 0%, rgba(42, 30, 54, 0) 100%);
    border-radius: 165px 165px 0 0;
    height: 165px;
    text-align: center;
    width: 330px;
}

/* footer */

.footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.copywriter {
    font-weight: 500;
    font-size: 14px;
}

.social {
    text-align: right;
}

.social_title {
    font-size: 12px;
    line-height: 15px;
    color: #403351;
    margin-bottom: 11px;
}

/* modal */

.modalWrap {
    background-color: rgba(0, 0, 0, .8);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
}

.modalWrap.showModal {
    display: flex;
}

.modal {
    background: #231A2B;
    border: #D05021 3px solid;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    text-align: center;
    width: 300px;
}

.modal_title {
    color: #d05021;
    font-size: 24px;
    font-weight: 500;
    line-height: 29px;
    margin-bottom: 30px;
}

.modal_close {
    right: 5px;
    top: 5px;
    position: absolute;
    margin-top: 0;
}

.modal_close button {
    border-radius: 50%;
    padding: 0;
    height: 36px;
    width: 36px;
}

/* slider style */

.splide {
    margin: auto;
}

.splide__track {
    width: 100%;
}

.splide__list {
    width: 100%;
}

.splide__slide img {
    display: block;
    width: 100%;
    border-radius: 8px;
    transition: transform 400ms;
    transform: scale(.9);
    transform-origin: center center;
}

.splide__slide.is-active img {
    transform: scale(1);
}

.splide .splide__arrow {
    top: 0;
    bottom: 0;
    height: 100%;
    transform: none;
    border-radius: unset;
    width: 50px;
    opacity: .9;
}

.splide .splide__arrow svg {
    filter: invert(1);
    width: 24px;
    height: 24px;
}

.splide__arrow.splide__arrow--prev {
    left: -60px;
    background: transparent;
}

.splide__arrow.splide__arrow--next {
    right: -60px;
    background: transparent;
}

/* For mobile phones: */

@media only screen and (max-width: 1000px) {
    h3 {
        font-size: 24px;
        line-height: 29px;
        margin: 30px 0;
    }

    h5 {
        font-size: 18px;
        line-height: 22px;
    }

    .gradient {
        padding: 30px 0;
    }

    .link {
        margin-top: 30px;
    }

    .link a {
        font-size: 18px;
        line-height: 22px;
        padding: 6px;
        width: 100%;
    }

    .button input,
    .button button {
        font-size: 18px;
        line-height: 22px;
        padding: 6px;
        width: 100%;
    }

    .button.modal_close button {
        font-size: 0;
        position: relative;
        padding: 0;
        width: 36px;
    }

    .button.modal_close button:after {
        content: 'X';
        height: 18px;
        width: 20px;
        line-height: normal;
        font-size: 14px;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .button button.button_small {
        font-size: 16px;
        line-height: 20px;
        padding: 2px;
        width: 100%;
    }

    .mb-mob-10 {
        margin-bottom: 10px;
    }

    .form {
        width: 100%;
    }

    .logo .logo_desktop {
        display: none;
    }

    .logo .logo_mobile {
        display: block;
    }

    .logo img {
        width: 100px;
    }

    .main {
        flex-direction: column-reverse;
    }

    .main .title {
        font-size: 24px;
        line-height: 29px;
    }

    .main .desc {
        padding: 0 20px;
        position: relative;
        text-align: center;
        z-index: 1;
    }

    .main .text {
        font-size: 14px;
        line-height: 17px;
        margin: 20px 0;
    }

    .main .line {
        margin: auto;
    }

    .circle_1 {
        height: 270px;
        padding: 30px;
        margin-right: 0;
        margin-bottom: 30px;
        width: 270px;
    }

    .circle_2 {
        padding: 30px;
    }

    .main_logo {
        width: 133px;
    }


    .services {
        flex-direction: column;
    }

    .service_icon {
        border: 10px solid #403351;
        height: 140px;
        width: 140px;
    }

    .service_icon img {
        height: 64px;
        width: 64px;
    }

    .service_desc {
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 20px;
        text-align: center;
    }

    .service_line {
        margin: auto;
    }

    .engine_icon {
        border: 10px solid #403351;
        height: 140px;
        width: 140px;
    }

    .engine_icon img {
        height: 64px;
        width: 64px;
    }

    .engine_desc {
        font-size: 14px;
        line-height: 17px;
        text-align: center;
    }

    .works {
         flex-direction: column;
    }

    .work_item {
        padding-bottom: 100%;
    }

    .work_hover {
        box-shadow: none;
    }

    .work_item:hover .work_hover.work_info_show {
        padding-top: 10px;
    }

    .work_info {
        font-size: 12px;
        line-height: 14px;
    }

    .work_info h4 {
        margin: 0;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer_logo {
        display: none;
    }

    .copywriter {
        font-size: 12px;
        text-align: center;
    }

    .social {
        margin-bottom: 30px;
        text-align: center;
    }

    .social_title {
        margin-bottom: 20px;
    }

    .top {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .menu {
        margin-top: 0;
        max-height: 0;
        transition: max-height 0.5s ease-out;
        overflow: hidden;
        min-width: 100%;
        justify-content: flex-end;
        display: flex;
    }

    .menu.showMenu {
        max-height: 500px;
        transition: max-height 0.5s ease-in;
    }

    .menu ul {
        display: flex;
        flex-direction: column;
        padding-top: 15px;
    }

    .menu li {
        margin: 5px 0;
    }

    .menu a {
        font-weight: 500;
        font-size: 12px;
        line-height: 16px;
        margin: 0;
    }

    .menu a.active:after {
        bottom: -5px;
    }

    .menu_button {
        background-color: transparent;
        border-width: 0;
        display: block;
    }

    .splide .splide__arrow {
        width: 20px;
    }

    .splide .splide__arrow img {
        max-width: 100%;
    }

    .splide__arrow.splide__arrow--prev {
        left: -30px;
    }

    .splide__arrow.splide__arrow--next {
        right: -30px;
    }
}

#gameMain {
    height: 0;
    padding-bottom: 61%;
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#startButton {
    cursor: pointer;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 204px;
    width: 204px;
}

@media only screen and (max-width: 1455px) {
    #top {
        overflow: hidden;
    }
}

