
*{
    box-sizing: border-box
}
#contact .top-section{
    padding-bottom:3vh;
    /* breathign space */
}

#contact p, #give p{
    font-size: var(--default-font-size) 
}


#contact .left-right-splitter{
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    overflow: hidden;
    flex-wrap: wrap
}

#contact .form-container{
    background: #cecece;
    width: 50%;

    form {
        padding: 3vh;
    }
}


.left-right-splitter .split{
    flex: 1;
    flex-basis: 300px
}

#contact .left-split{
    background:rgb(255, 255, 255);
    padding: 2.4vh;

}

#contact .left-split h1{
    font-size: var(--default-h1-size);
    font-weight: 400;
    margin-bottom: 15px;
    margin-top: 0;
    color: rgba(0, 0, 0, 0.825);
    text-align: left;

}


#contact .left-split h3, #contact .left-split p{
    margin: 0;
    color: rgba(0, 0, 0, 0.75);

}



#contact .left-split > div{
    display: flex;
    flex-direction: row;
    gap: 4%;
    margin-top: 25px;
    


}

#contact input[type=submit] {
    cursor: pointer
}

#contact .icon-container{
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    background: var(--accent);
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 10px;
    
}


#contact input, #contact textarea {
    display: block;
    font-family: var(--font);
    padding:10px 18px;
    font-size: var(--default-font-size);
    border: none;
    border-radius: 5px;
    width:100%;
    color: #000000d1;
    background: rgba(255, 255, 255, 0.841);
    outline: none;
    max-width: 100%;
    font-weight: 500;

}


/* all labels in the contact page */
#contact label{
    margin-top: 15px;
    display: block;
    font-size: 19.2px;
    color: #787878;
    padding: 8px 0;
}

/* no margin */
#contact label:nth-child(1){
    margin-top: 0;
   
}

#contact input[type=submit]{
    width: auto;
    margin-top: 30px;
    font-size: 19.2px
}

input[type=submit]{
    box-shadow:0px 1px 5px #00000045;
    transition: opacity 0.45s;
    color: rgba(0,0,0,0.6)!important
}

input[type=submit]:hover{
    opacity: 0.7
}


#contact .form-container{
    position: relative;
}


/* note:only displays when form is sent and is returned. See contact.php */
.form-status{
    height: 100%;
    width: 100%;
    position: absolute;
    background: rgba(255, 255, 255, 0.295);
    backdrop-filter: blur(9px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1vw;
    text-align: center;

    p{
        margin-top: 10px;
    }

}

.form-status--error{
    background: rgba(255, 154, 186, 0.295);
}

.form-status--sent{
    background: rgba(154, 255, 178, 0.295);

}


.phone-flash{
    animation: phone-flash 1s forwards 7s 1;
}


/* hidden input */
.great-dude{
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    visibility: hidden !important;
    display: block !important; 
    z-index: -99;
}

/* nudge user to schedule a call */
@keyframes phone-flash {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}