:root {
  --primary-bg-color: #f0eff4;
  --primary-text-color: #000000;
  --yellow: #ffbc42;
  --green: #054303;
  --light-green: #279494ce;
  --red: #d81159;
  --light-red: #fa367bc4;
  --other: #fcf7e9;
  --berry: #8f2d56;
}

* {
  box-sizing: border-box;
}

[hide="true"].page {
  display: none;
}

[hide="false"].page {
  display: block;
}

#action-buttons {
  display: flex;
  gap: 1em;
  width: 100%;
  height: 100%;
  justify-content: center;
  a {
    display: block;
    max-height: 4em;
    max-width: 4em;
    min-width: 1em;
    min-height: 1em;
    width: 100%;
    object {
      pointer-events: none;
      height: 100%;
      width: 100%;
    }
  }
}

.fjalla-one-regular {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.episode {
  padding: 0.5em;
  .highlight-container:before {
    background-color: var(--yellow);
  }
}

.episode.even {
  .highlight-container:before {
    transform: rotate(-2deg);
  }
}

.content {
  background: none;
  max-width: 900px;
  margin: 0 auto;
}

.box {
  background: var(--primary-bg-color);
  border-radius: 5px;
  border-width: 3px;
  border-style: solid;
  margin: 1em 0;
  padding: 1em;
}

.highlight-container,
.highlight,
.link-highlight {
  position: relative;
}

.highlight-container {
  display: inline-block;
  width: fit-content;
  margin: 0.25em;
}

.highlight-container:before {
  content: "";
  display: block;
  width: calc(100% + 0.5em);
  height: 150%;
  position: absolute;
  left: -0.25em;
  top: -25%;
  transform: rotate(2deg);
  overflow: hidden;
}

.highlight-container.yellow:before {
  background-color: var(--yellow);
}

.highlight-container.green:before {
  background-color: var(--light-green);
}

.highlight-container.red:before {
  background-color: var(--light-red);
  transform: rotate(-2deg);
}

#recent-episodes {
  .highlight-container:before {
    background-color: var(--light-green);
    transform: rotate(-2deg);
  }
}

a.nav-link {
  text-decoration: none;
  color: black;
  font-size: 1.5em;
}

a.active {
  z-index: 1;

  .link-highlight {
    text-decoration: underline;
    display: inline-block;
    width: fit-content;
    z-index: 0;
  }

  .link-highlight:before {
    content: "";
    display: block;
    width: calc(100% + 12px);
    height: 100%;
    position: absolute;
    left: -5px;
    z-index: -1;
  }
}

#\#\/ .link-highlight:before {
  background-color: var(--yellow);
  transform: rotate(-3deg);
}

#\#\/about .link-highlight:before {
  background-color: var(--light-red);
  transform: rotate(3deg);
}

#\#\/links .link-highlight:before {
  background-color: var(--light-green);
  transform: rotate(-3deg);
}

#primary-title {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.title {
  font-size: 3em;
  .highlight-container:before {
    background-color: var(--yellow);
  }
}

.subtitle {
  text-align: center;
  font-size: large;
  font-weight: 300;
  margin: 0;
  margin-bottom: 1em;
  max-width: 75%;
}

.subtitle .highlight-container:before {
  background-color: var(--light-red);
  transform: rotate(-2deg);
}

nav {
  display: flex;
  gap: 0.5em;
  min-height: 2em;
  padding: 0.5em;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
  align-items: center;
  justify-content: space-evenly;
}

h1 {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: white;
  color: black;
  font-family: Verdana;
  background-color: #234d56;
}

.container {
  display: flex;
}

.button-container {
  min-height: 31px;
  align-items: center;
  gap: 1em;
  justify-content: center;
  flex-flow: wrap;
  height: 100%;
}

@media screen and (min-width: 530px) {
  header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 100%;
  }

  #spotify-iframe {
    grid-column: span 2;
  }
}

@media screen and (max-width: 529px) {
  header {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    align-items: center;

    img {
      max-height: 25vh;
      max-width: 25vh;
    }

    .title {
      font-size: 2em;
    }
  }

  .highlight-container:before {
    height: 100%;
    top: 0;
  }
}

#spotify-iframe {
  margin-top: 1em;
}

.logo {
  height: auto;
  max-width: 100%;
}
