* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    background: url("../image/triangle.svg") no-repeat 100% 0, url("../image/bg.png") no-repeat center / cover, #fff;
    display: flex;
    flex-direction: column;
    color: #313131;
    font-family: 'Nunito', sans-serif;
    min-height: 100dvh;
    line-height: 1.4;
}


input,textarea,button {
    font-family: 'Nunito', sans-serif;
}

img {
    max-width: 100%;
}

button[disabled] {
    pointer-events: none;
    opacity: .5;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #313131;
    padding: 22px 0;
}

header svg {
    max-width: 80%;
}

.container {
    padding: 0 15px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page__text {
    color: #313131;
    font-size: 20px;
    max-width: 100%;
    width: 1020px;
    margin: 0 auto 20px;
}

.page__image {
    max-width: 35%;
}

.higher {
    font-size: 24px;
}

.higher a {
    font-weight: 700;
    color: inherit;
    text-decoration: none;
}

.higher strong {
    display: block;
}

h1 {
    font-weight: 500;
    font-size: 52px;
    margin-bottom: 42px;
    text-align: center;
    color: #082E60;
}

#form {
    width: 100%;
    max-width: 846px;
    margin: 0 auto 62px;
    border: 1px solid #333;
    padding: 20px 54px;
    background: #fff;
}

#form h2 {
    text-align: center;
    margin: 0 0 25px;
}

#form .form__inputs {
    display: flex;
    gap: 20px;
    flex-flow: row wrap;
    margin-bottom: 20px;
}


#form input, #form textarea {
    border: 1px solid #333;
    min-height: 54px;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 300;
    resize: none;
    flex: 1;
}

#form textarea {
    height: 109px;
    width: 100%;
    padding: 20px 15px;
    flex: unset;
}

#form button {
    background: #333;
    border: 2px solid transparent;
    color: #F7FFFF;
    font-weight: 700;
    font-size: 26px;
    width: 300px;
    max-width: 100%;
    border-radius: 20px;
    margin: 0 auto;
    height: 50px;
    display: block;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

#form button:hover {
    border-color: #333;
    background: transparent;
    color: #333;
}

.footer {
    background-color: #313131;
    margin-top: auto;
}

.footer a {
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0 12px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
}

.footer__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFF;
    padding: 24px 0;
    font-size: 20px;
    font-weight: 300;
}

@media (max-width: 1600px) {
    .container {
        max-width: 1440px;
    }
    .higher {
        font-size: 22px;
    }
}

@media (max-width: 1440px) {
    .container {
        max-width: 1280px;
    }
    .higher {
        font-size: 20px;
    }
    .page__text {
        font-size: 18px;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 1100px;
    }
}

@media (max-width: 991px) {
    .page {
        flex-direction: column-reverse;
    }

    .page__image,
    .page__text {
       /*max-width: unset;*/
    }
}

@media (max-width: 550px) {

    .page__text,
    body {
        font-size: 16px;
    }

    .higher {
        font-size: 18px;
    }

    footer svg {
        height: 12px;
    }


    .footer__wrap,
    .footer a {
        font-size: 12px;
        gap: 0 4px;
    }

    .footer__wrap {
        flex-direction: column;
        gap: 12px;
    }

    h1 {
        font-size: 36px;
    }

    #form {
        padding: 15px;
    }
}