header {
  justify-content: space-between;
  align-items: center;
  height: 60px;
  min-height: 60px;
  padding: 8px 16px;
  gap: 10px;
}

.contents-wrapper {
  width: min(400px, 100%);
  flex-direction: column;
  padding: 20px;
  margin: auto;
  margin-top: 0;
  gap: 20px;
}

.contents-wrapper div {
  flex-direction: column;
  width: 100%;
  gap: 14px;
}

.contents-wrapper div div {
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.contents-button {
  aspect-ratio: 131/150;
  margin: 0;
  padding: 0;
  width: 32px;
  min-width: 32px;
  height: auto;
  justify-content: center;
  align-items: center;
  background-image: url(/img/icons/menu.svg);
  background-size: 100%;
  cursor: pointer;
}

.content-wrapper {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  gap: 16px;
}
.card-title {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #008080;
}
.card-wrapper {
  flex: 1;
  aspect-ratio: 2/3;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 60px - 2 * 12px - 16px - 50px);
}
.each-card-image {
  object-fit: contain;
  aspect-ratio: 2/3;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.content-buttons-wrapper {
  justify-content: space-between;
  width: min(100%, 500px);
  height: 50px;
  min-height: 50px;
  gap: 10px;
}
.each-content-button {
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  gap: 8px;
  border-radius: 5px;
  background-color: teal;
  font-size: 1.2rem;
  color: white;
  border: none;
  cursor: pointer;
}
.each-content-button:hover {
  background-color: darkcyan;
}
.each-content-button-icon {
  width: 24px;
  min-width: 24px;
}

.each-content-link {
  color: #008080;
  cursor: pointer;
}

.contents-search-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #008080;
}

.no-results-message {
  text-align: center;
  color: #666;
  font-style: italic;
}