/* Ensure proper sizing */
* {
    box-sizing: border-box;
}

/* Column container */
.row_contact {
    display: flex;
    flex-wrap: wrap;
}

/* Main Column for Contact */
.main_contact {
    top: 50%;
    left: 50%;
    /* Set the width of the main content */
    background-image: url(/Images/Contact_background.jpg);
    /* Image used in main */
}

/* Editing the group_input */
#contact_form input {
    width: 50%;
    max-width: 600px;
    /* Place in center */
    justify-self: center;
    align-self: center;
    border-radius: 12px;
}

.group_input {
    margin-bottom: 30px;
    position: relative;
}

input, textarea {
    width: 100%;
    padding: 10px;
    outline: 0;
    border: 3px solid rgb(75, 69, 195);
    color: black;
    background: transparent;
    font-size: 14px;
    font-weight:bolder;
    font-family: 'Times New Roman', Times, serif;
}
/* Making the contact tab fancier */
.contact_label {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    padding: 10px;
    color:midnightblue;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    cursor: text;
    transition: 0.25s;
}
/* Adding and styling submission */
.contact_submit_btn {
    padding: 10px 0;
    color: midnightblue;
    outline: none;
    background: transparent;
    border: 1px solid white;
    width: 100%;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
}
/* Change the position when clicked */
input:focus~.contact_label,
input:valid~.contact_label,
textarea:focus~.contact_label,
textarea:valid~.contact_label {
    top: -35px;
    font-size: 14px;
}
