html, body {
    margin: 0;
}

.canvas {
    position: fixed;
    left: 0;
    top: 0;
}

.badges {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.npm-badge {
    display: flex;
    gap: 4px;
}

.npm-badge img {
    display: block;
    height: 20px;
}

.threejs-resources-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none;
    font-family: sans-serif;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.threejs-resources-badge img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.threejs-resources-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.threejs-resources-badge__text span:first-child {
    color: #000000;
    font-weight: 400;
    font-size: 10px;
}

.threejs-resources-badge__text span:last-child {
    color: #000000;
    font-weight: 600;
    font-size: 12px;
}

.source-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #333;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    z-index: 1000;
}

.source-link svg {
    width: 22px;
    height: 22px;
}

/* .source-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
} */
