/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark mode default */
    --bg-color: #000;
    --text-color: #00ff88;
    --accent-color: #00ff88;
    --link-color: #00ffff;
    --link-hover: #ff00ff;
    --card-bg: #001a0d;
}

/* Light theme override */
body.light {
    --bg-color: #f8f8f8;
    --text-color: #222;
    --accent-color: #006633;
    --link-color: #0066cc;
    --link-hover: #cc0000;
    --card-bg: #fff;
}

body {
    font-family: 'Courier New', monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 20px;
    display: flex;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
}

.container {
    /*max-width: 800px;*/
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px dashed var(--accent-color);
    padding-bottom: 10px;
}

header h1 {
    font-size: 2rem;
    text-shadow: 0 0 8px var(--accent-color);
}

#theme-toggle, .prev-button {
    margin-top: 10px;
    padding: 6px 12px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s;
}

#theme-toggle:hover, .prev-button:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.blog-entry {
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background: var(--card-bg);
    box-shadow: 0 0 12px var(--accent-color);
    transition: transform 0.2s ease-in-out, background 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-entry:hover {
    transform: scale(1.02);
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-decoration: underline;
}

.blog-date {
    font-size: 0.8rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.blog-content p {
    margin-bottom: 12px;
}

.blog-content ul {
    list-style-type: square;
    margin: 12px 0 12px 20px;
    padding-left: 10px;
}

.blog-content li {
    margin-bottom: 6px;
    color: var(--text-color);
    text-shadow: 0 0 6px var(--accent-color);
}

.blog-content a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--link-color);
    transition: color 0.2s, text-shadow 0.2s;
}

.blog-content a:hover {
    color: var(--link-hover);
    text-shadow: 0 0 8px var(--link-hover);
}

/* Music Player 
.player {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Press Start 2P', monospace;
    color: var(--text-color);
}
*/

.disc-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
}

.progress-disc {
    transform: rotate(-90deg);
    /* start progress at top */
}

.bg-circle {
    fill: none;
    stroke: #333;
    stroke-width: 10;
}

.progress-circle {
    fill: none;
    stroke: #ff0099;
    stroke-width: 10;
    stroke-dasharray: 440;
    /* circumference of circle */
    stroke-dashoffset: 440;
    /* hidden initially */
    transition: stroke-dashoffset 0.25s linear;
}

.time-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
}

.controls button {
    background: var(--bg-color);
    text-shadow: 2px solid var(--accent-color);
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-size: 25px;
    cursor: pointer;
}

.controls button:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.track-info {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-color);
    text-shadow: 0 0 6px var(--accent-color);
}

/* right banner */

.right-banner img { 
    border-radius: 10px;
}

/* navigation */

nav ul li {
    list-style-type: none;
    border: 5px solid var(--link-color);
    padding: 15px;
    font-size: 24px;
    border-radius: 8px;
    box-shadow: 0 0 12px var(--link-color);
    cursor: pointer;
    margin: 0 0 10px 0;
}

nav ul li a {
    text-decoration: none;
    font-weight: 700;
    color: var(--link-color);
}

nav ul li:hover {
    border: 5px solid var(--link-hover);
    box-shadow: 0 0 12px var(--link-hover);
}

nav ul li:hover a {
    color: var(--link-hover);
}

/* Responsive */

@media (min-width: 768px) {
    .layout {
        display: flex;
    }

    .player {
        width: 73rem;
        margin: 0 1.5rem 0 0;
        height: fit-content;
    }
}

@media (min-width: 1420px) {
    .player {
        width: 93rem;
    }

    #blog-container {
        margin: 0 1rem 0 0;
    }
}

@media (max-width: 1420px) {
    .right-banner {
        display: none;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blog-content {
        font-size: 0.9rem;
    }

}