/* Adaptation */

@media screen and (max-width: 1584px) {
    .app .list-block .list {
        margin-left: -5%;
    }

    .app .list-block .list .item:first-of-type {
        margin-left: 5%;
    }

    .app .list-block .list .item:last-of-type {
        margin-right: 5%;
    }
}

@media screen and (max-width: 1440px) {
    .link-button {
        height: 50px;
        width: 280px;
    }

    .link-button div {
        font-size: 12px;
    }

    header .content nav {
        gap: 30px;
    }

    header .content .manage {
        gap: 12px;
    }

    .app .title-block .mansory {
        margin-top: 40px;
        gap: 10px;
    }

    .app .title-block .mansory .item.big .in-title h1,
    .app .title-block .name h1 {
        font-size: 36px;
    }

    .app .title-block .mansory .list {
        gap: 10px;
    }

    .app .title-block .mansory .list .item:last-child h1 {
        font-size: 48px;
        margin-top: 20px;
    }

    .app .title-block .mansory .list .item h1 {
        font-size: 24px;
    }

    .app .title-block .mansory .list .item .link-button {
        margin-top: 20px;
    }

    .app .title-block .mansory .list .item h4 {
        font-size: 16px;
        margin-top: 14px;
    }

    .app .title-block .mansory .list .item h3 {
        font-size: 14px;
    }

    .app .title-block .mansory .item.big .in-title h3 {
        margin-top: 24px;
        font-size: 16px;
    }

    .app .title-block .mansory .item.big .statistics .st-item svg {
        width: 36px;
        height: 36px;
    }

    .app .title-block .mansory .item.big .statistics .st-item h2 {
        font-size: 18px;
    }

    .app .title-block .mansory .item.big .statistics .st-item h3 {
        font-size: 12px;
    }

    .app .showcase-block {
        margin-top: 100px;
    }

    .block-title span {
        font-size: 14px;
    }

    .block-title h1 {
        font-size: 36px;
    }

    .block-title h2 {
        font-size: 18px;
    }

    .app .showcase-block .mansory .list:nth-child(1) .item h1,
    .app .showcase-block .mansory .list:nth-child(3) .item:nth-child(1) h1,
    .app .showcase-block .mansory .list:nth-child(3) .item:nth-child(2) h1 {
        font-size: 30px;
        max-width: 300px;
    }

    .app .showcase-block .mansory .list:nth-child(1) .item h1 {
        max-width: 220px;
    }

    .app .showcase-block .mansory .list:nth-child(1) .item h3 {
        font-size: 14px;
        margin-top: 24px;
    }

    .app .showcase-block .mansory .list:nth-child(1) .item h2,
    .app .showcase-block .mansory .list:nth-child(2) .item h1 {
        font-size: 18px;
    }

    .app .showcase-block .mansory .list:nth-child(1) .item .absolute,
    .app .showcase-block .mansory .list:nth-child(2) .item:nth-child(3) img {
        width: 45%;
    }

    .app .showcase-block .mansory .list:nth-child(2) .item:nth-child(2) img {
        width: 50%;
    }

    .app .showcase-block .mansory .list:nth-child(2) .item .absolute {
        width: 30%;
        bottom: 0;
        top: auto;
    }

    .app .showcase-block .mansory .list:nth-child(2) .item h2 {
        font-size: 14px;
        margin-top: 12px;
    }

    .app .showcase-block .mansory .list:nth-child(3) {
        grid-template-rows: 250px 1fr;
    }

    .app .showcase-block .mansory .list .item {
        padding: 25px;
    }

    .app .showcase-block .mansory .list:nth-child(3) .item:nth-child(2) h1 {
        bottom: 25px;
        right: 25px;
    }

    .app .showcase-block .mansory {
        gap: 10px;
        height: 700px;
    }

    .app .showcase-block .mansory .list {
        gap: 10px;
    }

    .app .marquee-block {
        margin-top: 45px;
    }

    .app .marquee-block img {
        width: 120px;
        height: auto;
    }

    .app .list-block .name h1 {
        font-size: 36px;
    }

    .app .list-block .name .manage h2 {
        font-size: 16px;
    }

    .app .list-block .name .manage .controls a {
        font-size: 12px;
    }

    .app .list-block .name .manage .controls .arrows {
        gap: 10px;
    }

    .app .title-block .mansory .item {
        padding: 25px;
    }

    .app .title-block .mansory .item.big .in-title img {
        right: -25px;
        width: 40%;
    }

    .app .title-block .mansory .list .item {
        padding: 25px;
    }

    .app .list-block .name .manage .controls .arrows svg {
        width: 50px;
        color: var(--text-2);
    }

    .app .showcase-block .mansory .list:nth-child(2) {
        grid-template-rows: -webkit-min-content 1fr -webkit-min-content;
        grid-template-rows: min-content 1fr min-content;
    }

    .app .showcase-block .mansory .list:nth-child(2) .item:nth-child(2) {
        display: grid;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .app .showcase-block .mansory .list:nth-child(2) .item:nth-child(2) img {
        margin: auto;
    }

    .app .list-block {
        margin-top: 150px;
    }

    .app .list-block .list .item img {
        width: 75%;
    }

    .app .list-block .list .item:hover img {
        margin-top: -15px;
    }

    .app .list-block .list .item {
        min-width: calc(300px - 18px * 2);
        height: calc(300px - 18px * 2);
        padding: 18px;
    }

    .app .list-block .list .item h2 {
        font-size: 14px;
    }

    .app .list-block .list .item h1 {
        font-size: 18px;
    }

    .app .list-block .list .item:hover h2 {
        height: 36px;
        margin-top: 10px;
    }

    .app .instruments-block {
        margin-top: 100px;
    }

    .app .instruments-block h1 {
        font-size: 36px;
    }

    .app .instruments-block h2 {
        font-size: 14px;
        margin-top: 18px;
    }

    .app .instruments-block .selectors span {
        font-size: 18px;
    }

    .app .instruments-block .preview {
        padding: 25px;
        margin-top: 36px;
    }

    .app .new-block {
        margin-top: 100px;
        height: 525px;
    }

    .app .new-block .title {
        padding: 45px;
    }

    .app .new-block .title h1 {
        font-size: 36px;
    }

    .app .new-block .title h2 {
        font-size: 18px;
        margin-top: 20px;
    }

    .app .new-block .title .link-button {
        margin-top: 20px;
    }

    .app .new-block img {
        height: 370px;
        margin-top: 50px;
        margin-right: 150px;
    }

    .app .friend-block {
        margin-top: 100px;
    }

    .app .friend-block .title h1 {
        font-size: 36px;
    }

    .app .friend-block .title h2 {
        font-size: 14px;
        margin-top: 18px;
    }

    .app .friend-block {
        gap: 50px;
    }

    .app .friend-block .list .item h3,
    .app .friend-block .list .item .input input {
        font-size: 24px;
    }

    .app .friend-block .list .item .input input {
        width: 26px;
        min-width: 26px;
    }

    .app .friend-block .list .item .input input.long {
        width: 54px !important;
        min-width: 54px !important;
    }

    .app .friend-block .list .item h4 {
        font-size: 12px;
    }

    .app .friend-block p {
        font-size: 14px;
        margin-top: 18px;
    }

    .app .friend-block .link-button {
        margin-top: 36px;
    }

    .app .ddos-block {
        margin-top: 100px;
        height: 450px;
    }

    .app .ddos-block img {
        width: 90%;
        -o-object-fit: contain;
        object-fit: contain;
        order: -1;
        margin: auto;
        margin-top: 20px;
    }

    .app .ddos-block .title h1 {
        font-size: 36px;
    }

    .app .ddos-block .title h2 {
        font-size: 14px;
        margin-top: 14px;
    }

    .app .ddos-block .advantages {
        margin-top: 24px;
        gap: 10px;
    }

    .app .ddos-block .advantages .item h4 {
        margin-top: 14px;
        font-size: 12px;
    }

    .app .ddos-block .advantages .item h3 {
        margin-top: 18px;
        font-size: 14px;
    }

    .app .ddos-block .advantages .item svg {
        width: 36px;
        height: 36px;
    }

    .app .ddos-block .link-button {
        margin-top: 36px;
    }

    .app .connect-block {
        margin-top: 100px;
    }

    .app .connect-block .title h1 {
        font-size: 36px;
    }

    .app .connect-block .title h2 {
        font-size: 14px;
        margin-top: 18px;
    }

    .app .connect-block .container .marquee .item {
        padding: 15px;
        padding-right: 30px;
        gap: 36px;
    }

    .app .connect-block .container .marquee .item::before {
        width: calc(100% - 15px);
    }

    .app .connect-block .container .marquee .item .name {
        gap: 10px;
    }

    .app .connect-block .container .marquee .item .info {
        gap: 25px;
    }

    .app .connect-block .container .marquee:nth-child(2) {
        margin-top: 15px;
    }

    .app .connect-block .container .marquee .item .name div h3,
    .app .connect-block .container .marquee .item .info h3 {
        font-size: 14px;
    }

    .app .connect-block .container .marquee .item .name div h4 {
        margin-top: 5px;
        font-size: 14px;
    }

    .app .faq-block {
        margin-top: 100px;
    }

    .app .faq-block .questions .list .question {
        padding: 20px;
    }

    .app .faq-block .questions {
        margin-top: 36px;
    }

    .app .faq-block .questions .list,
    .app .faq-block .questions {
        gap: 10px;
    }

    .app .faq-block .questions .list .question .name h2 {
        font-size: 18px;
    }

    .app .faq-block .questions .list .question .name svg {
        width: 18px;
    }

    .app .faq-block .questions .list .question h3 {
        font-size: 14px;
    }

    .app .faq-block .questions .list .question.open h3 {
        max-height: 150px;
        margin-top: 18px;
    }

    footer {
        margin-top: 100px;
    }

    footer .content .links {
        gap: 45px;
    }

    footer .content .links .link a {
        margin-top: 14px;
    }

    footer .end .in div {
        gap: 25px;
    }

    .header-menu .content .in .links {
        gap: 10px;
        padding-right: 15px;
    }

    .header-menu .content .in .links .link {
        width: calc((100% - 10px * 3) / 4 - 15px * 2);
        padding: 15px;
    }

    .header-menu .content .in .links .link:nth-child(1),
    .header-menu .content .in .links .link:nth-child(2),
    .header-menu .content .in .links .link:nth-child(3) {
        width: calc((100% - 10px * 2) / 3 - 15px * 2);
    }

    .header-menu .content .in .other {
        padding-left: 15px;
        gap: 10px;
    }

    .header-menu .content .in .other .anonymous {
        padding: 15px;
    }

    .header-menu .content .in .other .anonymous h3 {
        font-size: 12px;
        margin-top: 14px;
    }

    .header-menu .content .in .other .lk {
        padding: 15px;
        display: grid;
        align-content: baseline;
    }

    .header-menu .content .in .other .lk .link-button div {
        font-size: 10px;
        width: 200%;
    }

    .header-menu .content .in .other .lk .link-button svg {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .app .instruments-block .preview img {
        content: url("/components/images/iphone.png");
        width: 50%;
    }

    .link-button {
        width: 100%;
    }

    header .content nav .media-container,
    header .content .manage .media-container {
        display: flex;
    }

    .app .title-block .name {
        display: grid;
        gap: 18px;
    }

    .app .title-block .mansory .item.big .in-title h1 {
        font-size: 24px;
    }

    .app .title-block .name h1 {
        font-size: 28px;
    }

    header .content nav .link {
        display: none;
    }

    header .content .manage .icon {
        display: none;
    }

    header .content .manage h4 {
        display: none;
    }

    .app .title-block .mansory {
        display: grid;
    }

    .app .title-block .mansory .item {
        padding: 20px;
        width: calc(100% - 20px * 2) !important;
    }

    .app .title-block .mansory .item.big .in-title img {
        display: block;
        position: static;
        width: 100%;
        height: auto;
    }

    .app .title-block .mansory .item.big .statistics {
        flex-wrap: wrap;
        gap: 20px;
        margin-left: -50px;
        margin-top: 36px;
        margin-bottom: 0;
        padding-right: 20px;
        padding-top: 15px;
    }

    .app .title-block .mansory .item.big .statistics .st-item {
        width: calc((100% - 20px) / 2);
        gap: 10px;
    }

    .app .title-block .mansory .list {
        width: calc(100% - 10px);
    }

    .app .title-block .mansory .list .item .absolute {
        width: 25%;
    }

    .app .title-block .mansory .list .item:nth-child(2) img {
        bottom: 0;
    }

    .app .title-block .mansory .item.big .in-title {
        gap: 50px;
    }

    .app .title-block .mansory {
        margin-top: 36px;
    }

    .block-title h1 {
        font-size: 28px;
    }

    .block-title h2 {
        font-size: 14px;
    }

    .app .showcase-block .mansory {
        display: grid;
        height: auto;
    }

    .app .marquee-block img {
        padding-right: 40px;
        width: 100px;
    }

    .app .showcase-block .mansory .list:nth-child(2) .item:nth-child(3) {
        overflow: hidden;
    }

    .app .showcase-block .mansory .list:nth-child(3) {
        grid-template-rows: 250px 350px;
    }

    .app .showcase-block .mansory .list:nth-child(3) .item:nth-child(2) {
        background-size: 100%;
    }

    .app .showcase-block .mansory .list:nth-child(1) .item h1,
    .app .showcase-block .mansory .list:nth-child(3) .item:nth-child(1) h1,
    .app .showcase-block .mansory .list:nth-child(3) .item:nth-child(2) h1 {
        font-size: 28px;
        max-width: 280px;
    }

    .app .showcase-block .mansory .list:nth-child(1) .item h1 {
        max-width: 200px;
    }

    .app .list-block {
        margin-top: 100px;
    }

    .app .list-block .name {
        display: grid;
        gap: 20px;
    }

    .app .list-block .name h1,
    .app .instruments-block h1 {
        font-size: 28px;
    }

    .app .instruments-block .selectors span {
        font-size: 12px;
        padding-bottom: 14px;
    }

    .app .new-block .title {
        padding: 25px;
        margin-bottom: 64px;
    }

    .app .new-block .title h1 {
        font-size: 28px;
    }

    .app .new-block .title h2 {
        font-size: 14px;
    }

    .app .new-block {
        display: grid;
        height: auto;
    }

    .app .new-block img {
        order: -1;
        height: 200px;
        margin: auto;
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .app .friend-block {
        display: grid;
        padding-left: 0;
    }

    .app .friend-block img {
        width: 50%;
        margin: auto;
    }

    .app .friend-block .title h1 {
        font-size: 28px;
        text-align: center;
    }

    .app .friend-block .title h2 {
        text-align: center;
    }

    .app .friend-block .list .item h3,
    .app .friend-block .list .item .input input {
        font-size: 18px;
    }

    .app .friend-block .list .item .input input {
        width: 20px;
        min-width: 20px;
    }

    .app .friend-block .list .item .input input.long {
        width: 40px !important;
        min-width: 40px !important;
    }

    .app .friend-block .link-button {
        width: 100%;
        margin-top: 28px;
    }

    .app .ddos-block {
        display: grid;
        height: auto;
    }

    .app .ddos-block .title {
        padding: 25px;
    }

    .app .ddos-block .title h1 {
        font-size: 28px;
    }

    .app .connect-block {
        display: grid;
        height: auto;
        gap: 28px;
    }

    .app .connect-block .title {
        height: auto;
    }

    .app .connect-block .title h1 {
        font-size: 28px;
    }

    .app .connect-block .container {
        width: 100vw;
        margin-left: -5vw;
        position: static;
        height: auto;
    }

    .app .faq-block .questions {
        display: grid;
    }

    footer .content {
        display: grid;
        gap: 32px;
    }

    footer .content .company {
        display: grid;
        gap: 24px;
    }

    footer .content .links {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }

    footer .content .links .link {
        width: calc((100% - 24px) / 2);
    }

    footer .content .links .link a {
        margin-top: 10px;
    }

    footer .end .in {
        display: grid;
        gap: 24px;
    }

    footer .end .in div {
        display: grid;
        gap: 12px;
    }
}