body {
  font-family: sans-serif;
  background-color: #f0fdfa;
  color: #333;
  margin: 0;
  padding: 1rem;

}

header,
footer {
  background-color: teal;
  color: white;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

footer {
  margin-top: 2rem;
}

footer a {
  color: #a7f3d0;
}


.controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

#shows-container,
#episodes-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.show-card,
.episode-card {
  background: white;
  border: 1px solid #b2dfdb;
  border-radius: 8px;
  padding: 1rem;
}

img {
  width: 100%;
  max-width: 220px;
  display: block;
  margin: 0 auto 1rem;
  object-fit: cover;
  border-radius: 4px;
}

.show-card img {
  aspect-ratio: 2/3;
}

.episode-card img {
  aspect-ratio: 16/9;
}

button,
select,
input {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  background-color: teal;
  color: white;
  border: none;
  cursor: pointer;
}

[data-show-name] {
  background: none;
  border: none;
  color: teal;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0;
  text-align: left;
}

[data-show-name]:hover {
  text-decoration: underline;
}

[hidden] {
  display: none !important;
}