.contact-con{
    background: var(--color-bg1);
    padding: 4rem;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    height: 30rem;
    margin: 7rem auto;
    border-radius: 1rem;
}


.contact-aside{
    background: var(--color-primary);
    padding: 3rem;
    border-radius: 1rem;
    position: relative;
    bottom: 10rem;
}

.aside-img{
    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;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-socials{
    display: flex;
    gap: 0.8rem;
    margin-top: 3rem;
}

.contact-socials a{
    background: var(--color-bg2);
    padding: 1rem 1.2rem;
    border-radius: 50%;
    font-size: 0.9rem;
}

.contact-socials a:hover{
    background: transparent;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-right: 4rem;
}

.form-name{
    display: flex;
    gap: 1.2rem;
}

.contact-form input[type="text"] {
    width: 50%;
}


input, textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg);
    color: var(--color-white);
}

.contact-form .btn{
    width: max-content;
    margin-top: 1rem;
    cursor: pointer;
}


@media screen  and (max-width:1024px) {
    .contact{
        padding-bottom: 0;
    }

    .contact-con{
        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;
    }
}



@media screen  and (max-width:624px) {
 .contact-con{
    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%;
 }

}