/* Style the contact section */
#contact_head {
    padding-top: 9rem;
    padding-bottom: 5rem;
}

#contact_head > div > div > div:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#contact_head h1 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 100%;
    
    padding-bottom: 0.5rem;
}

#contact_head h3 {
    font-size: 1.25rem;
    font-weight: 300;
    text-align: left;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
}

#contact_head p:nth-of-type(1) {padding-bottom: 3rem;}
#contact_head p:nth-of-type(n+2) {
    font-weight: 600;
    margin-left: 1.5rem;
}
#contact_head p:nth-of-type(n+2) a:hover {text-decoration: underline;}

#contact_head div.form-group {
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
    font-family: "Montserrat", Verdana, Arial, sans-serif;
}

#contact_head div.cont-flex-100 {align-items: center;}

#contact_head label {
    font-size: 0.9rem;
    color: var(--clr_base_700);
    padding-bottom: 0.5rem;
}

#contact_head input {font-family: "Montserrat", Verdana, Arial, sans-serif;}

#contact_head .form-control {
    font-family: "Montserrat", Verdana, Arial, sans-serif;
    font-size: 1rem;
    line-height: 140%;

    min-width: 4rem;
    width: 100%;
    max-height: 14rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-inline: 1rem;

    border: solid 1px var(--clr_base_900);
    background-color: var(--clr_base_100);

    resize: none;
}

#contact_head small {
    font-size: 0.8rem;
    text-align: right;
    color: var(--clr_base_700);
    padding-top: 0.5rem;
}

#contact_head small.tip {
    padding-inline: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    margin-top: 2rem;

    font-size: 1rem;
    text-align: center;
    line-height: 150%;
    
    background-color: var(--clr_accent_blue);
    color: white;
}



@media (min-width: 1950px) {
    #contact_head {
        padding-top: 12rem;
        padding-bottom: 10rem;
    }
}

@media (max-width: 1200px) {
    #contact_head > div > div > div:nth-child(1) {padding-bottom: 2rem;}
    #contact_head > div > div {grid-template-columns: repeat(1, 1fr);}
    #contact_head p:nth-of-type(1) {padding-bottom: 1rem;}
}