/*  general */
* {
  box-sizing: border-box;
  font-size: 14px;
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  width: 100%;
}

h1 {
  color: #202163;
  font-family: "Muli", sans-serif;
  font-size: 3rem;
  font-weight: 300;
  line-height: 2.5rem;
  margin-bottom: 2rem;
}

h2 {
  color: #202163;
  font-family: "Muli", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.5rem;
  margin-bottom: 2rem;
}

h3 {
  color: #202163;
  font-family: "Muli", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h4 {
  color: #202163;
  font-family: "Muli", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  color: #202163;
  font-family: "Muli", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 2rem;
  margin-bottom: 0.5rem;
  max-width: 40rem;
}

span {
  font-weight: 700;
  font-size: 1.1rem;
}

a {
  color: #4d4d82;
  font-weight: 700;
  text-decoration: none;
}

button {
  background: none;
  border: 3px solid #202163;
  border-radius: 2rem;
  box-shadow: 0 6px 20px 0 rgba(1, 58, 117, 0.33);
  color: #202163;
  font-family: "Muli", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  max-height: 4rem;
  opacity: 0.5;
  outline: none;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  transition: 0.25s ease-in-out;
  width: 12.5rem;
}

button:hover {
  cursor: pointer;
  transform: translateY(-0.25rem);
}

.btn-inactive {
  opacity: 0.1;
}

.btn-inactive:hover {
  opacity: 0.25;
}

/* main */
main {
  display: flex;
  flex-direction: row;
  height: 100%;
}

#section-left,
#section-right {
  display: block;
  height: 100%;
  position: relative;
  width: 50%;
}

#section-left > header {
  background-image: url("src/img/repertoire_dots.svg"),
    radial-gradient(
      circle farthest-side at 78% 109%,
      #35c6e4,
      rgba(53, 198, 237, 0)
    ),
    radial-gradient(
      circle farthest-corner at 0% 100%,
      #6c43ff,
      rgba(108, 67, 253, 0)
    ),
    radial-gradient(
      circle farthest-corner at 0% 0%,
      #35c6e4,
      rgba(53, 198, 227, 0)
    ),
    radial-gradient(
      circle farthest-corner at 100% 0%,
      #5676f4,
      rgba(86, 118, 253, 0)
    );
  background-position: right;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  height: 90vh;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem;
}

#section-left > header > .logo-repertoire {
  margin-bottom: auto;
  width: 15rem;
}

#section-left > header > .intro-heading {
  color: white;
}

#section-left > header > .intro-text {
  color: white;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 2.25rem;
  margin-bottom: 2rem;
  opacity: 0.5;
}

#section-left > header > button {
  margin-bottom: auto;
}

#section-left > article {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 70vh;
  padding: 2.5rem;
  width: 100%;
}

#section-left > article > img {
  width: 25rem;
}

#section-left > article > .section-info {
  align-items: flex-start;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 9px 35px 9px rgba(32, 33, 99, 0.04);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 1rem;
  height: 5.25rem;
  max-width: 40rem;
  opacity: 0.75;
  overflow: hidden;
  padding: 1.5rem;
  transition: 0.25s ease-in-out;
  width: 100%;
}

#section-left > article > .section-info:hover {
  cursor: pointer;
  opacity: 1;
  transform: translateY(-0.25rem);
}

#section-left > article > .section-info.expand {
  height: 24rem;
  opacity: 1;
}

#section-left > article > .section-info > img:first-child {
  max-width: 10rem;
}

#section-left > article > .section-info > h4 {
  color: #202163;
  margin-bottom: 0;
  margin: 0.5rem 0;
  text-transform: uppercase;
}

#section-left > article > .section-info > p {
  color: #a6a6c1;
  font-size: 1rem;
  margin-top: 1rem;
}

/* treemap */

#section-right {
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
}

#chart-intro {
  background-image: linear-gradient(
    to right bottom,
    #8ef3ea,
    #7ff1e7,
    #6eefe3,
    #5aede0,
    #42ebdc
  );
  height: 100%;
  left: 0%;
  padding: 5rem;
  position: absolute;
  overflow: hidden;
  opacity: 1;
  transition: 0.8s ease-in-out;
  top: 0%;
  width: 100%;
  z-index: 10;
}

.node {
  position: absolute;
  overflow: hidden;
  transition: 0.8s ease-in-out;
  top: 0;
  left: 0%;
}

.hide {
  top: -100% !important;
  pointer-events: none;
}

.level-0 {
  height: 100%;
  width: 100%;
  z-index: 4;
}

.level-1 {
  height: 50%;
  width: 100%;
  z-index: 3;
}

.level-2 {
  height: 100%;
  width: 50%;
  z-index: 2;
}

.level-3 {
  height: 100%;
  width: 100%;
  z-index: 1;
}

.level-4 {
  z-index: 0;
}

#song {
  background-image: linear-gradient(
    to right bottom,
    #b3f7f1,
    #aaf6ef,
    #a1f5ee,
    #98f4ec,
    #8ef3ea
  );
}

#digital-radio {
  background-image: linear-gradient(
    to right bottom,
    #4d8cf0,
    #5692f1,
    #5f98f2,
    #689df2,
    #71a3f3
  );
  top: 0%;
}

.digital-radio,
.music-publisher {
  background-image: linear-gradient(
    135deg,
    rgba(77, 140, 240, 0.18) 0%,
    rgba(108, 67, 255, 0.08) 100%
  );
}

#non-digital-radio {
  background-image: linear-gradient(
    to right bottom,
    #a78eff,
    #997cff,
    #8b6aff,
    #7c57ff,
    #6c43ff
  );
  top: 50%;
}

#pro {
  background-image: linear-gradient(
    to right bottom,
    #71a3f3,
    #7aa9f4,
    #83aff5,
    #8bb4f5,
    #94baf6
  );
  left: 50%;
}

#record-label {
  background-image: linear-gradient(
    to right bottom,
    #a78eff,
    #ae98ff,
    #b6a1ff,
    #bdabff,
    #c4b4ff
  );
  left: 0%;
}

#music-publisher {
  background-image: linear-gradient(
    to right bottom,
    #94baf6,
    #9dc0f7,
    #a6c5f8,
    #afcbf8,
    #b8d1f9
  );
  height: 100%;
  width: 100%;
}

#performer {
  background-image: linear-gradient(
    to right bottom,
    #c4b4ff,
    #ccbdff,
    #d3c6ff,
    #dbd0ff,
    #e2d9ff
  );
  height: 100%;
  width: 100%;
}

.performer {
  background-image: radial-gradient(
      circle farthest-side at 78% 109%,
      #35c6e4,
      rgba(53, 198, 237, 0)
    ),
    radial-gradient(
      circle farthest-corner at 0% 100%,
      #6c43ff,
      rgba(108, 67, 253, 0)
    ),
    radial-gradient(
      circle farthest-corner at 0% 0%,
      #35c6e4,
      rgba(53, 198, 227, 0)
    ),
    radial-gradient(
      circle farthest-corner at 100% 0%,
      #5676f4,
      rgba(86, 118, 253, 0)
    );
}

.performer > h2,
.performer > h3,
.performer > p {
  color: white;
}

.performer > p {
  opacity: 0.7;
}

#song-writer {
  background-image: linear-gradient(
    to right bottom,
    #cfdff9,
    #c9dcf9,
    #c4d8f9,
    #bed5f9,
    #b8d1f9
  );
  height: 100%;
  width: 100%;
}

.song-writer > section {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 1rem;
  width: 100%;
}

.song-writer > section > img {
  margin: 0 5rem 2rem;
  min-width: 30rem;
}

.song-writer > section > button {
  margin: 0 auto;
}

@media screen and (min-width: 1280px) {
  #section-left > header,
  #section-left > article {
    padding: 5rem;
  }

  #section-left > article > .section-info.expand {
    height: 22.5rem;
  }
}

@media screen and (min-width: 1720px) {
  #section-left > header,
  #section-left > article {
    padding: 5rem 10rem;
  }
}
