@font-face {
    font-family: 'UAF_Sans';
    src: url('./fonts/Volja-Regular.woff2') format('woff2'),
         url('./fonts/volja-regular_w.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

button {
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.banner_section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 2px solid #FFF;
}

#working_service {
    border-top: none;
}

.modal-content {
    background: #fff;
    padding: 30px;
    max-width: 800px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 0 24px;
    border-radius: 8px;
}

#requirementsList, #vacancyDetails {
    padding-left: 16px;
}

#requirementsList li, #vacancyDetails li {
    line-height: 180%;
    font-size: 16px;
    color: #000;
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 16px 0;
}

#modalTitle {
    font-size: 32px;
    font-weight: 600;
    line-height: 120%;
    color: #000;
}

#form_user-position {
    display: none;
}

#modalDescription {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    color: #000;
}

#requirementsTitle, #vacancyDetailsTitle {
    font-weight: 600;
}

.modal-info a {
    max-width: 280px;
    width: 100%;
    padding: 12px;
    background: #000;
    color: #FFF;
    font-size: 18px;
    line-height: 120%;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin: 0 auto;
    border-radius: 4px;
}

.modal-content img {
    max-width: 400px;
    min-width: 300px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
}

.welcome-home_section .container {
    display: flex;
    justify-content: space-between;
    padding: 80px 0;
    max-width: 1000px;
}

.vacancies-home_section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
    max-width: 1150px;
}

.vacancies-home_section {
    border-bottom: 2px solid #FFF;
}

.vacancies_section button {
    font-size: 28px;
    font-weight: 700;
    color: #FFF;
    text-align: center;
    width: 100%;
    background: transparent;
    margin-top: 76px;
}

.container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.base-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.base-screen h1 {
    font-size: 128px;
    line-height: 120%;
    color: #FFF;    
    text-align: center;
}

.base-screen h2, .vacancies-home_section h2 {
    font-size: 64px;
    line-height: 120%;
    text-align: center;
    color: #FFF;    
}

.base-screen p, .vacancies-home_section p {
    font-size: 48px;
    line-height: 120%;
    color: #FFF;
    text-align: center;
    margin: 20px 0 40px;
    font-weight: 700;
    max-width: 420px;
    width: 100%;
}

.vacancies-home_section p {
    max-width: 750px !important;
}

.base-screen a {
    background: #FFF;
    color: #000;
    max-width: 340px;
    width: 100%;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 32px;
    padding: 20px;
    display: block;
    text-align: center;
}

/* NAVIGATION SECTION */

.navigation_section, .contacts_section {
    max-width: 100% !important;
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
}

.navigation_section .wrapper, .contacts_section .wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
}

.navigation_section .wrapper .item, .contacts_section .wrapper .item {
    font-size: 40px;
    font-weight: 700;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.navigation_section .wrapper .item a, .contacts_section .wrapper .item a {
    color: #FFF;
}

.navigation_section .wrapper .item:first-child {
    border-right: 2px solid #FFF;
}

.contacts_section .wrapper .item:first-child {
    border-right: 2px solid #FFF;
}

.navigation_section .wrapper .item:last-child, .contacts_section .wrapper .item:last-child {
    border-left: 2px solid #FFF;
}

/* ABOUT US */

.about_section::after {
    content: '';
    border-bottom: 2px solid #FFF;
    width: 100%;
}

.about_section {
    border-bottom: 2px solid #FFF;
    padding: 100px 0;
}

.about_section .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.about_section .wrapper .details h3 {
    font-size: 64px;
    line-height: 120%;
    font-weight: 700;
    margin-bottom: 40px;
    color: #FFF;
    text-transform: uppercase;
    max-width: 624px;
}

.about_section .wrapper .details p {
    font-size: 32px;
    line-height: 120%;
    color: #FFF;
    max-width: 790px;
}

/* .about_section .wrapper img {
    max-width: 450px;
    width: 100%;
    object-fit: cover;
} */

.about_section .wrapper img {
    max-width: 550px;
    width: 100%;
    object-fit: cover;

    -webkit-mask-image: radial-gradient(
        circle,
        rgba(0,0,0,1) 60%,
        rgba(0,0,0,0.7) 75%,
        rgba(0,0,0,0) 100%
    );
    mask-image: radial-gradient(
        circle,
        rgba(0,0,0,1) 60%,
        rgba(0,0,0,0.7) 75%,
        rgba(0,0,0,0) 100%
    );
}

/* VACANCIES */

.vacancies_section {
    border-bottom: 2px solid #FFF;
    padding: 100px 0;
}

.vacancies_section h3 {
    font-weight: 700;
    font-size: 64px;
    line-height: 120%;
    color: #FFF;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.vacancies_section .vacancies-subtitle {
    max-width: 1010px;
    width: 100%;
    font-size: 32px;
    line-height: 120%;
    color: #FFF;
    margin-bottom: 48px;
}

.vacancies_section .actual-vacancies {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px 0;
}

.vacancies_section .actual-vacancies .item {
    background: #FFF;
    border-radius: 8px;
    padding: 20px 12px;
    display: none;
    justify-content: space-between;
    align-items: center;
}

.vacancies_section .actual-vacancies .item .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vacancies_section .actual-vacancies .item .info h5 {
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    color: #000;
    margin-bottom: 22px;
}

.vacancies_section .actual-vacancies .item .info p {
    font-size: 16px;
    line-height: 120%;
    color: #000;
    max-width: 770px;
}

.vacancies_section .actual-vacancies .item a {
    max-width: 240px;
    width: 100%;
    background: #000;
    color: #FFF;
    padding: 8px;
    border-radius: 4px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 500;
}

.vacancies_section .all-vacancies {
    max-width: 300px;
    width: 100%;
    background: #FFF;
    border-radius: 8px;
    padding: 18px;
    margin-top: 48px;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    color: #000;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

.contacts_section .full-info {
    width: 100%;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 700;
    line-height: 120%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    border-top: 1px solid #FFF;
    border-bottom: 2px solid #FFF;
    padding: 44px;
}

.contacts_section .wrapper .item {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.contacts_section .wrapper .item a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 16px;
}

.license_section {
    padding: 10px 0;
}

.license_section .wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license_section .wrapper p {
    color: #FFF;
    opacity: 0.8;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
}

.license_section .wrapper a {
    color: #FFF;
    font-size: 16px;
    line-height: 120%;
    font-weight: 700;
}


/* CONTACT FORM */

.contact-form_section {
    padding: 100px 0;
}

.contact-form_section .wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.contact-form_section .wrapper img {
    max-width: 620px;
    width: 100%;
    height: 740px;
    object-fit: cover;
}

.contact-form_section .wrapper .contact-form {
    background: #FFF;
    display: flex;
    flex-direction: column;
    padding: 28px 34px;
    gap: 30px 0;
    max-width: 458px;
    width: 100%;
    border-radius: 12px;
}


.contact-form_section .wrapper .contact-form h6 {
    font-weight: 600;
    font-size: 36px;
    line-height: 120%;
    color: #000;
    margin-bottom: 22px;
    text-align: center;
}

.contact-form_section .wrapper .contact-form .item {
    display: flex;
    flex-direction: column;
    gap: 4px 0;
}

.contact-form_section .wrapper .contact-form .item label {
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    color: #000;
}

.contact-form_section .wrapper .contact-form .item input,
.contact-form_section .wrapper .contact-form .item select {
    background: #D9D9D9;
    border-radius: 4px;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 120%;
    outline: none;
    border: none;
}

.contact-form_section .wrapper .contact-form button {
    max-width: 340px;
    width: 100%;
    padding: 16px;
    background: #000;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    border-radius: 4px;
    margin: 0 auto;
}

#status_sending {
    margin: 12px 0;
    font-size: 14px;
    line-height: 120%;
}

@media screen and (max-width: 1320px) {
    .container {
        margin: 0;
        padding: 0 5%;
        max-width: 100%;
    }

    .welcome-home_section .container, .vacancies-home_section .container {
        padding: 60px 5%;
        margin: 0 auto;
        gap: 0 16px;
    }

    .about_section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 1080px) {
    .base-screen h1 {
        font-size: 96px;
    }
    .base-screen h2 {
        font-size: 48px;
    }
    .base-screen p {
        font-size: 32px;
    }
    .base-screen a {
        font-size: 28px;
    }

    .welcome-home_section img, .vacancies-home_section img {
        max-width: 200px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .welcome-home_section .container {
        padding: 60px 10%;
    }

    .navigation_section .wrapper, .contacts_section .wrapper {
        height: 100px;
    }

    .navigation_section .wrapper .item, .contacts_section .wrapper .item {
        font-size: 28px;
    }

    .about_section .wrapper .details h3, .vacancies_section h3 {
        font-size: 48px;
    }
    .about_section .wrapper .details p, .vacancies_section .vacancies-subtitle {
        font-size: 24px;
    }

    .about_section .wrapper img {
        max-width: 400px;
    }

    .vacancies_section .actual-vacancies .item .info h5 {
        font-size: 24px;
    }

    .vacancies_section .actual-vacancies .item .info p {
        font-size: 14px;
        max-width: 600px;
    }

    .vacancies_section .actual-vacancies .item a {
        max-width: 200px;
        font-size: 20px;
    }

    .vacancies_section .all-vacancies {
        font-size: 24px;
        max-width: 260px;
    }

    .contact-form_section .wrapper img {
        max-width: 400px;
        height: auto;
    }

    #form-button {
        max-width: 300px;
        font-size: 20px;
    }

    .contacts_section .full-info {
        font-size: 32px;
    }
}

@media screen and (max-width: 811px) {
    .welcome-home_section img, .vacancies-home_section img {
        max-width: 170px;
    }
    .base-screen h1 {
        font-size: 80px;
    }
    .base-screen h2 {
        font-size: 40px;
    }
    .base-screen p {
        font-size: 28px;
    }
    .base-screen a {
        font-size: 24px;
        max-width: 280px;
    }

    .navigation_section .wrapper .item, .contacts_section .wrapper .item {
        font-size: 24px;
    }

    .about_section .wrapper .details h3, .vacancies_section h3 {
        font-size: 40px;
        max-width: 400px;
    }
    .about_section .wrapper .details p {
        font-size: 20px;
        max-width: 350px;
    }

    .about_section .wrapper img {
        max-width: 300px;
    }

    .about_section, .vacancies_section {
        padding: 50px 0;
    }

    .vacancies_section .actual-vacancies .item .info p {
        max-width: 450px;
    }

    .contact-form_section .wrapper img {
        display: none;
    }

    #contact-form {
        max-width: 100%;
    }

    #form-button {
        max-width: 100%;
    }
    .contacts_section .wrapper .item a img {
        max-width: 36px;
        width: 100%;
        height: auto;
    }
    .vacancies_section .vacancies-subtitle {
        font-size: 20px;
    }
    .contact-form_section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 480px) {
    .modal-content {
        max-width: 95%;
        flex-direction: column;
        padding: 16px;
        gap: 16px 0;
    }
    .modal-content img {
        display: none;
    }

    .modal-info {
        gap: 12px 0;
    }

    .welcome-home_section .container {
        padding: 40px 5%;
        gap: 0 16px;
    }

    .vacancies-home_section .container {
        padding: 40px 5%;
        gap: 0 16px;
    }

    .welcome-home_section img, .vacancies-home_section img {
        max-width: 128px;
    }

    .base-screen h1 {
        font-size: 48px;
    }

    .base-screen h2 {
        font-size: 24px;
    }

    .base-screen p {
        font-size: 18px;
        margin: 16px 0 24px;
        font-weight: 500;
    }
    
    .base-screen a {
        max-width: 200px;
        font-size: 20px;
    }

    .navigation_section .wrapper, .contacts_section .wrapper {
        height: auto;
        flex-direction: column;
    }

    .navigation_section .wrapper .item:first-child, .contacts_section .wrapper .item:first-child {
        border-bottom: 2px solid #FFF;
        border-right: 0;
    }

    .navigation_section .wrapper .item:last-child, .contacts_section .wrapper .item:last-child {
        border-top: 2px solid #FFF;
        border-left: 0;
    }
    .navigation_section .wrapper .item, .contacts_section .wrapper .item {
        padding: 16px;
    }
    .about_section .wrapper {
        flex-direction: column-reverse;
    }

    .about_section .wrapper img {
        max-width: 100%;
    }

    .about_section .wrapper .details h3 {
        margin: 24px 0 16px;
        max-width: 100%;
        font-size: 32px;
    }

    .vacancies_section h3 {
        max-width: 100%;
        font-size: 32px;
    }

    .about_section .wrapper .details p {
        font-size: 18px;
    }

    .vacancies_section .vacancies-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .vacancies_section .actual-vacancies .item {
        flex-direction: column;
    }

    .vacancies_section .actual-vacancies .item .info {
        margin-bottom: 16px;
    }

    .vacancies_section .actual-vacancies .item .info h5 {
        margin-bottom: 16px;
    }

    .vacancies_section .actual-vacancies .item a {
        max-width: 100%;
    }

    .vacancies_section .all-vacancies {
        max-width: 100%;
        margin-top: 36px;
        padding: 14px;
    }

    #contact-form {
        padding: 20px;
    }

    .contact-form_section .wrapper .contact-form h6 {
        font-size: 28px;
        margin-bottom: 0;
    }

    .contacts_section .full-info {
        font-size: 24px;
        padding: 30px;
        text-align: center;
    }

    .license_section .wrapper {
        flex-direction: column;
        gap: 8px 0;
    }
}
