* {
    box-sizing: border-box;
    padding: 0%;
    margin: 0%;
}

.contact {
    --input-width: 20%;
    --input-border-radius: 15px;
    --color: #b4191c;
    --hover-color: #911624;
}

/* overwrite */
.page-title-wrapper {
    text-align: center;
}

.contact .contact__input {
    border-radius: var(--input-border-radius);
    padding: 0.5rem 1rem;
    outline: none;
    border: 1px solid #aaa;
    width: var(--input-width);
}

.contact .contact__input::placeholder,
.contact__message::placeholder {
    color: #444;
    font-style: italic;
}

.contact__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
    width: 80%;
    margin: 1rem auto;
    padding: 1rem;
}

.contact__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.contact__message {
    width: calc(2 * var(--input-width));
    border-radius: var(--input-border-radius);
}

.contact__legal {
    margin-top: 1rem;
    text-align: justify;
    width: calc(2 * var(--input-width));
}

.contact__button {
    outline: none;
    border: none;
    border-radius: var(--input-border-radius);
    background-color: var(--color);
    color: #fff;
    transition: .1s;
    cursor: pointer;
}

.contact__button:hover {
    background-color: var(--hover-color);
    color: #fff;
    border: none;
    transition: .1s;
}

/* Override magento default style */
.contact__button:focus {
    background-color: var(--hover-color);
    color: #fff;
    outline: none;
    border: none;
}

.contact__button:active {
    transform: scale(0.85);
    transition: .1s;
}

.contact__cv {
    width: calc(2 * var(--input-width));
    /* height: 50%; */
    padding: 5rem;
    border-radius: 10px;
    border: 4px dashed rgba(49, 111, 245, 0.7);
}

.contact__cv--highlight {
    border: 4px dashed rgba(49, 111, 245, 0.7);
    background-color: rgba(49, 111, 245, 0.1);
}

.contact__cv__input {
    display: none;
}

.contact__cv__label {
    cursor: pointer;
    text-decoration: underline;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}