#d1 {
  border: 1px solid black;
  border-radius: 5px;
  margin: auto;
}
#d1 th {
  color: green;
  border: 1px solid black;
  border-radius: 5px;
  padding: 10px;
  font-size: 1.5rem;
}
#d1 td {
  color: deeppink;
  border: 1px solid black;
  border-radius: 5px;
}
#d1 tbody:nth-child(odd) {
  background-color: beige;
}
#d1 tbody:nth-child(even) {
  background-color: antiquewhite;
}

.container {
  margin: 1rem;
}

.container h2 {
  text-align: center;
  font-size: 3rem;
  margin: 3rem;
  margin-bottom: 4rem;
}

.container td {
  padding: 10px;
  text-align: center;
}

.splide {
  overflow: hidden;
}

.splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.splide__slide img {
  width: 100%;
  max-height: min(720px, 80vh);
  object-fit: contain;
}

.splide__viewer {
  justify-content: center;
  display: flexbox;
}

.splide {
  margin: 0 auto;
}

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  height: 640px;
  max-height: 50vh;
  overflow-y: auto;
}

.thumbnail {
  width: 236px;
  height: 236px;
  border-radius: 5px;
  overflow: hidden;
  list-style: none;
  cursor: pointer;
  opacity: 0.7;
  padding: 2px;
}

@media screen and (max-width: 768px) {
  .thumbnail {
    width: 124px;
    height: 124px;
  }
}

.thumbnail :hover {
  border-radius: 20px;
  outline: 1px solid black;
}

.thumbnail.is-active {
  opacity: 1;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  cursor: pointer;
  object-fit: cover;
}
