/* Global styles */
:root {
    --primary-color: #D4AC0D;
    --accent-color: #B7950B;
    --background-color: #222222;
    --text-color: white;
    --font-family: 'Poppins', sans-serif;
}


html, body {
    background-color: #1e1e1e;
    color: #ccc;
    height: 100%;
}

html {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, Oxygen-Sans, Ubuntu, Cantarell, helvetica neue, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 95%;
}

*, *:before, *:after {
    padding: 0;
    margin: 0;
    box-sizing: inherit;
}

@media screen and (min-width: 800px) {
    html {
        font-size: 100%;
    }
}

@media screen and (min-width: 1400px) {
    html {
        font-size: 115%;
    }
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.5rem;
}

h1 {
    font-size: 2.121rem;
    line-height: 2.25rem;
    margin-top: 2.25rem;
}

h2 {
    font-size: 1.414rem;
}

h3 {
    font-size: 1.178rem;
}

h4 {
    font-size: .982rem;
}

h5 {
    font-size: .818rem;
}

p {
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.5rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

ul li, ol li {
    line-height: 1.5rem;
}

ul ul, ul ol, ol ul, ol ol {
    margin-top: 0;
    margin-bottom: 0;
}

blockquote {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.5rem;
    color: #ccc;
}

blockquote::before {
    position: absolute;
    content: "\201C";
    font-size: 6em;
    font-family: roboto, serif;
    margin-top: .1em;
    margin-left: -.2em;
    z-index: -1;
    color: #ededed;
}

blockquote cite {
    font-style: italic;
    font-size: .95em;
    color: #ccc;
}

blockquote cite::before {
    content: "— ";
}

pre {
    line-height: 1.45;
    margin-top: 1.5rem;
    padding: 16px;
    word-wrap: normal;
    overflow: auto;
    background-color: #1e1e1e;
    border-radius: 3px;
}

code {
    font-size: 85%;
    font-family: sfmono-regular, Consolas, Menlo, monospace;
    padding: .2em .4em;
    margin: 0;
    background-color: rgba(27, 31, 35, 5%);
    border-radius: 3px;
}

pre > code {
    word-break: normal;
    white-space: pre;
}

pre code {
    display: inline;
    padding: 0;
    margin: 0;
    overflow: visible;
    line-height: inherit;
    word-wrap: normal;
    background-color: transparent;
    border: 0;
}

.lead {
    font-size: 1.414rem;
}

abbr[title] {
    text-decoration: underline double;
}

.burger__container {
    height: 4rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 5;
}

@media screen and (min-width: 800px) {
    .burger__container {
        display: none;
        z-index: 5;
    }
}

.burger {
    position: relative;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.burger__meat {
    position: absolute;
    width: 28px;
    height: 2px;
    background: #111;
    top: calc(50% - 2px/2);
    left: calc(50% - 28px/2);
    transition: all 150ms ease-in;
}

.burger__meat--1 {
    transform: translateY(-10px);
}

.burger__meat--2 {
    width: calc(28px - 6px);
}

.burger__meat--3 {
    transform: translateY(10px);
}

.nav--active .burger__meat--1 {
    transform: rotate(45deg);
}

.nav--active .burger__meat--2 {
    opacity: 0;
}

.nav--active .burger__meat--3 {
    transform: rotate(-45deg);
}

.nav {
    font-size: 16px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e1e1e;
    visibility: hidden;
    z-index: 4;
}

@media screen and (min-width: 800px) {
    .nav {
        display: block;
        visibility: visible;
        padding-top: 3em;
        width: 100px;
    }
}

.nav--active .nav {
    visibility: visible;
    height: 100%;
    width: 100%;
}

.nav__list {
    text-align: right;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 50%;
}

@media screen and (min-width: 800px) {
    .nav__list {
        width: auto;
    }
}

@media screen and (max-width: 799px) {
    .nav__list {
        transform: translateY(-25px);
        opacity: 0;
    }

    .nav--active .nav__list {
        transform: translateY(0);
        opacity: 1;
        transition: all 500ms ease;
    }
}

.nav__list li {
    margin-bottom: 3em;
    line-height: 1.5em;
}

.nav__list li:last-of-type {
    margin-bottom: 0;
}

@media screen and (min-width: 800px) {
    .nav__list li {
        margin-bottom: 1.75em;
    }
}

.nav__list a {
    color: #ccc;
    text-decoration: none;
    font-size: 2em;
}

.nav__list a.active {
    color: #ccc;
}

.nav__list a:hover {
    color: var(--primary-color);
}

@media screen and (min-width: 800px) {
    .nav__list a {
        font-size: 1em;
    }
}

body.nav--active {
    overflow: hidden;
}

.fancy {
    color: var(--primary-color);
}

.handle {
    display: inline-block;
    margin-top: .275em;
    color: #9b9b9b;
    letter-spacing: .5px;
}

.writing {
    text-decoration: none;
    color: #9013fe;
}

main {
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
}

.MathJax_Display, .MathJax_SVG_Display {
    overflow-y: hidden;
    overflow-x: auto;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
}

a:hover {
    color: var(--primary-color);
}

.post__content div {
    overflow-x: auto;
}

code.has-jax {
    -webkit-font-smoothing: antialiased;
    background: inherit !important;
    border: none !important;
    font-size: 100%;
    padding: 0;
    margin: 0;
}

article > div {
    overflow-x: scroll;
}

.post {
    max-width: 50rem;
}

main {
    padding: 3rem 1.5rem 1rem;
}

@media screen and (min-width: 800px) {
    main {
        padding-left: calc(1.5rem + 100px);
    }
}

@media screen and (max-width: 799px) {
    main {
        padding-top: calc(3rem + 4rem);
    }
}

.music-info {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(212, 172, 13, 0.15);
    transition: box-shadow 0.3s ease;
}

.music-info:hover {
    box-shadow: 0 16px 40px rgba(212, 172, 13, 0.3);
}

.music-info h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #ccc;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* Tracks Section */
.tracks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 10%;
}

.track {
    background-color: #1e1e2f;
    color: var(--text-color);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(212, 172, 13, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
    max-width: 1000px;
    margin: 0 auto;
}

.track:hover,
.track:focus-within {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(212, 172, 13, 0.3);
    outline: none;
}

.track h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.track h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ccc;
}

.track audio,
.track video {
    width: 75%;
    margin-top: 10px;
    border-radius: 8px;
}

/* Footer Section */
footer {
    background-color: #121212;
    color: var(--text-color);
    padding: 25px 0;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(212, 172, 13, 0.2);
}

footer a {
    color: var(--primary-color);
    margin: 0 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: var(--accent-color);
    outline: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .music-info h2 {
        font-size: 1.5rem;
    }

    .tracks {
        margin: 0 5%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links, .footer-social {
        margin-bottom: 15px;
    }
}