/* REQ - HERO */
.req-hero {
    height: 600px;
    width: 100%;
    position: relative;
    user-select: none;
}

.req-hero img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.req-hero-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(to right, rgba(128, 128, 128, 0.718) 40%, transparent);
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 10% 0 10%
}

.req-hero-overlay-content {
    background-color: rgba(255, 255, 255, 0.909);
    width: fit-content;
    padding: 40px 20px;
    border-radius: 10px;
}

.req-hero-overlay-content h1 {
    color: var(--main-blue-dark);
    width: fit-content;
    border-radius: 50px 0 0 50px;
    font-size: 50px;
    margin: 0 0 20px 0;
    line-height: 50px;
}

.req-hero-overlay-content p {
    font-size: 20px;
    font-weight: 600;
    color: rgb(101, 101, 101);
    margin: 0 0 20px 0;
    max-width: 800px;
}

.req-hero-overlay-content .site-button {
    background-color: var(--main-blue-dark);
    color: white;
}

.req-hero-overlay-content .site-button:hover {
    background-color: transparent;
    color: var(--main-blue-dark);
}

/* REQ - BANNER */
.req-banner {
    background-color: var(--main-blue-dark);
    padding: 50px 0 50px 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.req-banner h3 {
    text-align: center;
    margin: 0;
    font-size: 40px;
    width: fit-content;
    position: relative;
}

@media (max-width: 981px) {
    .req-banner h3 {
        font-size: 30px;
    }
}

.req-banner h3::before {
    content: '';
    width: 50px;
    border-radius: 5px 0 0 5px;
    height: 5px;
    background-color: white;
    position: absolute;
    left: -80px;
    top: calc(50% - 2.5px);
}

.req-banner h3::after {
    content: '';
    width: 50px;
    border-radius: 0 5px 5px 0;
    height: 5px;
    background-color: white;
    position: absolute;
    right: -80px;
    top: calc(50% - 2.5px);
}





/* OUTSIDE FORM */
.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0 0 0;
    width: 100%;
    background: linear-gradient(white, #e2e2e2);
}

.form-wrapper h2 {
    margin: 10px 0px;
}

.form-wrapper h4 {
    margin: 10px 0px;
    text-align: center;
}

/* FORM */
.form-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 500px;
    max-width: 90vw;
    row-gap: 40px;
    padding: 20px 0px;
    background-color: var(--form-default-background);
    position: relative;
}

/* FORM OVERLAY */
.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d8d8d8b0;
    backdrop-filter: blur(0.5px);
    display: none;
}

/* FORM ROW */
.form-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FORM LABEL */
.form-row label {
    font-weight: 600;
    text-align: left;
    width: 80%;
    font-size: 20px;
}

.form-row:has(input[required]) label::after, .form-row:has(textarea[required]) label::after  {
    content: " - Required";
    color: var(--main-blue-dark);
    font-size: 14px;
    display: inline;
}

/* FORM INPUT, SELECT & TEXTAREA */
.form-row input, .form-row select, .form-row textarea {
    border: solid 4px var(--main-blue-dark);
    padding: 5px;
    font-family: inherit;
    width: 80%;
    outline: none;
    border-radius: 20px;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    background-color: transparent;
    font-size: 20px;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border: solid 4px gray;
    background-color: white;
}

/* FORM CHECKBOX */
.form-row .checkbox-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-top: 10px;
}

.form-row .checkbox-row label {
    font-weight: normal;
}

.form-row .checkbox-row input[type="checkbox"] {
    width: 30px;
    height: 30px;
}

/* FORM TEXTAREA */
.form-row textarea {
    resize: none;
    height: 150px;
}

/* FORM #ERRORLABEL */
#error-label {
    color: var(--form-alert);
    margin: 0 0 -30px 0;
    visibility: hidden;
    min-height: 1.5rem;
}

/* FORM SUBMIT */
.form-main input[type="submit"] {
    border: solid 4px var(--main-blue-dark);
    font-family: inherit;
    padding: 10px 20px;
    font-size: 22px;
    transition: all 0.2s linear;
    color: var(--main-blue-dark);
    background-color: white;
    border-radius: 20px;
}

.form-main input[type="submit"]:hover {
    background-color: var(--main-blue-dark);
    color: white;
    cursor: pointer;
}