body {
  /* --primaryColor: #E9503B; */
  --primaryColor: #ff2e1f;
  --secondaryColor: #091127;
  --backgroundColor: #fff;

  --maxWidth: 60em;
  --vsMini: clamp(1px, 2vw, 10px);
  --vsSmall: 2vh;
  --vsMedium: 4vh;
  --vsBig: clamp(100px, 15vh, 200px);

  background-color: var(--backgroundColor);
}

/* Layout */

header,
main {
  padding: 0 5vw;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  max-width: var(--maxWidth);
  margin: var(--vsBig) auto;
  text-align: center;

  font-family: LarkenVariable, serif;
}

section {
  margin-bottom: var(--vsBig);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  grid-template-areas:
    "minutes minutes minutes"
    "ratings divider genres";

  width: 100%;
  max-width: 700px;
  column-gap: clamp(20px, 5vw, 80px);
}

.stats .minutes {
  grid-area: minutes;
}

.stats .divider {
  grid-area: divider;
  background-color: var(--primaryColor);
  height: clamp(300px, 30vh, 600px);
  position: relative;
}

.stats .divider:after {
  content: "";
  width: 16px;
  height: 20px;
  background-image: url("../images/arrow-down.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -10px;
  left: -8px;
}

.stats .ratings {
  grid-area: ratings;
}

.stats .genres {
  grid-area: genres;
}

.month {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0 -4vw var(--vsBig);
}

.month:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  /* bottom: calc(0 - var(--vsBig)); */
  bottom: -80px;
  width: 1px;
  height: 60px;
  background-color: var(--primaryColor);
}
.month:last-child:after {
  bottom: -230px;
  height: 200px;
}

.month h2 {
  flex: 1 0 100%;
  margin-bottom: 1.5em;
}

.month li {
  width: clamp(110px, 12vw, 150px);
  margin: clamp(4px, 5vw, 15px);
}

.cover {
  width: 100%;
  background-color: whitesmoke;
  border-radius: 3px;
}

/* Typography */

li {
  list-style: none;
}

p {
  max-width: 30em;
}

h1 {
  font-size: clamp(60px, 10vw, 150px);
  font-weight: 900;
  color: var(--primaryColor);
  margin: 0;
}

h2 {
  font-size: clamp(23px, 3vw, 25px);
  font-weight: 300;
  color: var(--secondaryColor);
  margin: 0;
}

/* h3 {
  font-size: clamp(15px, 3vw,20px);
  font-weight: 600;
  color: var(--secondaryColor);
  margin: 0;
  letter-spacing: 0.03em;
} */

h3 {
  font-size: clamp(14px, 3vw, 17px);
  font-weight: 600;
  line-height: 1.2em;
  color: var(--secondaryColor);
  margin: 0;
  letter-spacing: 0.03em;
}

h4 {
  font-size: clamp(11px, 1vw, 12px);
  font-weight: 500;
  color: var(--primaryColor);
  margin: 0;
}

/* Header and intro */

header p,
.footer p {
  font-size: clamp(16px, 4vw, 22px);
  line-height: 1.6em;
  font-weight: 350;
}

header a {
  color: var(--secondaryColor);
  transition: 0.1s;
}

header a:hover {
  /* color: var(--secondaryColor); */
  font-weight: 600;
}

/* Stats  */

.stats li {
  margin-bottom: var(--vsMini);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "label bar";
  align-items: center;
  position: relative;
  height: 25px;
  width: 100%;
}

.genres li p {
  display: block;
  grid-area: label;
  text-align: left;
  min-width: 7ch;
}

.ratings li img {
  width: clamp(50px, 10vw, 70px);
  margin-right: clamp(10px, 2vw, 20px);
  grid-area: label;
}

.bar {
  display: block;
  position: relative;
  grid-area: bar;
  height: 5px;
  background-color: var(--primaryColor);
}

.ratings li:nth-child(1) .bar {
  width: calc(1700% / 37);
}
.ratings li:nth-child(2) .bar {
  width: 100%;
}
.ratings li:nth-child(3) .bar {
  width: calc(3100% / 37);
}
.ratings li:nth-child(4) .bar {
  width: calc(1500% / 37);
}
.ratings li:nth-child(5) .bar {
  width: 0%;
}

.genres li:nth-child(1) .bar {
  width: 100%;
}
.genres li:nth-child(2) .bar {
  width: calc(2300% / 39);
}
.genres li:nth-child(3) .bar {
  width: calc(1700% / 39);
}
.genres li:nth-child(4) .bar {
  width: calc(1300% / 39);
}
.genres li:nth-child(5) .bar {
  width: calc(800% / 39);
}

.minutes {
  border-bottom: 1px solid var(--primaryColor);
  padding-bottom: var(--vsMedium);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.number {
  font-size: clamp(30px, 8vw, 50px);
  color: var(--primaryColor);
  font-weight: 700;
  line-height: 0.8em;
  margin: 0 0 0.2em;
}

.stats .label {
  font-size: clamp(15px, 3vw, 20px);
  font-weight: 600;
  color: var(--secondaryColor);
  margin: 0;
  letter-spacing: 0.03em;
}

.ratings,
.genres {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: var(--vsMedium) 0;
}

/* Calendar */

.month li {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.month li h4 {
  order: 4;
}

.cover {
  order: 1;
  margin-bottom: 20px;
}

.rating {
  order: 2;
  width: 100%;
  max-width: 100px;
  margin-left: -3px;
  margin-bottom: 10px;
}

.month li h3 {
  order: 3;
  margin-bottom: 0.2em;
}

.quote {
  font-family: Helvetica, sans-serif;
  font-size: 13px;
  order: 4;
  margin-bottom: 5px;
}

.quotee {
  order: 4;
  font-size: clamp(11px, 1vw, 12px);
  font-weight: 500;
  color: var(--primaryColor);
  font-family: "LarkenVariableItalic";
  font-weight: 600;
  margin: 0;
  color: var(--primaryColor);
}

.quotee:before {
  content: "—";
}

/* Footer */
.footer {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer h2 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 300;
  color: var(--secondaryColor);
}

.footer a {
  color: var(--secondaryColor);
}

.footer a:hover {
  color: var(--primaryColor);
}

/* //////////// RESPONSIVE STUFF */

@media (max-width: 800px) {
  body {
  }
}
