body {
    margin: 0;
    background-color: rgb(31, 31, 31);
    color: white;
    height: 100%;
}

a {
    color: rgb(226, 45, 0);
    text-decoration: none;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(50, 50, 50);
    color: white;
    cursor: pointer;
    border: 1px solid orange;
    border-radius: 12px;
    padding: 8px;
    font-weight: bold;
}

input:focus {
    outline: none;
    border: 2.5px solid orange;
}

.leftButton {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.rightButton {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

button:hover {
    color: orange;
}

.active {
    color: orange;
}

.loginDiv {
    display: none;
    position: fixed;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3vh;
    width: 30%;
    height: 30%;
    top: 30%;
    right: 35%;
    bottom: 40%;
    left: 35%;
    background: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid orange;
    border-radius: 20px;
}

.loginInputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: right;
    font-size: 2.5vh;
    margin-top: 3vh;
    width: 100%;
}

.loginInput {
    display: flex;
    flex-direction: row;
    margin-bottom: 2vh;
    width: 100%;
}

.nameInputLabel {
    display: flex;
    align-items: center;
    justify-content: right;
    width: 40%;
    margin-right: 0.6vw;
    padding-top: 1vh;
}

.loginTextfield {
    width: 60%;
}

.loginTextfield>input {
    height: 80%;
    border-radius: 10px;
    padding-left: 0.2vw;
    font-weight: bold;
}

.tooltip {
    position: relative;
    display: inline-block;
    color: orange;
}

.tooltip .tooltipText {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltipText::after {
    content: '';
    position: absolute;
    top: 100%; 
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltipText {
    visibility: visible;
    opacity: 1;
}

.infoIcon {
    font-size: 3.2vh;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    font-weight: bolder;
    font-family: 'Courier New', Courier, monospace;
}

.verificationSendButton {
    font-size: 60%;
    width: 16%;
    font-weight: bolder;
}

.serverList {
    display: flex;
    position: fixed;
    flex-direction: row;
    width: 100%;
    height: 6vh;
    border-bottom: solid  1px orange;
    background-color: rgb(0, 0, 0);
}

.server {
    display: flex;
    justify-content: center;
    width: 10%;
    border: solid  1px orange;
    align-items: center;
}

.selectedServer {
    background-color: rgb(50, 50, 50);
    color: orange;
}

.server:hover {
    cursor: pointer;
    background-color: rgb(37, 37, 37);
}

.content {
    display: flex;
    flex-direction: row;
    padding-top: 6vh;
    width: 100%;
    height: 84%;
    padding-bottom: 10vh;
}


.menu {
    display: none;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 100%;
}

.menus {
    position: fixed;
    left: 2%;
    top: 10%;
    width: 32%;
}

.swapButtonDiv {
    display: flex;
    flex-direction: row;
    margin-bottom: 6%;
    font-size: 2.5vh;
}

.queueButtonDiv {
    margin-left: 7.5vw;
    margin-right: 3vw;
}

.queueButtonDiv>button {
    background-color: black;
    font-size: 2.5vh;
}

.swapToQueueButton {
    margin-top: 3vh;
}

.playlistListDiv {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.playlistList {
    margin-left: 2%;
    border: 1px solid orange;
    height: 25vh;
    width: 10vw;
    overflow: scroll;
    background-color: black;
    border-radius: 10px;
}

.playlistNameInputDiv>input{
    width: 80%;
    border-radius: 5px;
    font-weight: bold;
    padding-left: 0.2vw;
    margin: 0;
}

.playlistDiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5vh;
    font-size: 2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
}


.playlistNameDiv {
    width: 80%;
    text-align: left;
    overflow: hidden;
}

.playlistAmountDiv {
    width: 20%;
    text-align: right;
}

.playlistDiv:hover {
    color: orange;
    cursor: pointer;
}

.playlistDiv:nth-child(2n+1) {
    background-color: rgb(39, 39, 39);
}

.playlistDiv:nth-child(2n) {
    background-color: rgb(33, 33, 33);
}

.playlistMenu, .queueMenu {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid orange;
    border-radius: 20px;
    padding: 2vh;
    background-color: black;
}

.playlistMenu {
    display: none;
}

.youtubeInputDiv {
    display: flex;
    flex-direction: row;
    margin-bottom: 4vh;
    width: 100%;
}


.youtubeInputsDiv {
    width: 60%;
}

.youtubeTextfieldDiv {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.youtubeInput, .youtubeInputPlaylist {
    width: 100%;
    height: 3vh;
    border-radius: 5px;
    font-weight: bold;
    padding-left: 0.2vw;
}

.youtubeButtonDiv {
    display: flex;
    justify-content: right;
    align-items: right;
    margin-top: 0.5vh;
    height: 3.5vh;
}

.youtubeButtonDiv>i {
    color: black;
    cursor: default;
}

.checkboxes {
    display: flex;
    flex-direction: column;
    height: 7vh;
    margin-left: 0.5vw;
}

.singularCheckbox {
    display: flex;
    align-items: center;
    height: 50%;
    overflow: hidden;
    white-space: nowrap; 
    text-overflow: ellipsis; 
    user-select: none;
}



.singularCheckbox>input{
    display: flex;
    height: 60%;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    -webkit-appearance: none; /* Remove default styling on WebKit browsers */
    appearance: none; /* Remove default styling on other browsers */
    background-color: #fff;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-right: 0.3vw;
}

.singularCheckbox>input:checked, .singularCheckboxRow>input:checked {
    background-color: orange;
    border: 2px solid white;
}

.playlistInfo {
    display: flex;
    flex-direction: row;
    justify-content: right;
    margin-bottom: 5vh;
    font-size: 2vh;
}

.playlistDropdownDiv {
    display: flex;
    justify-content: left;
    width: 50%;
}

.playlistDropdown {
    background-color: rgb(50, 50, 50);
    color: orange;
    padding: 1vh;
    border-radius: 10px;
    border: 1px solid orange;
    width: 50%;
}

.playlistDropdown>option {
    color: white;
}

.playlistDropdown>option:hover {
    color: orange;
}

.playlistLengthDiv {
    display: flex;
    justify-content: right;
    width: 50%;
}

.playlistLengthNumber {
    color: orange;
    font-size: 2.5vh;
    font-weight: bold;
}

.addPlaylistDiv {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    height: 7vh;
    margin-top: 2vh;
}

.addPlaylistDiv>button {
    height: 5vh;
}

.queueButtons {
    display: flex;
    flex-direction: row-reverse;
}

.queueButtons>button {
    margin-left: 0.5vw;
    margin-right: 0.5vw;
}

.playButtonDiv {
    width: 5%;
    height: 100%;
}

.playButtonDiv>img {
    height: 100%;
}

.playButtonDiv:hover img {
    filter: brightness(80%);
    height: 90%;
}

.queue, .playlist{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    height: 100%;
    margin-right: 1%;
    font-size: 1.8vh;
    height: 84vh;
    overflow: scroll;
    background-color: rgb(31, 31, 31);
}

.playlist {
    display: none;
}

.song {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2vh;
    padding-top: 0.4vh;
    padding-bottom: 0.4vh;
    height: 2.6vh;
    box-sizing: content-box;
}

.song:hover {
    border-bottom: 1px solid orange;
}

.song:nth-child(2n+1) {
    background-color: rgb(39, 39, 39);
}

.song:nth-child(2n) {
    background-color: rgb(33, 33, 33);
}

.playing {
    background-color: rgb(65, 39, 0)!important;
}

.song>div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.songIndex {
    width: 6%;
}

.songTitle {
    width: 60%;
    justify-content: left !important;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.songAddedBy {
    width: 20%;
}

.bold {
    font-weight: bold;
    font-size: 3vh;
}

.removeButtonDiv, .upButtonDiv{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5%;
    height: 100%;
}

.removeButtonDiv>img{
    height: 80%;
    transition: width 0.3s ease;
}

.upButtonDiv>img  {
    height: 100%;
}

.removeButtonDiv:hover img {
    filter: brightness(70%);
    height: 60%;
}

.upButtonDiv:hover img {
    filter: brightness(80%);
    height: 80%;
}

.player {
    display: flex;
    position: fixed;
    flex-direction: row;
    bottom: 0;
    width: 100%;
    z-index: 1;
    height: 10vh;
    border-top: 1px solid orange;
    background-color: black;
    padding-bottom: 0.2vh;
}

.thumbnailDiv {
    display: flex;
    justify-content: center;
    width: 20%;
}

.thumbnail {
    display: none;
    height: 200%;
    transform: translate(0%, -49%);
    border: 1.5px solid orange;
    margin-left: 6vw;
}

.glowing {
    box-shadow: 0 0 0.6vw 0.3vw orange;
}

.notThumbnailDiv {
    display: flex;
    flex-direction: column;  
    width: 60%;
}

.info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 45%;  
    font-size: 3vh;
}

.title {
    text-align: center;
    width: 100%;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.addedBy, .queueLength{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 2.5vh;
    padding-top: 1vh;
    height: 100%;
}

.queueNumber {
    color: orange;
    font-weight: bold;
    font-size: 4vh;
}


.moreInfo {
    display: flex;
    flex-direction: column;
    width: 20%;
}

.controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 55%;
}

.progressBar {
    display: flex;
    position: relative;
    width: 50%;
    height: 1.5vh;
    background-color: #444;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; 
    background-color: #ff0000; 
    border-radius: 4px 0 0 4px; 
}

.duration, .time {
    text-align: center;
    width: 5%;
}

.killButtonEqualizer {
    filter: brightness(0%);
}

.controls>button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5%;
    height: 100%;
    border: none;
    background: none;
}

.controls>button>img {
    height: 100%;
}

.controls>button>img:hover {
    height: 90%;
    filter: brightness(85%);
}



.popupDiv {
    position: fixed;
    top: 80%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
}

.popupDiv>div {
    padding: 0px;
    background-color: rgb(253, 86, 86);
    border: 1px solid black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
}

.dragging {
    opacity: 0.5;
  }
  
.dragHover {
    border-top: 2px solid red;
  }

.dragHunder {
    border-bottom: 2px solid red;
}