.contact__container{
    background: var(--color-bg1) ;
    padding: 4rem;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    height: 30rem;
    margin: 7rem auto;
    border-radius: 1rem;
}

/* ================== ASIDE ================= */
.contact__aside {
    background: var(--color-primary);
    padding: 3rem;
    border-radius: 1rem;
    position: relative;
    bottom: 10rem;
}

.aside__image{
    width: 12rem;
    margin-bottom: 2rem;
}
.contact__aside h2{
    text-align: left;
    margin-bottom: 1rem;
}
.contact__aside p{
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.contact__details li{
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}
.contact__socials{
    display: flex;
    gap: .8rem;
    margin-top: 3rem;
}
.contact__socials a{
    background: var(--color-bg2);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: var(--transition);
}
.contact__socials a:hover{
    background: transparent;
}

/* ============================= FORM =============== */
form{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-right: 4rem;
}
.form__name{
    display: flex;
    gap: 1.2rem;
}
form input[type='text'] {
    width: 50%;
}
input, textarea{
    width: 100%;
    padding: 1rem;
    background: var(--color-bg);
    color: var(--color-white);
}
form .btn{
    width: max-content;
    margin-top: 1rem;
    cursor: pointer;
}


/* -============================= location map ==================== */
.map__container{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.map__container h1{
    margin-bottom: 60px;
}
iframe{
    width: 80%;
    height: 500px;
    filter: invert(100%);
}


/* ========================= MEDIA QUERIES (TABLETS) =============================*/
@media screen and (max-width: 1024px) {
    .contact{
        padding-bottom: 0;
    }

    .contact__container{
        gap: 1.5rem;
        margin-top: 3rem;
        height: auto;
        padding: 1.5rem;
    }

    .contact__aside{
        width: auto;
        padding: 1.5rem;
        bottom: 0;
    }

    form{
        align-self: center;
        margin-right: 1.5rem;
    }

    iframe{
    width: 80%;
    height: 500px;
    filter: invert(100%);
    }
}

/* ========================= MEDIA QUERIES (PHONES) =============================*/
@media screen and (max-width: 600px) {
    .contact__container{
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 0;
        padding: 0;
    }

    form{
        margin: 0 1.5rem 3rem;
    }

    .form__name{
        flex-direction: column;
    }
    .form__name input[type="text"]{
        width: 100%;
    } 
    .map{
        margin-top: -10rem;
        margin-bottom: -15rem;
    }

    iframe{
    width: 90%;
    height: 400px;
    filter: invert(100%);
 }
}