@font-face {
    font-family: 'Sofia Pro';
    src: url('../fonts/sofiapro-light.otf') format('opentype');
}

.desktop {
    display: flex;
}

.mobile {
    display: none;
}

body {
    background: linear-gradient(103.21deg, #062727 0%, #111515 100.59%);
    margin: 0;
    overflow-x: hidden;
    max-width: 100%;
}

.no__overflow {
    overflow-x: hidden;
}

.main__svg {
    margin: 50px 0px 60px -50px;
    position: relative;
    width: 100%;
    text-align: right;
}

.header {
    display: flex;
}

.header h1 {
    font-family: 'Sofia Pro';
    font-style: normal;
    font-weight: bold;
    font-size: 70px;
    line-height: 110%;
    align-items: center;
    color: #ffffff;
}

.header h1 span {
    color: #50c2ac;
}

.header p {
    font-family: 'Sofia Pro';
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 120%;
    color: #ffffff;
    margin-bottom: 100px;
}

.header img {
    margin-right: 50px;
}

.header a {
    background: #F69828;
    border-radius: 5px;
    padding: 23px 63px;
    font-family: 'Sofia Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 34px;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
}

.header__scroll {
    width: 100%;
    text-align: center;
    margin: 50px 0 50px 0;
}

.first,
.first__text--blocks,
.second,
.second__text--blocks,
.third,
.third form,
.third form div {
    display: flex;
}

.first,
.second {
    margin: 100px 0 100px 0;
}

.first__text--blocks,
.second__text--blocks {
    align-items: center;
}

.first__text--blocks p,
.second__text--blocks p {
    margin-left: 20px;
    font-family: 'Sofia Pro';
    font-style: normal;
    font-size: 22px;
    line-height: 120%;
    color: #ffffff;
}

.first h2,
.second h2 {
    font-family: 'Sofia Pro';
    font-style: normal;
    font-weight: bold;
    font-size: 50px;
    line-height: 110%;
    color: #ffffff;
}

.first {
    justify-content: flex-end;
}

.first__text {
    margin-right: 100px;
}

.second__text {
    margin-left: 100px;
    margin-top: 50px;
}

.third {
    background-image: url('../images/desktop_bg.png');
    background-size: cover;
    background-position: center;
    justify-content: center;
    padding: 100px 0;
}

.third h3 {
    font-family: Sofia Pro;
    font-style: normal;
    font-weight: bold;
    font-size: 50px;
    line-height: 120%;
    color: #ffffff;
}

.third p {
    font-family: Sofia Pro;
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 120%;
    color: #ffffff;
}

.third input,
.third button {
    background: none;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    margin-right: 50px;
    max-width: 400px;
    max-height: 50px;
    height: 100vh;
    width: 100vw;
    color: #fff;
}

.third input::placeholder {
    font-family: Sofia Pro;
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 33px;
    letter-spacing: 0.03em;
    color: #ffffff;
    opacity: 0.5;
}

.third form {
    flex-direction: column;
}

.third__form__left,
.third__form__right {
    margin-top: 40px;
}

.third button {
    background: #F69828;
    border-radius: 5px;
    border: none;
    font-family: Sofia Pro;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 34px;
    text-transform: uppercase;
    color: #ffffff;
}

.selected-country {
    position: absolute;
    transform: translate(0px, 15px);
}

.selected-country-code {
    color: #ffffff;
    opacity: 0.5;
}

.third .phone-number {
    padding-left: 90px;
    max-width: 315px;
}

footer {
    margin: 0 150px;
    padding: 30px 0;
    color: #ffffff;
    text-align: center;
}

footer div {
    margin: 5px 0;
}

footer a,
footer p,
.page-footer__text-copyright,
.page-footer__social {
    font-family: 'Sofia Pro';
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.03em;
    color: #ffffff;
    opacity: 0.3;
}

.footer__links-devider {
    color: #ffffff;
    opacity: 0.3;
}

footer p {
    margin: 5px 0 0;
}

footer .page-footer__social a {
    opacity: 1;
}

.footer__first {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.footer__first div:nth-child(2) {
    display: flex;
    align-items: center;
}

footer svg {
    margin-left: 15px;
}

footer a {
    text-decoration: none;
}

.custom-select-wrap {
    background-color: #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    max-height: 300px;
    overflow-y: scroll;
    position: absolute;
    top: 120%;
    width: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.select-drop-menu-hidden {
    display: none;
}

.popUp-form-register-phone .popUp-form-register-phone-wrap {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 60px;
}

.popUp-form-register-phone .popUp-form-register-phone-wrap:after {
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    bottom: -14px;
    color: red;
    content: attr(data-error);
    left: 100px;
    position: absolute;
    right: 0;
    text-align: start;
}

.popUp-form-register-phone .selected-country-arrow {
    align-items: center;
    display: flex;
    justify-content: center;
}

.popUp-form-register-phone .custom-countryElem:hover {
    background-color: #5e5f5f;
}

.popUp-form-register-phone .select-drop-menu-hidden .custom-select-wrap {
    max-height: 0;
    transition: all 0.4s ease-in-out;
}

.popUp-form-register-phone .select-drop-menu-hidden .selected-country-arrow {
    transition: all 0.4s ease-in-out;
}

.popUp-form-register-phone .select-drop-menu-show .custom-select-wrap {
    max-height: 200px;
    transition: all 0.4s ease-in-out;
}

.popUp-form-register-phone .select-drop-menu-show .selected-country-arrow {
    transform: rotate(180deg);
    transition: all 0.4s ease-in-out;
}

.popUp-form-register-phone .custom-select-wrap {
    background-color: #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    max-height: 300px;
    overflow-y: scroll;
    position: absolute;
    top: 120%;
    width: 85%;
    z-index: 3;
}

.popUp-form-register-phone .custom-countryElem {
    align-items: center;
    display: flex;
    padding: 10px 0 10px 12px;
    color: #000;
}

.popUp-form-register-phone .custom-countryElem img {
    height: 18px;
    margin-right: 12px;
    width: 24px;
}

.popUp-form-register-phone .custom-select-country {
    width: 50px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px #2d7267 inset;
    transition: background-color 5000s ease-in-out 0s;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 1760px) {
    .header h1 {
        font-size: 50px;
        line-height: 110%;
    }
    .header p {
        font-size: 16px;
        line-height: 120%;
    }
    .header a {
        font-size: 16px;
        line-height: 25px;
    }
    .first h2,
    .second h2 {
        font-size: 40px;
        line-height: 110%;
    }
    .first p,
    .second p {
        font-size: 16px;
        line-height: 120%;
    }
    .third h3 {
        font-size: 40px;
        line-height: 120%;
    }
    .third p {
        font-size: 16px;
        line-height: 120%;
    }
    .third input::placeholder {
        font-size: 16px;
        line-height: 24px;
    }
    .third input,
    .third button {
        max-width: 275px;
    }
    .third .phone-number {
        max-width: 190px;
    }
}

@media (max-width: 1500px) {
    img:not(.logo) {
        width: 100%;
        height: 100%;
    }
    body {
        padding: 10px 0;
    }
    .header,
    .first,
    .second {
        padding: 0 30px;
    }
    .third {
        padding: 100px 30px;
    }
    .header__left,
    .first__image,
    .second__image {
        width: 50%;
    }
    .header {
        justify-content: space-around;
    }
}

@media (max-width: 1100px) {
    .header h1 {
        font-size: 44px;
        line-height: 110%;
    }
    .header h1 br {
        display: none;
    }
    .header p {
        font-size: 14px;
        line-height: 120%;
    }
    .header a {
        font-size: 14px;
        line-height: 22px;
        padding: 11px 40px;
    }
    .first h2,
    .second h2 {
        font-size: 28px;
        line-height: 110%;
    }
    .first p,
    .second p {
        font-size: 14px;
        line-height: 120%;
    }
    .third h3 {
        font-size: 28px;
        line-height: 120%;
    }
    .third p {
        font-size: 14px;
        line-height: 120%;
    }
    .third input::placeholder {
        font-size: 14px;
        line-height: 21px;
    }
    .third input,
    .third button {
        max-width: 210px;
    }
    .third .phone-number {
        max-width: 125px;
    }
    .header__left {
        width: 200%;
        margin-left: -200px;
    }
    .second__image {
        width: 90%;
        margin-left: -200px;
    }
    .first,
    .second {
        margin: 100px 0 100px 0;
    }
    .second__text {
        margin-left: 0;
    }
    .header__scroll {
        display: none;
    }
    .first__text {
        margin-right: 0;
    }
    .first__image {
        width: 80%;
        margin-right: -180px;
    }
    .selected-country {
        transform: translate(0px, 18px);
    }
    .third button {
        font-size: 14px;
        line-height: 22px;
    }
    .third img {
        width: 200%;
        margin-left: -110px;
    }
    .footer__first {
        flex-direction: column-reverse;
    }
    footer {
        margin: 0 20px;
    }
    footer svg:nth-child(1) {
        margin-left: 0;
    }
    footer svg {
        margin-bottom: 20px;
    }
    .footer__first div:nth-child(2) {
        display: flex;
        align-items: center;
    }
    .third .selected-country-flag img {
        margin-left: 0;
    }
    .popUp-form-register-phone .custom-select-wrap {
        width: 81%;
        font-size: 12px;
    }
    .popUp-form-register-phone .custom-countryElem {
        padding: 10px 0 10px 115px;
    }
    .popUp-form-register-phone .custom-select-country {
        width: 40px;
    }
}

@media (max-width: 700px) {
    .third img {
        width: 330%;
        margin-left: -140px;
        margin-top: 50px;
        z-index: 1;
    }
    .third button {
        z-index: 2;
    }
    .third .selected-country-flag img {
        margin-top: 0;
    }
    .select-country .third img {
        margin-top: 0;
        margin-left: -110px;
    }
}

@media (max-width: 650px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: flex;
    }
    .header h1 {
        font-size: 24px;
        line-height: 110%;
    }
    .header p {
        font-size: 13px;
        line-height: 120%;
        margin-bottom: 40px;
    }
    .header p br {
        display: none;
    }
    .header a {
        font-size: 13px;
        line-height: 20px;
    }
    .first h2,
    .second h2 {
        font-size: 24px;
        line-height: 110%;
    }
    .first p,
    .second p {
        font-size: 13px;
        line-height: 120%;
    }
    .third h3 {
        font-size: 24px;
        line-height: 120%;
    }
    .third p {
        display: none;
    }
    .third input::placeholder {
        font-size: 16px;
        line-height: 24px;
    }
    .third input,
    .third button {
        max-width: 275px;
    }
    .third .phone-number {
        max-width: 190px;
    }
    .header {
        flex-direction: column;
    }
    .main__svg {
        margin: 20px 0px 20px -50px;
    }
    .main__svg img {
        width: 120px;
        height: auto;
    }
    .header__left {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-left: 0;
    }
    .first .mobile img {
        width: 60%;
        margin-right: -50px;
    }
    .second .mobile img {
        width: 60%;
        margin-left: -50px;
    }
    .first {
        margin: 80px 0 50px 0;
    }
    .second {
        margin: 0px 0 100px 0;
    }
    .third {
        flex-direction: column-reverse;
    }
    .third img {
        width: 100%;
        margin-left: 0;
        margin-top: -130px;
        z-index: 1;
    }
    .third h3 br {
        display: none;
    }
    .third__form__left {
        flex-direction: column;
    }
    .third__form__left,
    .third__form__right {
        margin-top: 0;
    }
    .third input,
    .third button,
    .third .phone-number {
        margin-right: 0;
        max-width: 350px;
        width: 100vw;
    }
    .third .phone-number {
        max-width: 282px;
    }
    .third button {
        max-width: 190px;
        margin: 20px 0;
    }
    .third input {
        margin-bottom: 30px;
    }
    .button-wrap {
        justify-content: center;
    }
    .checkbox-wrap {
        text-align: center;
    }
    .third input,
    .third .phone-number {
        width: 100%;
        max-width: unset;
    }
    footer br {
        display: none;
    }
    .popUp-form-register-phone .custom-select-wrap {
        width: 100%;
        font-size: 14px;
    }
    .popUp-form-register-phone .custom-countryElem {
        padding: 10px 0 10px 12px;
    }
    .third .select-country img {
        margin-top: 0;
    }
    .footer__links-devider {
        display: none;
    }
    footer a {
        display: block;
        margin-bottom: 5px;
    }
}