body{
    background-color: rgb(25,25,25);
    font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
}
#upper{
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    background-color: rgb(15,15,15);
    position: fixed;
    top: 0px;
    left: 0px;
    border-radius: 16px;
    gap: 10px;
    justify-content: left;
    z-index: 1;
}
#logo{
    transform: scale(0.9);
}
.colorfulText{
    background-clip: text;
    background: linear-gradient(rgb(255, 96, 247),rgb(90, 228, 255));
    color: transparent;
    background-clip: text;
}
#left{
    position: fixed;
    height: 100%;
    width: 50px;
    background-color: black;
    top: 0px;
    left: 0px;
    background-color: rgb(15,15,15);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#center{
    position: fixed;
    top: 100px;
    left: 50px;
    width: calc(100% - 50px);
    height: calc(100% - 100px);
}
#player_wrapper{
    position: absolute;
    width: 100%;
    height: calc(100% - 25px);
    top: 25px;
    left: 0px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    justify-content: center;  /* centers player horizontally */
    align-items: center; 
}
#player{
    height: calc(100% - 50px);
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    position: relative;
}
#ratePanel{
    position: relative;
    width: 75px;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}
.btn-trans{
    background-color: transparent;
    aspect-ratio: 1 / 1;
    width: 75px;
    height: 75px;
    border: none;
    border-radius: 8px;
    background-color: rgb(0,0,0,.1);
    transition: all .2s ease;
    filter: invert(0%);
    user-select: none;
}
.btn-trans:hover{
    transform: scale(1.1);
}
.btn-trans:active{
    transform: scale(0.8);
}
.btn-trans:active img{
    filter: invert(100%);
}
.btn-trans img{
    pointer-events: none;
    max-width: 100%;
    max-height: 100%;
}
#title{
    color: white;
    position: absolute;
    bottom: 0px;

}
#video{
    background-color: black;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    transition: all .5s ease;
    top: 0px;
}
#video2{
    background-color: black;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    top: calc(0% + 0px);
    transition: all .5s ease;
}
#video3{
    background-color: black;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    top: calc(0px + 0px);
    transition: all .5s ease;
}
#videoinfo{
    width: calc(100% - 10px);
    min-height: 10vh;
    height: fit-content;
    position: absolute;
    bottom: 0px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding-left: 10px;
    color: white;
    font-size: 1.5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.current {
  transform: translateY(0);
}
.above {
  transform: translateY(-100%);
}
.below {
  transform: translateY(100%);
}
.max{
    position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;
}
.hidden{
    display: none !important;
}
#videos{
    padding: 100px;
    color: rgb(203, 203, 203);
    display: flex;
    flex-direction: column;
    width: calc(100% - 200px);
    height: calc(100% - 200px);
    user-select: none;
}
#vlist {
    padding: 10px;
    
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(200px,40%), 1fr));
    gap: 10px;
    grid-auto-rows: 1fr;
}
#vlist-wrapper{
    flex-grow: 1;
    border-radius: 16px;
    background-color: rgb(0,0,0,.2);
}

.videoElement {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
}

.videoElement {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: rgb(0,0,0,.2);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: all .3s ease;
}
.videoElement h2{
    position: absolute;
    bottom: 0px;
    width: 90%;
    backdrop-filter: blur(8px);
    line-height: 40px;
    padding-left: 10px;
    user-select: none;
    pointer-events: none;
}
.videoElement video{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    pointer-events: none;
}
.videoElement:hover{
    transform: scale(0.95);
}
.videoElement:active{
    transform: scale(0.9);
}
.goback{
    position: absolute;left: 50px;top: 100px;width: 75px;height: 75px;
    background-color: rgba(0,0,0, 0.1);
    border-radius: 16px;
    border: none;
    z-index: 1;
    transition: all .3s ease;
}
.goback:hover{
    background-color: rgba(255, 255, 255, 0.1);
}
.goback:active{
    transform: scale(0.9);
}
.goback img{
    pointer-events: none;
    width: 100%;
    background-color: transparent;
}
#user{
    position: absolute;
    width: 20%;
    height: 100%;
    background-color: rgb(0,0,0,.2);
    right: 0px;
    min-width: 250px;
    max-width: 300px;
    color: rgb(203, 203, 203);
    display: flex;
    justify-content: center;
    align-items: center;
}
#vDesc{
    text-align: center;
    line-height: normal !important;
    margin: 0;
    padding: 0;
}
#vTitle{
    text-align: center;
}

@media only screen and (max-width: 600px) {
  #left {
    width: 0px;
  }
  #videos{
    padding-left: 10px;
    width: 100%;
  }
  .goback{
    left: 0px;
  }
  #player{
    height: auto;
    width: 100%;
  }
  #textlogo{
    display: none;
  }
  
}