body {
  --border-thickness: 2px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

section#band {
  border: var(--border-thickness) solid black;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;

  #band-photo {
    width: max(15ch, 30%);
    aspect-ratio: 1;
    background: linear-gradient(pink, yellow);
  }

  #genres {
    display: flex;
    gap: 4px;
    max-width: 20ch;
    flex-wrap: wrap;
    justify-content: center;

    a {
      text-decoration: none;
      padding: 4px;
      border: var(--border-thickness) solid lightblue;
      border-radius: 3px;
    }
  }

  #links {
    display: flex;
    align-items: center;
  }
}

#artist-nav {
  display: flex;
  flex-direction: row;

  * > a {
    text-decoration: none;
  }
}

.image-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15ch, 1fr));
  gap: 2rem;

  a {
    width: 15ch;
    height: 15ch;
    background: linear-gradient(27deg, green, blue);
    color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    
    &:hover {
      color: #ddd;
      background: #333;
    }
  }
}

@media (max-width: 600px) {
  .grid {
    display: flex;
    flex-direction: column;
    height: unset;
    padding: 1rem;
  }

  section#band {
    align-items: start;
    gap: 1rem;
    padding: 1rem;

    #genres {
      justify-content: start;
    }
    
    p {
      max-width: 35ch;
    }
  }

  #artist-nav {
    display: flex;

    div {
      padding: 0;
      margin-bottom: 0;
    }

    * > a {
      text-decoration: none;
    }

    #members-nav {
      border: 0;
    }

    #releases-nav {
      border: 0;
    }

    #shows-nav {
      border: 0;
    }
  }
}