.identifier {
  display: flex;
  padding: 1rem 20px;
  margin-top: 2rem;
  border-radius: 16px;
  border: 2px solid #353841;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(90deg, #d8a2835e, #00000000, #0c0d1000);
  position: relative;
  overflow: hidden;
}

.identifier::after {
  content: "";
  width: 3px;
  border-radius: 50px;
  height: 30px;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  background: linear-gradient(180deg, #d5a487, #e49a6f);
}

.identifier svg {
  height: 18px;
  width: 18px;
  fill: #e49a6f;
}

.episodecontainer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.searchEp {
  width: 100%;
  background: #070709;
  height: 56px;
  margin-top: 0.5rem;
  border: 2px solid #353841;
  border-radius: 16px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.searchEp input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: white;
  font-size: 16px;
  font-family: "poppins", sans-serif;
}

.searchEp svg {
  height: 20px;
  width: 20px;
  margin-right: 5px;
  fill: rgb(223, 223, 223);
}

.episodecontainer .selection {
  display: flex;
  align-items: center;
  gap: 5px;
}

.episodecontainer .selection button {
  text-decoration: none;
  background: #070709;
  border: 2px solid #23252b;
  border-radius: 12px;
  padding: 8px 18px;
  font-family: "poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #bbbbbb;
  cursor: pointer;
}

.episodecontainer .selection button.active {
  background: linear-gradient(174deg, #d5a687, #e79a69) !important;
  color: black;
  border: 2px solid #efac87;
}

.episodes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 4fr));
  gap: 1rem;
  margin-top: 1rem;
  max-height: 34rem;
  scrollbar-width: thin;
  scrollbar-color: #d9a383 #0e0f13;
  padding-right: 6px;
  overflow-y: scroll;
}

.episode {
  text-decoration: none;
  color: inherit;
  background: #0f1014;
  padding: 20px;
  height: max-content;
  border-radius: 10px;
  border: 2px solid #25282f;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: "poppins", sans-serif;
  cursor: pointer;
}

.episode:hover {
  background: #191b21;
}

.episode span:first-child {
  font-size: 17px;
  font-weight: 500;
}
.episode span:last-child {
  font-size: 14px;
  color: #6d7483;
}

.watched {
  background: #373a43a6;
  border: 2px solid #ffffff24;
}

.loading {
  background: #0f0f13;
  height: 34rem;
  border-radius: 14px;
  background-image: linear-gradient(90deg, #0f0f13, #353841, #0f0f13);
  background-repeat: no-repeat;
  animation: loading 4s linear infinite;
}

@keyframes loading {
  0% {
    background-position: left -60rem top 0px;
  }
  50% {
    background-position: left 60rem top 0px;
  }
  100% {
    background-position: left -60rem top 0px;
  }
}

@media screen and (max-width: 480px) {
  .episodecontainer {
    flex-direction: column;
  }
  .selection {
    width: 100%;
  }
  .episodecontainer .selection button {
    width: 100%;
  }
}
