html {
    /* background-color: black; */
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

canvas {
    z-index: -1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    /* backdrop-filter: blur(10px); */
}


body {
    margin: 0;
    overflow: hidden;
    /* background: url('assets/images/0.jpg') no-repeat center center fixed; */
    /* background-size: cover; */
    background: black;
}

.content {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem;
    overflow-y: auto;
    /* z-index: 10; */

}

h1 {
    margin: 1rem 0 1rem 1rem;
    width: 100%;
    text-align: left;
    color: transparent;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
}

.hover-container {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-bottom: 0.5rem;
}

.hover-container:hover {}

.list-item-header {
    margin: 0.15rem 3rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: transparent;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.9);
    user-select: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.list-item-header:hover {
    color: transparent;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.list-item-header.active {
    color: transparent;
    text-shadow: 0 0 8px rgba(255, 255, 255, 1);
}

.text-full {
    display: none;
    /* Hide all text-full content since it will appear in the display area */
}

.content-display {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 350px;
    max-height: 300px;
    padding: 1rem;
    color: transparent;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
    overflow-y: none;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-display.has-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 37, 99, 0.9) 0%, rgba(255, 165, 0, 0.3) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

#dynamic-content {
    line-height: 1.5;
    font-size: 1rem;
}

/* #dynamic-content h3 {
    margin: 0 0 1rem 0;
    color: transparent;
    text-shadow: 0 0 4px rgba(255, 255, 255, 1);
    font-size: 1.2rem;
} */

#dynamic-content p {
    margin: 0 0 1rem 0;
}

#dynamic-content ul {
    list-style: none;
    padding: 0 0 0 1.5rem;
    margin: 0;
}

#dynamic-content li {
    margin-bottom: 0.5rem;
}

#dynamic-content a {
    color: transparent;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

#dynamic-content a:hover {
    text-shadow: 0 0 6px rgba(255, 255, 255, 1);
}


/* Specific styling for HTML day */
.html-day .list-item-header {
    color: rgba(100, 255, 100, 0.8);
    /* color: transparent; */
    text-shadow: 0 0 2px rgba(100, 255, 100, 0.8);
}

.html-day:hover .list-item-header {
    color: transparent;
    text-shadow: 0 0 10px rgba(100, 255, 100, 0.8);

}

.html-full a {
    color: rgba(100, 255, 100, 0.8);
    text-shadow: 0 0 2px rgba(100, 255, 100, 0.8);
    font-size: 1rem;
    text-decoration: none;
}

.html-full a:hover {
    text-shadow: 0 0 5px rgba(100, 255, 100, 0.9);
    text-decoration: underline;
}

/* .thought-full {
    color: white;
    font-size: 5rem;
    text-align: left;
    line-height: 1;
} */

.html-day a {
    color: rgba(100, 255, 100, 1);
    text-shadow: 0 0 2px rgba(100, 255, 100, 0.8);
    font-size: 1rem;
    text-decoration: none;
}

a {
    color: transparent;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

a:hover {
    color: transparent;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.text-full {
    line-height: 1.2;
    font-size: 1rem;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);

}

.quote-container {
    position: fixed;
    right: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    max-height: 98vh;
    overflow-y: none;
    /* z-index: 10; */
}

.proust-quote {
    /* background: rgba(0, 0, 0, 0.8); */
    /* backdrop-filter: blur(10px); */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* border-radius: 12px; */
    padding: 2rem;
    margin: 0;
    font-style: italic;
    /* color: rgba(255, 255, 255, 0.9); */
    color: transparent;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    font-size: 1.1rem;
}

.proust-quote p {
    margin: 0 0 1rem 0;
    text-align: justify;
}

.proust-quote cite {
    display: block;
    text-align: left;
    font-style: normal;
    /* font-weight: bold; */
    color: transparent;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-size: 1rem;
}

footer {
    font-size: 0.8rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 2px rgba(183, 183, 183, 0.5);
}



@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .content {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hover-container {
        max-width: 100%;
    }

    .list-item-header {
        padding: 0.1rem;
        margin: 0.1rem 1rem;
    }

    .content-display {
        position: static;
        width: 80%;
        max-height: none;
        margin-top: 2rem;
        left: auto;
        bottom: auto;
    }

    footer {
        position: static;
        margin-top: 2rem;
        padding: 1rem;
    }

    .quote-container {
        position: static;
        width: 80%;
        max-height: none;
        margin-top: 2rem;
        transform: none;
        right: auto;
        top: auto;
    }

    .proust-quote {
        width: 100%;
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}