@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Silkscreen:wght@400;700&display=swap');

:root {
    --primary: #4b87d2;
    --secondary: #243d5d;
    --third: #305a8d;
    --background: #f8f9fa;
    --text: #2f3136;
    --sub-text: #747f8d;

    --border-radius: 20px;
    --transition-speed: 0.3s;
    --max-section-width: 1200px;
    color-scheme: light dark auto;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;

    /* font-family: "Kanit", serif; */
    font-family: 'Cairo', serif;
    font-weight: 400;
    font-style: normal;
    background: var(--background-900) !important;
    color: var(--text) !important;
    margin: 0;
    line-height: 1.6;
}

main {
    flex: 1;
    padding: 0;
}


/* Nav Bar */

.user-logo {
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.logo {
    width: 48px;
    height: 48px;
    text-decoration: none;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-btn {
    border-radius: 50%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: .5s ease-in-out;
}

.login-btn:hover>svg path {
    fill: var(--secondary);
}

.fab fa-discord {
    font-size: 1.2rem;
}

.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #7289da;
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}


/* footer */
.footer {
    background: var(--background-900);
    color: var(--sub-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.footer:hover a {
    fill: var(--primary);
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.bg-700 {
    background: var(--background-700);
}

.bg-900 {
    background: var(--background-900);
}

.tx-primary {
    color: var(--primary);
}

.tx-secondary {
    color: var(--secondary);
}

.animation-1 {
    transition: all 0.3s;
    animation: upanddown 0.5s infinite;
}

@keyframes upanddown {
    100% {
        transform: translateY(20px);
    }
    50% {
        transform: translateY(10px);
    }
    0% {
        transform: translateY(0);
    }
}

/* From Uiverse.io by Nagalapuramhareeswar */
.toggle {
    display: inline-block;
}

.toggle {
    position: relative;
    height: 100px;
    width: 100px;
}

.toggle:before {
    box-shadow: 0;
    border-radius: 84.5px;
    background: #fff;
    position: absolute;
    margin-left: -36px;
    margin-top: -36px;
    opacity: 0.2;
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
}

.toggle .button {
    transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.5), inset 0 -3px 4px -1px rgba(0, 0, 0, 0.2), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 3px 4px -1px rgba(255, 255, 255, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.8), inset 0 20px 30px 0 rgba(255, 255, 255, 0.2);
    border-radius: 68.8px;
    position: absolute;
    background: #ededed;
    margin-left: -34.4px;
    margin-top: -34.4px;
    display: block;
    height: 68.8px;
    width: 68.8px;
    left: 50%;
    top: 50%;
}

.toggle .label {
    transition: color 300ms ease-out;
    line-height: 101px;
    text-align: center;
    position: absolute;
    font-weight: 700;
    font-size: 28px;
    display: block;
    opacity: 0.9;
    height: 100%;
    width: 100%;
    color: #000000;
}

.toggle input {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    z-index: 1;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.toggle input:active~.button {
    filter: blur(0.5px);
    box-shadow: 0 12px 25px -4px rgba(0, 0, 0, 0.4), inset 0 -8px 30px 1px rgba(255, 255, 255, 0.9), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 8px 25px 0 rgba(0, 0, 0, 0.4), inset 0 0 10px 1px rgba(255, 255, 255, 0.6);
}

.toggle input:active~.label {
    font-size: 26px;
    color: rgba(0, 0, 0, 0.45);
}

.toggle input:checked~.button {
    filter: blur(0.5px);
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), inset 0 -8px 25px -1px rgba(255, 255, 255, 0.9), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 8px 20px 0 rgba(0, 0, 0, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.6);
}

.toggle input:checked~.label {
    color: var(--primary);
}


/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary);
    transition: all 0.3s ease-in-out;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
    transition: all 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --text: #000000;
        --sub-text: #575757;
        --background-900: #fdfdfd;
        --background-700: #d8d8d8;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #ededed;
        --sub-text: #b9bbbe;
        --background-900: #29323c;
        --background-700: #485563;
    }
}