@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --textsize: calc(1vw + 1vh);
}

html,
body {
    height: 100%;
    background-color: rgba(0, 69, 67, 1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 15.6px;
    color: #fff;
}

.wrapper {
    padding: 70px 31px 38px 30px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    /* align-items: center; */

}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
}

.header {
    display: flex;
    flex-direction: row;
    gap: 17px;
    margin-bottom: calc(var(--textsize) * 2.1);
    align-items: center;
}

.header p {
    font-size: calc(var(--textsize) * 1.1);
    line-height: calc(var(--textsize) * 1.2);

}

span[data-main="main"] {
    color: rgba(0, 224, 112, 1);
}

h1[data-title="title"] {
    font-size: 32px;
    line-height: 38.4px;
    font-weight: 700;
    margin-bottom: calc(var(--textsize) * 1.6);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

h1[data-title="title"].show {
    opacity: 1;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

textarea {
    font-family: 'Montserrat', sans-serif;
    padding: 19px 56px 19px 18px;
    height: 172px;
    font-size: 16px;
    line-height: 19.5px;
}

input[type="tel"] {

    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: calc(var(--textsize) * 2) 0 calc(var(--textsize)* 2.05) 0;
    /*28.5px 0 32px 0*/
    font-size: 18px;
    line-height: 19.5px;
    /* width: 100%; */
    border-radius: 0;
    outline: none;
    border: none;
}

.input {
    display: flex;
    flex-direction: row;
    position: relative;
}

.input .firstNum {
    cursor: text;
    color: rgba(0, 224, 112, 1);
    font-size: 18px;
    line-height: 18px;
    background-color: #fff;
    border-radius: 8px 0 0 8px;
    border: none;
    outline: none;
    text-align: center;
    padding: calc(var(--textsize) * 2) 5px calc(var(--textsize)* 2.05) 18px;
}

select {
    border: none;
    outline: none;
    color: rgba(0, 224, 112, 1);
    font-size: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #fff;
}

option {
    color: #000;
}

.input .pointer {
    cursor: text;
    color: white;
    font-size: 18px;
    background-color: #fff;
    border-radius: 0 8px 8px 0;
    padding: 29px 20px 29px 0;
    width: 100%;
}

.input .pointer div {
    transform: translateX(-12px);
}

.input {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.firstNum {
    position: relative;
}

.firstNum.red::after {
    position: absolute;
    content: "*";
    color: red;
    font-size: 13px;
    top: calc(50% - 11px);
    right: calc(var(--textsize) * -11);
}

.input.red .pointer {
    font-size: 13px;
    color: red;
}

/* .input::before > input:focus {
    content: '';
} */

input[type="submit"] {
    font-family: 'Montserrat', sans-serif;
    padding: 29px 115px;
    color: #fff;
    font-size: 13px;
    line-height: 15.85px;
    background-color: rgba(0, 224, 112, 1);
    cursor: pointer;
    font-weight: 600;
}

textarea,
input[type="submit"] {
    border-radius: 8px;
    outline: none;
    border: none;
    resize: vertical;
    max-height: calc(var(--textsize) * 10);
}


footer {
    margin-top: calc(var(--textsize) * 4.5);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text {
    display: block;
    /* flex-direction: column; */
    overflow: hidden;
    opacity: .4;
    height: 0;
    transition: height .1s ease;

}

.text.visible {
    height: 100%;
    margin-bottom: 36px;
}

.text-info {
    display: flex;
    flex-direction: row;
    font-size: 13px;
    line-height: 15.85px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    align-items: center;
    gap: 18px;
    padding-top: 26px;
}

.long-info {
    padding-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 13px;
    line-height: 16.9px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.about {
    cursor: pointer;
}

.about::after {
    content: '▼';
    font-size: 10px;
}

.about.up::after {
    content: '▲';
    font-size: 10px;
}

/* .about::after {
    content: '*';
    font-size: 13px;
    color: red;
} */
textarea::placeholder,
.tel::placeholder {
    font-size: calc(var(--textsize) * 1.15);
    line-height: calc(var(--textsize) * 1.25);
}

@media screen and (min-width: 768px) {

    input[type="tel"] {
        padding: 28.5px 0 32px 0;
    }

    .input .firstNum {
        padding: 28.5px 5px 32px 18px;
    }

    h1[data-title="title"] {
        font-size: calc(var(--textsize) * 1.9);
        line-height: calc(var(--textsize) * 2.0);
    }

    textarea::placeholder,
    .tel::placeholder {
        font-size: 18px;
        line-height: 19.6px;
    }

    input[type="submit"] {
        font-size: 20px;
        line-height: 21.94px
    }

    .wrapper {
        max-width: 962px;
        margin: 0 auto;
    }

    .content {
        display: flex;
        gap: 25px;
        /* align-items: center; */
        justify-content: space-between;
        width: 100%;
        flex-direction: column;
        height: 100%;
        flex: 1;
    }

    section {
        width: 75%;
    }

    .firstNum.red::after {
        right: -170px;
        top: calc(50% - 13px)
    }

    input[type="tel"] {

        /*width: 175px;*/

    }

    .input .pointer {
        padding: 29px 40px 29px 0;
    }

    .text-info img {
        width: 18px;
    }

    footer {
        margin-top: 0;
        padding: 0;
        /*width: 30%;*/
    }

    .about,
    .long-info,
    .text-info {
        font-size: 18px;
        line-height: 21.9px;
    }
}

@media screen and (width < 576px) {

    textarea::placeholder,
    .tel::placeholder {
        font-size: calc(var(--textsize) * 1.5);
        line-height: calc(var(--textsize) * 1.6);
    }

    .firstNum.red::after {
        right: calc(var(--textsize) * -14);
    }

    h1[data-title="title"] {
        margin-bottom: calc(var(--textsize) * 1.3);
    }

    input[type="submit"] {
        padding: 19px 16px;
    }
}

@media screen and (max-width: 767px) {
    input[type="submit"] {
        padding: 19px 16px;
    }

    .input .pointer {
        padding-right: 10px;
    }

    article {
        width: 100%;
    }

    h1[data-title="title"] {
        font-size: calc(var(--textsize) * 2.3);
        line-height: calc(var(--textsize) * 2.4);
        margin-bottom: calc(var(--textsize) * 2.0);
    }

    .wrapper {
        padding: 40px 31px 38px 30px;
    }

    .header {
        margin-bottom: calc(var(--textsize) * 3);
    }

    .header p {
        font-size: calc(var(--textsize) * 1.6);
        line-height: calc(var(--textsize) * 1.7);
    }

}

.copy {
    color: #fff;
}