body {
  background-color: black;
  color: white;
  font-family: "Intel One Mono", monospace;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

a {
  color: #9966ff;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: rgb(20, 255, 243);
  background-color: #282828;
  padding: 2px 4px;
  border-radius: 3px;
}

a:active {
  color: deepblue;
}

::-moz-selection {
  color: white;
  background: aqua;
}

::selection {
  color: white;
  background: blueviolet;
}

h1 {
  font-size: 2.1em;
  margin: 0.5em 0;
  text-align: center;
}

h2 {
  color: white;
  margin: 1em 0 0.5em 0;
}

p {
  font-size: 0.98em;
  margin: 1em 0;
  line-height: 1.6;
}

@font-face {
  font-family: "Intel One Mono";
  src: url("IntelOneMono-Regular.ttf");
}

.main {
  width: 90%;
  max-width: 800px;
  padding: 20px;
  margin: auto;
  min-height: calc(100vh - 160px);
}

.navbar {
  text-align: center;
  padding: 1em 0;
  border-bottom: 1px solid #30363d;
  margin-bottom: 2em;
}

.navbar a {
  margin: 0 10px;
  padding: 5px 10px;
  border-radius: 4px;
}

.navbar a.active {
  background-color: #21262d;
  color: rgb(20, 255, 243);
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin: 1em 0;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.post-list li:hover {
  background-color: #282828;
}

.post-tag {
  font-size: 0.9em;
  color: #888;
  margin-left: 8px;
}

.quote {
  border-left: 4px solid #9966ff;
  margin: 1.5em 0;
  padding: 0.5em 1em;
  background-color: #111;
  border-radius: 0 4px 4px 0;
}

.article-footer {
  margin-top: 3em;
  padding-top: 1em;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.9em;
}

footer {
  text-align: center;
  padding: 2em 0;
  color: #888;
  font-size: 0.9em;
}

input {
  display: none;
}

label {
  cursor: pointer;
  user-select: none;
}

label:hover {
  color: #0090e0;
}

.strikethrough {
  text-decoration: line-through;
}

@media (min-width: 600px) {
  .main {
    width: 75%;
  }
  
  .sidenav {
    width: 200px;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
  }
}
#audioPlayer {
  display: none;
  margin-top: 10px;
}

.gradient-text {
  background: linear-gradient(270deg, #F17C58, #E94584, #24AADB, #27DBB1, #FFDC18, #FF3706);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient-animation 10s ease infinite;
}

@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}