:root {
    --bg: #0B0028;
    --pop-w: 20rem;
    --nav-w: 9rem;
    --pop-bg: transparent;
}

a {
    text-decoration: none;
}

body {
    background-color: var(--bg);
    background-image: url('../assets/Bg4.png');
    background-size: cover;
    font-size: 20px;
    font-family: Montserrat;
    display: flex;
    flex-direction: column;
    align-items: center;
}
nav.nav {
    margin-top: -25px;
}
video {
    position: absolute;
    height: 100vh;
    z-index: -1;
    top: 50%; /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */

    transform: translate(-50%, -50%);
}

.video-mask {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-wrapper {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    z-index: -1;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0B0028;
}

.main {
    width: 100%;
    max-width: 1280px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 20px 8px;
    height: 5.625rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    margin-left:20px;
    width: 9.2rem;
    height: 2.4rem;
    background-image: url('../assets/brand.svg');
    background-repeat: no-repeat;
}

.nav {
    display: flex;
}

.nav-item {
    color: white;
    width: var(--nav-w);
    text-align: center;
    position: relative;
}

.nav-label {
    border-bottom: 2px solid transparent;
    line-height: 2rem;
    cursor: pointer;
}

.nav-popup-container {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
}

.nav-popup-container:hover {
    left: calc((var(--nav-w) - var(--pop-w)) / 2);
    top: 0;
    bottom: unset;
    width: var(--pop-w);
    z-index: 10;
}

.nav-popup {
    transition: opacity 500ms;
    margin-top: 2rem;
    opacity: 0;
    pointer-events: none;
    border-radius: 1.5rem;
    padding: 1rem 0.5rem 1rem 0.5rem;
    width: var(--pop-w);
    border: 2px solid rgb(var(--pop-bg));
    background: linear-gradient(180deg, transparent, rgba(var(--pop-bg), 0.2));
    backdrop-filter: blur(30px);
}

.nav-popup-container:hover .nav-label {
    border-bottom: 2px solid rgb(var(--pop-bg));
}

.nav-popup-container:hover .nav-popup {
    opacity: 100%;
    pointer-events: auto;
}

.nav-popup-item {
    padding: 0.8rem;
}

.nav-popup-item:hover {
    background-color: rgba(var(--pop-bg), 0.3);
    border-radius: 1rem;
    cursor: pointer;
}

.nav-popup-item-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    text-align: left;
}

.nav-popup-item-desc {
    color: #09DEFF;
    font-size: 0.8rem;
    text-align: left;
}

.nav-links {
    padding: 0.5rem;
    display: flex;
}

.nav-link {
    cursor: pointer;
    font-size: 2rem;
    margin-right: 1.8rem;
}

.content {
    padding: 0 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.slogan {
    font-size: 60px;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
}

.desc {
    font-size: 26px;
    font-weight: 500;
    color: white;
    max-width: 44rem;
    text-align: center;
}

.get-started {
    cursor: pointer;
    padding: 1rem 2rem 1rem 2rem;
    background: transparent linear-gradient(25deg, #09DEFF 0%, #93FABE 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 8px 12px #0AC2FC94;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 4.2rem;
    margin-bottom: 4.2rem;
}

.supported {
    color: #09DEFF;
    text-transform: uppercase;
}

.partners {
    margin-top: 4.6rem;
    margin-bottom: 4.6rem;
    display: flex;
    justify-content: space-between;
    align-self: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer {
    max-width: 1280px;
    height: 6rem;/*
    background-image: url('../assets/footer.png');*/
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;

}
.footer img{
    width: 100%;
    margin: auto;
}

/* новые стили */
.wrap {
    padding: 0 20px;
}

.designed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;

    h1, a {
        color: #fff;
    }

    h1 {
        font-size: 42px;
    }
}

.designed-head a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #fff;
    border-radius: 25px;

    span {
        padding-right: 16px;
    }
}

.designed-head a:hover {
    background-color: #fff;
    color: #000;
}

.fw-700 {
    font-weight: 700;
}

.designed-card {
    padding: 2rem;
    border-radius: 1rem;
    background-size: cover;
}

.designed-card a {
    color: #fff;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;

    h2 {
        font-size: 2.625rem;
    }

    p {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

.designed-card:hover .mask-card {
    display: none;
}

.designed-card_xp {
    background-image: url('../assets/img-card/xp.webp');
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.designed-card_1 {
    background-image: url('../assets/img-card/1.webp');
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.designed-card_2 {
    background-image: url('../assets/img-card/2.webp');
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.designed-card_3 {
    background-image: url('../assets/img-card/3.webp');
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.mask-card {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 1rem;
    height: 100%;
    width: 100%;
    background: rgb(255, 255, 255);
    background: linear-gradient(1turn, #000, transparent);
}

.card-stick_block {
    padding-top: 30px;
}

.card-stick {
    background-color: rgb(153 69 255);
    padding: 12px;
    border-radius: 25px;
    margin-top: 12px;
    font-size: 12px;
}

.card-arrow-right {
    padding-top: 30px;
}

.card-arrow-right span svg {
    border-radius: 50%;
    border: 1px solid #fff;
    padding: 10px;
    display: flex;
    align-items: center;
}

.designed-card-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 1.75rem;
    gap: 1.75rem;

    h2 {
        font-size: 1.75rem !important;
    }
}

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

/* отталкиваюсь от предыдущей верстки */
.custom-wrap {
    flex-direction: column;
    height: 100%;
}

.d-none-md {
    display: block;

}

.d-none-desktop {
    display: none;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
}

.tab-label {
    position: relative;
    display: block;
    line-height: 2.75em;
    height: 3em;
    padding: 0 1.618em;
    background: rgb(27 22 34);
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    top: 0;
    transition: all 0.25s;
}

.tab-label:hover {
    background: rgb(38, 32, 46);
}

.tab-switch:checked + .tab-label {
    background: rgb(27 22 34);
    border: 1px solid rgb(153 69 255);
    color: #fff;
    border-radius: 25px;
}

.tab-switch:checked + .tab-label:hover {
    background: rgb(38, 32, 46);
    border: 1px solid rgb(173 89 255);
}

.tab-switch:checked + label + .tab-content {
    z-index: 2;
    opacity: 1;
    transition: all 0.35s;
}


.tab-content, .tab-content iframe {
    border-radius: .5rem;
    overflow: hidden;
}


.box-shadow {
    box-shadow: 0 32px 64px -12px rgba(153, 69, 255, .2);
}

.tab-content_content {
    padding: 2.5rem;
    height: 100%;
    box-sizing: border-box;
    background: rgb(27 22 34);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 80px #ae00ff;
}

.tab-content_content a {
    color: #fff;
}

.tab-content_content p {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.tab-content_content img {
    max-width: 50%;
    width: auto;
    max-height: 80px;
}

.text_up {
    text-transform: uppercase;
}

.partner_logos {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pt-2rem {
    padding-top: 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.pt-3rem {
    padding-top: 3rem;
    gap: 2rem;
}
.pt-4rem {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.developer {
    display: flex;
    align-items: center;
}

.developer h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -.03rem;
    color: #fff;
}

.developer p {
    font-size: 1.3rem;
    line-height: 117%;
    color: #fff;
}

.button_now {
    padding: 10px 21px;
    border-radius: 25px;
    background-color: rgb(20, 241, 149);
    color: #000;
}

.button_now:hover {
    background-color: #fff;
    color: #000;
}

.button_stack {
    color: #fff;
    border-radius: 25px;
    border: 2px solid #fff;
    padding: 10px 21px;
}

.button_stack:hover {
    color: #000;
    background-color: #fff;
}

.developer_grops {
    display: flex;
    gap: 8px;
    padding-top: 2rem;
}

.developer_grops a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.developer_grops a svg {
    padding-left: 8px;
}

.developer_img {
    max-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.developer_img img {
    height: 100%;
    width: auto;

}

.width_50 {
    width: 50%;
}

.padding-l {
    padding-left: 2rem;
}

.tab-switch {
    display: none;
}

.relative {
    position: relative;
}

/* burger*/
.burger-checkbox {
    position: absolute;
    visibility: hidden;
}

.burger {
    position: relative;
    z-index: 1;
    cursor: pointer;
    display: block;
    border: none;
    background: transparent;
    width: 40px;
    height: 26px;
}

.burger::before,
.burger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: #fff;
}

.burger::before {
    top: 0;
    box-shadow: 0 11px 0 #fff;
    transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}

.burger::after {
    bottom: 0;
    transition: bottom .3s .15s, transform .3s;
}

.burger-checkbox:checked + .burger::before {
    top: 11px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
    transition: box-shadow .15s, top .3s, transform .3s .15s;
}

.burger-checkbox:checked + .burger::after {
    bottom: 11px;
    transform: rotate(-45deg);
    transition: bottom .3s, transform .3s .15s;
}

.menu-list {
    top: 0;
    left: 0;
    position: absolute;
    display: grid;
    gap: 12px;
    padding: 42px 0;
    margin: 0;
    background: rgb(27 22 34);
    list-style-type: none;
    transform: translateX(-100%);
    transition: .3s;
    width: 80%;
    z-index: 100;
}

.menu-item {
    display: block;
    padding: 8px;
    color: white;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
}

.menu-item:hover {
    background: rgba(255, 255, 255, .2)
}

.burger-checkbox:checked ~ .menu-list {
    transform: translateX(0);
}

.white {
    color: #fff;
}

.text-center {
    text-align: center;
}

.fs-2 {
    font-size: 2rem;
}

.menu {
    padding-right: 20px;
    display: none;
}

/* burger*/
.tabs{
  display: flex;
  gap: 1rem;
  padding-bottom: 2rem;
    flex-wrap: wrap;
}
.tabs .tab {
    display: inline-block;
    cursor: pointer;
}
.tabs .tab.on {
  background: rgb(27 22 34);
  border: 1px solid rgb(153 69 255);
  border-radius: 25px;
}

.tabs-items .item {
    display: none
}

.tabs-items .item.on {
  padding: 0;
  height: 100%;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 80px #ae00ff;
  margin-bottom: 2rem;

}
.tabs-items .item.media.on {
  padding: 0;
  height: 100%;
  box-sizing: border-box;
  background: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 0;
  margin-bottom: 2rem;
}
.tabs-items .item.media.on .d-flex{
  padding: 0;
  background: none;
  border-radius: .5rem;
  overflow: hidden;
}
.tabs-items .item.on p, .m-0 {
  margin: 0;
}
.tabs-items .item.on a {
  color:#fff;
}
.tabs-items .item.on .d-flex {
  margin-bottom: 2rem;
  background-color: rgb(38, 32, 46);
  padding: 16px;
  border-radius: .5rem;
}
.mt-2rem{
  margin-top: 2rem !important;
}
.width_60{
    width: 60%;
}
.width_40{
    width: 40%;
}
.flex-wrap{
    flex-wrap: wrap;
}
.menu-header{
    cursor: pointer;
    color: #ffffff;
}
.ul-menu {
    display: none;
    color: #ffffff;
    padding-top: 18px;
}

.ul-menu a {
    display: block;
}

@media screen and (max-width: 992px) {
    .text-center_mobil {
        text-align: center;
    }

    .slogan {
        font-size: 2rem;
        text-align: center;
        padding-top: 25vh;
    }

    .desc {
        font-size: 1.3rem;
    }

    .supported {
        text-align: center;
    }

    .menu {
        display: block;
    }

    nav.nav {
        display: none;
    }

    .designed-card-flex, .designed-head {
        flex-direction: column;
    }

    .designed-head h1 {
        text-align: center;
    }

    .d-none-md {
        display: none;
    }

    .d-none-desktop {
        display: block;
    }

    .d-block-mobil {
        display: flex !important;
        flex-direction: column;
    }

    .d-none-mobil {
        display: none !important;
    }

    .width_50, .width_60, .width_40 {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .h-250-mobil {
        height: 250px;
    }

    .tab-block_img-1 {
        background-image: url('../assets/tabs/dd.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
    }
    .tab-block_img-2 {
        background-image: url('../assets/tabs/tsugi.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
    }
    .tab-block_img-3 {
        background-image: url('../assets/tabs/solfast.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
    }

    .tabs_menu {
        justify-content: start;
        flex-wrap: wrap;
        padding: 0;
    }

    .order-1 {
        order: 2;
    }

    .order-2 {
        order: 1;
    }

    .main {
        min-height: 100vh;
    }

    .developer_img img {
        width: 80%;
        margin-top: 15%;
    }

    .developer_grops {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header {
        width: auto;
    }
    .developer h1 {
        font-size: 3rem;
    }
    .partners{
        justify-content: center;
    }
    .tabs{
        padding-top: 2rem;
    }
    .mobil_logo{
        display: flex;
        justify-content: center;
    }
    .mobil_logo .brand{
        margin-left: 0;
        margin-top: 18px;
    }
    .mobil-nav{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .rotate svg{
        transform: rotate(90deg);
    }
    .padding-l{
        padding-left: 0;
    }
    
    .justify-center{
    justify-content: center;
}


}
