body{
    background-color: #000000;
    margin: 0;

}
.titleFont {
    font-family: "Rock Salt", cursive;
    font-weight: 400;
    font-style: normal;
  }
.container{
    overflow: hidden;
    position: relative;
    height: vh;
}  
.classicBack{
    width: vw;
    position: absolute;
    inset:-100%;
    background-image: url(img/pngtree-static-tv-noise-2d-90s-png-image_5745251.png);
    z-index: 0;
    opacity: 10%;
    animation: shift 0.2s linear infinite both;
    overflow: hidden;
}
@keyframes shift {
    0%{
        transform:translateX(10%) translateY(10%);
    }
    100% {
        transform: translateX(-10%) translateY(-10%);
    }
}
header {
    background-color:transparent;
    height: 100px;
    top: 0%;
    position: fixed;
    width: 100%;;
    z-index: 20;
}
body{
    margin: 0;
    background-color: #000; /* Black background for contrast */
}
h1{
    position: fixed; /* Stick to the viewport */
    top: 90vh; /* Center vertically in the viewport */
    left: 0; /* Align to the left edge of the screen */
    transform: rotate(-90deg); /* Rotate and center */
    transform-origin: top left; /* Align rotation pivot */
    font-size: clamp(1rem, 8.5vh, 13rem); /* Adjust size responsively */
    color: #ffffff; /* White text for visibility */
    text-shadow: 2px 2px 10px #000000; /* Optional shadow */
    font-family: "Rubik Dirt", system-ui;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap; /* Prevent wrapping */
    z-index: 1000; /* High stacking order to ensure visibility */
}
#indexStatic.animate {
    width: vw;
    position: absolute;
    inset:-100%;
    background-image: url(img/pngtree-static-tv-noise-2d-90s-png-image_5745251.png);
    z-index: 0;
    opacity: 80%;
    overflow: hidden;
    animation:bufferScroll 10s ease forwards;
}
@keyframes bufferScroll {
    0%{
        transform:translateX(10%) translateY(10%);
    }
    10%{
        transform: translateX(-10%) translateY(-10%);
    }
    20%{
        transform:translateX(10%) translateY(10%);
    }
    30%{
        transform: translateX(-10%) translateY(-10%);
        transform: translateY(0);
    }
    100%{
        transform: translateY(-100%);
    }
}

#animatedIndex.animate {
    display: flex;
    animation:moveUp .3s ease forwards;
}
@keyframes moveUp {
    0%{
        
        transform:translateX(10%) translateY(10%);        
    }
    20%{
        
        transform: translateX(-10%) translateY(-10%);
    }
    30%{
        
        transform:translateX(10%) translateY(10%);
    }
    40%{
        transform: translateX(-10%) translateY(-10%);
        transform: translateY(0);
    }
    100%{
        transform: translateY(-100%);
    }
}

nav {
    background-color:transparent;
    color: #ffffff;
    width: 100%;
    text-align: right;
    position: fixed;
    top: 4%;
    font-size: 20px;
    z-index: 2;
    font-family: 'Courier New', Courier, monospace;
}
.nav{
    margin-right: 2vw;
    color: #ffffff;
}
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:hover { text-shadow: 0 0 10px #ecf9ff; 
        animation:hoverNav 1.5s ease-in-out infinite alternate;}
a:active {color: #000000;}
@keyframes hoverNav{
    from{
        text-shadow: 0 0 10px #c0ebff;
    }
    to{
        text-shadow: 0 0 20px #c0ebff,
                    0 0 5px #c0ebff;
    }
}
main {
    background-color: transparent;
    height:100vh;
    color: #9c9999;
    width:100%;
}

#videoContainer {
    position: relative;
    display: flex; /* Enables Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin: 25px; /* Adds 10px margin at the top */
    height: calc(100vh - 50px); /* Full viewport height minus the top margin */
    width: 100%; /* Full viewport width */
}

#mainVideo {
    height: calc(100vh - 50px);
    width: auto;
    object-fit: contain; /* Preserve aspect ratio and fit within container */
    box-shadow: 0 0 30px 15px rgba(0, 0, 255, 0.75); /* Blue glow effect */
    border-radius: 5px; /* Optional rounded corners */
    z-index: 2; /* Ensure it stays above other elements */
}
.videoOverlay {
    position: absolute; 
    bottom: 19px; 
    right: 95px; 
    background: transparent; 
    color: white; 
    padding: 5px 10px; 
    border-radius: 5px; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 25px;
    text-align: right;
}
#videoTitle{
    font-weight: bold;
    text-shadow: 2px 2px 5px #000000;
}
#videoArtist{
    font-weight: normal;
    text-shadow: 2px 2px 5px #000000;
}
#videoControls{
    position: absolute; 
    bottom: -25px; 
    right: 35px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;

}
#videoControls button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 14px;
    width: 40px;
    height: 40px;
}

#videoControls button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}
#videoControls button:active {
    animation: buttonClick 0.5s;
}
@keyframes buttonClick{
    from{
        background-color: rgba(0, 0, 0, 0.7);
        color: black;
    }
    to{
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
    }
}