@font-face {
    font-family: 'gothambook';
    src: url('/assets/tv/gotham_book_regular-webfont.woff2') format('woff2'),
        url('/assets/tv/gotham_book_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap');

body {
    font-family: "gothambook" !important;
    font-size: 99px;
    margin: 0 !important;
    display: block;
    border: none;
    /*background: lightgray;*/
    /*background: #333333;*/
    background: black;

    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    position: absolute;
    top: 50%;
    left: 50%;

    /* Swap the width and height */
    width: 100vh;
    /* The wrapper width matches the physical screen's height */
    height: 100vw;
    /* The wrapper height matches the physical screen's width */

    /* Center it, then rotate it.
       Change to rotate(90deg) if your TV is mounted the other way */
    transform: translate(-50%, -50%) rotate(90deg);

    /* Ensure content inside doesn't spill out */
    overflow: hidden;
}

.portrait {
    /*width: 100vh;*/
    /*transform: translateY(100vh) rotate(-90deg);*/
    /*transform-origin: top left;*/
    /*transform: translateY(100vh) rotate(90deg);*/
    /*transform-origin: bottom right;*/
}

body.landscape {
    width: 100vw;
    height: 100vh;
    transform: none;
    position: static;
}

.sf-toolbar {
    display: none !important;
}

.landscape .stations-area {
    margin-top: 10%;
}

.landscape .reverse .area1 {
    padding: 15% 4%;
    text-align: center;
}

.glow {
    /*color: grey;*/
    color: white;
}

.current-video {
    background: white;
}

.workout {
    position: relative;
    width: 100%;
    padding: 13px 0;
}

.stations-area {
    position: relative;
}

.column {
    float: left;
    width: 50%;
    /*background: lightgrey;*/
    color: white;
    padding-bottom: inherit;
}

.column.reverse {
    /*background: lightgrey;*/
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.portrait #counter-start {
    margin-top: 75% !important;
}

#counter-start {
    font-size: 4rem;
    /*color: grey;*/
    /*color: #6E6253;*/
    color: white;
    margin-top: 25%;
    position: relative;
}

#time {
    font-size: 48px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
}

.next {
    color: #6E6253;
    font-size: 40px;
}


.glow.current {
    /*font-size: 2.4rem;*/
    font-size: 1rem;
    font-weight: bold;
}

.glow.next {
    font-size: 10rem;
    text-transform: uppercase;
}

.center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.hide {
    display: none;
}

.start,
.end {
    width: 100%;
    margin: auto;
    text-align: center;
    margin-top: 20%;
}

.start {
    margin-top: 0% !important;
}

.btn-start,
.btn-end {
    /*font-size: 2rem;*/
    /*padding: 1% 10%;*/
    font-size: 1rem;
    padding: 1% 7%;
    background: #6E6253;
    color: white;
}

.portrait .btn-end {
    margin-top: 50%;
}

.block {
    width: 1%;
    height: 30px;
    background-color: darkred;
}

.info-bar {
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    position: absolute;
    width: 100%;
    padding: 10px 0;
    font-weight: 700;
    background: linear-gradient(90deg, #000000, #222);
    border-bottom: 7px solid #6E6253;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 10px;
    color: #6E6253;
    display: block;
}

.timer {
    position: relative;
    margin: auto;
    width: 100%;
    height: auto;
    margin-top: 0;
    z-index: 1000;
    text-align: center;
    background: linear-gradient(90deg, #000000, #222);
    border-bottom: 7px solid #6E6253;
    padding: 10px 0;
}

.timer span {
    color: #4CAF50;
    /*background: grey;*/
    /*background: #6E6253;*/
    padding: 0 40px;
    font-size: 2rem;
}

.pod {
    margin: 13px 0;
    font-size: 2.2rem;
    font-weight: bold;
    /*background: grey;*/
    /*color: white;*/
    background: #6E6253;
    color: white;
    position: absolute;
    z-index: 1000;
    /*width: 110px;*/
    padding: 8px 15px;
    height: auto;
    text-align: center;
    border-radius: 5px;
}

.pod.left {
    left: 0;
}

.pod.right {
    right: 0;
}


.center-logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), to(rgba(250, 250, 250, 0.1)));
}

body.black {
    background: black;
}

.chart {
    /*background: rgba(255, 255, 255, 0.1);*/
    justify-content: flex-start;
    border-radius: 100px;
    align-items: center;
    position: relative;
    padding: 0 0;
    display: flex;
    height: 25px;
    width: 100%;
}

.chart span {
    /* You can modify the value below to change the distance between the percentage number and the bar */
    margin-left: 5px;
    color: #fff;
    font-weight: bolder;
}

.bar {
    animation: load 3s normal forwards;
    box-shadow: 0 10px 40px -10px #fff;
    border-radius: 4%;
    background: green;
    height: 25px;
    width: 0;
}

:root {
    --progress-bar-width: 0%;
}

@keyframes load {
    0% {
        width: 0;
    }

    100% {
        width: var(--progress-bar-width);
    }
}

.lSSlideOuter:has(#light-slider) {
    width: 100%;
    margin: auto;
    text-align: center;
    margin-top: -5%;
}

body.landscape .lSSlideOuter:has(#light-slider) {
    margin-top: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 10;
}

body.landscape #light-slider li {
    width: 100vw !important;
    height: 100vh !important;
    position: relative;
    overflow: hidden;
}

body.landscape #light-slider li>small {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

body.landscape #light-slider li>img:not([src*="Lane_X_Logo"]),
body.landscape #light-slider li>video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: fill !important;
    max-width: none !important;
    max-height: none !important;
    z-index: 1;
}

body.landscape #slide-start-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: black;
    width: 100vw !important;
    height: 100vh !important;
}

.lSSlideOuter:has(#light-slider2) {
    margin-top: 13%;
}

.lSPager {
    display: none;
}

.full-screen-media .column:not(.hide) {
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center;
    /* 100vw is the physical screen height due to the 90deg rotation.
       We subtract approx 230px to leave room for the timer at the top. */
    height: calc(115vw - 230px) !important;
    margin-top: 0 !important;
    width: 100% !important;
    overflow: hidden;
}

body.landscape .full-screen-media .column:not(.hide) {
    height: calc(100vh - 60px) !important;
    /* width: 90% !important; */
    margin: 0 auto !important;
    float: none !important;
}

/* Ensure workout rows inside the column shrink and center properly, respecting .hide */
.full-screen-media .column .workout:not(.hide) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    min-height: 0;
    padding: 0 0;
}

.full-screen-media .column .area1 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-screen-media .column .current-video,
.full-screen-media .column .next-video {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

/* Constrain video/img size so they never overflow the container */
.full-screen-media .column img,
.full-screen-media .column video {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* Landscape workout stretching */
body.landscape.is-workout .full-screen-media .column:not(.hide) {
    width: 100vw !important;
    height: calc(100vh - 85px) !important;
    margin: 0 !important;
    max-width: none !important;
}

body.landscape.is-workout .full-screen-media .column img,
body.landscape.is-workout .full-screen-media .column video {
    width: 100vw !important;
    height: 100% !important;
    object-fit: fill !important;
    max-width: none !important;
    max-height: none !important;
}

body.portrait.is-workout .current-video {
    background: black !important;
}

/* Global Video Loader */
#global-video-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

#global-video-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #6E6253;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    color: white;
    font-family: "Poppins", sans-serif;
    margin-top: 20px;
    font-size: 24px;
    letter-spacing: 2px;
}