:root {
    --black: #000000;
    --background-start: #0f111a;
    --background-end: #13162a;
    --text-primary: #ffffff;
    --text-secondary: #ffffff8e;
    --text-3: #ffffff76;
    --container-max-width: 1200px;
    --primary: #8b9afc;
    --primary-2: #3f4fbb;
    --primary-3: #495bcd;
    --surface: #191b2b;
    --surface-2: #171928;
    --surface-3: #24273e;
    --surface-4: #1e2134;
    --error-text: #ff1f1f;
    --blur: 14px;
    --edit: #3f4fbb;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--black);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-3);
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    background-color: var(--black);
}

body {
    -ms-overflow-style: none;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: linear-gradient(180deg, var(--background-start), var(--background-end));
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100dvh;
}

.container {
    display: flex;
    justify-content: center;
    max-width: var(--container-max-width);
    width: 100%;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
}

.main-container {
    padding-top: 5rem;
    padding-bottom: 2rem;
    justify-items: center;
    min-height: 500px;
    height: auto;
    width: 100%;
    max-width: 1200px;
    justify-self: center;
}

.topbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    justify-content: center;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    border-bottom: 1px solid color-mix(in srgb, var(--primary), transparent 85%);
    backdrop-filter: blur(var(--blur));
    z-index: 5000;
}

.topbar-container {
    margin: 0;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
}

.dropdown {
    position: fixed;
    top: 66px;
    left: 10%;
    display: flex;
    width: calc(80% - 10px);
    height: fit-content;
    flex-direction: column;
    padding-left: 10px;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 85%);
    border-top: transparent;
    backdrop-filter: blur(var(--blur));
    z-index: 5000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: all 0.2s ease;
    overflow: hidden;
    transform-origin: top;
    transform: scaleY(0);
}

.dropdown a {
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.ignore {
    display: none;
}

.dropdown a:hover {
    opacity: 1;
}

.dropdown a:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.dropdown-button {
    display: none;
    height: fit-content;
    width: 32px;
    background: transparent;
    border: transparent;
    align-self: center;
    transition: transform 0.2s ease;
}

.dropdown-button i {
    font-size: 20px;
    color: var(--primary);
}

.dropdown-button:hover {
    transform: translateY(-2px);
}

.dropdown-button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.row {
    display: flex;
    gap: 1rem;
}

.home-button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.home-button img {
    width: 35px;
    height: 35px;
    border-radius: 10px;
}

.home-button span {
    color: var(--text-primary);
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.topbar-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.topbar-links a {
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.topbar-links a:hover {
    opacity: 1;
}

.topbar-links a:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.button {
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s ease;
    font-weight: 800;
    display: flex;
    padding: 10px 20px;
    background: linear-gradient(90deg, var(--primary-2), var(--primary));
    border: 1px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--primary), transparent 82%);
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.section {
    padding-top: calc(1rem + 65px);
    padding-bottom: 2rem;
    justify-items: center;
    min-height: 500px;
    height: auto;
    width: 100%;
    max-width: 1200px;
    justify-self: center;
}

.text {
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
}

.body {
    margin: 0;
    font-weight: 400;
    font-size: 100%;
    color: var(--text-secondary)
}

.box { 
    width: 50%;
    min-width: 200px;
    height: 100px;
    padding: 15px;
    border-radius: 15px;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    box-shadow: 0 30px 50px color-mix(in srgb, var(--black), transparent 70%);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    align-items: center;
    justify-content: center;
}

.sub-title {
    font-size: 35px;
    font-weight: 600;
}

.code {
    font-size: 30px;
    font-weight: 800;
    width: fit-content;
    color: transparent;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    background-clip: text;
}

.text {
    padding: 0;
    margin: 0;
}

@media (max-width: 1200px) {
    .box {
        width: 80%;
    }
    .topbar-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .topbar-links {
        display: none;
    }

    .dropdown-button {
        display: block;
    }
}