*, *:before, *:after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
}
:focus {
    outline: none;
}

.container {
    min-height: 100vh;
    display: flex;
    position: relative;
    color: #2E2E2E;
    align-items: stretch;
}
.container__background {
    position: absolute;
    background: url("./bg.jpg") no-repeat center;
    background-size: cover;
    width: 60%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.content {
    width: 100%;
    max-width: 600px;
    padding: 0 25px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.domain-name {
    font-size: 65px;
    margin: auto 0 0 0;
    font-weight: normal;
}
.description {
    font-size: 35px;
    font-weight: bold;
    margin: 40px 0 100px 0;
}
.cost-value {
    font-size: 40px;
    margin: 0 0 auto 0;
    font-weight: bold;
}
.cost-value > span {
    font-size: 90px;
}

.form-wrapper {
    width: 60%;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
}
.form {
    width: 100%;
    max-width: 550px;
    margin: auto;
    background-color: #fff;
    border-radius: 20px;
}
.form__title {
    background-color: #2E2E2E;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    font-size: 35px;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    margin-top: -1px;
}
.form__text {
    text-align: center;
    font-size: 18px;
    padding: 20px;
}
.form__error {
    margin: 20px 60px;
    color: #880000;
    font-size: 18px;
}
.form__group {
    position: relative;
    margin: 0 60px 35px 60px;
}
.form__input {
    font-size: 18px;
    padding: 5px 0;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #2E2E2E;
    resize: none;
}
.form__input-label {
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    top: 5px;
    transition: 0.2s ease all;
}
.form__group--active .form__input-label {
    top: -20px;
    font-size: 14px;
}
.form__submit {
    font-size: 18px;
    padding: 20px;
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #2E2E2E;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s ease all;
}
.form__submit:hover,
.form__submit:active {
    background: #2E2E2E;
    color: #fff;
}

@media (max-width: 1450px) {
    .form-wrapper {
        max-width: 50%;
    }
    .container__background {
        width: 50%;
    }
}

@media (max-width: 1450px) {
    .form-wrapper {
        max-width: 50%;
    }
    .container__background {
        width: 50%;
    }
}

@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        overflow-x: hidden;
    }
    .content {
        color: #fff;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .description {
        margin: 30px 0;
    }
    .form-wrapper {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .container__background {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .domain-name {
        font-size: 40px;
    }
    .description {
        font-size: 20px;
        margin: 15px 0;
    }
    .cost-value {
        font-size: 30px;
    }
    .cost-value > span {
        font-size: 50px;
    }
    .form__title {
        font-size: 25px;
    }
    .form__error {
        margin: 20px 40px;
    }
    .form__group {
        margin: 0 40px 35px 40px;
    }
}
