/* Applies to roster and journal container */
section {
  margin: 3rem;
  padding: 1.5rem;
  background-color: var(--secondary-color);
  border-radius: 1.25rem;
  color: var(--primary-color);
  border: var(--primary-color) 0.5rem solid;
  height: 100%;
}

.top-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  place-items: center;
  padding: 5rem;
  margin-top: 10vh;
}

#top-p-text {
  font-size: 2rem;
}

.top-container img {
  width: 100%;
}

h1 {
  font-size: 5rem;
  line-height: normal;
}

h2 {
  font-size: 3rem;
  padding-top: 20px;
  padding-bottom: 20px;
}

.roster-grid {
  display: grid;
  padding: 2rem;
  margin-top: 1rem;
  gap: 1rem;
  grid-template-columns: 1fr;
}

li {
  margin-left: 1rem;
  overflow: visible;
  font-size: 2rem;
  padding-top: 20px;
  padding-bottom: 20px;
}

#journal {
  position: relative;
}

/*
.journal-img {
  width: 100%;
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

.journal-img img {
  border: var(--primary-color) 0.25rem solid;
  border-radius: 5%;
  max-width: 100%;
  max-height: 50vh;
  height: auto;
  display: block;
}

*/
.journal-img {
  margin: 1rem -1.5rem;
  width: calc(100% + 3rem);
}

.journal-img img {
  aspect-ratio: 3/1;
  object-fit: cover;
  width: 100%;
}

.journal-img.small {
  margin: 0 auto;
  width: 50%;
}

.journal-img.small img {
  aspect-ratio: auto;
  border-radius: 1rem;
  box-shadow: 0 0 5rem color-mix(in srgb, var(--primary-color) 80%, transparent);
}

@media (width >= 40rem) {
  .top-container {
    grid-template-columns: 1fr 2fr;
    padding: 1rem;
  }
}

@media (width >= 48rem) {
  .top-container {
    margin-top: 0;
  }
}

@media (width >= 64rem) {
  .roster-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* li {
    max-width: calc(65% - 3.5rem);
  }

  .journal-img {
    position: absolute;
    height: 100%;
    max-width: 35%;
    max-height: 40%;
    right: 1.5rem;
  } */
}

@media (width >= 80rem) {
  .roster-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (width >= 96rem) {
  .roster-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  /* li {
    max-width: 45%;
  }

  .journal-img {
    max-width: 50%;
  } */
}
