/* FORM HEADER TEXT ******************************************************************************************************/

/* removed this class inside index.php, used only on contact.php */

.contact_form-container {
    padding: 20px;
    margin: 0 auto;
    /* Centers the container horizontally */
    max-width: 800px;
    /* Set the maximum width you want for the container */
    width: 100%;
    /* Make it take up 100% of the width up to the max-width */
    box-sizing: border-box;
    /* Ensure padding doesn't affect the width */
}

/* the form ID */

#contactForm {
    width: 100%;
    height: 100%;
    background-color: ;
    border: 0px solid;
}

/* FORM */

.contact_form {
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    /*box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);*/
    background: linear-gradient(to right, #475159, rgba(0, 0, 0, 0.1));
    background-color: ;
    border: 0px solid;
    padding: 0;
    /* Remove any inner padding */
    margin: 0;
    /* Remove any outer margin */
    box-sizing: border-box;
    /* Ensure border and padding are included in the total width and height */
}

/* FORM internal */

.contact_form form {
    background-color: ;
    border: 7px solid;
    padding: 0vw 2.5vw;
    justify-content: center;
    flex-basis: 100%;
    margin-bottom: 0;
}

.contact_form h3 {
    /* removed this class inside index.php */
    margin: 1rem 0;
    letter-spacing: 1px;
    font-size: 1.5em;
    color: transparent;
    text-align: center;
}

/* INNER BOX TEXT ******************************************************************************************************/

.input-group input,
.input-group textarea {
    font-family: "semplicitapro", sans-serif;
    color: #f0f0f0;
    font-size: 1rem;
    font-weight: 200;
    line-height: 25px;
    letter-spacing: 0.1rem;
    padding: 8px 15px;
    margin-bottom: 15px;
    width: 100%;
    outline: none;
    box-sizing: border-box;
    border: none;
    border-bottom: 3px solid #ABB8C8;
    background: #4E5861;
    border-radius: 0.25rem;
}

/* INNER BOX ******************************************************************************************************/

.input-group input:focus,
.input-group textarea:focus {
    border-color: #00C365;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(0 195 101/ 37%);
}

.input-group textarea {
    height: 75px;
}

::-webkit-input-placeholder {
    color: #ABB8C8 !important;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #ABB8C8 !important;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #ABB8C8 !important;
}

:-ms-input-placeholder {
    color: #ABB8C8 !important;
}

/* BUTTON ******************************************************************************************************/

.button_style {
    color: #f0f0f0;
    margin: 0rem 0 1.25rem;
    padding: .5em 3em;
    font-size: 1.1em;
    letter-spacing: 2px;
    cursor: pointer;
    border: 0px solid #f0f0f0;
    outline: none;
    background: #00C365;
    transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
    -moz-transition: 0.5s all ease;
    -o-transition: 0.5s all ease;
    -ms-transition: 0.5s all ease;
}

.button_style:hover {
    color: #4E5861;
    background: #f0f0f0;
}

/* STATUS MESSAGE ******************************************************************************************************/

.status-msg {
    color: #f0f0f0;
    font-size: 0.8rem;            /* small but still readable; adjust to taste */
    line-height: 1.4;
    padding: 8px 12px;
    margin: 0.75rem 0;
    background: #4E5861;
    border: 2px solid #202326;
    border-radius: 0.25rem;
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;    /* long words/emails wrap instead of pushing width */
    white-space: pre-line;        /* moved here from the inline style in index.php */
    max-height: 7em;              /* cap the height... */
    overflow-y: auto;             /* ...message scrolls internally, container never grows */
}

.message_text {
    color: green;
    font-size: 0.8rem;            /* small but still readable; adjust to taste */
    
}

.status-msg.error {
    background: #D91E2E;
    border-color: #D91E2E;
}

.status-msg.success {
    background: rgba(0, 195, 101, 0.15);
    border: none;
    border-left: 5px solid #00C365;
    padding: 10px 12px;
}

/** Responsive **/

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    h3 {
        font-size: 30px;
    }
}

@media screen and (max-width: 480px) {
    .contact_form {
        margin: 0 5vw;
    }
    h1 {
        font-size: 2em;
    }
    h3 {
        font-size: 27px;
    }
}

@media screen and (max-width: 414px) {}

@media screen and (max-width: 320px) {
    h1 {
        letter-spacing: 2px;
    }
    h3 {
        font-size: 25px;
    }
    .footer p {
        letter-spacing: 0px;
    }
}

/** /Responsive **/