@font-face {
    font-family: 'Pricedown';
    src: url('fonts/pricedown.otf') format('opentype'),
         url('fonts/pricedown.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* body and html */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background-color: black;
    font-family: 'Pricedown', sans-serif;
}

.video-container video {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    object-fit: contain;
    /* 'contain' ensures the entire video is visible within the container */
}


.video-container video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-container:after {
    content: '';
    z-index: 0;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
}

#info-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* No need for fixed width/height here unless desired */
    width: 80%;
    height: auto;
    z-index: 2;
    color: white;
    /* Remove flex styles since we're using absolute positioning for children */
    text-align: center;
}

/* All .info-box elements share the same absolute position */
.info-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Arial', sans-serif; 
    color: white;
    padding: 15px 25px;
    margin: 0; /* Remove extra margin to avoid shifting */
    border-radius: 5px;
    font-size: 32px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    user-select: none;
}

#info-1 {
    font-family: 'Pricedown', sans-serif;
    font-size: 45px;
    line-height: 1.2;
}

.info-box img {
    max-width: 600px;
    display: block;
    margin: 0 auto 50px;
}

.volume-container {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    /* Initially hidden */
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    cursor: grab;
    /* animation-delay: 0.5s; */
}

  .vslider {
    position: relative;
    display: inline-block;
    height: 36px;
  }
  .vslider * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;
  }
  .vslider_sticks {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
  }
  .vslider_sticks > li {
    position: relative;
    text-indent: -99999px;
    width: 5px;
    margin-right: 3px;
    height: 90%;
    top: 10%;
    float: left;
    display: inline-block;
    background: rgba(0, 0, 0, 0.5);
    
    -webkit-transition: height 60ms ease-out, top 60ms ease-out;
    -moz-transition: height 60ms ease-out, top 60ms ease-out;
    -ms-transition: height 60ms ease-out, top 60ms ease-out;
    -o-transition: height 60ms ease-out, top 60ms ease-out;
    transition: height 60ms ease-out, top 60ms ease-out;
  }
  .vslider_sticks > li:last-child {
    margin-right: 0;
  }
  .vslider_sticks > li.active {
    height: 100%;
    top: 0;
    background: #d41700;
  }
  .vslider_stick {
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    background: #d41700;
    opacity: 1;
    
    -webkit-transition: opacity 50ms ease-out;
    -moz-transition: opacity 50ms ease-out;
    -o-transition: opacity 50ms ease-out;
    -ms-transition: opacity 50ms ease-out;
    transition: opacity 50ms ease-out;
  }

  .credits {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, 0%);
    color: #666666;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    user-select: none;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}