.video-js.my-neon-skin {
  width: auto;
  max-width: 100%;
  max-height: 100vh;
  aspect-ratio: 16 / 9;
  background-color: #111;
  color: #00f0ff;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.video-js.my-neon-skin video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Control bar styling */
.video-js.my-neon-skin .vjs-control-bar {
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 1px solid #00f0ff;
}

.video-js.my-neon-skin .vjs-play-progress,
.video-js.my-neon-skin .vjs-volume-level {
  background-color: #00f0ff;
}

.video-js.my-neon-skin .vjs-load-progress div {
  background: rgba(0, 240, 255, 0.2);
}

.video-js.my-neon-skin .vjs-slider {
  background: rgba(255, 255, 255, 0.2);
}

/* Big play button */
.video-js.my-neon-skin .vjs-big-play-button {
  background-color: rgba(0, 240, 255, 0.3);
  border: 1px solid #00f0ff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% 60%;
  font-size: 0;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: 10;
}

.video-js.my-neon-skin .vjs-big-play-button:before {
  display: none;
}

/* Fullscreen container (Video.js player wrapper) */
.video-wrapper:fullscreen,
.video-wrapper:-webkit-full-screen {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  overflow: hidden !important;
  text-align: center;
  flex-wrap: nowrap;
}

.video-three-quarter:fullscreen,
.video-three-quarter:-webkit-full-screen {
  flex: none !important; /* reset flex sizing */
  width: auto !important;
  height: auto !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  display: block !important;
  margin: auto !important;
}


/* Fullscreen video element */
.video-js.my-neon-skin video:fullscreen,
.video-js.my-neon-skin video:-webkit-full-screen {
  max-width: 100vw !important;
  max-height: 100vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: auto !important;
  display: block !important;
  float: none !important;
}

.video-three-quarter video {
  width: 100% !important;
  height: auto !important;
  max-height: 100vh !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.video-three-quarter,
.video-wrapper {
  float: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

.video-wrapper:fullscreen,
.video-wrapper:-webkit-full-screen,
.video-js:fullscreen,
.video-js:-webkit-full-screen,
.video-three-quarter:fullscreen,
.video-three-quarter:-webkit-full-screen {
  background-color: #000 !important;
}


/* Non-fullscreen fallback */
.video-js.my-neon-skin:not(:fullscreen):not(:-webkit-full-screen) {
  width: 100%;
  aspect-ratio: 16 / 9;
}
