@font-face {
    font-family: "Minecraft";
    src: url('minecraft.ttf');
}

body {
    margin: 0;
    min-width: 290px;
    background: #121212;
    color: var(--main-text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

body::-webkit-scrollbar-track {
    background: #171717
}

body::-webkit-scrollbar-thumb {
    background-color: var(--scroll-color);
    border-radius: 20px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Lato, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: 0;
    outline: none;
}

li, button, a {
    transition: filter .2s ease;
}

li:hover {
    filter: brightness(90%);
}

a:hover {
    filter: brightness(95%);
}

button:hover {
    filter: brightness(85%);
}

input {
    outline: none;
}

header {
    width: 100%;
    background-image: url('../img/bg_header.webp');
    background-repeat: no-repeat;
    height: 150px;
    background-size: cover;
    display: flex;
    justify-content: center;
}

main {
    flex-grow: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 93%;
    max-width: 1250px;
    align-self: flex-start;
    align-items: center;
    margin-top: 23px;
}

.logo-and-title-server {
    display: flex;
    align-items: center;
    transition: filter .2s ease;
}

.logo-and-title-server:hover {
    filter: brightness(85%);
}

.logo-server {
    width:65px;
    margin-right: 15px;
}

.title-and-ip-server {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 41px;
}

.title-server {
    color: var(--main-text-color);
    font-size: 21px;
    font-weight: 700;
    text-transform: uppercase;
}

.ip-server {
    font-size: 12px;
    color: var(--secondary-text-color);
    font-weight: 400;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 985px;
    z-index: 3;
}

.list-hrefs {
    display: flex;
    justify-content: space-between;
    width: 56%;
    list-style-type: none;
}

.list-hrefs li {
    color: var(--main-text-color);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-transform: uppercase;
    transition: filter .2s ease;
}

.list-hrefs li:hover {
    filter: brightness(85%);
}

.list-hrefs .select-page {
    color: var(--secondary-text-color);
}

.list-hrefs .select-page {
    align-items: center;
}

.list-hrefs li img {
    width: 21px;
    margin-right: 9px;
    margin-top: -6px;
}

.list-hrefs .main-icon-container img {
    margin-right: 0;
    margin-top: 0;
    width: 18px;
}

.list-hrefs .main-icon-container {
    background: #212121;
    border-radius: 3px;
    width: 30px;
    height: 29px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 9px;
    margin-top: -6px;
}

.list-btns {
    display: flex;
    align-items: center;
}

.vk {
    width: 26px;
    margin-right: 16px;
}

.copy-ip {
    background: var(--button-bg-color);
    border-radius: 3px;
    width: 250px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .2s ease;
}

.copy-ip-icon {
    width: 24px;
    margin-right: 11px;
}

.copy-ip .copy-ip-text {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    margin-bottom: -4px;
    color: var(--button-text-color);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    background: none;
    position: relative;
    z-index: 4;
}

.mobile-menu-icon {
    width: 28px;
    margin-right: 5px;
}

.mobile-menu-text {
    text-transform: uppercase;
    color: var(--main-text-color);
    font-size: 18px;
    letter-spacing: .3px;
    transition: color .2s ease;
}

.mobile-menu-btn-active .mobile-menu-text {
    color: var(--secondary-text-color);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slogan {
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--main-text-color);
    font-size: 36px;
    margin-top: 30px;
    text-align: center;
}

.description-site {
    margin-top: 5px;
    font-weight: 500;
    color: var(--secondary-text-color);
    font-size: 16px;
    letter-spacing: 0.15px;
    text-align: center;
}

.name-server {
    display: flex;
    padding: 11px 22px;
    background: var(--button-bg-color);
    color: var(--button-text-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    align-items: center;
    margin-top: 50px;
    border-radius: 4px;
}

.name-server img {
    width: 24px;
    margin-right: 11px;
}

.name-server div {
    margin-bottom: -4px;
}


footer {
    width: 100%;
    padding-bottom: 32px;
    background-image: url('../img/bg_footer.webp');
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 50px;
    display: flex;
    justify-content: center;
}

.footer {
    display: flex;
    justify-content: space-between;
    width: 93%;
    max-width: 1250px;
    flex-wrap: wrap;
}

.copyright-and-server-container, .navigation-footer-container, .documents-container, .contacts-container {
    display: flex;
    flex-direction: column;
    color: var(--main-text-color);
    margin-right: 25px;
}

.copyright {
    font-weight: 400;
    font-size: 16px;
    margin-top: 27px;
}

.navigation-footer-title, .documents-title, .contacts-title {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 30px;
    letter-spacing: 0.2px;
}

.navigation-footer-list, .documents-list, .contacts-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    font-size: 14.5px;
    letter-spacing: 0.2px;
}

.navigation-footer-list li, .documents-list li, .contacts-list li {
    margin-bottom: 11px;
}

.creator {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    text-align: center;
}


.area-pop-up-buy, .area-pop-up-title {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity .3s ease;
    opacity: 0;
}

.pop-up-buy, .pop-up-title {
    height: auto;
    width: 430px;
    border: 2px #242424 solid;
    background-color: #121212;
    background-image: url('../img/modal.webp');
    padding-top: 35px;
    padding-bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    border-radius: 8px;
}

.pop-up-title-description {
    font-size: 16px;
    font-weight: 400;
    color: var(--main-text-color);
    margin-top: 20px;
    width: 350px;
    text-align: center;
}

.title-demo {
    margin-top: 30px;
    margin-bottom: 13px;
    font-size: 20px;
    font-family: Minecraft;
    color: var(--main-text-color);
    height: 21px;
}

.title-demo span {
    font-family: Minecraft;
}

.pop-up-buy-title, .pop-up-title-title {
    font-weight: 700;
    font-size: 28px;
    color: var(--main-text-color);
    letter-spacing: 0.5px;
}

.pop-up-buy-name-product {
    margin-top: 5px;
    font-size: 19px;
    font-weight: 600;
    color: var(--secondary-text-color);
    margin-bottom: 34px;
    letter-spacing: 0.5px;
}

.input-container, .select-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 55px;
    background: #0d0d0d;
    margin-bottom: 20px;
    position: relative;
    border-radius: 3px;
}

.input-container img {
    margin-right: 15px;
    width: 24px;
}

.select-container img {
    margin-right: 270px;
}

.input-container input {
    width: 255px;
    font-size: 15px;
    color: var(--main-text-color);
    background: none;
    border: 0;
}

.select-container .card {
    width: 350px;
    font-size: 15px;
    color: var(--main-text-color);
    background: none;
    border: 0;
    outline: none;
    appearance: none;
    display: block;
    padding-left: 67px;
    position: absolute;
    height: 55px;
    cursor: pointer;
}

.card option {
    background: #0d0d0d;
    color: var(--main-text-color);
}

.checkbox-container {
    margin-bottom: 20px;
    color: var(--main-text-color);
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    width: 350px;
    align-items: center;
}

.checkbox-container input {
    display: none;
}

.checkbox-container label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.checkbox-container label:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 2px;
    border: 1px solid #bdbdbd;
    background: #333;
    margin-right: 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-container input:checked + label:before {
    content: '✔';
    color: #333;
    background: var(--button-bg-color);
    border: 0;
    font-weight: 900;
    position: relative;
    padding-bottom: 1px;
    padding-right: 1px;
    font-size: 16.5px;
}

.promo-container {
    display: none;
}

.agreement {
    font-weight: 400;
    font-size: 16px;
    color: var(--main-text-color);
    text-align: center;
    width: 350px;
}

.agreement a {
    color: var(--secondary-text-color);
}

.buy-product-btn, .confirm-title-btn {
    margin-top: 23px;
    font-weight: 600;
    color: var(--main-text-color);
    padding: 11px 15px;
    background: #1c1c1c;
    border-radius: 4px;
    font-size: 15.5px;
    max-width: 350px;
    min-height: 41px;
}

.buy-product-btn-active, .confirm-title-btn-active {
    background: var(--button-bg-color);
    color: var(--button-text-color);
}

@keyframes smoothAppearance {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.category-container {
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    width: 93%;
    max-width: 1250px;
    position: relative;
}

.pop-up-list-btn {
    width: 100%;
    max-width: 420px;
    justify-content: center;
    align-items: center;
    background: none;
    border: 2px var(--button-bg-color) solid;
    border-radius: 5px;
    display: none;
    height: 54px;
    cursor: pointer;
}

.selected-category-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.35px;
    color: var(--main-text-color);
    margin-right: 7px;
}

.arrow-list {
    width: 24px;
    transition: transform .3s ease;
    margin-top: -2px;
}

.list-categories {
    list-style-type: none;
    display: flex;
    width: 100%;
    height: 44px;
}

.category {
    height: 44px;
    flex-grow: 1;
    border-bottom: 2px #242424 solid;
    font-size: 18px;
    letter-spacing: 0.4px;
    font-weight: 400;
    color: var(--main-text-color);
    text-align: center;
    cursor: pointer;
    animation: smoothAppearance .3s ease;
    transition: color .3s ease, border-bottom .3s ease, filter .2s ease;
    user-select: none;
}

.selected-category {
    border-bottom: 2px var(--secondary-text-color) solid;
    color: var(--secondary-text-color);
}

.list-products {
    margin-top: 45px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 93%;
    max-width: 1250px;
    margin-bottom: 80px;
    min-height: 245px;
}

.one-product {
    flex: 0 0 calc(20% - 20px);
    flex-grow: 1;
    height: 245px;
    border: 1px #3d3d3d solid;
    border-radius: 5px;
    background: #1f1f1f;
    display: flex;
    justify-content: center;
    padding: 18px;
    position: relative;
    cursor: pointer;
    animation: smoothAppearance .3s ease;
    transition: filter .2s ease;
}

.one-product:hover {
    filter: brightness(91%);
}

.img-product {
    width: 100%;
    max-width: 215px;
    align-self: center;
    pointer-events: none;
}

.price-product {
    background: var(--button-bg-color);
    color: var(--button-text-color);
    position: absolute;
    left: 0;
    padding: 4.5px 10px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 3px;
    margin-left: 18px;
    filter: brightness(90%);
}

.title-product {
    color: var(-main-text-color);
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: 0.36px;
    max-width: 70%;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 18px;
    margin-left: 18px;
}

.buy-icon-product {
    background: #2b2b2b;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 18px;
    margin-right: 18px;
    width: 45px;
    height: 45px;
}

.buy-icon-product img {
    width: 19px;
}

@media (max-width: 1280px) {
    .mobile-menu-btn {
        display: flex;
    }

    .navigation {
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 0;
        width: 248px;
        background: #1f1f1f;
        padding-bottom: 15px;
        height: 324px;
        display: none;
        opacity: 0;
        transition: opacity .2s ease;
        border: 1px #3d3d3d solid;
    }

    .list-hrefs {
        flex-direction: column;
        width: 100%;
        align-items: center;
        height: 138px;
        margin-top: 75px;
    }

    .list-btns {
        flex-direction: column;
        align-items: center;
        margin-top: 18px;
    }

    .vk {
        margin-right: 0;
    }

    .copy-ip {
        width: 200px;
        height: 45px;
    }

    .copy-ip-icon {
        width: 20px;
        margin-right: 8px;
    }

    .copy-ip .copy-ip-text {
        font-size: 12px;
        letter-spacing: 0.35px;
        margin-bottom: -2px;
    }

    .one-product {
        flex: none;
        flex-grow: 1;
    }

    .list-hrefs .main-icon-container img {
        margin-right: 0;
        margin-top: 0;
        width: 21px;
    }

    .list-hrefs .main-icon-container {
        background: none;
        border-radius: 3px;
        width: 21px;
        height: 21px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 9px;
        margin-top: -6px;
    }
}

@media (max-width: 1024px) {
    .navigation-footer-container, .contacts-container {
        width: 152.92px;
    }

    .copyright-and-server-container, .navigation-footer-container, .documents-container, .contacts-container {
        margin-top: 32px;
    }
}

@media (max-width: 768px) {
    .slogan {
        font-size: 26px;
        margin-top: 19px;
    }

    .description-site {
        margin-top: 2px;
        font-size: 14px;
    }

    .name-server {
        margin-top: 30px;
    }

    .category-container {
        margin-top: 26px;
        align-items: center;
        z-index: 2;
    }

    .pop-up-list-btn {
        display: flex;
    }

    .list-categories {
        height: auto;
        position: absolute;
        margin-top: 65px;
        transition: opacity .3s ease;
        flex-direction: column;
        background: #121212;
        border: 2px var(--button-bg-color) solid;
        border-radius: 5px;
        max-width: 420px;
        display: none;
        opacity: 0;
    }

    .category {
        height: 40px;
        line-height: 40px;
        border-bottom: 0;
        font-size: 13px;
        letter-spacing: 0.35px;
        font-weight: 600;
        text-align: start;
        padding-left: 14px;
    }

    .selected-category {
        border-bottom: 0;
        color: inherit;
    }    
}

@media (max-width: 576px) {
    .navigation-footer-container, .documents-container, .contacts-container {
        align-items: center;
    }

    .copyright {
        text-align: center;
        max-width: 332px;
        width: auto;
    }

    .navigation-footer-list, .documents-list, .contacts-list {
        align-items: center;
    }

    .footer { 
        justify-content: center;
    }

    .pop-up-buy, .pop-up-title {
        max-width: 370px;
        width: 85%;
        padding-top: 27px;
        padding-bottom: 26px;
    }

    .pop-up-buy-title, .pop-up-title-title {
        font-size: 25px;
        letter-spacing: 0.4px;
    }

    .pop-up-buy-name-product {
        margin-top: 4.5px;
        font-size: 17.5px;
        margin-bottom: 25px;
        letter-spacing: 0.4px;
    }

    .input-container, .select-container {
        width: 81%;
        height: 50px;
        margin-bottom: 17px;
        justify-content: flex-start;
    }

    .input-container img {
        margin-right: 13px;
        width: 22px;
        margin-left: 18px;
    }

    .select-container img {
        margin-right: 0;
        margin-left: 18px;
    }

    .input-container input {
        width: 76.6%;
        font-size: 14px;
    }

    .select-container .card {
        width: 100%;
        font-size: 14px;
        padding-left: 54px;
        height: 50px;
    }

    .checkbox-container {
        margin-bottom: 17px;
        font-size: 15px;
        width: 81%;
    }

    .checkbox-container label:before {
        width: 18px;
        height: 18px;
        margin-right: 16px;
    }

    .checkbox-container input:checked + label:before {
        font-size: 15px;
    }

    .agreement {
        font-size: 15px;
        width: 81%;
    }

    .buy-product-btn, .confirm-title-btn {
        margin-top: 20px;
        padding: 9px 15px;
        border-radius: 4px;
        font-size: 15px;
        max-width: 81%;
        min-height: 39px;
    }

    .pop-up-title-description {
        max-width: 81%;
        font-size: 14px;
    }

    .title-demo {
        margin-top: 25px;
        margin-bottom: 11px;
        font-size: 18px;
        height: 19px;
        max-width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 430px) {
    .copyright-and-server-container, .navigation-footer-container, .documents-container, .contacts-container {
        margin-right: 5px;
        margin-left: 5px;
    }

    .copyright-and-server-container {
        margin-left: 0;
    }
}