body {
    height: 100vh;
    margin: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
    background-color: #042237;
}

a {
    text-decoration: none;
    margin-left: 4px;
    font-weight: bold;
    font-size: 14px;
    color: rgb(0, 123, 173);
    line-height: 1.5;
    font-weight: 700;
}

.wrapper {
    display: flex;
    padding: 50px 150px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.bg-img-wrapper {
    background-image: url('../../public/images/background-image.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center bottom;
}

.form-container {
    box-sizing: border-box;
    padding: 40px;
    height: 636px;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 5px;
    color: #2d333a;
}

img {
    margin-bottom: 24px;
    width: 56px;
    height: 56px;
}

h4 {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
}
.form-header {
    margin: 0px;
    margin-bottom: 24px;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}
.success-header {
    font-size: 25px;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.success-paragraph {
    font-size: 20px;
}

input {
    display: block;
    box-sizing: border-box;
    height: 47px;
    width: 100%;
    font-size: 16px;
}

.form-input {
    position: relative;
    width: 100%;
    padding: 0 16px;
    font-size: 16px;
}

.form-input label {
    position: absolute;
    top: 13px;
    margin-left: 22px;
    font-size: 18px;
    color: #6f7780;
    cursor: text;
}

.form-input input:focus + label,
.form-input input:not(:placeholder-shown) + label {
    display: block;
    padding: 0 5px;
    opacity: 1;
    transform: scale(0.9) translateY(-150%) translateX(-22px);
    background-color: #fff;
}

.form-input input:focus {
    border: 1px solid rgb(0, 123, 173);
}

.form-input input:focus + label {
    color: rgb(0, 123, 173);
}

.form-input label,
.form-input input {
    transition: all 0.2s;
}

.submit-button {
    margin-top: 30px;
    width: 100%;
    height: 52px;
    color: #fff;
    background-color: #52cd65;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    border-radius: 3px;
}

ul {
    margin: 1em 0 0;
    font-size: 26px;
    list-style: none;
}

li::before {
    top: 1px;
    display: inline-block;
    content: '•';
    color: #52cd65;
    font-weight: 700;
    transform: scale(2);
    position: relative;
    width: 24px;
}

li {
    padding: 1em 0 0;
    margin: 0;
}
.error-message {
    padding-bottom: 0;
    margin-bottom: 0;
    padding-top: 4px;
    display: flex;
    align-self: flex-start;
    font-size: 12px;
    color: #d00e17;
    line-height: 1.4;
}

.warning-icon {
    padding-bottom: 0;
    margin-bottom: 0;
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.form-input .error-input:focus {
    border: 2px solid #d00e17;
    outline: none;
}

.form-input .error-input:focus + .error-label {
    color: #d00e17;
}
.error-input {
    border: 1px solid #d00e17;
    outline: none;
}

.form-input .error-label {
    color: #d00e17;
}

@media (max-width: 1445px) {
    .wrapper {
        padding: 50px 50px;
        font-size: 18px;
    }

    ul {
        margin: 1em 0 0;
        font-size: 22px;
    }

    li::before {
        width: 24px;
    }
}

@media (max-width: 1140px) {
    body {
        width: 100%;
        height: 100%;
    }

    .wrapper {
        position: relative;
        padding: 50px 100px;
        flex-direction: column-reverse;
    }

    .form-container {
        padding-top: 50px;
    }

    ul {
        margin: 0;
        font-size: 16.2px;
        list-style: none;
        line-height: 1.4;
    }

    li::before {
        width: 18px;
        margin-left: -1em;
    }
}

@media (max-width: 440px) {
    .form-container {
        width: 95vw;
        padding: 50px 20px;
    }
}
