@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&family=Tektur:wdth,wght@75..100,400..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Tektur", sans-serif;
    background: rgb(9,0,28);
    background: linear-gradient(160deg, rgba(9,0,28,1) 0%, rgba(73,9,121,1) 29%, rgba(92,35,153,1) 54%, rgba(209,0,255,1) 100%);
    color: white;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    width: 100%;
    height: 100%;
    padding: 120px 0;
}

hr {
    background-color: white;
    width: 20%;
    height: 2px;
    border-radius: 1px;
}

.section-title {
    font-size: 34px;
}

.text {
    font-size: 20px;
}

.header {
    position: fixed;
    width: 100%;
    z-index: 5;
}

.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
}

.header-list {
    align-items: center;
    display: flex;
    padding: 20px 32px;
    background-color: rgb(0, 0, 0, 0.7);
    border-radius: 16px;
    backdrop-filter: blur(4px);
}

.header-list-item {
    display: block;
}

.header-list-item:not(:last-child) {
    margin-right: 100px;
}

.link {
    color: white;
    font-size: 18px;
    font-weight: 400;
    transition: 0.2s;
}

.link:hover {
    color: rgb(174, 87, 255);
    text-decoration: none;
}

.welcome-inner {
    margin: auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 35%;
}

.logo {
    max-width: 60%;
}

.welcome-title {
    font-size: 38px;
    background: linear-gradient(86deg, rgba(252,138,238,1) 0%, rgba(213,158,255,1) 28%, rgba(195,158,255,1) 45%, rgba(123,132,255,1) 70%, rgba(0,249,255,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.about-us_inner {
    padding: 30px 55px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    gap: 25px;
}

.description {
    width: 80%;
}

.cards-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.about-us_card {
    max-width: 25%;
}

.gradient-border {
    position: relative; /* Отступ внутри элемента */
    background-color: white; /* Цвет фона элемента */
    z-index: 1;/* Закругление углов */
}

.gradient-border::before {
    content: ''; /* Псевдоэлемент без содержимого */
    position: absolute; /* Абсолютное позиционирование */
    top: 0; /* Положение сверху */
    left: 0; /* Положение слева */
    right: 0; /* Положение справа */
    bottom: 0; /* Положение снизу */
    background: linear-gradient(121deg, rgb(0, 4, 31) 0%, rgba(36,0,59,1) 96%); /* Градиентный фон */
    z-index: -1; /* Устанавливаем z-index ниже основного элемента */
    border-radius: 12px;  /* Отступ для создания эффекта рамки */
}

.content-card {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 15px 18px;
    background-color: black;
    border-radius: 12px;
    border: solid 1px white;
    position: relative;
    box-shadow: 0px 8px 10px rgb(187, 187, 187);
    height: 100%;
}

.img-card {
    max-width: 30px;
}

.card-title {
    font-size: 18px;
    margin: 0;
}

.card-text {
    font-size: 14px;
}

.service {
    text-align: center;
}

.service-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 60px 0 15px;
}

.s-c {
    padding: 30px 35px;
    border-radius: 15px;
    text-align: center;
    max-width: 30%;
    background-color: rgba(0, 0, 0, 0.6);
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-item {
    max-width: 400px;
    min-height: 100%;
}

.sub-subtitle {
    font-size: 20px;
}

.footer {
    background-color: rgb(18, 0, 36);
    padding: 70px 0 35px;
    width: 100%;
    height: 100%;
}

.footer-inner {
    text-align: center;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 0;
}

.logo-text {
    max-width: 30%;
}

.footer-text {
    margin: 0;
}

.footer-subtitle {
    font-size: 30px;
}

.span {
    font-size: 16px;
}

.img-carousel {
    max-width: 100%;
}

@media (max-width: 1210px) {

    .container {
        width: 90%;
    }
}

@media (max-width: 870px) {

    .section-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 24px;
    }

    .text {
        font-size: 16px;
    }

    .link {
        font-size: 16px;
    }

    hr {
        margin: 5px;
    }

    .section {
        padding: 80px 0 20px;
    }

    .about-us_inner {
        padding: 20px 25px 30px;
        gap: 15px;
    }

    .description {
        width: 100%;
    }

    .about-us_card {
        max-width: 30%;
    }

    .service-inner {
        padding: 30px 0 20px;
    }

    .footer {
        padding: 40px 0 25px;
    }

    .logo-text {
        max-width: 45%;
    }

    .footer-list {
        gap: 15px;
    }

    .footer-subtitle {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .header {
        display: none;
    }

    .text {
        font-size: 14px;
    }

    .logo {
        max-width: 75%;
    }

    .section-title {
        font-size: 22px;
    }

    .subtitle {
        font-size: 20px;
    }

    .welcome-title {
        font-size: 28px;
    }

    .section {
        padding-top: 50px;
    }

    .container {
        width: 100%;
    }

    .about-us_inner {
        padding: 15px 10px 25px;
    }

    hr {
        display: none;
    }

    .about-us_inner * {
        margin: 0;
    }

    .cards-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .about-us_card {
        max-width: 85%;
    }

    .service-inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .s-c {
        max-width: 65%;
    }

    .logo-text {
        max-width: 65%;
    }

    .span {
        font-size: 10px;
    }

    .footer-subtitle {
        font-size: 20px;
    }

    .sub-subtitle {
        font-size: 18px;
    }

    .link {
        font-size: 14px;
    }
}