/* contact */


#contact-section-top {
    background-color: var(--dark-blue);
}

#contact-div-left {
    width: 600px;
    max-width: 50%;
    z-index: 100;
    position: relative;
}


#contact-div-right {
    display: block;
    border-radius: 20px;
    border: 1px solid #D9D9D9;
    background-color: #ffffff;
    z-index: 100;
}

form {
    display: block;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 100;
}


/* Form Fields */
.text-field {
    max-width: 90%;
    height: 60px;
    grid-row-gap: 30px;
    border: 1px solid #8A8B8C;
    border-radius: 5px;
    margin-bottom: 12px;
    font-family: 'Lato';
    font-size: 16px;
    padding-left: 20px;
    color: var(--text-black-dark);
}

.text-field::placeholder {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #CACBCB;
}

#checkbox-div {
    width: 500px;
    max-width: 90%;
    display: inline-flex;
    margin-bottom: 12px;
    align-items: center;
    padding: 15px 0;
}

label {
    font-family: 'Lato';
    font-size: 0.9rem;
    color: var(--text-black-dark);
}

label a {
    text-decoration: none;
}

textarea {
    resize: none;
    width: 500px;
    border: 1px solid #8A8B8C;
    max-width: 90%;
    height: 120px;
    padding: 20px 0px 0px 20px;
    border-radius: 5px;
    font-family: 'lato';
    font-size: 16px;
    color: var(--text-black-dark);
}

textarea::placeholder {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #CACBCB;
}


#privacypolicy {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

#privacypolicy a {
    text-decoration: none;
}

#submit-btn {
    border: none;
    width: 90%;
    padding: 20px 10px;
}

#message {
    min-height: 100px;
}

/* error */

#error {
    padding: 0 26px;
}

#error-p {
    color: red;
    font-family: "Lato";
}

/* End Form Fields */


#contact-section-bottom {
    position: absolute;
    z-index: 10;
    height: 100px;
    width: 1440px;
    max-width: 100%;
    bottom: 0;
    margin: 0;
}

#silhouette-div {
    position: relative;
    width: 100%;
    z-index: 10;
    height: 616px;
    margin-left: -155px;
    bottom: 180%;
}

#silhouette-div {
    background-image: url('/assets/images/contact-silhouette.png');
    background-repeat: none;
    overflow: hidden;
}

/* Turnstiles */

.cf-turnstile {
    padding: 0 30px 15px 30px;
    display: flex;
}

iframe {
    width: 100% !important;
}



/* phone / tablet */

@media only screen and (max-width: 1024px)
{

    #contact-section-top {
        background-image: none;
        max-height: 100%;
        position: static;
        max-width: 100%;
        padding-bottom: 150px
    }

    #upper-wrapper {
        display: flex;
        flex-direction: column;
        column-gap: 0;
    }

    #contact-div-left {
        order: 1;
        max-width: 100%;}

    #contact-div-right {
        order: 2;
        max-width: 100%;
        margin: 40px 0;
    }

    #contact-section-bottom {
        display: none;
    }

    p {
        padding: 0;
    }

    input, textarea {
        width: 90%;
    }


    form {
        padding: 40px 0;
    }

    #checkbox-div {
        padding-bottom: 10px;
    }

    footer {
        display: none;
    }


}
/* end phone */

@media only screen and (min-width: 1025px) {

    p {
        padding-right: 50px;
    }

    #contact-section-top {
        padding-top: 50px;
        display: flex;
        position: absolute;
        width: 80%;
        height: 500px;
        max-height: 50%;
        background-image: linear-gradient(to bottom, rgba(49,69,255,0) 50%, rgb(255, 255, 255));
    }

    #upper-wrapper {
        display: flex;
        position: absolute;
        grid-column-gap: 25px;
        width: 100%;
    }

    #silhouette-div {
        display: flex;
        max-width: 100%;
    }

    #contact-div-left {
        width: 600px;
        max-width: 50%;
        z-index: 100;
        position: relative;
    }

    #contact-div-right {
        max-width: 50%;
        min-height: 100%;
        width: 600px;
        padding: 40px 0;
        position: relative;
        z-index: 100;
    }

    .text-field {
        width: 500px;
    }
}
