@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --violet: #ad6bff;
    --mint: #5effa4;
    --ocean: #5496ff;
    --coral: #ff6490;
    --butter: #ffd67e;
    --apricot: #F9E2AF;
    --blush: #eed3f2;
    --shadow: #000000;
    --stone: #cdd6f4;
    --amethyst: #ab2dff;
    --peachy-rose: #ffc8b8;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--shadow);
    font-family: 'Inter', sans-serif;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.question-mark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--ocean);
    font-weight: bolder;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.3s ease-in-out;
}

.question-mark:hover {
    opacity: 0.7;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: var(--shadow);
    color: var(--blush);
    padding: 20px;
    z-index: 9999;
    overflow-y: auto;
    border-right: var(--stone);
    transition: right 0.3s ease-in-out;
}

.sidebar.open {
    right: 0;
}

.sidebar h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--ocean);
}

.sidebar p {
    font-size: 16px;
    color: var(--stone);
}

.sidebar strong {
    color: var(--coral);
}

.sidebar h3 {
    font-size: 20px;
    margin-top: 20px;
    color: var(--mint);
}

.sidebar .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--peachy-rose);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar .close-btn:hover {
    color: var(--coral);
}
