/* Canvas-spezifische Styles nur für die Hauptseite */
body.home {
    overflow: hidden;
    position: relative;
}

canvas {
    display: block;
    cursor: pointer;
}

.logo-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 1;
    width: 300px;
    height: 300px;
}

.image-container {
    position: absolute;
    transition: opacity 0.3s ease-out;
    cursor: pointer;
}

.image-container.has-link {
    transition: opacity 0.3s ease-out, transform 0.2s ease-out;
}

.image-container.has-link:hover {
    transform: scale(0.95);
}

.image-box {
    background-color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.image-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #0000EE;
    font-family: Times, serif;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    padding: 1px 3px;
    /* Text-shadow für bessere Lesbarkeit ohne transparenten Hintergrund */
    text-shadow: 
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white,
        0 -1px 0 white,
        0 1px 0 white,
        -1px 0 0 white,
        1px 0 0 white;
    text-decoration: underline;
}

.image-label:hover {
    color: #551A8B;
}

.fade-out {
    opacity: 0;
}