form {
    background-color: rgb(246, 246, 246);
    padding: 1.5rem 2rem 1.5rem 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    padding-top: 0.6875rem;
}

form button {
    background-color: #222;
    border: unset;
    color: white;
    font-size: 1.2rem;
    width: max-content;
    padding: 0.8175rem 2rem 0.8125rem 2rem;
    margin-top: 2rem;
    margin-left: 1rem;
}

.message-text {
    display: block;
    background: url(../icons/error.svg) no-repeat scroll #fff;
    background-position: 98% 50%;
    background-size: 1rem;
    border: 1px solid #e2001a !important;
    box-sizing: border-box;
    color: #e2001a;
    font-size: 1rem;
    font-weight: bold;
    line-height: 2;
    margin-bottom: 0.5rem;
    min-height: 2.05rem;
    text-indent: 0.5rem;
    width: 100%;
}

form button:hover {
    background-color: black;
    cursor: pointer;
}


label {
    font-size: 1rem;
    line-height: 1.33;
    padding-bottom: 0.3125rem;
    margin: 0 1rem;
    color: #6f6f6f;
    font-weight: bold;
}

input {
    padding: 0 0.5rem;
    margin: 0 1rem;
    border: 1px solid #6f6f6f;
    box-shadow: inset 0 0 0.3125rem #eaecee;
    height: 40px;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border: 1px solid #bad98a;
    box-shadow: inset 0 0 0.3125rem #eaecee;
}

@media (min-width: 768px) {
    form {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 992px) {
    form {
        padding: 1.5rem 0.5rem;
    }
}

@media (min-width: 1200px) {}

@media (max-width: 768px) {
    form {
        padding: 1.5rem 1rem;
    }

    label {
        margin: 0;
    }

    input {
        height: 2.5rem;
        margin: 0;
    }

    form button {
        margin-left: 0;
    }
}