/* Contact section */

.contact__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 100px;
    gap: 40px;
}

.contact__wrapper--padding-inline {
    padding-inline: 10vw;
}

.contact__title--wrapper {
    text-align: center;
}

.contact__title--font-size {
    font-size: 50px;
}

.contact__form {
    margin-top: 30px;
}

.contact__image-and-form--wrapper {
    display: flex;
    gap: 5vw;
}

.contact__image--wrapper {
    display: flex;
}

.contact__image {
    width: 350px;
    border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    object-fit: cover;
}

.contact__info-and-form--wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mail-to-link {
    display: flex;
    text-decoration: none;
    color: #ffffff;
    gap: 10px;
}

.email-icon {
    width: 30px;
    height: 30px;
}

.form__inputs--wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form__elements--wrapper {
    display: flex;
    gap: 3vw;
}

.form__label {
    font-family: 'Poppins', 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 300;
    color: #ffffff;
}

.form__label--font-size {
    font-size: 17px;
}

.form__element--wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex: 1;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 3px;
    gap: 15px;
}

.form__input {
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    padding-left: 2px;
}

.optional-text {
    font-size: 10px;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #ffffff;
}

.form__message-input--wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

textarea {
    outline: none;
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    height: 100px !important;
    width: 100% !important;
    padding: 5px;
    resize: none;
    font-family: 'Poppins', 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 300;
}

.submit-button-contact {
    padding: 20px 50px;
    background: var(--tertiary-color);
    font-family: 'Raleway', 'Poppins', 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #ffffff;
    border: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    border-radius: 30px;
    transition: transform .3s;
    cursor: pointer;
}

.submit-button-contact:hover {
    transform: scale(1.03);
}

.submit-button-contact-font-size {
    font-size: 18px;
}

.contact-info-wrapper {
    gap: 50px;
}

.contact__background-drawing {
    position: absolute;
    z-index: -1;
    opacity: 0.15;
    aspect-ratio: 1;
}

.contact__background-drawing--1-variables {
    height: 750px;
    left: -175px;
    top: -150px;
}

.contact__background-drawing--2-variables {
    height: 400px;
    right: 0;
    bottom: -100px;
}



@media only screen and (max-width: 1150px) {
    .contact__title--font-size {
        font-size: 45px;
    }
}


@media only screen and (max-width: 1050px) {
    .contact__image--wrapper {
        display: none;
    }

    .contact__background-drawing {
        display: none;
    }

    .position-submit-button-contact-mobile {
        display: flex;
        justify-content: center;
    }

    .contact__wrapper {
        padding-top: 65px;
        padding-bottom: 50px;
        gap: 35px;
    }

    .contact__title--font-size {
        font-size: 40px;
    }
}

@media only screen and (max-width: 800px) {
    .contact__title--font-size {
        font-size: 35px;
    }

    .email-icon {
        width: 25px;
        height: 25px;
    }

    .contact-info-text {
        font-size: 16px;
    }
}

@media only screen and (max-width: 600px) {
    .contact__title--font-size {
        font-size: 30px;
    }

    .contact__wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 30px;
    }

    .form__elements--wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .form__inputs--wrapper {
        gap: 30px;
    }
}