.invalid {
    background: hsla(0, 35%, 35%, 0.5) !important;
}

.valid {
    background: hsla(120, 35%, 35%, 0.5) !important;
}


.center-flex {
    padding: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}


.form-arrow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.arrow-wrap {
    cursor: pointer;
    background: hsl(0, 0%, 40%);
    -webkit-transition: ease-in-out background 0.2s;
    -o-transition: ease-in-out background 0.2s;
    transition: ease-in-out background 0.2s;
    outline: none;
}

.arrow-wrap:hover,
.arrow-wrap:focus {
    background: hsl(0, 0%, 60%);
}

.acc-img {
    display: block;
    -webkit-transition: 0.5s -webkit-transform cubic-bezier(0.68, -0.2, 0.265, 1.2);
    transition: 0.5s -webkit-transform cubic-bezier(0.68, -0.2, 0.265, 1.2);
    -o-transition: 0.5s transform cubic-bezier(0.68, -0.2, 0.265, 1.2);
    transition: 0.5s transform cubic-bezier(0.68, -0.2, 0.265, 1.2);
    transition: 0.5s transform cubic-bezier(0.68, -0.2, 0.265, 1.2), 0.5s -webkit-transform cubic-bezier(0.68, -0.2, 0.265, 1.2);
}

.acc-img.active {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}

.acc-container {
    max-height: 0;
    -webkit-transition: 0.5s ease-in-out max-height;
    -o-transition: 0.5s ease-in-out max-height;
    transition: 0.5s ease-in-out max-height;
    overflow: hidden;
}

.input-item {
    margin: 0 45px;
}

.input-item textarea {
    resize: none;
}

.input-item input,
.input-item textarea {
    color: hsl(0, 10%, 90%);
    font-size: 1.7em;
    background: hsl(0, 0%, 10%);
    border: none;
    outline: none;
    width: 100%;
    padding: 10px;
    -webkit-transition: 0.5s ease-in-out background;
    -o-transition: 0.5s ease-in-out background;
    transition: 0.5s ease-in-out background;
}

.input-item input::-webkit-input-placeholder, .input-item textarea::-webkit-input-placeholder {
    color: hsl(0, 0%, 50%);
}

.input-item input::-moz-placeholder, .input-item textarea::-moz-placeholder {
    color: hsl(0, 0%, 50%);
}

.input-item input:-ms-input-placeholder, .input-item textarea:-ms-input-placeholder {
    color: hsl(0, 0%, 50%);
}

.input-item input::-ms-input-placeholder, .input-item textarea::-ms-input-placeholder {
    color: hsl(0, 0%, 50%);
}

.input-item input::placeholder,
.input-item textarea::placeholder {
    color: hsl(0, 0%, 50%);
}

.input-item input:hover,
.input-item input:focus,
.input-item textarea:hover,
.input-item textarea:focus {
    background: hsla(0, 0%, 20%, 0.5);
}

.form-icon {
    background: hsl(0, 0%, 10%);
}

.form-links {
    padding-top: 2px;
    padding-bottom: 2px;
    list-style-type: none;
}

.form-link,
.form-link:visited {
    width: 100%;
    color: rgb(184, 47, 47);
    -webkit-transition: 0.3s color ease-in-out;
    -o-transition: 0.3s color ease-in-out;
    transition: 0.3s color ease-in-out;
}

.form-link:hover {
    color: rgb(255, 144, 144);
}


.form-submit {
    outline: none;
    border: none;
    color: hsl(0, 10%, 90%);
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
    background: rgb(115, 38, 38);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(115, 38, 38, 1)), color-stop(50%, rgba(115, 38, 38, 1)), color-stop(50%, rgba(96, 32, 32, 1)), to(rgba(115, 38, 38, 1)));
    background: -o-linear-gradient(top, rgba(115, 38, 38, 1) 0%, rgba(115, 38, 38, 1) 50%, rgba(96, 32, 32, 1) 50%, rgba(115, 38, 38, 1) 100%);
    background: linear-gradient(180deg, rgba(115, 38, 38, 1) 0%, rgba(115, 38, 38, 1) 50%, rgba(96, 32, 32, 1) 50%, rgba(115, 38, 38, 1) 100%);

    cursor: pointer;
    -webkit-transition: 0.5s color ease-in-out;
    -o-transition: 0.5s color ease-in-out;
    transition: 0.5s color ease-in-out;
}

.form-submit:hover {
    color: rgb(115, 38, 38);
    background: rgb(244, 244, 244);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(244, 244, 244, 1)), color-stop(50%, rgba(244, 244, 244, 1)), color-stop(50%, rgba(226, 226, 226, 1)), to(rgba(244, 244, 244, 1)));
    background: -o-linear-gradient(top, rgba(244, 244, 244, 1) 0%, rgba(244, 244, 244, 1) 50%, rgba(226, 226, 226, 1) 50%, rgba(244, 244, 244, 1) 100%);
    background: linear-gradient(180deg, rgba(244, 244, 244, 1) 0%, rgba(244, 244, 244, 1) 50%, rgba(226, 226, 226, 1) 50%, rgba(244, 244, 244, 1) 100%);
}




.reqs {
    background: hsla(0, 0%, 20%, 0.8);
}

.reqs-title {
    font-size: 1.5em;
    padding: 0 25px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.reqs-list {
    font-size: 0.8em;
    text-align: left;
    color: hsl(0, 10%, 90%);
    margin-top: 12px;
    padding: 0px 25px;
    margin-bottom: 12px;
    list-style-position: inside;
}

.reqs-list li {
    margin-bottom: 3px;
}


@media only screen and (max-width: 768px) {
    .input-item input,
    .input-item textarea {
        font-size: 1.2em;
    }

    .input-item {
        margin: 0 10px;
    }
}