body {
  font-family: Lunchtype Regular;
  font-weight: 400;
  font-size: 16px;
  color: black;
  padding: 50px;
  letter-spacing: 0.2px;
}

canvas {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

a {
  color: inherit;
}

a:hover {
  font-style: italic;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px 30px;
  z-index: 1;
  font-size: 4vw;
}

header nav {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
}

header nav a {
  margin-bottom: 2rem;
  text-decoration: none;
}

header nav a:hover::after {
  content:  '→';
  vertical-align: middle;
}

.about {
  position: absolute;
  top: 30px;
  right: 50px;
}

.about a {
  font-size: 24px;
}

h2,
h3 {
  font-family: Helvetica Neue;
}

.about-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  background-color: lightyellow;
  border: 1px solid black;
  padding: 25px;
  z-index: 100;
}

.about-modal h2 {
  font-size: 40px;
}

.about-modal p {
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.3;
}

.about-modal .close {
  position: absolute;
  top: 0;
  right: 20px;
  cursor: pointer;
  padding: 5px 10px;
}

.close:hover {
  background-color: black;
  padding: 5px 10px;
  color: white;
}

section.artists {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  grid-auto-flow: dense;
}

.artist {
  position: relative;
}

.artist h3 {
  font-size: 24px;
  margin-top: 20px;
  font-style: italic;
}

.artist:hover {
  cursor: url('help.svg'), auto;
}

.details {
  position: absolute;
  top: 60px;
  left: 60px;
}

.details.left {
  left: -60px;
}

.d-none {
  display: none;
}

.bg-black {
  background-color: black;
  width: 300px;
}

.tape-text {
  background-color: #000;
  line-height: 1.2;
  font-size: 1em;
}

.tape-text:nth-of-type(odd) {
  text-indent: 0;
  margin: 0;
  padding-top: 11px;
  font-style: italic;
  transform: rotate(-0.8deg);
}

.tape-text:nth-of-type(even) {
  text-indent: 0 !important;
  padding-left: 60px;
  margin: 0;
  line-height: 1;
  transform: rotate(0.2deg);
}

.tape-text span {
  color: #000;
  background-color: #fff;
}

.large {
  max-width: 350px;
  height: 350px;
}

.medium {
  max-width: 250px;
  height: 250px;
}

.anderson {
  grid-column: 3 / span 4;
  grid-row: 3 / span 4;
}

.badbunny {
  grid-column: 5 / span 10;
  grid-row: 1 / span 10;
}

.injury {
  grid-column: 9 / span 6;
  grid-row: 10 / span 6;
}

.kendrick {
  grid-column: 2 / span 8;
  grid-row: 7 / span 4;
}

.madvillain {
  grid-column: 4 / span 8;
  grid-row: 5 / span 7;
}

.nokia {
  grid-column: 9 / span 4;
  grid-row: 8 / span 4;
}

.ox {
  grid-column: 1 / span 4;
  grid-row: 10 / span 4;
}

.pete {
  grid-column: 7 / span 8;
  grid-row: 6 / span 4;
}

.pharcyde {
  grid-column: 8 / span 8;
  grid-row: 4 / span 8;
}

.planets {
  grid-column: 9 / span 8;
  grid-row: 2 / span 8;
}

.tribe {
  grid-column: 5 / span 8;
  grid-row: 9 / span 6;
}

.fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.visible {
  opacity: 1;
}

@media (max-width: 700px) {
  body {
    padding: 25px;
  }

  .about-modal {
    width: 100%;
  }
  
  header nav {
    display: block;
    margin-top: 1rem;
  }

  header nav a {
    margin: 0 20px 0 0;
    line-height: 2;
  }

  section.artists {
    margin-top: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .artist {
    margin-bottom: 80px;
  }

  .artist h3 {
    text-align: center;
  }

  .details,
  .details.left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
  }

  .tape-text:nth-of-type(even) {
    padding-left: 10px;
  }

  .about {
    position: fixed;
    bottom: 0;
    right: 0;
    top: unset;
    background-color: #ddd;
    width: 100%;
    padding: 15px;
    z-index: 999999999;
    text-align: center;
  }
}
