* {
  box-sizing: border-box;
  letter-spacing: -0.6px;
}
html {
  background: linear-gradient(to bottom in oklab, hsl(330deg, 53%, 16%), hsl(255deg, 30%, 10%));
  background-size: cover;
  background-color: #180808;
  background-attachment: fixed;
  overscroll-behavior: contain;
  color: white;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "georgia", serif;
}
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 1;
  transition: 0.5s linear;
}
body.loading {
  opacity: 0;
}

/**
 * Radio player
 */
.radio {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
  opacity: 0;
}
.loaded .radio {
  opacity: 1;
}
.radio .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.radio .title {
  font-style: italic;
  opacity: 0.9;
  font-size: 3.5vmin;
  max-width: 50vmin;
  text-align: center;
  transform: skewX(10deg);
  color: hsl(20deg, 53%, 90%);
}
.radio .time {
  padding: 2rem;
  opacity: 0.6;
  color: hsl(20deg, 53%, 90%);
}

/**
 * Start overlay
 */
.start {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
#start-radio {
  transition: opacity 0.2s;
  opacity: 0.8;
  cursor: pointer;
}
#start-radio:hover {
  opacity: 1;
}
.loaded .start {
  pointer-events: none;
}
.loaded #start-radio {
  transition: opacity 0.5s;
  opacity: 0;
  pointer-events: none;
}

/**
 * Play / pause
 */
.toggle-radio, .play, .pause {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}
.toggle-radio {
  position: relative;
  padding: 1.5rem;
  border-radius: 50%;
  transition: background 0.2s;
  background-color: rgba(0,0,0,0.05);
}
.paused .toggle-radio {
  background-color: rgba(0, 0, 0, 0.15);
}
.toggle-radio:hover {
  background-color: rgba(0,0,0,0.2);
}
.toggle-radio .play,
.toggle-radio .pause {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate3D(-50%, -50%, 0);
  opacity: 0;
  transition: opacity 0.2s;
}
.paused .toggle-radio .play {
  opacity: 1;
}
.playing .toggle-radio .pause {
  opacity: 0.8;
}
.playing .toggle-radio:hover .pause {
  opacity: 1;
}



/**
 * Footer
 */
.footer {
  position: absolute;
  bottom: 10vh;
  left: 50vw;
  transform: translateX(-50%);
  text-align: center;
  font-style: italic;
  z-index: 2;
}
.footer a {
  color: #fc8;
  text-decoration: none;
  border-bottom: 2px solid;
  padding: 1rem;
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  mix-blend-mode: overlay;
  transition: background 0.25s;
}
.footer a:hover {
  background: rgba(0, 0, 0, 0.6);
}

/**
 * visuals
 */
.viz {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95vmin;
  height: 95vmin;
  transform: translate3d(-50%, -50%, 0);
  z-index: -1;
  border-radius: 43vmin;
}
