:root {
    --form-color: #810000;
}

.x {
    color: var(--form-color);
}

.form {
    min-height: calc(100vh - 100px - 50px);
    color: var(--form-color);
}

.form-banner {
    height: 300px;
    background-color: var(--form-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.form-banner h1 {
    color: #fff;
    letter-spacing: 5px;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.form-container {
    min-height: calc(100vh - 100px - 50px - 300px);
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    width: 800px;
    padding: 2em;
    text-align: center;
}

form h2 {
    margin-bottom: 1em;
}

form .op {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

form .op1 {
    width: 50%;
    min-width: 200px;
}

form .op2 {
    width: 50%;
    min-width: 200px;
}

form .op1 label {
    display: inline-block;
    width: 100%;
    font-size: 0.8em;
    font-weight: bold;
}

form .op2 label {
    display: inline-block;
    width: 100%;
    font-size: 0.8em;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="number"] {
    border: none;
    outline: none;
    border-bottom: 1px solid #000;
    width: 70%;
    padding: 5px;
    margin-bottom: 1em;
}

form label {
    display: inline-block;
    width: 100%;
    font-size: 0.8em;
    margin-bottom: 1em;
    font-weight: bold;
}

textarea {
    width: 100%;
    min-height: 100px;
    resize: none;
}

input[type="submit"] {
    margin-top: 1em;
    background-color: var(--form-color);
    outline: none;
    width: 80%;
    border: none;
    padding: 1em;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 15px;
    color: #fff;
}

.show-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

.show-succes {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

.show-error p,
.show-succes p {
    font-weight: bold;
}

.alert-active {
    display: none;
}

.texto-prueba {
    text-align: center;
    background-color: var(--form-color);
    color: #fff;
}

@media (max-width: 720px) {
    .form {
        min-height: calc(100vh - 50px);
    }

    form .op1 {
        width: 100%;
        min-width: 200px;
    }

    form .op2 {
        width: 100%;
        min-width: 200px;
    }
}
