@font-face {
  font-family: 'FuturaBkBT';
  src: url('https://sleeptoken-assets.s3.us-east-1.amazonaws.com/FuturaBkBt.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #000;
  color: #0085FF;
  font-family: 'FuturaBkBt', sans-serif;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

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

h1 {
  font-size: 36px;
  letter-spacing: .7ch;
  margin-bottom: 5px;
}

hr {
  border: none;
  border-top: 1px solid #FF008A;
  max-width: 800px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

html, body {
  overflow-x: hidden;
}

nav a {
  color: #0085FF;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  letter-spacing: 1ch;
}

.author {
  font-size: 12px;
  color: #FF008A;
  margin-bottom: 10px;
}

.body {
  font-size: 16px;
  color: #0085FF;
}

.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.double-break {
  border: none;
  border-top: 3px double #FF008A;
  max-width: 800px;
  width: 100%;
  margin: 10px auto;
  display: block;
}

.nav-links {
  font-family: 'Future Bk Bt', sans-serif;
  color: #0085FF;
  text-align: center;
  margin: 10px 0;
  font-size: 18px;
  letter-spacing: 1ch;
}

.nav-link {
  color: #0085FF;
  text-decoration: none;
  margin: 0 6px;
  font-weight: bold;
  cursor: pointer;
}

.nav-link.active {
  font-weight: bold;
  color: #FF008A;
}

.nav-link:hover {
  color: #FF008A;
}

.post {
  margin: 20px auto;
  max-width: 800px;
  width: 100%;
}

.post-divider {
  border: none;
  border-top: 1px solid #FF008A;
  max-width: 800px;
  width: 100%;
  margin: 10px auto;
}

.post h2 {
  color: #FF008A;
  font-size: 20px;
  margin-bottom: 5px;
}

.post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-link:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.post-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 30px;
}

.sort-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #0085FF;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 0;
  font-size: 10px;
}

.sort-label {
  font-size: 12px;
  color: #0085FF;
  margin-right: 8px;
}

.sort-option {
  margin: 0 4px;
  font-size: 10px;
  color: #0085FF;
  cursor: pointer;
  font-weight: normal;
}

.sort-option:hover {
  color: #FF008A;
}

.sort-option.active {
  font-weight: bold;
  color: #FF008A;
}

.view-post {
  margin-left: 10px;
  color: #FF008A;
  text-decoration: none;
}

.vote {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 5px 0;
  gap: 2px;
  color: #FF008A;
}

.vote button {
  background: none;
  border: none;
  color: #FF008A;
  font-size: 18px;
  cursor: pointer;
}

.vote .score {
  font-size: 14px;
  color: #0085FF;
}

#auth-container {
  max-width: 400px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #FF008A;
}

#auth-container input, #auth-container button {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  font-family: 'FuturaBkBt', sans-serif;
  color: #0085FF;
  background: none;
  border: 1px solid #0085FF;
}

#auth-container button {
  cursor: pointer;
}

#auth-container button:hover {
  background: #FF008A;
  color: #000;
}
