/* ==================== MAIN CONTAINER ==================== */
main {
    width: 100%;
    height: 67.1vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image: url(../images/welcome/bg_welcome.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

/* ==================== INTRO TEXT SECTION ==================== */
.wrapper_text_intro {
    width: 60%;
    text-align: center;
    margin-top: 1rem;
}

.wrapper_text_intro h1 {
    font-weight: 500;
    color: white;
}

/* ==================== FORM CONTAINER ==================== */
.form_contact {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #004badd8;
    padding: 1rem;
    border-radius: 10px;
}

/* ==================== FORM INPUT FIELDS ==================== */
.wrapper_info {
    display: flex;
    flex-direction: row;
}

.row_info {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.row_info div {
    display: flex;
    flex-direction: column;
}

.row_info div label {
    font-weight: 300;
}

.row_info div input,
.wrapper_message textarea {
    padding: 0.5rem;
    border-radius: 20px;
    border: none;
    background-color: var(--bleu_clair);
    outline: none;
    color: var(--bleu_foncer);
    width: 100%;
}

.row_info div input::placeholder,
.wrapper_message textarea::placeholder {
    color: var(--bleu_foncer);
}

/* ==================== TEXTAREA MESSAGE ==================== */
.wrapper_message {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wrapper_message textarea {
    height: 125px;
    resize: none;
}

/* ==================== CHECKBOX & LINKS ==================== */
.wrapper_chqbox {
    font-size: 14px;
    font-weight: 200;
}

.wrapper_chqbox a {
    color: white;
    text-decoration: underline;
}

/* ==================== SUBMIT BUTTON ==================== */
.wrapper_btn {
    display: flex;
    justify-content: center;
}

.btn_submit {
    text-align: center;
    width: 150px;
    padding: 0.7rem;
    border: none;
    border-radius: 20px;
    background-color: var(--bleu_foncer);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn_submit:hover {
    background-color: var(--bleu_clair);
    color: var(--bleu_foncer);
}

/* ==================== RESPONSIVE DESIGN (≤ 992px) ==================== */
@media all and (max-width: 992px) {
    main {
        height: auto;
        padding: 2rem 0;
    }

    .wrapper_text_intro,
    .form_contact {
        width: 80%;
    }

    .wrapper_info {
        flex-direction: column;
    }

    .row_info {
        width: 100%;
        align-items: flex-start;
    }

    .row_info div {
        width: 95%;
    }

    .wrapper_message textarea {
        width: 100%;
    }
    @media all and (max-width: 992px) {
        main {
            height: auto;
            padding: 2rem 0;
        }

        .wrapper_text_intro {
            width: 80%;
        }

        .form_contact {
            width: 80%;
        }

        .wrapper_info {
            flex-direction: column;
        }

        .row_info {
            width: 100%;
            align-items: flex-start;
        }

        .row_info div {
            width: 95%;
        }

        .wrapper_message textarea {
            width: 100%;
        }
    }
}
