html, body {
  margin: 0;
  height: 100%;
  overflow: hidden
}

.sitewrap {
  position: relative;
}

#MainLogo {
    opacity: 0.75;
}

#MainLogo:hover {
    opacity: 1;
}








.artist-selection-popup {
  background: rgb(255,165,0);
  background: linear-gradient(0deg, rgba(255,165,0,1) 0%, rgba(255,218,0,1) 100%);
  border: 4px solid goldenrod;
  border-radius: 10px;
  width: 40vw;
  height: auto;
  position: absolute;
  left: 50%;
  top: 45%;
  margin-top: -10vh;
  margin-left: -20vw;
  box-shadow: 0px 0px 10px  black;
  display: none;
}

.artist-selection-popup h1 {
  position: relative;
  margin: 5%;
  text-align: left;
  font-size: 2vw;
  font-weight: bold;
  
}

#popup-input-buttons {
  position: relative;
  border: hidden;
  margin: 3%;
  text-align: center;
  font-size: 1.6vw;
}

#submitButton {
  margin-left: 2%;
  border-radius: 10px;
  font-weight: bold;
  background-color: black;
  color: white;
}
#submitButton:hover {
  background-color: rgb(63, 63, 63);
  color: white;
}

#html-artist-input {
  border-radius: 10px;
  width: 25vw;
}

#formCloseBtn {
  position: absolute;
  top: 1%;
  right: 1%;
  border: none;
  color: black;
  background-color: transparent;
  font-weight: bold;
}






#filters-popup{
  background: rgb(255,165,0);
  background: linear-gradient(0deg, rgba(255,165,0,1) 0%, rgba(255,218,0,1) 100%);
  border: 4px solid goldenrod;
  border-radius: 10px;
  width: 30vw;
  height: auto;
  position: absolute;
  right: 1%;
  bottom: 10%;
  display: none;
  z-index: 4;
}

#formCloseBtn2 {
  position: absolute;
  top: 1%;
  right: 1%;
  border: none;
  color: black;
  background-color: transparent;
  font-weight: bold;
}

#filters-popup h1 {
  position: relative;
  margin-left: 5%;
  margin-top: 2%;
  margin-right: 15%;
  text-align: left;
  font-size: 2.2vw;
  font-weight: bold;
}

#filter-inputs {
  display: flex;
  margin: 5%;
  flex-direction: column;
  justify-content: center;
}

#filters-apply {
  margin-left: 5%;
  border-radius: 10px;
  font-weight: bold;
  background-color: black;
  color: white;
}









.main-menu-container {
  /* border: solid 1px greenyellow; */
  display:flex;
  width: 100%;
  height: auto;
  align-items: center;
  background: rgb(0,0,0);
  background: linear-gradient(180deg, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.30) 50%, rgba(255,255,255,0) 100%);
  font-family: Roboto;
  font-size: 2vmax;
  z-index: 3;
  position: relative;
}

.genres {
    /* border: solid 1px red; */
    padding-top: 1vh;
    height: auto;
    margin-right: 15px;
    overflow-x: hidden;
    white-space:nowrap;
    cursor: grab;
}

.main-menu-container button {
  margin-top: 10px;
  margin-left: 10px;
  border: none;
  color: white;
  background-color: transparent;
  outline: none;
  font-weight: bold;
  opacity: 0.75;
}

.main-menu-container button:hover {
  color: rgb(255, 217, 0);
  opacity: 1;
}

.main-menu-container img {
  margin: 10px;
  width: auto;
  height: 6.5vmax;
  cursor: pointer;
}








.bottom-bar {
  /* border: solid 1px gold; */
  height: 5vw;
  width: 98%;
  bottom: 0px;
  z-index: 3;
  position: absolute;
  display: flex;
  align-items: center;
  margin-bottom: 1%;
  margin-left: 1%;
  margin-right: 1%;
  justify-content: space-between;
}

.now-playing {
  /* border:  solid 1px  green; */
  opacity: 0.75;
  position: relative;
  height: 100%;
  width: 70%;
  display: flex;
  /* justify-content: flex-start; */
  align-items: center;
}

.now-playing:hover {
    opacity: 1;
}

#ytlogo {
  cursor: pointer;
  display: inline;
  height: 100%;
}

#track-info {
  /* border: solid 1px pink; */
  display: flex;
  flex-direction: column;
  align-items: left;
  /* vertical-align: middle; */
  position: relative;
  height: 100%;
  width: 100%;
  margin: 1%;
  padding-left: 1%;
  justify-content: center;
}

#track-title {
  cursor: pointer;
  font-weight: bold;
  /* position: relative; */
  /* line-height: 1; */
}

#artist-name {
  cursor: pointer;
  font-weight: 200;
  /* position: relative; */
  /* line-height: 1; */
}

.volume {
  /* border: solid 1px blue; */
  height: 100%;
  width: 30%;
  cursor: pointer;
  opacity: 0.75;
  margin-right: 5px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.volume:hover {
  opacity: 1;
}

#volumeSlider {
  position: relative;
  cursor: grab;
  width: auto;
  margin-right: 10px;
}

#mutebutton {
  position: relative;
  cursor: pointer;
  height: auto;
  margin-right: 10px;
}

#filtersButton {
  cursor: pointer;
  position: relative;
  height: auto;
}



/* Variable Sizing for elements */
/* Under 900 px */
@media only screen and (max-width: 900px) {
  .main-menu-container {
    font-size: 3vw;
  }
  .main-menu-container img {
    height: 10vw;
  }
  #track-title {
    font-size: 2vw;
  }
  #artist-name {
    font-size: 2vw;
  }
  #mutebutton {
    width: 4vw;
  }
  #filtersButton {
    width: 3.5vw;
  }
  .bottom-bar {
    height: 7vw;
  }
}

/* Over 900px */
@media only screen and (min-width: 900px) {
  .main-menu-container {
    font-size: 1.8vw;
  }
  .main-menu-container img {
    height: 6vw;
  }
  #track-title {
    font-size: 1.5vw;
  }
  
  #artist-name {
    font-size: 1.5vw;
  }
  #mutebutton {
    width: 1.8vw;
  }
  #filtersButton {
    width: 1.8vw;
  }
  .bottom-bar {
    height: 5vw;
  }
}






/* Player Sizing */

@media all and (max-aspect-ratio: 3840/2160) { 

#playersize {
    top: -2px;
    bottom: -2px;
    position: absolute;
    left: 50%;
    width: 3000px;
    margin-left: -1500px;
    z-index: -1;
    }
}   
    
@media all and (min-aspect-ratio: 3840/2161) { 
    
#playersize {
    left: -2px;
    right: -2px;
    position: absolute;
    top: 50%;
    height: 3000px;
    margin-top: -1500px; 
    z-index: -1;
    }   
}


/* VOLUME BAR */

input[type=range] {
    width: 100%;
    margin: 5.3px 0;
    background-color: transparent;
    -webkit-appearance: none;
  }
  input[type=range]:focus {
    outline: none;
  }
  input[type=range]::-webkit-slider-runnable-track {
    background: #ffd900;
    border: 0;
    border-radius: 14.7px;
    width: 100%;
    height: 8.4px;
    cursor: pointer;
  }
  input[type=range]::-webkit-slider-thumb {
    margin-top: -5.3px;
    width: 19px;
    height: 19px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 9px;
    cursor: pointer;
    -webkit-appearance: none;
  }
  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ffde1f;
  }
  input[type=range]::-moz-range-track {
    background: #ffd900;
    border: 0;
    border-radius: 14.7px;
    width: 100%;
    height: 8.4px;
    cursor: pointer;
  }
  input[type=range]::-moz-range-thumb {
    width: 19px;
    height: 19px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 9px;
    cursor: pointer;
  }
  input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 6.3px 0;
    color: transparent;
    width: 100%;
    height: 8.4px;
    cursor: pointer;
  }
  input[type=range]::-ms-fill-lower {
    background: #e0bf00;
    border: 0;
    border-radius: 29.4px;
  }
  input[type=range]::-ms-fill-upper {
    background: #ffd900;
    border: 0;
    border-radius: 29.4px;
  }
  input[type=range]::-ms-thumb {
    width: 19px;
    height: 19px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 9px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
  }
  input[type=range]:focus::-ms-fill-lower {
    background: #ffd900;
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #ffde1f;
  }
  /*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
  how to remove the virtical space around the range input in IE*/
  @supports (-ms-ime-align:auto) {
    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    input[type=range] {
      margin: 0;
      /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
  }


  input[type=range] {
    width: 100%;
    margin: 5.3px 0;
    background-color: transparent;
    -webkit-appearance: none;
  }
  input[type=range]:focus {
    outline: none;
  }
  input[type=range]::-webkit-slider-runnable-track {
    background: #ffd900;
    border: 0;
    border-radius: 14.7px;
    width: 100%;
    height: 8.4px;
    cursor: pointer;
  }
  input[type=range]::-webkit-slider-thumb {
    margin-top: -5.3px;
    width: 19px;
    height: 19px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 9px;
    cursor: pointer;
    -webkit-appearance: none;
  }
  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ffde1f;
  }
  input[type=range]::-moz-range-track {
    background: #ffd900;
    border: 0;
    border-radius: 14.7px;
    width: 100%;
    height: 8.4px;
    cursor: pointer;
  }
  input[type=range]::-moz-range-thumb {
    width: 19px;
    height: 19px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 9px;
    cursor: pointer;
  }
  input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 6.3px 0;
    color: transparent;
    width: 100%;
    height: 8.4px;
    cursor: pointer;
  }
  input[type=range]::-ms-fill-lower {
    background: #e0bf00;
    border: 0;
    border-radius: 29.4px;
  }
  input[type=range]::-ms-fill-upper {
    background: #ffd900;
    border: 0;
    border-radius: 29.4px;
  }
  input[type=range]::-ms-thumb {
    width: 19px;
    height: 19px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 9px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
  }
  input[type=range]:focus::-ms-fill-lower {
    background: #ffd900;
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #ffde1f;
  }
  /*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
  how to remove the virtical space around the range input in IE*/
  @supports (-ms-ime-align:auto) {
    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    input[type=range] {
      margin: 0;
      /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
  }
