body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  background-color: #121212;
}

html {
  scrollbar-color: #777 #555;
}

  /* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #5a5959;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #222222;
}

/* -------------------------------- */


.tv-show {
  margin: 70px auto;
}

.tv-show img {
  max-width: 300px;
}

.tv-show h2 {
  margin-top: 0;
  color: #fff;
}

.tv-show p {
  margin: 1px 0;
  color: #fff;
}



.tv-show {
  display: flex;
}

.tv-show img {
  height: 500px; /* Adjust the height as needed */
  width: auto;
  margin-left: 20px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.tv-show-info {
  margin-left: 15px; /* Adjust the margin as needed */
  margin-top: 0%;
}

.tv-show-info h2,
.tv-show-info p {
  margin: 0;
}

.show {
  background-color: #050505;
  color: #fff;
  padding: 20px;
  direction: rtl;
}

/* ----------------------------------- */

.seasons {
  display: flex;
  gap: 200px 20px;;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 30px;
  background-color: #050505; /* Background color */
  padding: 10px; /* Add some padding for spacing */
  direction: rtl;
}

/* ----------------------------------- */

.seasons-list {
  display: grid;
  flex-direction: column;
  justify-content: flex-end;
  position: static;
}

.toggle-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #880808;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 2px;
}

.toggle-button:hover {
  background-color: #690606;
}

/* ----------------------------------- */

.episodes-list {
  flex-wrap: wrap;
  gap: 10px 20px;
  direction: rtl;
  padding: 10px 20px;
}

/* ----------------------------------- */

.dwonload {
  gap: 200px 20px;
  margin-left: 45%;
  margin-right: 45%;
  margin-top: 30px;
  background-color: #050505; /* Background color */
  padding: 10px; /* Add some padding for spacing */
}

.down {
  padding: 2.5px 5px;
}

.video {
  justify-content: center;
  align-items: right;
  border: 3px solid #050505;
  padding: 26px;
  gap: 300px 20px;
  margin-left: 18%;
  margin-right: 18%;
  margin-top: 20px;
  background-color: #141212; /* Background color */
}

.video p {
  direction: rtl;
  color: #fff;
  font-size: 120%;
}

p a {
  color: white;
  text-decoration: none;
}

.video-text {
  margin-bottom: 160px;
}

.video iframe {
  margin-top: 30px;
  margin-left: 5%;
  margin-right: 5%;
}

.dwonload p {
  color: #fff;
  text-align: right;
  margin-top: 1px;
}


.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background-color: #4CAF50;
  color: white;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 50px;
  margin-right: 10px;
  margin-top: 10px;
}

.button:hover {
  background-color: #45a049;
  transform: scale(1.2);
  z-index: 5;
}

.active {
  background-color: green;
}

.hidden {
  display: none;
}


/*-----------------------------*/

.watch-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 28px;
  border: none;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 10px;
  margin-left: 450px;
  margin-top: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.watch-button:hover {
  background-color: #45a049;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.watch-button:active {
  transform: scale(0.95);
}



  #countdown {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 20px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px auto;
    background-color: #121212;
  }

  #countdownProgress {
    position: absolute;
    height: 100%;
    width: 0;
    background-color: #880808;
    transition: width 15s linear;
  }

  #countdowntext {
    text-align: center;
  }

/* ----------------------------------- */

  .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #727270;
    margin-right: 5px;
  }
  
  .dot.watched {
    background-color: #FFFF00;
  }
  
  /*.dot:hover {
    background-color: #FFFF00;
  }*/
  
  .dot-button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
  }

/* ----------------------------------- */

  .parts-list {
    display: grid;
    flex-direction: column;
    justify-content: flex-end;
    position: static;
  }
  
  .toggle-part-button {
    padding: 5px 15px;
    font-size: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 4px;
    border-radius: 10px;
  }
  
  .toggle-part-button:hover {
    background-color: #0056b3;
  }