:root {
    --b-color: #00ffdb;
    --font-size: 20px;
    --circle-radius: 1000px;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto.ttf') format('truetype');
}

html,
body {
    font-size: var(--font-size);
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    /* font-family: 'Roboto'; */
    color: white;
    background: url('../images/background-1.jpg');
    overflow-x: hidden;
}

.container {
    overflow-x: hidden;
}

.text-center {
    text-align: center;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mt-45 {
    margin-top: 45px;
}

.abs-top-right {
    position: absolute;
    right: 61px;
    top: 24px;
}

/* Section header */
.section-header {
    text-align: center;
    padding: 60px 0;
}

.section-header h2 {
    font-size: 4.5rem;
    margin: 0 0 20px 0;
}

.section-header_medium h2 {
    font-size: 3.5rem;
}

.section-header_small h2 {
    font-size: 2.5rem;
}

.section-header p {
    font-size: 2rem;
    margin: 0;
}

.section-header_bordered::before {
    content: '';
    position: absolute;
    width: 16vw;
    margin-top: 19px;
    margin-left: -18vw;
    background: linear-gradient(-90deg, #00ead7, #fff0);
    height: 3px;
    border-radius: 5px;
}

.section-header_bordered::after {
    content: '';
    position: absolute;
    width: 16vw;
    margin-top: 19px;
    margin-left: 2vw;
    background: linear-gradient(-90deg, #fff0, #00ead7);
    height: 3px;
    border-radius: 5px;
}

@media screen and (max-width: 640px) {
    .section-header h2 {
        font-size: 13vw;
        margin: 0 0 20px 0;
    }

    .section-header_medium h2 {
        font-size: 11vw;
    }

    .section-header p {
        font-size: 7vw;
        margin: 0;
    }
}

@media screen and (max-width: 500px) {
    .section-header h2 {
        font-size: 2.3rem;
    }

    .section-header_bordered::before {
        display: none;
    }

    .section-header_bordered::after {
        display: none;
    }
}

/* Phones */
.phones {
    display: flex;
    gap: 21px;
    align-items: center;
}

.phones img {
    width: 45px;
}

.phones__digits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1.3em;
}

.phones__digits_vertical {
    display: none;
}

@media screen and (max-width: 1023px) {
    .phones__digits_adaptive {
        flex-direction: row;
        gap: 45px;
        justify-content: end;
    }
}

@media screen and (max-width: 767px) {
    .phones__digits_vertical {
        display: flex;
        position: initial;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 8vw;
        gap: 10px;
    }

    .phones__digits_vertical::before,
    .phones__digits_vertical::after {
        content: '';
        width: 5px;
        height: 46px;
        border-radius: 5px;
        background-color: var(--b-color);
        margin: 0 0 20px 0;
    }

    .phones__digits_vertical::after {
        margin: 20px 0 0 0;
    }
}

/* Header */
.header {
    clip-path: inset(0);
}

.flex-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 65px;
    overflow: hidden;
}

.header-image-wrapper {
    position: relative;
}

.header__circle {
    width: var(--circle-radius);
    height: var(--circle-radius);
    background-color: orange;
    border-radius: var(--circle-radius);
    position: absolute;
    z-index: 1;
    left: calc(-0.7 * var(--circle-radius));
    top: calc(-1 * var(--circle-radius) / 15 - 1px);
    clip-path: inset(0 0 282px 0);
}

.header__image {
    display: block;
    position: relative;
    z-index: 10;
    margin-top: 20px;
    width: 100%;
}

.header__title {
    z-index: 5;
    text-align: center;
}

.header__text_small {
    font-size: 1.83vw;
}

.header__text_large {
    font-size: 6vw;
    text-shadow: 5px 0 10px #000000a1;
}

.header__text_first {
    letter-spacing: 0.24vw;
}

.header__text_last {
    letter-spacing: 1vw;
    font-weight: 600;
}

.header__divider {
    border: 1px solid;
    margin: 2px 0;
}

@media screen and (max-width: 1023px) {
    .header__title {
        margin-right: 30px;
    }
}

@media screen and (max-width: 767px) {
    .flex-wrapper {
        flex-direction: column;
    }

    .header {
        margin-bottom: 35px;
    }

    .header__circle {
        clip-path: inset(0 0 282px 0);
    }

    .header__image {
        margin-top: 50px;
    }

    .header__title {
        margin: 50px 0;
    }

    .header__text_small {
        font-size: 3.5vw;
    }

    .header__text_large {
        font-size: 11vw;
    }

    .header__text_last {
        letter-spacing: 1.6vw;
    }
}

@media screen and (max-width: 440px) {
    .header-image-wrapper {
        overflow: hidden;
        clip-path: inset(0 0 6px 0);
    }
}

/* Services */
.services {
    background: url('../images/background-4.jpg');
    padding-bottom: 70px;
}

.services-wrapper {
    display: grid;
    justify-content: center;
    gap: 60px;
    font-size: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    padding: 0 50px;
}

.services-wrapper>div {
    background-color: #ffffff1c;
    backdrop-filter: blur(5px);
    color: #d7d7d7;
    padding: 20px 60px;
    border-left: 4px solid red;
    border-radius: 4px;
}

.services__item {
    display: flex;
    gap: 15px;
    padding: 14px;
}

.services__item img {
    width: 28px;
}

@media screen and (max-width: 959px) {
    .services {
        background-position: top;
    }
}

@media screen and (max-width: 600px) {
    .services-wrapper {
        padding: 0 20px;
    }

    .services-wrapper>div {
        padding: 20px 30px;
    }
}

@media screen and (max-width: 412px) {
    .services-wrapper {
        font-size: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .services-wrapper>div {
        padding: 20px 10px;
    }
}

/* Partners */
.partners {
    margin-top: 20px;
    /* background-color: #5f9ea045; */
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide-centered {
    display: flex;
    justify-content: center;
}

.swiper-slide img {
    width: 200px;
}

/* Projects */
.events-gallery {
    column-count: 4;
    column-gap: 10px;
}

.events-gallery>a {
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 10px;
    break-inside: avoid;
}

.events-gallery img {
    max-width: 100%;
    display: block;
}

.events-gallery>a>img {
    grid-row: 1 / -1;
    grid-column: 1;
}

@media screen and (max-width: 767px) {
    .events-gallery {
        column-count: 3;
    }
}

@media screen and (max-width: 500px) {
    .events-gallery {
        column-count: 2;
    }
}

@media screen and (max-width: 360px) {
    .events-gallery {
        column-count: 1;
    }
}

/* Team */
.main-team-wrapper {
    display: flex;
    gap: 100px 15%;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 10px;
}

.main-team-wrapper img {
    height: 391px;
}

.team-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px 161px;
    margin: 100px 100px;
}

.team-wrapper img {
    height: 291px;
}

.staff-info {
    text-align: center;
    position: relative;
}

.staff-info__shape {
    height: 193px;
    position: absolute;
    background-color: orange;
    border-radius: 50px 20px;
    bottom: 149px;
    z-index: -1;
    filter: blur(20px);
}

.staff-info__shape_small {
    bottom: 149px;
    width: 88px;
    left: 74px;
}

.staff-info__shape_large {
    height: 214px;
    left: 150px;
    width: 170px;
}

.staff-info__shape_shifted {
    left: 32px;
}

.staff-info__shape_rotated {
    transform: rotate(-15deg);
}

.staff-info__name {
    margin-bottom: 0;
    white-space: nowrap;
}

.staff-info__title {
    margin-top: 10px;
}

/* Contacts */
.divider {
    border-bottom: 1px solid #00ffdb4f;
    width: 80%;
    margin: 0 auto -55px auto;
    display: none;
}

.contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -50px;
    margin-bottom: 100px;
}

.contacts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.contacts p {
    font-size: 0.8rem;
    margin: 30px;
}

.contacts__socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contacts__socials img {
    width: 38px;
}

@media screen and (max-width: 500px) {
    .divider {
        display: block;
    }
}

@media screen and (max-width: 430px) {
    .contacts-wrapper {
        flex-direction: column;
    }
}

/* All */
@media screen and (max-width: 1023px) {
    .abs-top-right {
        right: 24px;
    }
}

@media screen and (max-width: 767px) {
    .abs-top-right {
        display: none;
    }
}