@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:opsz,wght@8..144,400;8..144,500;8..144,600;8..144,700&display=swap');

section#contact {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 90%;
    max-width: 550px;
    margin: auto;
    margin-top: 3em;
}

#contact .heading {
    text-transform: capitalize;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: .5em;
}

#contact .contactMethod {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1em;
    align-items: center;
    text-align: center;
    justify-content: space-around;
}

#contact .contactMethod .method {
    display: flex;
    align-items: center;
}

#contact .contactMethod .contactIcon {
    font-size: 1.3rem;
    color: var(--accent-color);
    width: 70px;

}

#contact .contactMethod .contactIcon:hover {
    color: var(--light-color);
}

#contact .contactMethod .sub-heading {
    margin-bottom: .5em;
    font-weight: bold;
    color: var(--light-color);
    text-align: center;
}

#contact .para {
    color: var(--light-color);
    font-size: 1.1rem;
    line-height: 1.5em;
    margin-bottom: 1em;
}


#contact .contactForm {
    display: grid;
    gap: 3em;
}

#contact form {
    width: 100%;
    margin-top: 3em;
}

#contact .para2 {
    text-align: center;
}

#contact .input {
    width: 95%;
    max-width: 700px;
    border: none;
    font-size: .9rem;
    padding: 1em;
    outline: none;
    background-color: var(--form-color);
    color: var(--light-color);
    border-radius: 10px;
    border: 1px solid rgb(53, 53, 53);
    margin-bottom: 1em;

}

#contact .input:focus {
    border: 1px solid var(--add-color);
}

#contact .input::placeholder {
    text-transform: capitalize;
}

#contact .submit {
    background-color: var(--add-color);
    border: none;
    color: var(--light-color);
    font-weight: bold;
    cursor: pointer;
    width: 95%;
}

#contact .submit:hover {
    background-color: var(--accent-color);
}

#contact .map-container {
    position: relative;
    width: 100%;
    height: 500px;
}

#contact .mapBg {
    position: absolute;
    background-color: var(--accent-color);
    top: 0;
    right: 0;
    width: 200px;
    height: 90%;
    border-radius: 20px;
}

#contact .map {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 90%;
}

#contact .map iframe {
    width: 100%;
    height: 100%;
}

#contact .contactMethod {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 2em;
    text-align: center;
}

#contact .method {
    display: flex;
    align-items: center;
}

#contact .contactIcon {
    font-size: 2rem;
    color: var(--light-color);
    width: 70px;

}
@media screen and (min-width:800px) {
    section#contact {
        max-width: 1100px;
    }

    #contact .contactForm {
        grid-template-columns: 1fr 1fr;
    }

    #contact .contactMethod {
        flex-direction: row;
        justify-content: space-between;
    }
}