
/* FOR ALL FLEXBOXES WITH SIDE SPACERS */
.spacer-side-flexbox {
    display: flex;
    color: #333333;
}

.white-background {
    background-color: white;
}


.grey-background {
    background-color: #eaeaea;    
}

/* HEADLINE BANNER GREY */
.hide-on-mobile {
    justify-content: center;
}

.hide-on-mobile .spacer-sides {
    flex: 1;
} 

.text-banner-wrapper {
    min-height: 200px;
    flex: 12;
    max-width: 2000px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.text-banner-headline {
    flex: 1;
    margin: 0 2vw;
    text-align: left;
    font-size: 2.2rem;
}

.text-banner-text {
    flex: 2;
    margin: 1rem 2vw;
    text-align: right;
    line-height: 1.5rem;
}

.text-banner-text a {
    text-decoration: none;
    color: #333333;
    border-bottom: 1px solid transparent;
    transition: all 0.25s;
}

.text-banner-text a:hover {
    border-bottom: 1px solid rgba(51, 51, 51, 0.75);
    opacity: 0.75;
}

.hide-on-desktop {
    display: none;
}

/* Tablet */
@media (max-width: 69em) {

    .text-banner-headline {
        flex: 1;
        margin: 0 1vw;
        text-align: center;
        font-size: 1.8rem;
    }

    .text-banner-text {
        flex: 3;
        font-size: 0.85rem;
    }

    .hide-on-mobile .spacer-sides {
        flex: 0.8;
    } 

}

/* Smaller Tablet */
@media (max-width: 50em) {
    .hide-on-mobile {
        display: none;
    }

    .hide-on-desktop {
        display: flex;
    }

    .hide-on-desktop .spacer-sides {
        flex: 1;
    }

    .text-banner-wrapper {
        flex: 20;
    }

    .text-banner-text {
        margin: 1rem 0;
        text-align: justify;
    }

    .text-banner-text span {
        font-size: 1.65rem;
    }
}



.contact-form-section .spacer-sides {
    flex: 1;
}

.contact-form-container {
    width: 35em;
}

.contact-form-container form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;

    color: 333333;
    line-height: 1.5rem;
}

.form-element {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    position: relative;
}

.form-element .error-message {
    font-size: 12px;
    font-style: italic;
    color: rgb(192, 24, 24);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100px;
    display: none;
}

#message-error {
    top: 175px;
}

.contact-form-container input, .contact-form-container textarea {
    border: none;
    background-color: #eaeaea;
    font-size: 1rem;
    line-height: 1.5remx;
    padding: 16px;
    outline: none;
}

.contact-form-container p {
    padding: 16px;
}

.contact-form-container textarea {
    text-align: left;
    resize: none;
}

.contact-send-button {
    width: 7rem;
    border: none;
    background-color: #333333;
    font-size: 1rem;
    padding: 10px;
    color: #eaeaea;
    transition: opacity 0.25s;
}

.contact-send-button:hover {
    opacity: 0.75;
    cursor: pointer;
}


@media (max-width: 40em) {
    .contact-form-container {
        flex: 12;  
    }
} 