html {
    height: 100%;
    box-sizing: border-box;
}

body {
    font-family: Manrope, sans-serif;
    margin: 0;
    color: #0E0353;
    font-size: 20px;
    height: 100%;
}

.container {
    padding: 0 60px;
    margin: 0 auto;
}

a {
    color: #0E0353;
    transition: all 0.2s ease-in;
    text-decoration: none;
}

a:hover {
    color: #574F87;
}

header {
    border-bottom: 1px solid rgba(84, 76, 132, 0.20);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    position: relative;
}

.header img {
    margin-right: 15px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    padding: 0;
}

nav ul li:not(:last-child) {
    margin-right: 52px;
}

.singupButton {
    position: relative !important;
    top: unset !important;
    right: unset !important;
    height: unset !important;
    width: unset !important;
    color: #FFF !important;
    padding: 18px 60px;
    border-radius: 1000px;
    background: #E71700;

    font-family: unset !important;
    font-size: 20px !important;
    font-weight: 400 !important;
}

.flag__menu-contact {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 700;
}

.flag__menu-contact-person {
    color: #574F87;
    font-weight: 400;
    margin-top: 4px;
}

.about {
    padding: 40px 0;
}

.about h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 20px;
}

.about p {
    font-size: 24px;
    font-weight: 500;
    line-height: 120%;
}

.about img {
    width: 100%;
    object-fit: contain;
    border-radius: 24px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.about__list {
    display: flex;
    list-style: none;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.about__item {
    padding-top: 20px;
    border-top: 1px solid #DDDBE6;
}

.about__item:not(:last-child) {
    margin-right: 24px;
}

.about__item-wrap {
    display: flex;
    align-items: flex-start;
}

.about__item-number {
    border-radius: 10px;
    border: 1px solid #DDDBE6;
    padding: 20px 20px;
    margin-right: 32px;
    display: block;
}

.about__item h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.about__item p {
    color: #574F87;
    font-size: 14px;
    max-width: 454px;
    line-height: 150%;
}

.header_menu {
    display: none;
}


@media screen and (max-width: 1450px) {
    .singupButton {
        padding: 15px 40px;
    }

    nav ul li:not(:last-child) {
        margin-right: 25px;
    }
}

@media screen and (max-width: 1350px) {
    /*.flag__menu ul li:first-child,
    .flag__menu ul li:last-child {
        display: none;
    }*/
    .flag__menu {
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        width: 900px;
    }

    /*nav ul li:not(:last-child) {
        margin-right: 0;
    }

    nav ul li:not(:nth-child(2)) {
        margin-left: 20px;
    }*/
    .about p {
        font-size: 18px;
    }

    .singupButton {
        font-size: 16px !important;
    }

    body {
        font-size: 18px;
    }
}

@media screen and (max-width: 1200px) {
    .about__list {
        flex-direction: column;
        align-items: center;
    }

    .about__item:not(:last-child) {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .about__item p {
        max-width: unset;
    }

    .about__item-number {
        padding: 10px;
    }

    .container {
        padding: 0 20px;
    }

    .header img {
        position: absolute;
        width: 50px;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
    }

    .header_menu {
        display: block;
    }

    .flag__menu {
        display: none;
    }

    /*menu*/
    .header__menu {
        font-size: 18px;
    }

    .header__menu--icon {
        display: block;
        height: 40px;
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }

    .header__menu-items {
        display: none;
        flex-direction: column;
        overflow: hidden;
        background: #fff;
        height: 0;
        max-height: 0px;
        list-style-type: none;
        padding: 20px;
        transition: linear 1s;
        position: absolute;
        left: 0;
        top: 90%;
        box-shadow: 8px 6px 16px 4px rgba(0,0,0,0.44);
    }

    .header__menu-items.open {
        height: auto;
        max-height: 500px;
        -webkit-transition: linear 1s;
        transition: linear 1s;
        display: flex;
    }

    .header__menu-items.open li {
        padding: 15px 0;
    }

    .header__menu-item {
        float: none;
        text-align: left;
        text-decoration: none;
        width: 100%;
        margin: 0;
        -webkit-transition: linear 1s;
        transition: linear 1s;
    }

    .header__menu-link {
        text-decoration: none;
        color: white;
        padding: 10px;
        border-bottom: 1px solid white;
        display: block;
        margin: 0;
        -webkit-transition: linear 1s;
        transition: linear 1s;
    }

    .header__menu-link:hover {
        color: #FF6464;
    }

    .header__menu--bars {
        display: inline-block;
        cursor: pointer;
        position: absolute;
        left: 0;
        top: 25px;
    }

    .header__menu--bar1,
    .header__menu--bar2,
    .header__menu--bar3 {
        width: 30px;
        height: 2px;
        background-color: #21243D;
        margin: 9px 0;
        transition: 0.2s;
    }

    .change .header__menu--bar1 {
        transform: rotate(-45deg) translate(-9px, 6px);
    }

    .change .header__menu--bar2 {
        opacity: 0;
    }

    .change .header__menu--bar3 {
        transform: rotate(45deg) translate(-9px, -8px);
    }
}


@media screen and (max-width: 768px) {

    .singupButton {
        padding: 10px 15px;
    }


    body.dspopup-modal {
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

    body.ds-form form .field-1 input, .ds-form form .field-2 input, .ds-form form .field-3 input, .ds-form form .field-4 input, .ds-form form .field-5 input, .ds-form form .field-6 input, .ds-form form .field-7 input, .ds-form form .field-8 input, .ds-form form .field-9 input {
        height: 70px;
    }

    body.dspopup-modal .form-head,
    .ds-form form input[type="submit"],
    .ds-form form button[type="submit"],
    .ds-form form input[type="text"] {
        font-size: 28px;
    }
}


