@import 'variables';
@import 'mixin';

.contact {

    background-color: #E7E6F2;
    padding: 60px 0;

    .contact__container {

        display: flex;
        max-width: 1200px;
        margin: 0 auto;
        width: calc(100% - 30px);
        padding-left: 15px;
        padding-right: 15px;
        justify-content: space-between;

        @media (max-width: 1199px) {
        
            flex-direction: column;
            align-items: center;
    
        }

        .contact__container__text__title {

            font-size: 45px;
            font-weight: 700;
            max-width: 285px;
            padding-bottom: 50px;

            @media (max-width: 1199px) {
        
                text-align: center;
                max-width: unset;
                padding-bottom: 50px;
                font-size: 26px;
                padding-bottom: 15px;
        
            }

        }

        .contact__container__text__subTitle {

            font-size: 28px;
            font-weight: 500;
            max-width: 450px;

            @media (max-width: 1199px) {
        
                text-align: center;
                max-width: unset;
                font-size: 16px;
                padding-bottom: 15px;
        
            }

        }

    }

}

.contact__container__form {

    display: flex;
    flex-direction: column;
    min-width: 450px;

    @media (max-width: 1199px) {

        min-width: 280px;
        padding-top: 15px;

    }

    .contact__container__form__input,
    .contact__container__form__textarea {

        border-style: none;
        color: $black;
        font-size: 18px;
        font-weight: 500;
        padding: 20px;
        margin-bottom: 20px;
        @include border-radius(10px);

        @media (max-width: 1199px) {

            padding: 10px 20px;
            font-size: 16px;
            @include border-radius(5px);

        }

        &::placeholder {
        
            color: #949494;
            opacity: 1;
        
        }

    }

    .contact__container__form__actions {

        display: flex;
        justify-content: space-between;
        margin-top: 10px;

        .contact__container__form__actions__upload,
        .contact__container__form__actions__send {

            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            width: calc(50% - 15px);
            font-size: 18px;
            font-weight: 600;
            line-height: 60px;
            @include border-radius(33px);

            @media (max-width: 1199px) {

                font-size: 16px;
                line-height: 40px;

            }
            
        }

        .contact__container__form__actions__upload {

            background-color: #fff;
            color: $black;

            img {

                width: 21px;
                height: auto;
                margin-right: 10px;

                @media (max-width: 1199px) {

                    width: 13px;
                    margin-right: 5px;

                }

            }

        }

        .contact__container__form__actions__send {

            background-color: $green;
            color: #fff;

        }

    }

}