:root {
  --color-red: #e21818;
  --paper: #fffffa;
}

body {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  background-color: #000;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input__wrap {
  display: flex;
  align-items: center;
  column-gap: 2rem;
  height: 7vh;
  margin-bottom: 2rem;
}

input {
  height: 40px;
  background: transparent;
  border: 0.5px solid #fff;
  border-radius: 5px;
  color: #fff;
}

input::placeholder {
  color: #fff;
}

select {
  height: 40px;
  background: #000;
  color: #fff;
  border-radius: 5px;
}

.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  row-gap: 2rem;
  column-gap: 1rem;
}

.episode__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  border-radius: 15px;
}

.episode__info {
  margin-top: 1rem;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.episode__info p {
  margin-top: 1rem;
}

.episode__info img:hover {
  opacity: 0.7;
  transition: opacity 0.5s ease-in-out;
}

img {
  height: fit-content;
  border-radius: 5px;
  cursor: pointer;
}

h1 {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: fit-content;
}

h2 {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

h1:hover,
h2:hover {
  color: var(--color-red);
}

#read-more-button {
  cursor: pointer;
  width: fit-content;
}

#read-more-button:hover {
  color: var(--color-red);
}

.props {
  border: 1px solid grey;
  width: 70%;
  height: 70%;
  padding: 1rem;
}

.pagination .page-link.active {
  background-color: var(--color-red);
  color: #fff;
}

.pagination .page-link {
  color: #000;
  border: unset;
}

.show__container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.each__show {
  padding: 2rem;
}

.show__wrap {
  display: grid;
  grid-template-columns: 70% 30%;
  column-gap: 4rem;
}

.content__wrap {
  display: flex;
  column-gap: 1rem;
}

.hidden {
  display: none;
}

.navbar {
  display: flex;
  justify-content: center;
}

.pagination__pages {
  display: flex;
}

.page-link:hover {
  opacity: 0.9;
}

/* Carousel style */
.carousel {
  margin: 2rem;
  position: relative;
  max-width: 1200px;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  flex-wrap: nowrap;
  width: fit-content;
  transition: transform 0.5s ease-in-out;
  margin-left: 4rem;
  max-width: 1100px;
}

.carousel-container img {
  width: 200px;
  height: auto;
  margin: 0 10px;
}

.carousel-container img:hover {
  opacity: 0.7;
  transition: opacity 0.5s ease-in-out;
  cursor: pointer;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background-color: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  padding: 10px;
}

.prev-btn:hover,
.next-btn:hover {
  color: #e21818;
}

.prev-btn {
  left: 0;
}
.next-btn {
  right: 0;
}

/* Play button animation */
.image__container {
  position: relative;
  display: block;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.image__container:hover {
  opacity: 0.8;
  transition: all 0.5s ease-in-out;
}

.play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.play-circle:hover {
  color: #e21818;
}

.play-circle i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image__container:hover .play-circle {
  opacity: 1;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--paper);
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}
/* ======================== */

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 3rem;
  height: 150px;
  border-top: #b2b2b2 solid 1px;
  row-gap: 1rem;
  text-align: center;
}

.footer__img {
  width: 101.3px;
  height: 32px;
  background: #fff;
}
.footer__img:hover {
  opacity: 0.7;
  transition: all 0.3s ease-in;
}

.footer__img img {
  height: 100%;
  width: 100%;
}

a {
  color: #fff;
  text-decoration: none;
}
.github:hover {
  color: #e21818;
}
