html {
  scroll-behavior: smooth;
}

body {
  width: 90%;
  margin: 0;
  background: #252323;
  color: white;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 90%;
  /* max-width: 1800px; */
  margin-top: 15px;
}

.video-container {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(6, 209, 228, 0.8);
  background: black;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

button {
  padding: 10px;
  /*background: #a2a977;*/
  background: #4e5043;
  border: 5px solid #71a6b9;
  color: #eee;
  cursor: pointer;
  border-radius: 15px;
  transition: 0.8s;
  font-size: 0.9em;
  font-weight: bold;
}

button:hover {
  background: #007bff;
  border-color: #007bff;
}

#title {
  margin-top: 0px;
  padding: 15px;
  background: #111;
  border-radius: 15px;
  font-size: 1.4em;
  font-weight: bold;
  color: #e6f1aa;
  text-align: center;
}

#system-display {
  margin-top: 20px;
  padding: 15px;
  background: #111;
  border-radius: 15px;
  font-size: 0.9em;
  color: #ffffff;
}

#status-display {
  margin-top: 20px;
  padding: 15px;
  background: #111;
  border-radius: 15px;
  font-size: 0.9em;
  color: #f6f0f0;
}

.codec-tag {
  font-size: 1em;
  background: #333;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 5px;
  vertical-align: middle;
}

.switch-tag {
  font-size: 1em;
  background: #333;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 5px;
  vertical-align: middle;
}

#highlights {
  width: 80%;
  padding: 15px;
  color: #ffffff;
  font-family: sans-serif;
  font-size: small;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shaka-settings-button {
  width: auto !important;
  display: flex !important;
  align-items: center !important;
}

.shaka-current-selection-span {
  display: inline-block !important;
  color: #ff0000 !important;
  font-weight: bold;
  margin-left: 5px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ff0000;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #03ab03;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#switches {
  font-size: 1em;
  color: #ffffff;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 20px;
  margin-right: 20px;
  vertical-align: middle;
  border-radius: 15px;
  align-items: center;
}

#myControls {
  margin-top: 20px;
  padding: 15px;
  background: #111;
  border-radius: 15px;
  font-size: 0.9em;
  color: #f6f0f0;
  align-items: center;
  text-align: center;
}

#myButtons {
  margin-top: 20px;
  padding: 15px;
  background: #111;
  border-radius: 15px;
  font-size: 0.9em;
  color: #f6f0f0;
  align-items: center;
  text-align: center;
}

.shaka-spinner-container {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.shaka-spinner-svg {
  width: 15% !important;
  height: 15% !important;
}

.shaka-hidden {
  display: none !important;
}

.shaka-spinner-path {
  stroke: #d4af37 !important;
  stroke-width: 3px !important;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.shaka-spinner-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 10;
}

@keyframes shaka-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.shaka-spinner-svg {
  animation: shaka-rotate 1.5s linear infinite !important;
}
.swiper {
  width: 100%;
  padding: 50px 0;
}

.swiper-slide {
  width: 300px;
  transition: transform 0.6s;
  position: relative;
}

.swiper-slide:hover {
  transform: scale(1.1);
  z-index: 10;
}

.swiper-slide img {
  width: 100%;
  border-radius: 10%;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.swiper-pagination-bullet {
  background: #fff;
}
