* {
  box-sizing: border-box;
}

:root {
  --page-text: #000000;
  --link: #ffffff;
  --link-visited: #3918cd;
  --window-bg: #c0c0c0;
  --window-light: #ffffff;
  --window-dark: #404040;
  --title-blue: #000080;
  --green: #26ff00;

  --title-bg-image: url("site assets/explosion.gif");
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--page-text);
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 600 !important;
  text-align: center;
  background:
    url("site assets/backgrounds/bg2tilecopy-ezgif.com-effects.gif"),
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.75) 0 8%,
      transparent 16%
    ),
    radial-gradient(
      circle at 76% 30%,
      rgba(255, 255, 255, 0.72) 0 7%,
      transparent 15%
    ),
    radial-gradient(
      circle at 52% 70%,
      rgba(255, 255, 255, 0.5) 0 9%,
      transparent 18%
    ),
    linear-gradient(#88b8ee 0%, #bdd8ff 46%, #8fb8e8 100%);
  background-repeat: repeat;
  background-size:
    auto,
    420px 220px,
    500px 260px,
    560px 300px,
    cover;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.055;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.35) 0 1px,
    transparent 1px 3px
  );
  z-index: 20;
}

.page {
  width: min(1120px, calc(100vw - 64px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0 34px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.title-card {
  min-width: 270px;
  min-height: 86px;
  padding: 16px 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    var(--title-bg-image);
  background-size: cover;
  background-position: center;
  border: 2px solid #000000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.site-header h1 {
  margin: 0;
  font-size: 56px;
  line-height: 0.9;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.55);
}

.site-header p {
  margin: 15px 0 0;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  font-weight: 600 !important;
}

.clock,
.counter {
  color: var(--green);
  background: #000000;
  font-family: "Courier New", monospace;
}

.clock {
  margin-top: 4px;
  padding: 10px 16px;
  border: 2px solid #777777;
  box-shadow:
    2px 2px 0 #ffffff,
    4px 4px 0 #404040;
  font-size: 17px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 58px;
  margin: 42px 0 48px;
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.nav-links a {
  font-weight: 600 !important;
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:visited {
  color: var(--link-visited);
}

/* WINDOWS / PLAYER */

.player-window,
.transmission-screen {
  background: var(--window-bg);
  border-top: 3px solid var(--window-light);
  border-left: 3px solid var(--window-light);
  border-right: 3px solid var(--window-dark);
  border-bottom: 3px solid var(--window-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  font-family: "Courier New", monospace;
  text-align: left;
}

.player-window {
  width: min(580px, 92vw);
  margin: 0 auto 48px;
  font-size: 18px;
}

.window-titlebar,
.transmission-window-title {
  color: #ffffff;
  background: linear-gradient(90deg, #000080, #2b63d9);
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
}

.window-titlebar {
  min-height: 30px;
  padding: 4px 6px 4px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-buttons {
  display: flex;
  gap: 3px;
}

.window-buttons span {
  width: 26px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #000000;
  background: var(--window-bg);
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  font-size: 18px;
  line-height: 1;
}

.player-body {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  align-items: center;
}

#visualizer {
  width: 120px;
  height: 78px;
  background: #000000;
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
  display: block;
  image-rendering: pixelated;
}

.player-project,
.player-title {
  color: #000000;
  font-weight: 600 !important;
  text-transform: uppercase;
}

.player-project {
  font-size: 21px;
  margin-bottom: 8px;
}

.player-title {
  font-size: 18px;
  margin-bottom: 14px;
}

.time-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600 !important;
}

.transport {
  display: grid;
  grid-template-columns: 34px 48px 48px 34px;
  gap: 7px;
  align-items: center;
  margin-bottom: 10px;
}

.transport button {
  height: 40px;
  color: #000000;
  background: var(--window-bg);
  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700 !important;
  cursor: pointer;
}

.transport button:active {
  border-top-color: var(--window-dark);
  border-left-color: var(--window-dark);
  border-right-color: var(--window-light);
  border-bottom-color: var(--window-light);
}

#seekBar {
  width: 100%;
  accent-color: #777777;
}

.selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  padding: 0 16px 12px;
  color: #000000;
  font-size: 14px;
  font-weight: 600 !important;
  text-transform: lowercase;
}

.selector-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.selector-row select {
  min-width: 126px;
  color: #000000;
  background: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 13px;
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.track-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0 16px 16px;
  font-size: 14px;
  font-weight: 600 !important;
}

.track-list button {
  border: 0;
  padding: 0;
  color: var(--link);
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.track-list button:hover,
.track-list button.active {
  color: #ff0000;
}

/* LINKS */

.links-section {
  margin: 0 auto 44px;
  max-width: 940px;
  font-family: "Courier New", monospace;
  font-weight: 700;
  text-align: center;
  text-transform: lowercase;
}

.links-section h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.link-identity {
  margin-bottom: 20px;
}

.link-identity h3 {
  display: inline;
  margin: 0 12px 0 0;
  font-size: 19px;
}

.link-identity p {
  margin: 8px 0;
}

.link-identity p > span:first-child {
  margin-right: 10px;
}

.plain-links,
.quench-page .plain-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 600 !important;
}

.plain-links {
  gap: 8px 20px;
  font-size: 18px;
}

.quench-page .plain-links {
  column-gap: 42px;
  row-gap: 16px;
  font-size: 19px;
}

.plain-links a,
.quench-page .plain-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600 !important;
}

.plain-links span:first-child,
.quench-page .plain-links span:first-child {
  text-decoration: none;
}

.quench-page .link-identity {
  margin-bottom: 26px;
}

.quench-page .links-label {
  margin: 0 0 14px;
  font-size: 22px;
}

.quench-block .plain-links {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  column-gap: 34px;
  row-gap: 10px;
}

.link-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: auto;
  flex: 0 0 auto;
}

.link-icon-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
}

/* FOOTER */

.footer {
  padding: 12px 0 30px;
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: 600 !important;
}

.footer p {
  margin: 0 0 8px;
  font-weight: 600 !important;
}

.counter {
  display: inline-block;
  margin-bottom: 26px;
  padding: 3px 10px;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.best-viewed {
  margin-top: 6px !important;
}

.badge {
  display: inline-block;
  margin-bottom: 26px;
  padding: 7px 13px;
  color: #000000;
  background: #d6d6d6;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #404040;
  border-bottom: 3px solid #404040;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: 700;
}

.netscape-badge {
  display: block;
  margin: 0 auto 26px;
  width: 88px;
  height: auto;
  image-rendering: pixelated;
}

/* PAGE PANELS */

.page-panel {
  width: min(760px, 92vw);
  margin: 0 auto 48px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.38);
  border: 2px solid #000000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  font-weight: 600 !important;
}

.contact-card {
  font-family: "Courier New", monospace;
  font-weight: 600 !important;
  text-transform: lowercase;
}

.contact-card h2,
.page-panel h2 {
  margin-top: 0;
}

.email,
.email-big {
  font-weight: 600 !important;
}

.email {
  font-size: 16px;
}

.email-big {
  font-size: 24px;
  margin-top: 20px;
}

.links-page .footer,
.contact-page .footer {
  margin-top: 20px;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 38px 0;
  position: relative;
  background: #000;
}

.divider::before,
.divider::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.divider::before {
  left: -4px;
}

.divider::after {
  right: -4px;
}

/* SOUNDTHIRST ARCHIVE PAGE */

.quench-page,
.quench-page *,
.quench-page a {
  font-family: "Times New Roman", Times, serif !important;
  font-weight: 600 !important;
}

.quench-page {
  max-width: 780px;
  padding: 28px 34px;
  text-align: center;
}

.quench-intro h2,
.quench-block h3,
.transmission-text strong {
  font-weight: 700 !important;
}

.quench-intro h2 {
  margin: 0 0 10px;
  font-size: 24px;
  text-transform: lowercase;
}

.quench-intro p {
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 16px;
  line-height: 1.55;
  text-transform: lowercase;
}

.quench-block {
  margin: 28px auto 0;
}

.quench-block h3 {
  margin: 0 0 14px;
  font-size: 18px;
  text-transform: lowercase;
}

.featured-transmissions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.transmission-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  color: var(--link);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid #000;
  text-align: left;
}

.transmission-card:visited {
  color: var(--link-visited);
}

.transmission-card:hover {
  background: rgba(255, 255, 255, 0.45);
}

.transmission-cover {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 1px solid #000;
  image-rendering: auto;
  background: #c0c0c0;
}

.transmission-text {
  display: grid;
  gap: 6px;
}

.transmission-text strong {
  font-size: 17px;
  text-transform: lowercase;
  text-decoration: underline;
}

.transmission-text em {
  color: #000;
  font-style: normal;
  font-size: 13px;
  text-transform: lowercase;
}

.related-projects {
  display: none;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px dotted #000;
  font-family: "Courier New", monospace;
  text-transform: lowercase;
}

.related-projects h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.related-projects p {
  margin: 0;
  line-height: 1.6;
}

/* HOME TRANSMISSION SCREEN */

.transmission-screen {
  max-width: 620px;
  padding: 0;
  overflow: hidden;
}

.transmission-window-title {
  padding: 5px 10px;
  text-transform: lowercase;
}

.transmission-media-wrap {
  margin: 16px;
  background: #000000;
  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.home-transmission-video,
.home-transmission-image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #000;
}

.home-transmission-video[hidden],
.home-transmission-image[hidden] {
  display: none !important;
}

.home-transmission-image {
  image-rendering: auto;
}

.transmission-copy {
  padding: 0 16px 10px;
  color: #000000;
  text-transform: lowercase;
}

.transmission-copy h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.transmission-copy p {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
}

.transmission-meta {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dotted #000000;
}

.transmission-meta span {
  font-weight: 700;
}

.home-enter-links {
  padding: 0 16px 18px;
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 18px;
  text-transform: lowercase;
}

.home-enter-links a {
  font-weight: 700;
}

.transmission-window-title {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: lowercase;
}

.transmission-mute-btn {
  width: 28px;
  height: 24px;
  padding: 0;

  color: #000;
  background: var(--window-bg);

  border-top: 2px solid var(--window-light);
  border-left: 2px solid var(--window-light);
  border-right: 2px solid var(--window-dark);
  border-bottom: 2px solid var(--window-dark);

  font-size: 14px;
  line-height: 1;

  cursor: pointer;
}

.transmission-mute-btn:active {
  border-top-color: var(--window-dark);
  border-left-color: var(--window-dark);
  border-right-color: var(--window-light);
  border-bottom-color: var(--window-light);
}

.file-name-row {
  margin-bottom: 14px;
}

.file-name-row h2 {
  margin: 4px 0 0;
  font-size: 28px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.archive-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px;

  background: rgba(255, 255, 255, 0.18);

  border-top: 2px solid var(--window-dark);
  border-left: 2px solid var(--window-dark);
  border-right: 2px solid var(--window-light);
  border-bottom: 2px solid var(--window-light);
}

.archive-item {
  display: flex;
  gap: 10px;
  font-size: 15px;
  text-transform: uppercase;
}

.meta-label {
  color: #000080;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-strength {
  margin-bottom: 18px;
  padding: 10px;

  background: #000;
  color: #39ff14;

  font-family: "Courier New", monospace;
  font-size: 14px;
}

.transmission-description {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dotted #000;
}

.transmission-description p {
  margin-top: 8px;
}

#homeSignalStrength {
  letter-spacing: 2px;
}

/* DOWNLOADS PAGE */
.downloads-window {
  width: min(860px, 94vw);
  margin: 0 auto 48px;
  background: var(--window-bg);
  border-top: 3px solid var(--window-light);
  border-left: 3px solid var(--window-light);
  border-right: 3px solid var(--window-dark);
  border-bottom: 3px solid var(--window-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  font-family: "Courier New", monospace;
  text-align: left;
}

.downloads-titlebar {
  padding: 4px 6px 4px 10px;
}

.downloads-body {
  padding: 16px 22px 14px;
  color: #000;
}

.downloads-header-row,
.downloads-list li {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 150px 100px 112px;
  align-items: center;
  gap: 12px;
}

.downloads-header-row {
  padding: 0 0 6px;
  color: #000080;
  border-bottom: 1px solid #777;
  font-size: 15px;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.downloads-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.downloads-list li {
  min-height: 26px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.28);
  font-size: 15px;
  font-weight: 700 !important;
}

.downloads-list a {
  color: #000080;
  font-weight: 700 !important;
  text-transform: uppercase;
}

.downloads-list a:visited {
  color: #551a8b;
}

.downloads-list li:hover {
  background: rgba(255, 255, 255, 0.28);
}

.file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.downloads-pages {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700 !important;
  text-transform: uppercase;
}

.downloads-pages a {
  color: #000080;
}
