.search-bar {
 margin-bottom: 20px;
}

.search-bar input {
 width: 100%;
 padding: 10px;
 border-radius: 5px;
 border: none;
 background-color: #333;
 color: #fff;
 font-size: 16px;
 box-sizing: border-box;
}

.card-info {
 display: flex;
}

.info {
 width: 70%;
 padding: 1rem;
 display: flex;
 justify-content: center;
 flex-direction: column;
 flex-wrap: wrap;
}

#animeTitle {
 font-size: 36px;
 font-weight: bold;
 margin-bottom: 20px;
 color: #ffffff;
}

#animeCover {
 margin: 1rem;
 max-width: 100%;
 height: 26rem;
 margin-bottom: 20px;
 border-radius: 5px;
}

#animeGenres {
 font-size: 16px;
 margin-bottom: 20px;
 color: #ffffff;
}

#animeSynopsis {
 font-size: 16px;
 line-height: 1.5;
 margin-bottom: 20px;
 color: #ffffff;
}

.episode-list {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-around;
 margin: 1rem;
}

.episode-item {
 flex-basis: calc(33.33% - 20px);
 margin-bottom: 20px;
}

.episode-item a {
 text-decoration: none;
 color: #ffffff;
 display: block;
}

.episode-item img {
 max-width: 88%;
 height: auto;
 margin-bottom: 10px;
 border-radius: 5px;
 transition: transform 0.3s ease;
}

.episode-item p {
 font-size: 16pt;
 line-height: 1.3;
 margin: 0;
 color: #ffffff;
}

.episode-item img:hover {
 transform: scale(1.03);
}

/* Media queries for responsiveness */

@media screen and (max-width: 768px) {
 .navbar {
  padding: 10px 0;
 }

 .navbar .logo {
  margin-bottom: 10px;
 }

 .navbar ul {
  flex-wrap: wrap;
 }

 .navbar li {
  margin-right: 10px;
  margin-bottom: 10px;
 }

 .card-info {
  display: flex;
  justify-content: center;
  flex-direction: column;
 }

 .info {
  width: 95%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
 }

 .anime-card {
  margin-right: 10px;
 }

 .episode-item {
  flex-basis: calc(54.33% - 20px);
 }

 .episode-item img {
  max-width: 100%;
  margin-bottom: 8px;
 }

 .episode-item p {
  font-size: 13pt;
  line-height: 1.3;
  margin: 0;
  color: #ffffff;
 }
}

/* Estilos do botão de favoritar */

#favoriteButton {
 padding: 10px 20px;
 font-size: 16px;
 border: none;
 border-radius: 5px;
 background-color: #b405d3;
 color: #fff;
 cursor: pointer;
 transition: background-color 0.3s ease;
}

#favoriteButton:hover {
 background-color: #d900ff;
}

#favoriteButton:active {
 background-color: #a804c5;
}