.contact {
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}


.contact__container {
    background: #2e3267;
    padding: 4rem;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    height: 30rem;
    margin: 7rem auto;
    border-radius: 1rem;
}

/* 
---------------------------------------------
ASIDE
---------------------------------------------  
*/

.contact__aside {
    background: #6c63ff;
    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;
}

/* 
---------------------------------------------
FORM
--------------------------------------------- 
*/

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-right: 4rem;
}

.form__name {
    display: flex;
    gap: 1.2rem;
}

.problem {
    width: 100%;
    border-radius: 1rem;
}

.contact__form input[type="text"] {
    width: 50%;
    border-radius: 1rem;
}

.contact__form input, textarea {
    width: 100%;
    padding: 1rem;
    background: #1f2641;
    color: white;
    border-radius: 1rem;
}

.contact__form .btn {
    width: max-content;
    cursor: pointer;
    margin-top: 0.2rem;
}

/* 
---------------------------------------------
MEDIA QUERIES (TABLET)
--------------------------------------------- 
*/

@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;
    }

    .contact__form {
        align-self: center;
        margin-right: 1.5rem;
    }

 /* 
 ---------------------------------------------
 NAVBAR (TABLET)
 --------------------------------------------- 
 */

 nav button {
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: var(--color-white);
    cursor: pointer;
 }

 nav button#close-menu-btn {
    display: none;
 }

 .nav__menu {
    position: fixed;
    top: 5rem;
    right: 5%;
    height: fit-content;
    width: 18rem;
    flex-direction: column;
    gap: 0;
    display: none;
 }

 .nav__menu li {
    width: 100%;
    height: 5.8rem;
    animation: animateNavItems 400ms linear forwards;
    transform-origin: top right;
    opacity: 0;
 }

 .nav__menu li:nth-child(2) {
    animation-delay: 200ms;
 }

  .nav__menu li:nth-child(3) {
    animation-delay: 400ms;
 }

  .nav__menu li:nth-child(4) {
    animation-delay: 600ms;
 }

 @keyframes animateNavItems {
    0% {
        transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
    }

    100% {
        transform: rotateZ(0) rotateX(0) scale(1);
        opacity: 1;
    }
 }

 .nav__menu li a {
    background: var(--color-primary);
    box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
 }

 .nav__menu li a:hover {
    background: var(--color-bg2);
    color: var(--color-white);
 }

}

/* 
---------------------------------------------
MEDIA QUERIES (MOBILE)
--------------------------------------------- 
*/

@media screen and (max-width: 600px) {
    .contact__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 0;
        padding: 0;
    }

    .contact__form {
        margin: 0 1.5rem 3rem;
    }

    .form__name {
        flex-direction: column;
    }

    .form__name input[type="text"] {
        width: 100%;
    }
}