@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap";

/** global styles */
:root[data-theme="blue_black"] {
    --color1: #264271bd;

    --bg-color-700: #264271bd;
    --bg-color-900: #4969afab;
    --accent-color-800: #3e67c3;
    --bg-color-800: #264171;

    --font1: "Montserrat", sans-serif;
}

*,
*:before,
*:after {
    font-family: var(--font1);
}

.boxHeader {
    border-radius: 12px 12px 0 0;
    color: var(--font-color-700);
    padding: 20px 20px;
}

.boxBody {
    backdrop-filter: blur(2.5px);
}

.boxFooter {
    border-radius: 0 0 12px 12px;
}

.Button-module__btn {
    border-radius: 10px;
    padding: 12px 20px;
}

.Selector-module__dropDownCurrentItem {
    border-radius: 8px;
}

/** header nav */
.Header-module__wrapper {
    backdrop-filter: blur(2.5px);
    padding: 12px 20px;
    border-radius: 10px;
}

.Header-module__logo {
    font-size: 22px;
    color: var(--font-color-700);
    font-weight: 700;
}

/** category */
.Categories-module__categories {
    text-align: center;
    align-content: flex-start;
    flex-direction: column;
    position: absolute;
    transform: translateX(-180px) rotate(360deg) translateY(-60px);
    width: max-content;
    padding: 0px 3px 0px 3px;
}

.Categories-module__category {
    color: var(--font-color-700);
    border-radius: 10px;
}

/** search */
.Search-module__wrapper {
    height: 40px;
    border-radius: 12px;
}

.Search-module__iconWrapper {
    padding: 0 15px;
}

/** product */
.Product-module__wrapper {
    /* background: linear-gradient(180deg, rgba(44, 217, 170, 0) 0%, rgba(44, 217, 170, 0) 20%, rgb(7 39 84) 100%); */
    background: transparent;
    border-radius: 16px;
    position: relative;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.Product-module__price {
    background: linear-gradient(40deg, #243757, #293f70, #466398, #444444);
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 60%);
    color: var(--font-color-700);
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 0px 0px 16px 0px;
}

.Product-module__name {
    background: var(--bg-color-900);
    text-align: center;
    font-weight: 500;
    color: var(--font-color-700);
}

.Product-module__wrapper::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(44, 217, 170, 0) 0%, rgba(44, 217, 170, 0) 20%, rgb(7 39 84) 100%);
    left: 0;
    top: 0;
    z-index: -1;
}

.Product-module__wrapper:hover {
    transform: scale(1.1);
    background: var(--bg-color-800);
}

/** monitor */
.MonitoringServer-module__progressBarWrapper {
    border-radius: 8px;
    height: 25px;
}

.MonitoringServer-module__name {
    color: var(--font-color-700);
}

.MonitoringServer-module__progressInfo {
    border-radius: 12px;
}

/** modal */
.productModalDescription {
    text-align: left;
    padding: 12px;
    margin-bottom: 12px;
    background-color: var(--bg-color-700);
    border-radius: 10px;
    border: dashed 1px var(--accent-color-800);
}

.TotalSum-module__inputWrapper {
    border-radius: 8px;
}

.CountSelector-module__inputWrapper {
    border-radius: 8px;
}

.productModalGiveText {
    background-color: var(--bg-color-700);
    border-radius: 10px;
    border: dashed 1px var(--accent-color-800);
    color: var(--font-color-700);
    padding: 15px;
}

.productModalContainsItem {
    border-radius: 8px;
}

/** custom-product-description */
.custom-product-description {
}

.custom-product-description__item {
    display: flex;
    width: 100%;
    position: relative;
    background: var(--accent-color-800);
    border-radius: 10px;
    padding: 12px 10px;
    align-items: center;
}

.custom-product-description__item:not(:last-of-type) {
    margin-bottom: 10px;
}

.custom-product-description__img {
    width: 35px;
    height: 35px;
    margin-right: 12px;
    flex-shrink: 0;
}

.custom-product-description__icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-product-description__text {
    color: var(--font-color-700);
}

.custom-product-description__helper {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0px 10px 0px 10px;
    background: var(--bg-color-700);
    padding: 2px 8px;
    cursor: pointer;
}

.custom-product-description__helper--hover {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--accent-color-800);
    width: 180px;
    border-radius: 8px;
    left: 34px;
    top: -16px;
    padding: 10px 14px;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.custom-product-description__helper--hover::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent var(--accent-color-800) transparent transparent;
}

.custom-product-description__helper:hover .custom-product-description__helper--hover {
    opacity: 1;
    visibility: visible;
    pointer-events: initial;
}

/** discord btn */
.discord-widget {
}

.discord-widget__btn {
    display: flex;
    text-decoration: none;
    align-items: center;
    color: var(--font-color-700);
    background: var(--accent-color-800);
    padding: 10px 16px;
    border-radius: 12px;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.discord-widget__btn svg {
    width: 34px;
    height: 34px;
    margin-right: 12px;
}

.discord-widget__btn svg path {
    fill: var(--font-color-700);
}

.discord-widget__btn:hover {
    transform: scale(1.1);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (min-width: 0) and (max-width: 1469px) {
    .Categories-module__categories {
        position: relative;
        flex-direction: row;
        width: 100%;
        transform: translate(0, 0);
    }
}

@media (min-width: 0) and (max-width: 764px) {
    .custom-product-description__helper--hover {
        left: -156px;
        top: -84px;
    }

    .custom-product-description__helper--hover::after {
        top: 100%;
        right: 20px;
        margin-top: -5px;
    }
}