.contact {
    padding-bottom: 120px;
}

.contact__body {
    margin: 0px 50px;
    padding: 40px 90px;
    background-color: rgba(234, 234, 234, 1);
    border-radius: 20px;
}

.contact__title {
    color: rgba(41, 41, 43, 1);
    font-size: 38px;
    font-weight: 400;
    line-height: 57px;
    text-align: center;
}

.contact__subtitle {
    margin-bottom: 50px;
    color: rgba(41, 41, 43, 1);
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    text-align: center;
}

.form {
    max-width: 840px;
    margin: 0px auto;
}

.form__row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.form__group {
    width: 100%;
        display: flex;
    flex-direction: column;
}

.form__label {
    margin-bottom: 10px;

    color: rgba(41, 41, 43, 1);

    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
}

.form__input {
    padding: 14px 10px;

    border: 1px solid rgba(41, 41, 43, 0.2);
    border-radius: 10px;

    background-color: #fff;
    color: rgba(41, 41, 43, 1);

    transition: border 250ms;
}

.form__input:focus {
    border: 1px solid rgb(91, 107, 121)
}

.form__input_message {
    resize: none;
}

.form__submit {
    cursor: pointer;
    width: 130px;
    height: 45px;

    margin-top: 40px;
    padding: 5px;

    background-color: transparent;

    border: 1px solid rgba(11, 69, 255, 1);
    border-radius: 30px;

    color: rgba(11, 69, 255, 1);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;

    transition: background-color 0.1s ease-in, color 0.1s ease-in;
}

.form__submit:hover {
    background-color: rgba(11, 69, 255, 1);
    color: #fff;
}


/* Animation of Form Section */
.contact__body {
    opacity: 0;
    transform: translateX(-60px);
}

.animate .contact__body {
    animation: slide-in 400ms ease-out forwards;
    animation-delay: 250ms;
}

@keyframes slide-in {
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}


@media (max-width: 1200px) {
    .contact {
        padding-bottom: 60px;
    }
}

@media (max-width: 800px) {
    

    .form__row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 650px) {
    .contact__subtitle {
        margin-bottom: 30px;
    }
    .contact__body {
        padding: 20px 50px;
    }
}

@media (max-width: 500px) {
    .contact__body {
        padding: 15px 30px;
    }
    .contact__title {
        line-height: 50px;
        margin-bottom: 25px;
    }

    .contact__subtitle {
        display: none;
    }
}