@font-face {
    font-family: "Onest";
    src: url("../fonts/OnestRegular.woff2") format("woff");
    font-weight: 400;
}
@font-face {
    font-family: "Onest";
    src: url("../fonts/OnestMedium.woff2") format("woff");
    font-weight: 600;

}
@font-face {
    font-family: "Onest";
    src: url("../fonts/OnestBold.woff2") format("woff");
    font-weight: 700;
}

body,
html {
    margin: 0;
    min-height: 100%;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
    transition: 0.2s;
}
svg {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mobile-only {
    display: none;
}
@media (max-width: 767px) {
    .mobile-only {
        display: block;
    }
}

.page {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    min-height: 100vh;
    background: #f5f5f5;
}

.header {
    width: 100%;
    z-index: 10;
    background: #3A0786;
    background-image: url(../img/bg-t-l.png), url(../img/bg-t-r.png);
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, 100% 0;
    background-size: auto 100%, auto 100%;
    padding-top: 65px;
    padding-bottom: 65px;
}
@media (max-width: 1400px) {
    .header {
    }
}
@media (max-width: 767px) {
    .header {
        background-image: url(../img/bg-t-l-m.png), url(../img/bg-t-r-m.png);
        background-repeat: no-repeat, no-repeat;
        background-position: 0 100%, 100% 100%;
        background-size: auto 80%, auto 80%;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.header__inner {
    max-width: 1090px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}
@media (max-width: 1400px) {
    .header__inner {
        max-width: 85%;
    }
}
@media (max-width: 767px) {
    .header__inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
@media (max-width: 1400px) {
    .logo {
        margin-left: 10%;
    }
}
@media (max-width: 767px) {
    .logo {
        flex-wrap: wrap;
    }
}

.logo__row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.logo__item {
    margin-left: 30px;
}
@media (max-width: 767px) {
    .logo__item {
        margin-top: 10px;
        margin-bottom: 8px;
        margin-left: 13px;
        width: 100%;        
        display: flex;
        justify-content: center;
    }
    .logo__item img {
        max-height: 42px;
        width: auto;
    }
}

.logo__row:first-child .logo__item:first-child {
    margin-left: 0;
}
@media (max-width: 767px) {
    .logo__row .logo__item:first-child {
        margin-left: 0;
    }
}

.logo img,
.logo svg {
    display: block;
    max-width: 100%;
}

.header-nav {
    display: flex;
    justify-content: flex-end;
}

.header-nav__btns {
    display: flex;
    margin-left: 50px;
    align-items: center;
}
@media (max-width: 1400px) {
    .header-nav__btns {
        margin-left: 30px;
    }
}
@media (max-width: 767px) {
    .header-nav__btns {
        margin-left: 15px;
    }
}

.header-nav__btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    height: 46px;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Onest';
    font-weight: 700;
    font-size: 20px;
    color: #7358A1;    
}
@media (max-width: 767px) {
    .header-nav__btn {
        font-size: 12px;
        height: 28px;
        border-radius: 5px;
    }
}

.btn-lang {
    font-family: 'Onest';
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
}

.btn-exit {
    margin-left: 10px;
    font-size: 16px;
}

.page__main {
    display: flex !important;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    position: relative;
}
@media (max-width: 767px) {
    .page__main {
    }
}

.footer {
    background: #3A0786 url(../img/bg-b.png) no-repeat 0 0;
    background-size: auto 100%;
    padding-bottom: 73px;
    padding-top: 73px;
}
@media (max-width: 1400px) {
    .footer {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
@media (max-width: 1024px) {
    .footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}
@media (max-width: 767px) {
    .footer {
        background: #3A0786;
        padding-bottom: 0;
    }
}

.footer__inner {
    max-width: 1090px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: flex-end;
}
@media (max-width: 767px) {
    .footer__inner {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        width: 100%;
        padding-top: 0;
        padding-bottom: 30px;
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .footer__inner .btn {
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer__item {
        width: 100%;
    }
}

.footer img {
    display: block;
}

.footer__item p {
    margin: 0;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Onest';
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
}
@media (max-width: 767px) {
    .footer__item p {

    }
}

.footer__btns {
    display: flex;
}
@media screen and (max-width: 767px) {
    .footer__btns {
        width: 100%;
    }
}

.footer__btns__item {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
    max-width: 100%;
    width: 260px;
    height: 38px;
    border-radius: 5px;
    background: #5F37B1;
    font-family: 'Onest';
    font-weight: 400;
    font-size: 10px;
    line-height: 140%;
    color: #FFFFFF;
}
@media screen and (max-width: 767px) {
    .footer__btns__item {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

.footer__btns__item span {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #fff;
}

#exit {
    cursor: pointer;
}

.disable {
    display: none !important;
}

.MuiCircularProgress-root {
    color: #5F37B1 !important;
}
.CircularContainer svg circle {
    stroke: #5F37B1;
}
