.Auth {
}
.Episodes {
}

.schedule {
  .fresh {
    display: inline-block;
    vertical-align: middle;

    background-color: var(--okay-i-guess);
    border: 3px solid var(--okay-i-guess);
    border-radius: 10px;
    padding: 0 2px;
    font-size: 8px;

    cursor: default;
  }

  .new-today {
    display: inline-block;
    vertical-align: middle;

    background-color: var(--doing-great);
    border: 3px solid var(--doing-great);
    border-radius: 10px;
    padding: 0 2px;
    font-size: 8px;

    cursor: default;
  }
}
.Homepage {
  margin-bottom: 50px;

  .hero {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 30px;
    width: 50%;

    margin: 0 auto;
    margin-top: 50px;

    place-items: center;

    .title {
      font-size: 60px;

      text-align: center;
    }

    @media (max-width: 900px) {
      width: 90%;
      grid-template-columns: 1fr;
    }
  }

  .yellow-wrap {
    background-color: var(--bright-bg-color);
    margin-top: 30px;
    margin-bottom: 30px;

    padding-top: 30px;
    padding-bottom: 30px;
  }

  .schedule {
    width: 50%;
    text-align: center;

    margin: 30px auto;

    table {
      text-align: left;
      margin: 0 auto;
    }

    @media (max-width: 900px) {
      width: 90%;
    }
  }

  .stats-filled {
    width: 40%;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;

    grid-template-areas:
      "head ratio"
      "head percent";

    text-align: center;
    font-weight: bold;

    h2 {
      grid-area: head;
      place-self: center;

      font-size: 35px;
    }

    .ratio {
      grid-area: ratio;
      place-self: center;

      font-size: 20px;
    }

    .percent {
      grid-area: percent;
      place-self: center;

      font-size: 20px;
    }

    @media (max-width: 900px) {
      width: 90%;
    }
  }

  .explain {
    width: 50%;
    margin: 0 auto;

    .fake-pull-quote {
      font-weight: bold;
      font-size: larger;
    }

    .question {
      font-weight: bold;
    }

    @media (max-width: 900px) {
      width: 90%;
    }
  }
}
.Programs {
  .program {
    display: inline-block;

    border: 1px solid var(--calm-bg-color);
    padding: 5px;
    margin: 5px;

    min-width: 180px;
    max-width: 220px;
  }

  .episode {
    margin: 10px;

    border: 1px solid var(--calm-bg-color);
    padding: 10px;

    .number {
      font-size: larger;
      font-weight: bolder;
      color: var(--bright-constrast);
    }

    .episode-title {
      font-weight: bolder;
    }
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@font-face {
  font-family: "Exo";
  src:
    url(/fonts/Exo-Regular.otf) format("opentype");
}

:root {
  --bright-bg-color: #fbb20a;
  --calm-bg-color: #ffd77b;
  --not-quite-background: #faf2dd;
  --bright-constrast: #4372ff;

  --doing-great: #88cf32;
  --okay-i-guess: #d3cfaf;
}

body {
  margin: 20px;
  padding: 0;

  font-family: Exo;
}

input, textarea, select {
  font-family: Exo;

  width: 80%;
  margin: 5px 0;
  padding: 5px;

  font-size: 12pt;

  border-color: var(--bright-bg-color);
  border-width: 3px;
  border-style: solid;

  background-color: white;

  @media (max-width: 900px) {
    width: 90%;
  }
}

input[type=button], input[type=submit] {
  background-color: var(--not-quite-background);
}

input[type=checkbox] {
  width: auto;
}

form .note {
  border-left: 3px solid var(--bright-bg-color);
  padding: 3px 3px 3px 6px;
  margin-top: -5px;
  margin-left: 5px;

  font-size: small;

  background-color: var(--not-quite-background);

  width: calc(80% - 6px);
}

a {
  color: var(--bright-bg-color);
}
a:hover {
  color: var(--bright-constrast);
}

.body-wrapper {
  margin-top: 50px;
}

.now-playing {
  background-color: var(--bright-bg-color);

  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: min-content 1fr;

  gap: 5px;

  padding: 20px;

  grid-template-areas:
    "button title"
    "button on-now";

  .control-audio {
    cursor: pointer;

    grid-area: button;

    place-self: center;

    i {
      font-size: 22pt;
    }
  }

  .title {
    grid-area: title;
  }

  .on-now {
    grid-area: on-now;
  }
}

.full-width {
  margin: -20px;
}

.page-actions {
  float: right;
  font-size: 30px;

  display: grid;
  grid-auto-columns: 47px;
  gap: 15px;
  grid-auto-flow: column;

  text-align: center;

  a {
    display: inline-block;

    text-decoration: none;

    border: 1px solid var(--bright-bg-color);
    background-color: var(--not-quite-background);

    height: 47px;
    width: 47px;
  }

  form.button_to {
    display: inline-block;

    height: 47px;
    width: 47px;

    border: 1px solid var(--bright-bg-color);

    input, button {
      height: 47px;
      width: 47px;

      background-color: var(--not-quite-background);
      border: none;

      font-size: inherit;

      color: var(--bright-bg-color);

      padding: 0;

      cursor: pointer;

      &:hover {
        color: var(--bright-constrast);
      }
    }
  }
}

.breadcrumbs {
  border-bottom: 1px solid var(--bright-bg-color);

  padding: 3px;
  margin-bottom: 3px;

  font-size: small;
  width: 30%;

  @media (max-width: 900px) {
    width: 100%;
  }
}

.title {
  font-variant-caps: small-caps;
  font-weight: bold;
}

.released_at {
  .live {
    font-size: smaller;

    border-radius: 5px;
    padding: 3px;

    background-color: var(--doing-great);
  }

  .scheduled {
    font-size: smaller;

    border-radius: 5px;
    padding: 3px;

    background-color: var(--okay-i-guess);
  }
}
