#heroC_file{
    width: 100%;
    height: 100%;
    display: none;
}

.contact_height{
    height: 78.403vw;
    max-height: 1129px;
}

.contact_background{
    display: flex;
    position: absolute;
    left: 0;
    height: 60vw;
    max-height: 864px;
    width: 38.403vw;
    max-width: 553px;
    background-size: 100%;
    background-image: url(../items/backgrounds/hero_contact.svg);
    z-index: 2;
    background-repeat: no-repeat;
    margin-top: 37.917vw;
}

input[type=file]::file-selector-button{
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    justify-content: left;
    font-family: 'Manrope';
    text-align: left;
}

.heroC{
    display: flex;
    padding: 10vw 2.778vw;
    gap: 9.375vw;
    z-index: 1;
}

.heroC_left{
    display: flex;
    flex-direction: column;
    width: 38.542vw;
    max-width: 555px;
    gap: 56px;
}

.heroC_top{
    font-size: 2.708vw;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.027vw;
}

.heroC_bot{
    font-size: 1.389vw;
    font-weight: 500;
    line-height: 150%;
    color: #656769;
}

.heroC_right{
    display: flex;
    flex-direction: column;
    width: 46.528vw;
    max-width: 670px;
    gap: 3.333vw;
}

.heroC_text{
    display: flex;
    flex-direction: column;
    gap: 0.833vw;
}

.heroC_big{
    font-size: 1.736vw;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.017vw;
    color: #202020;
}

.heroC_small{
    font-size: 1.111vw;
    font-weight: 500;
    line-height: 150%;
    color: #545454;
}

.heroC_form{
    display: flex;
    flex-direction: column;
    gap: 1.667vw;
}

.heroC_options{
    display: flex;
    gap: 1.250vw;
    padding-bottom: 1.667vw;
    border-bottom: 0.069vw solid #eceded;
}

.heroC_option{
    display: flex;
    padding: 0.417vw 0.833vw;
    gap: 0.833vw;
    width: 100%;
    border: 0.069vw solid #d9dadb;
    border-radius: 0.833vw;
    align-items: center;
    cursor: pointer;
}

.heroC_dot{
    width: 1.111vw;
    height: 1.111vw;
    max-width: 16px;
    max-height: 16px;
    border-radius: 50%;
    border: 0.069vw solid #d9dadb;
    box-sizing: border-box;
}

.option_choice{
    background-color: #eceded;
}

.option_choice .heroC_dot{
    border: 5px solid #ba282d;
}

.heroC_more{
    display: flex;
    flex-direction: column;
}

.heroC_more_top, .heroC_more_bot{
    font-size: 0.903vw;
    line-height: 150%;
}

.heroC_more_top{
    font-weight: 700;
    color: #202020;
}

.heroC_more_bot{
    font-weight: 500;
    color: #545454;
}

form{
    display: flex;
    flex-direction: column;
}

.heroC_center{
    display: flex;
    flex-direction: column;
    gap: 0.833vw;
    padding-bottom: 1.667vw;
}

.heroC_textfields{
    display: flex;
    flex-direction: column;
    gap: 1.667vw;
}

.heroC_textfield{
    display: flex;
    position: relative;
}

.heroC_title{
    font-size: 1.111vw;
    font-weight: 500;
    line-height: 150%;
    color: #545454;
    position: absolute;
    pointer-events: none;
    left: 0.833vw;
    top: 0;
    transition: 0.5s;
    background-color: #eceded;
    width: calc(100% - 1.667vw);
    padding-top: 1.111vw;
    border-top: 0.069vw solid #d9dadb;
}

.heroC_field{
    background-color: #eceded;
    font-family: 'Manrope';
    width: 100%;
    font-size: 1.111vw;
    padding: 0.833vw;
    border-radius: 0.833vw;
    border: 0.069vw solid #d9dadb;
    height: 4.028vw;
    max-height: 58px;
    transition: 0.5s;
    box-sizing: border-box;
}

.heroC_messagefield{
    font-family: 'Manrope';
    background-color: #eceded;
    border: none;
    width: 100%;
    font-size: 1.111vw;
    padding: 0.833vw;
    border-radius: 0.833vw;
    border: 0.069vw solid #d9dadb;
    height: 9.167vw;
    max-height: 132px;
    resize: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition: 0.5s;
    box-sizing: border-box;
}

.heroC_messagefield::-webkit-scrollbar{
    display: none;
}

.heroC_field:focus{
    outline: none;
    padding: 1.250vw 0.833vw 0.417vw 0.833vw;
    border-color: #b2b5b7;
}

.heroC_field:focus + .heroC_title{
    font-size: 0.903vw;
    padding-top: 0.208vw;
    border-color: #b2b5b7;
}

.heroC_messagefield:focus{
    padding: 1.389vw 0.833vw 0.278vw 0.833vw;
    outline: none;
    border-color: #b2b5b7;
}

.heroC_messagefield:focus + .heroC_title{
    font-size: 0.903vw;
    padding-top: 0.208vw;
    border-color: #b2b5b7;
}

.heroC_field:valid{
    outline: none;
    padding: 1.250vw 0.833vw 0.417vw 0.833vw;
}

.notempty{
    outline: none;
    padding: 1.250vw 0.833vw 0.417vw 0.833vw;
}

.heroC_field:valid + .heroC_title{
    font-size: 0.903vw;
    padding-top: 0.208vw;
}

.notempty + .heroC_title{
    font-size: 0.903vw;
    padding-top: 0.208vw;
}

.heroC_messagefield:valid{
    padding: 1.389vw 0.833vw 0.278vw 0.833vw;
    outline: none;
}

.heroC_messagefield:valid + .heroC_title{
    font-size: 0.903vw;
    padding-top: 0.208vw;
}

.hidden{
    display: flex;
    height: 2.222vw;
    max-height: 32px;
    padding: 0.833vw;
    align-items: center;
    gap: 0.833vw;
    background-color: #eceded;
    border: 0.069vw solid #d9dadb;
    border-radius: 0.833vw;
}

.hidden label{
    font-size: 1.111vw;
    font-weight: 500;
    line-height: 150%;
    color: #545454; 
    cursor: pointer;
}

.hidden img{
    width: 1.111vw;
    height: 1.111vw;
    max-width: 16px;
    max-height: 16px;
}

.heroC_privacy{
    display: flex;
    gap: 0.833vw;
    align-items: center;
}

#heroC_checkbox{
    width: 1.111vw;
    height: 1.111vw;
    max-width: 16px;
    max-height: 16px;
    border: 0.069vw solid #D9DADB;
    border-radius: 0.278vw;
    cursor: pointer;
}

.checkbox_on{
    background-image: url(../items/icons/Check.svg);
    background-size: 100%;
    background-color: #ba282d;
    border-color: transparent;
}

.heroC_privacytext{
    font-size: 0.903vw;
    font-weight: 500;
    line-height: 150%;
}

.heroC_privacytext a{
    color: #000;
    text-decoration: underline;
}

.heroC_privacytext a:visited{
    color: #000;
    text-decoration: underline;
}

.heroC_confirm{
    display: flex;
    justify-content: space-between;
}

.heroC_contact{
    display: flex;
    gap: 32px;

}

.heroC_contacttop, .heroC_contactbot{
    font-size: 1.111vw;
    font-weight: 500;
    line-height: 150%;
}

.heroC_contacttop{
    color: #545454;
}

.heroC_contactbot{
    text-decoration: underline;
}

#btn{
    display: flex;
    padding: 0.833vw 0.833vw 0.833vw 1.111vw;
    gap: 0.556vw;
    border-radius: 0.556vw;
    align-items: center;
    background-color: #ba282d;
    cursor: pointer;
    font-family: 'Manrope';
    font-size: 1.111vw;
    font-weight: 700;
    line-height: 150%;
    color: #f8f8f8;
    white-space: nowrap;
    border: none;
}

#btn:hover .arrow{
    transform: rotate(45deg);
}

#btn:disabled{
    background-color: #B2B5B7;
    color: #D9DADB;
    border: none;
}

#btn:disabled .arrow{
    background-image: url(../items/icons/URArrow_d9dadb.svg);
    transform: rotate(0deg);
}

@media screen and (max-width: 768px) {
    .heroC_square{
        display: none;
    }

    .contact_background{
        display: none;
    }

    .contact_height{
        height: auto;
        max-height: none;
    }

    .heroC{
        padding: 68px 16px;
        flex-direction: column;
        gap: 48px;
    }

    .heroC_left{
        width: 100%;
        gap: 56px;
    }

    .heroC_top{
        font-size: 31px;
    }

    .heroC_bot{
        font-size: 20px;
    }

    .heroC_right{
        width: 100%;
        gap: 24px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .heroC_text{
        gap: 12px;
    }

    .heroC_big{
        font-size: 25px;
    }

    .heroC_small{
        font-size: 16px;
    }

    .heroC_form{
        gap: 24px;
    }

    .heroC_options{
        flex-direction: column;
        gap: 0;
        padding-bottom: 0;
        border: 1px solid #d9dadb;
        border-radius: 12px;
        overflow: hidden;
    }

    .heroC_option:nth-child(2){
        border: solid #d9dadb;
        border-width: 1px 0px;
    }

    .heroC_option{
        padding: 6px 12px;
        gap: 12px;
        width: 100%;
        max-width: none;
        border: none;
        border-radius: initial;
        box-sizing: border-box;
    }

    .heroC_dot{
        width: 16px;
        height: 16px;
        border: 1px solid #d9dadb;
    }

    .heroC_more_top, .heroC_more_bot{
        font-size: 13px;
    }

    .heroC_center{
        padding: 48px 0;
        border-top: 1px solid #eceded;
        gap: 12px; 
    }

    .heroC_textfields{
        gap: 24px;
    }

    .heroC_title{
        font-size: 16px;
        left: 12px;
        width: calc(100% - 24px);
        padding-top: 16px;
        border-width: 1px;
    }

    .heroC_field{
        font-size: 16px;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid #d9dadb;
        height: 56px;
    }

    .heroC_messagefield{
        font-size: 16px;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid #d9dadb;
        height: 132px;
    }

    .heroC_field:focus{
        padding: 18px 12px 6px 12px;
    }

    .heroC_field:focus + .heroC_title{
        font-size: 13px;
        padding-top: 3px;
    }

    .heroC_field:valid{
        padding: 18px 12px 6px 12px;
    }

    .notempty{
        padding: 18px 12px 6px 12px;
    }

    .heroC_field:valid + .heroC_title{
        font-size: 13px;
        padding-top: 3px;
    }

    .notempty + .heroC_title{
        font-size: 13px;
        padding-top: 3px;
    }

    .heroC_messagefield:focus{
        padding: 20px 12px 4px 12px;
    }
    
    .heroC_messagefield:focus + .heroC_title{
        padding-top: 3px;
        font-size: 13px;
    }

    .heroC_messagefield:valid{
        padding: 20px 12px 4px 12px;
    }
    
    .heroC_messagefield:valid + .heroC_title{
        padding-top: 3px;
        font-size: 13px;
    }

    .hidden{
        height: 32px;
        padding: 12px;
        gap: 12px;
        border: 1px solid #d9dadb;
        border-radius: 12px;
    } 

    .hidden label{
        font-size: 16px;
    }

    .hidden img{
        width: 16px;
        height: 16px;
    }

    .heroC_privacy{
        gap: 12px;
    }

    #heroC_checkbox{
        width: 16px;
        height: 16px;
        border: 1px solid #d9dadb;
        border-radius: 4px;
    }

    .heroC_privacytext{
        font-size: 13px;
    }

    .heroC_confirm{
        flex-direction: column-reverse;
        justify-content: initial;
        gap: 24px;
        max-width: 173px;
    }

    .heroC_contacttop, .heroC_contactbot{
        font-size: 16px;
    }

    #btn{
        padding: 12px 12px 12px 16px;
        gap: 8px;
        border-radius: 8px;
        font-size: 16px;
    }
}

@media screen and (min-width: 1440px) {
    .heroC{
        padding: 144px 40px;
        gap: 135px;
    }

    .contact_background{
        margin-top: 546px;
    }

    .heroC_left{
        gap: 56px;
    }

    .heroC_top{
        font-size: 39px;
        letter-spacing: -0.39px;
    }

    .heroC_bot{
        font-size: 20px;
    }

    .heroC_right{
        gap: 48px;
    }

    .heroC_text{
        gap: 12px;
    }

    .heroC_big{
        font-size: 25px;
        letter-spacing: -0.25px;
    }

    .heroC_small{
        font-size: 16px;
    }

    .heroC_form{
        gap: 24px;
    }

    .heroC_options{
        gap: 18px;
        padding-bottom: 24px;
        border-bottom: 1px solid #eceded;
    }

    .heroC_option{
        padding: 6px 12px;
        gap: 12px;
        border: 1px solid #d9dadb;
        border-radius: 12px;
    }

    .heroC_dot{
        border: 1px solid #d9dadb;
    }

    .heroC_more_top, .heroC_more_bot{
        font-size: 13px;
    }

    .heroC_center{
        gap: 12px;
        padding-bottom: 24px;
    }

    .heroC_textfields{
        gap: 24px;
    }

    .heroC_title{
        font-size: 16px;
        left: 12px;
        top: 0;
        width: calc(100% - 24px);
        padding-top: 16px;
        border-width: 1px;
    }

    .heroC_field{
        font-size: 16px;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid #d9dadb;
    }

    .heroC_messagefield{
        font-size: 16px;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid #d9dadb;
    }

    .heroC_field:focus{
        padding: 18px 12px 6px 12px;
    }

    .heroC_field:focus + .heroC_title{
        font-size: 13px;
        padding-top: 3px;
    }

    .heroC_field:valid{
        padding: 18px 12px 6px 12px;
    }

    .notempty{
        padding: 18px 12px 6px 12px;
    }

    .heroC_field:valid + .heroC_title{
        font-size: 13px;
        padding-top: 3px;
    }

    .notempty + .heroC_title{
        font-size: 13px;
        padding-top: 3px;
    }

    .heroC_messagefield:focus{
        padding: 20px 12px 4px 12px;
    }
    
    .heroC_messagefield:focus + .heroC_title{
        padding-top: 3px;
        font-size: 13px;
    }

    .heroC_messagefield:valid{
        padding: 20px 12px 4px 12px;
    }
    
    .heroC_messagefield:valid + .heroC_title{
        padding-top: 3px;
        font-size: 13px;
    }

    .hidden{
        padding: 12px;
        gap: 12px;
        border: 1px solid #d9dadb;
        border-radius: 12px;
    }

    .hidden label{
        font-size: 16px;
    }

    .heroC_privacy{
        gap: 12px;
    }

    #heroC_checkbox{
        border: 1px solid #D9DADB;
        border-radius: 4px;
    }

    .heroC_privacytext{
        font-size: 13px;
    }

    .heroC_contacttop, .heroC_contactbot{
        font-size: 16px;
    }

    #btn{
        padding: 12px 12px 12px 16px;
        gap: 8px;
        border-radius: 8px;    
        font-size: 16px;
    }
}