body {
    max-width: 650px;
    margin: 40px auto;
    padding: 0 10px;
    font: 18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #444;
    font-family: "Rajdhani", sans-serif;
}

.side-column {
    position: absolute;
    top: 100px;
    left: calc(50% + 350px);
    width: 250px;
    z-index: 5;
}

@media (max-width: 1200px) {
    .side-column {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
}

h1,
h2,
h3 {
    line-height: 1.15;
    font-weight: bolder;
}

.yellowglow {
    filter: drop-shadow(0 0 0.15rem #faeb62);
}

p {
    font-weight: 500;
}

html {
    scroll-behavior: smooth;
}

.sep {
    border-top: 4px solid #090909;
    border-radius: 5px;
}

.nav {
    display: flex;
}

.photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.shop {
    display: flex;
    flex-wrap: wrap;
}

.rect {
    width: 100%;
    height: 100%;
    background: rgba(43, 43, 46, 0.295);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid transparent;
    border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36' fill='none'%3E%3Cpath d='M0.5 0.5 H35.5 V23 L23 35.5 H0.5 Z' fill='rgba(15,15,17,0.56)' stroke='rgb(91,208,255)' stroke-width='1'/%3E%3C/svg%3E") 14 fill / 14px stretch;
    filter: drop-shadow(0 0 0.15rem #272850);
    color: #d3d3d3;
    padding: 8px;
}

.sender-message {
    background: #11141a;
    border: 1px solid rgba(88, 88, 145, 0.411);
    border-radius: 6px;
    padding: 10px;
    color: #fff;
    font-size: 14px;
    resize: vertical;
    width: 100%;
    box-sizing: border-box;
}

.rectimportant {
    width: 100%;
    height: 100%;
    background-color: #050505;
    border: solid 2px #56a0b3;
    filter: drop-shadow(0 0 0.15rem #384f58);
    color: #fff;
}

.rect:hover,
.rectimportant:hover {
    cursor: pointer;
    background-color: #202020;
    color: #fff;
    border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36' fill='none'%3E%3Cpath d='M0.5 0.5 H35.5 V23 L23 35.5 H0.5 Z' fill='rgba(35,40,50,0.85)' stroke='rgb(91,208,255)' stroke-width='1'/%3E%3C/svg%3E");
}

.imagecontainer {
    padding: 0;
    z-index: 2;
}

.imagecontainer img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.35s filter 0.35s ease, box-shadow 0.35s ease;
}

.imagecontainer img:hover {
    transform: scale(1.1) rotate(1.95deg);
    filter: drop-shadow(0 0 0.75rem black);
    transition: all 0.5s;
    box-shadow: 0 0 16px rgba(94, 246, 255, 0.4);
    cursor: pointer;
}

.description {
    font-style: italic;
    font-size: 12px;
    color: #909090;
    margin: 6px 0 0 0;
    z-index: -1;
}

.subtitle {
    margin: 4px;
    font-size: 16px;
}

.codeblock {
    width: auto;
    padding: 3px;
    border-radius: 4px;
    color: #999;
    font-family: monospace;
    background-color: #080808;
}



a:has(img) {
    display: inline-block;
    transition: transform 0.2s ease;
}

a:has(img):hover {
    transform: scale(1.25) rotate(5deg);
    filter: drop-shadow(0 0 0.75rem black);
    transition: transform 0.4s ease;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal.active {
    display: flex;
}

#imagemodal {
    max-width: 90vw;
    max-height: 90vh;
}

.wave-text {
    display: inline-block;
    font-size: 4rem;
    animation: wave 2s ease-in-out infinite;
    font-size: 16px;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

a:link {
    color: #f6c73b;
}

a:visited {
    color: #52dae2;
}

a:hover {
    color: #5df6fc;
    border-radius: 4px;
    filter: drop-shadow(10px 10px 14px #4eccd3) brightness(1.4);
    transition: filter 0.15s ease;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(0.8);
    }
}


@media (prefers-color-scheme: dark) {
    body {
        color: #dde0e4;
        background: #0d1117;
        position: relative;
    }

    body:has(span.no-blur:hover)::before {
        filter: blur(0) brightness(0.8);
        transition: filter 0.3s ease;
    }

    body::before {
        content: "";
        position: fixed;
        top: -5%;
        left: -5%;
        width: 110%;
        height: 110%;
        background-image: url("./img/background.jpg");
        image-rendering: auto;
        background-size: cover;
        background-position: center;
        filter: blur(24px) brightness(0.3);
        z-index: -1;
        transition: filter 0.3s ease, transform 0.15s ease-out;
        transform: translate(var(--mouse-x, 0px), calc(var(--mouse-y, 0px) - var(--scroll-y, 0px))) scale(1.08);
        will-change: transform;
        /* it just fits better:tm: */
    }
}

.lanyard-card {
    background: rgba(17, 17, 19, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(88, 88, 145, 0.411);
    border-radius: 8px;
    padding: 12px 14px;
    margin: 10px 0 16px 0;
    max-width: 350px;
    font-size: 14px;
}

.discord-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(17, 17, 19, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(88, 88, 145, 0.411);
    border-radius: 6px;
    padding: 8px 12px;
    max-width: 350px;
}

.discord-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.discord-user-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.lanyard-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.status-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-badge-online {
    background-color: #43b581;
}

.status-badge-idle {
    background-color: #faa61a;
}

.status-badge-dnd {
    background-color: #f04747;
}

.status-badge-offline {
    background-color: #747f8d;
}

.status-title {
    color: #e2e8f0;
}

.lanyard-custom-status {
    margin-top: 6px;
    font-style: italic;
    color: #a0aec0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-emoji {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.lanyard-activities {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #2d3748;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-icon-wrapper {
    position: relative;
    display: inline-block;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: block;
}

.activity-small-icon {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #11141a;
}

.activity-icon-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.activity-details {
    font-size: 12px;
    color: #e2e8f0;
}

.activity-name {
    color: #fff;
}

.activity-subtext {
    color: #a0aec0;
    font-size: 11px;
}

.hud-card {
    position: relative;
    width: 100%;
    max-width: 841px;
    aspect-ratio: 841 / 146;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    filter: drop-shadow(0 0 20px rgba(94, 246, 255, 0.12));
}

.hud-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hud-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 42px;
    padding-right: 30px;
    box-sizing: border-box;
}

.hud-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #5EF6FF;
    box-shadow: 0 0 10px rgba(94, 246, 255, 0.5);
    margin-right: 20px;
}