@font-face {
  font-family: "Pixel";
  src: url("./fonts/Pixel.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body,
html {
  height: 100%;
  margin: 0;
  font-family: monospace;
  background: no-repeat center center fixed;
  background-size: cover;
  position: relative;
  padding: 0;
  overflow: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  height: 100vh;
  z-index: 1;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #e0e0e0;
  z-index: 2;
  padding: 20px;
  max-width: 90%;
}

.content h1 {
  font-size: 48px;
  animation: rainbowAnimation 2s infinite linear;
  font-family: "Pixel", monospace;
  display: inline-block;
  margin: 0 0 15px 0;
  line-height: 1;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

#typed {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 20px;
}

@media (max-width: 1025px) {
  #typed {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  #typed {
    font-size: 14px;
  }
}

#now-playing {
  color: #cccccc;
  font-size: 16px;
  margin-top: 15px;
  animation: fadeIn 1s ease-in-out;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#now-playing a {
  text-decoration: none;
  color: inherit;
}

#now-playing a:hover {
  text-decoration: none;
  background-color: transparent;
  color: #00ff00;
}

@media (max-width: 1024px) {
  #now-playing span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
  }
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
}

.btn {
  display: flex; 
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 50px;
  box-sizing: border-box;
  color: #ddd;
  font-size: 20px;
  padding: 0 10px;
  text-decoration: none;
  border: 2px solid #ddd;
  border-radius: 5px;
  transition: all 0.4s ease;
  margin-bottom: 10px;
  text-align: center;
  white-space: nowrap;
}

.btn:last-child {
  margin-bottom: 0;
}

.btn:hover {
  background-color: #ddd;
  color: black;
}

/* Animation for text */
.animation {
  animation: rainbowAnimation 3s infinite linear;
}

@keyframes rainbowAnimation {
  0% { color: #6666ff; }
  25% { color: #0099ff; }
  50% { color: #00ff00; }
  75% { color: #ff3399; }
  100% { color: #6666ff; }
}

/* Blog Section Styles */

body.blog-page::before {
  background: rgba(0, 0, 0, 0.95);
}

.blog-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  width: 100%;
  max-width: 800px;
}

.blog-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-link {
  color: #66ccff;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
  margin-right: 10px;
}

.blog-link:hover {
  color: #0099ff;
}

.blog-date {
  color: #999999;
  font-size: 14px;
}

.post-content {
  text-align: left;
  max-width: 1200px;
  margin: 20px 0;
  line-height: 1.6;
  font-size: 16px;
}

.post-content p {
  margin: 10px 0;
  color: #dddddd;
}

.post-navigation {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

