/* Font Faces (assuming fonts are included correctly in your project) */
@font-face {
  font-family: 'JetBrainsMonoNF';
  src: url('./fonts/JetBrainsMonoNerdFont-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrainsMonoNF';
  src: url('./fonts/JetBrainsMonoNerdFont-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'JetBrainsMonoNF', 'JetBrains Mono', 'Fira Code', monospace;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 60%),
              linear-gradient(135deg, #55D9F6, #388297);
  transition: background-image 1s ease;
  pointer-events: none;
}

/* Themes */
body.light {
  color: #222;
  background-color: #fff;
}
body.dark {
  color: #eee;
  background-color: #0a0a0a;
}
body.light a {
  color: #0077aa;
}
body.dark a {
  color: #66ddee;
}

/* Dock Panel */
#dock-panel {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  border: 2px solid rgba(100, 255, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: all 0.6s ease;
  z-index: 100;
}

#dock-panel.collapsed {
  transform: translateX(-50%);
  width: 1%;
  opacity: 0;
}

#dock-panel.expanded {
  opacity: 1;
  transform: translateX(-50%);
  width: 80%;
   transition: 1s ease;
}

#theme-toggle {
 transform: translateX(0%);
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.logo {
  font-size: 1.2rem;
}

/* Main Content */
.container {
  width: 90%;
  max-width: 800px;
  margin: 6rem auto 2rem auto;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 2.5rem;
}

.tagline {
  margin-top: 0.5rem;
  font-size: 1rem;
  opacity: 0.7;
}

nav {
  margin-top: 1rem;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

/* Section Headings */
section h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

/* Blog Post Cards */
.post {
  text-decoration: none;
  margin-bottom: 2rem;
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(100, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

.post-link {
 text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.post-clickable {
 text-decoration: none;
 color: black;
  cursor: pointer;
  transition: background 0.2s ease;
}


.post:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.3);
}


.post h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.date {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.post p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* About & Contact Sections */
section#about,
section#contact {
  margin-top: 2rem;
}

footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  opacity: 0.6;
}

.expanded-content {
   max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.expanded-content.visible {
  max-height: 500px; /* Adjust depending on your content */
  opacity: 1;
}

.headline {
text-decoration: none;
background: rgba(0, 0, 0, 0.0);
backdrop-filter: blur(6px); 
font-weight: bold;
font-size: 25px;
padding-left: 32px;
padding-right: 23px;
padding-bottom: 23px;
padding-top: 23px;
}

.mug {
color: white;
font-size: 23px;
}

.dock-discord {
color: white;
font-size: 23px;
}
img {
margin: 10px;
border-radius: 23px;
border: 4px solid rgba(100, 255, 255, 0.2);
width: 100px;
}

img:hover {
width: 210px;
transition: 1s ease;
}

#typed-heading::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
