* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    background: -moz-radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%);

    /* safari 5.1+,chrome 10+ */
    background: -webkit-radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%);

    /* opera 11.10+ */
    background: -o-radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%);

    /* ie 10+ */
    background: -ms-radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%);

    /* global 92%+ browsers support */
    background: radial-gradient(circle at 3% 25%, rgba(0, 40, 83, 1) 0%, rgba(4, 12, 24, 1) 25%);
}
.contact {
    background: transparent;
}
.contact__container {
    font-family: var(--font-family);
    padding: 3rem;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    height: 31rem;
    margin: 7rem 7rem;
    border-radius: 1rem;
}

.contact__aside {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 3rem;
    padding-right: 3rem;
    border-radius: 1rem;
    bottom: 6rem;
    position: relative;
}

.contact__aside {
    background: #546e88;

    /* ff 3.6+ */
    background: -moz-radial-gradient(circle at 30% -100%, #2a2a72 0%, #009ffd 74%);

    /* safari 5.1+,chrome 10+ */
    background: -webkit-radial-gradient(circle at 30% -100%, #2a2a72 0%, #009ffd 74%);

    /* opera 11.10+ */
    background: -o-radial-gradient(circle at 30% -100%, #2a2a72 0%, #009ffd 74%);

    /* ie 10+ */
    background: -ms-radial-gradient(circle at 30% -100%, #2a2a72 0%, #009ffd 74%);

    /* global 92%+ browsers support */
    background: radial-gradient(circle at 30% -100%, #000000 0%, #04619f 74%);

    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.aside__image {
    width: 12rem;
    margin-bottom: 2rem;
}

.contact__aside h2 {
    text-align: left;
    font-weight: 800;
    font-size: 42px;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
}

.contact__aside .gradient_text {
    background: linear-gradient(89.97deg, #AE67FA 1.84%, #F49867 102.67%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact__aside p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.contact__details li {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contact__details li h5{
    color: var(--color-text);
    font-size: 0.9rem;
    font-family: var(--font-family);
}

.contact__socials {
    display: flex;
    gap: 0.9rem;
    margin-top: 3rem;

}

.contact__socials a {
    background: #040C18;
    padding: 0.8rem;
    border-radius: 100%;
    font-size: 0.9rem;
    transition: all 400ms ease;
    color: aliceblue;
}

.contact__socials li {
    display: flex;
}

.contact__socials a:hover {
    background: transparent;
}

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

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

.contact__form input[type='text'] {
    width: 50%;
}

.contact__form input,
.contact__form textarea {
    width: 100%;
    padding: 1rem;
    background: #040C18;
    color: white;
    border: none;
}

.contact__form .contact_us_btn {background-image: linear-gradient(to right, #E55D87 0%, #5FC3E4  51%, #E55D87  100%)}
.contact__form .contact_us_btn {
   margin: 10px;
   padding: 15px 45px;
   text-align: center;
   text-transform: uppercase;
   transition: 0.5s;
   background-size: 200% auto;
   color: black; 
   font-weight: 800;;           
   border-radius: 10px;
   display: block;
   border: none;
 }

 .contact__form .contact_us_btn:hover {
   background-position: right center; /* change the direction of the change here */
   color: black;
   text-decoration: none;
 }

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

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

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

    .form__name {
        flex-direction: column;
    }

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

.contact__container {
    background: var(--color-footer);

    /* ff 3.6+ */
    background: -moz-radial-gradient(circle at 30% -100%, #042c54 25%, rgba(4, 44, 84, 1) 85%, rgba(27, 120, 222, 1) 100%);

    /* safari 5.1+,chrome 10+ */
    background: -webkit-radial-gradient(circle at 30% -100%, #042c54 25%, rgba(4, 44, 84, 1) 85%, rgba(27, 120, 222, 1) 100%);

    /* opera 11.10+ */
    background: -o-radial-gradient(circle at 30% -100%, #042c54 25%, rgba(4, 44, 84, 1) 85%, rgba(27, 120, 222, 1) 100%);

    /* ie 10+ */
    background: -ms-radial-gradient(circle at 30% -100%, #042c54 25%, rgba(4, 44, 84, 1) 85%, rgba(27, 120, 222, 1) 100%);

    /* global 92%+ browsers support */
    background: radial-gradient(circle at 30% -100%, #042c54 25%, rgba(4, 44, 84, 1) 85%, rgba(27, 120, 222, 1) 100%);

    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}