/* ============================
   FIXED TOP NAVIGATION
============================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #020202;
    border-bottom: 1px solid #333;
    z-index: 9999;
    padding: 10px 0;
}

.top-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0;
    margin: 0;
}

.top-nav li {
    display: flex;
}

.top-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    font-size: 0.9rem;
}

/* ============================
   INDIVIDUAL NAV TEXT COLORS
============================ */

/* Images */
.top-nav li:nth-child(1) a {
    color: #FF4845;
}

/* Media */
.top-nav li:nth-child(2) a {
    color: #FFE971;
}

/* Music */
.top-nav li:nth-child(3) a {
    color: #50EB89;
}


.top-nav a:hover {
    opacity: 1;
    transform: scale(1.05);
}

.top-nav img {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.top-nav img:hover {
    transform: scale(1.15);
}

/* Adding space so first section is not hidden behind fixed nav */
.nav-spacer {
    height: 90px;
}


/* -------- BASE -------- */
body {
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.6;
    margin: 0 auto;
    padding: 20px;
    max-width: 1440px;
    background: #020202;
    color: #F4F4F4;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 0;
}

.subtitle {
    margin-top: 0;
    color: #888;
    font-size: 0.85rem;
}

/* Center audio player + paragraph */
audio {
    display: block;
    margin: 0 auto;
}

audio + p {
    text-align: center;
    margin-top: 10px;
  	padding: 4px;
    font-size: 0.75rem;
    opacity: 0.8;
  	
 		color: #FCF6BD;
}

/* Audio container styling */
section audio {
    padding: 4px;
    background: #222;
    border: 1px solid #333;
    border-radius: 36px;
    box-shadow: 4px 4px 4px rgba(0,0,0,0.35);
    backdrop-filter: blur(16px);
    max-width: 380px;
}

/* Hover glow effect */
section audio:hover {
    box-shadow: 0 8px 4px rgba(255, 233, 113, 0.4);
    transform: scale(1.01);
    transition: 0.3s ease;
}


/* ============================
   Images & Figures
============================ */

/* Center + animated GIF */
.center-gif {
    text-align: center;
    margin: 0px auto 100px;
}

.center-gif img {
    width: 500px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.center-gif img:hover {
    transform: scale(1.05);
}

/* Resize JPG only */
.jpg-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 14px auto;
    font-size: 1.6rem;
    color: #F4F4F4;
}

.jpg-img img {
  	max-width: 75%;
    display: block;
    margin: 0 auto;
  	
}

figcaption {
    font-size: 0.85rem;
  	text-align: center;
    color: #666;
    margin-top: 10px;
}

/* Side-by-side layout: Thumbnail LEFT, Text RIGHT */
.thumb-text-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;      /* matches JPG container feel */
    margin: 100px auto;     /* centers the entire block */
    padding: 0 20px;       /* same side breathing room */
}

/* Left image = 50% */
.float-left-thumb {
    flex: 0 0 50%;
    width: 100%;           /* fills its flex space */
    max-width: 350px;      /* keeps proportions with JPG */
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Right text = 40% */
.thumb-text {
    flex: 0 0 30%;
    font-size: 1rem;
    color: #F4F4F4;
    text-align: center;
}

.float-left-thumb:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Center-align the entire video section */
.video-block {
    text-align: center;
    margin: 100px auto;
}

/* Center the video player itself */
.video-block video {
    display: block;
    margin: 0 auto 14px auto;
}

/* Caption + paragraph styling */
.video-block figcaption {
    font-size: 0.85rem;
  	text-align: center;
    color: #666;
    margin-top: 5px;
}
.video-block p {
    font-size: 1rem;
    color: #F4F4F4;
    margin-top: 6px;
}

.video-block video:hover {
    box-shadow: 0 0 18px rgba(255, 233, 113, 0.4);
    transform: scale(1.01);
    transition: 0.3s ease;
}


/* Reset float after section */
section {
    overflow: auto;
    margin-bottom: 50px;
}

/* ============================
   Footer
============================ */
footer {
    margin-top: 40px;
    font-size: 0.75rem;
    text-align: center;
    color: #777;
}
