main {
    background: var(--bg);
}

#contact_form {
    display: flex;
    height: 80vh;
    width: 100%;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact_heading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sub_head {
    font-family: var(--heading_fonts);
    font-size: 1.125rem;
}

#contact_form .title {
    font-size: 3rem;
    font-family: var(--heading_fonts);
    letter-spacing: .7rem;
}

.container {
    display: flex;
    /* align-items: center; */
    justify-content: space-around;
    width: 100%;
}

.form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-direction: column;
    width: 40%;
}

form {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    gap: .5rem;
    flex-direction: column;
}

form input {
    width: 100%;
    padding: .8rem;
    font-family: var(--normal_fonts);
    border:1px solid var(--btn_bg);
    outline: none;
    border-radius: 8px;
    color: rgba(128, 128, 128, 0.719);
}

/* form input:nth-child(4){
    height: 5rem;
    text-align: top;

} */
.label {
    font-family: var(--heading_fonts);
    letter-spacing: .6rem;
}


form button {
    margin-top: 1rem;
    padding: .7rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: var(--btn_bg);
    color: white;
    cursor: pointer;
    font-family: var(--normal_fonts);
    transition: transform 0.3s ease, background 0.2s linear;
}

form button:hover {
    background: black;
    transform: scale(1.03);
}

.contact_details {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-family: var(--normal_fonts);
    justify-content: start;
    flex-direction: column;
}

.contact_details .details {
    font-size: 1.1rem;
    gap: 1rem;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.details p i {
    color: var(--heading_color);
}

.contact_details .social_media {
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 2rem;
    align-items: center;
}

.contact_details .social_media a{
        font-size: 1.5rem;
    color: var(--heading_color);
    transition: transform .2s ease-in-out;
}

.contact_details .social_media a:hover{
    transform: translateY(-3px);
}

#Map{
    height: 85vh;
    width: 100%;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#Map .location{
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#Map iframe{
    width: 100%;
    height: 100%;
}

@media screen and (max-width:900px) {
    #contact_form{
        padding: 3rem 0;
        height: auto;
    }

    #contact_form .container{
        flex-direction: column;
        align-items: center;
        gap: 4rem;
    }

    .form{
        width: 65%;
    }

    .contact_details{
        width: 80%;
    }

    .contact_details .details{
        width: 100%;
        flex-wrap: wrap;
        flex-direction: row;
        font-size: .85rem;
        /* gap: 2rem; */
        justify-content: space-around;
    }

    .contact_details .social_media{
        margin-top: 1rem;
        justify-content: center;
        width: 80%;
    }

    .contact_details .social_media a{
        font-size: 1.8rem;
    }

    #Map iframe{
        width: 90%;
    }
    
}
@media screen and (max-width:568px) {
    
    .sub_head{
        font-size: 1rem;
    }

    #contact_form .title{
        font-size: 2.5rem;
    }

    .contact_details .social_media a{
        font-size: 1.4rem;
    }
}
@media screen and (max-width:448px) {
    
    .sub_head{
        font-size: .8rem;
    }

    #contact_form .title{
        font-size: 2rem;
    }
    
    .form{
        width: 80%;
    }
    .label{
        font-size: .8rem;
    }

    .contact_details .details{
        font-size: .75rem;
        text-align: center;
    }
}
@media screen and (max-width:370px) {
    #contact_form .title{
        font-size: 1.8rem;
    }
    
}
