/* Opinionated CSS defaults based on:
  ! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css 
*/

/* This is variables to change for dark mode */

:root{
  --bg1: white;
  --bg2: white;
  --bg3: white;
  --bg4: rgb(243, 243, 243);
  --hovcol: rgb(223, 223, 223);
  --textcol: black;
  --textlight: black;
  --texthov: rgb(160, 160, 160);
  --sectextcol: grey;
  --imgcol: invert(0%);
  --bordercol: lightgrey;
  --hovertrack: rgb(207, 207, 207);
  --green: rgb(47, 175, 85);
  --greenhover: rgb(72, 224, 118);
  --greenactive: rgb(41, 167, 79);
  --red: rgb(248, 97, 97);
  --redhover: rgb(248, 134, 134);
  --redactive: rgb(231, 117, 117);
}

html {
  line-height: 1.2; 
  -webkit-text-size-adjust: 100%; 
}

html, * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, sans-serif;
}

body {
  margin: 0;
  background: var(--bg1);
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box; 
  height: 0; 
  overflow: visible; 
}

a {
  color: rgb(0, 27, 179);
}

a:link {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

pre {
  font-family: monospace, monospace; 
  font-size: 1em; 
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace; 
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

button, input, optgroup, select, textarea {
  font-family: inherit; 
  font-size: 100%; 
  line-height: 1.15; 
  margin: 0; 
}

button, select { 
  text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px; 
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; 
  font: inherit; 
}

[hidden] {
  display: none;
}

::-webkit-scrollbar {
  appearance: none;
  width: 0.7rem;
  background: var(--bg4);
  
}

::-webkit-scrollbar-track {
  appearance: none;
  background: var(--bg4);
  border-radius: 8px;
}

::-webkit-scrollbar-button {
  appearance: none;
  
}

::-webkit-scrollbar-thumb {
  background: grey;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--greenhover);
}

::-webkit-scrollbar-thumb:active {
  background: var(--green);
}
.App {
  text-align: center;
  width: 100%;
}

.hidden {
  display: none;
}
.player {
    border-top: 1px solid var(--bordercol);
    display: grid;
    grid-template-columns: 30% 40% 30%;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg3);
    height: 4rem;
    min-width: 30rem;
    color: var(--textcol);
}

.player > div:first-child > span:first-child {
    cursor: default;
}

.center {
    justify-self: center;
    display: grid;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: stretch;
    text-align: center;
    width: 100%;
}

.right {
    justify-self: right;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.centerContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 2rem;
}

:where(.centerContainer, .right) span {
    cursor: default;
}

.sliderContainer {
    position: relative;
    margin: 0.5em;
    height: 10px;
    width: 100%;
}

.slider {
    appearance: none;
    width: 100%;
    border-radius: 6px;
    --track-progress: 0;
}

.playerButton {
    margin-left: 0.7rem;
    margin-right: 0.7rem;
    border: none;
    height: 1.5rem;
    opacity: 0.9;
    transition: 0.1s;
    cursor: pointer;
    filter: var(--imgcol);
}

.playerButton:hover {
    transform: scale(1.2);
    opacity: 1;
}

.queueButton {
    height: 1.6rem;
    width: 1.1rem;
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 0.7rem;
}

.queueButton div {
    border: none;
    background: grey;
    box-sizing: border-box;
    height: 0.2rem;
    width: inherit;
    border-radius: 6px;
}

.queueButton div:first-child {
    height: 0.4rem;
    background: none;
    border: 2px solid grey;
}

.queueButton:hover div {
    background: rgb(32, 167, 72);
    border: none;
}

.queueButton:disabled div {
    background: rgb(167, 167, 167);
}

.queueButton:disabled div:first-child {
    border: 2px solid rgb(167, 167, 167);
}

.slider::-webkit-slider-runnable-track {
    appearance: none;
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    height: .3rem;
    border-radius: 1rem;
    background: linear-gradient(90deg, var(--textcol) var(--track-progress), var(--bg4) var(--track-progress));
}

.sliderContainer:hover > .slider::-webkit-slider-runnable-track {
    height: .5rem;
    background: linear-gradient(90deg, var(--green) var(--track-progress), var(--hovcol) var(--track-progress));
}

.slider::-webkit-slider-thumb {
    appearance: none;
    border: none;
    height: .8rem;
    aspect-ratio: 1 / 1;
    background: var(--textcol);
    border-radius: 50%;
    transform: translate(-.4rem, -.15rem);
    display: none;
}

.sliderContainer:hover > .slider::-webkit-slider-thumb {
    display: block;
}

.slider::-webkit-slider-thumb:hover {
    background: var(--greenhover);
}

.slider::-webkit-slider-thumb:active {
    background: var(--greenactive);
}


.sidebar {
    position: relative;
    height: inherit;
    width: 18rem;
    min-width: 11rem;
    max-width: 22rem;
    resize: horizontal;
    overflow: hidden;
    border-right: 1px solid var(--bordercol);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
    z-index: 10;
    background: var(--bg2);
}

.sidebarContainer {
    min-height: 14rem;
    overflow-y: auto;
}

.sidebarHeader {
    padding-top: 0.7rem;
    position: sticky;
    top: 0;
    border-bottom: 1px solid black;
    text-align: center;
    background: var(--bg2);
}

.sidebarHeader h3 {
    margin-top: .3rem;
    margin-bottom: 1rem;
    color: var(--textcol);
    cursor: default;
}

.sidebarHeader > label {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    cursor: pointer;
}

.sidebarHeader > label > img {
    height: 1.1rem;
    aspect-ratio: 1 / 1;
    filter: var(--imgcol)
}

.sidebarHeader > label:hover > img {
    opacity: .5;
}

.sidebarHeader > label:active > img {
    opacity: 1;
}

.sidebarList {
    width: 100%;
    min-height: 10rem;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    justify-self: flex-start;
    overflow: hidden;
}

.playlistButton, .sidebarHeader button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--textcol);
}

.sidebarHeader button {
    margin-bottom: 0.5rem;
}

.playlistButton {
    text-align: left;
}

.playlistButton:hover, .sidebarHeader > label:hover > button {
    /*background: rgb(205, 236, 215);*/
    color: var(--texthov);
}

.playlistButton:active, .sidebarHeader > label:active > button {
    color: var(--textcol);
}

.currentlyPlaying {
    width: 100%;
    margin-top: 0.7rem;
    display: inline-block;
}
.queue {
    height: 90vh;
    width: inherit;
    background: var(--bg1)
}
.trackList {
    height: 100%;
    padding-bottom: 1rem;
    padding-right: 1rem;
    
}

.trackList > ul {
    list-style-type: none;
}

.trackPrefix {
    width: 4rem;
    min-width: 4rem;
    display: grid;
    justify-items: right;
    align-items: center;
    grid-template: "a";
}

.resultNo {
    grid-area: a;
    margin-right: 1.5rem;
    color: var(--textcol);
    opacity: .8;
    font-size: large;
    cursor: default;
}

.track:hover .resultNo {
    opacity: 0;
}

.trackPlayIcon {
    grid-area: a;
    width: 1rem;
    opacity: 0;
    transform: translateX(-1.5rem);
    filter: var(--imgcol);
} 

.track:hover .trackPlayIcon {
    opacity: 0.7;
}

.track {
    height: auto;
    width: 100%;
    padding: 0.5rem;
    padding-right: 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.track:hover {
    background: var(--hovertrack);
}

.nameAndImage {
    min-width: 5rem;
    display: flex;
    justify-content: left;
    align-items: center;
}

.trackImage {
    height: 100%;
    max-height: 5rem;
    display: block;
    margin-right: 1rem;
    /*cursor: pointer;*/
}

.trackName {
    font-size: medium;
    color: var(--textcol);
    /*cursor: pointer;*/
    cursor: default;
}   

/*
.trackName:hover, .trackName:disabled {
    color: grey;
}
*/

.trackArtist {
    cursor: pointer;
    font-size: small;
    color: var(--textlight);
}

.trackArtist:hover {
    color: var(--textcol);
    text-decoration: underline;
}

.contextButton {
    cursor: pointer;
    background: none;
    border: none;
    margin: 1rem;
}

.contextButton input {
    opacity: 0;
    width: 0;
    height: 0;
}

.buttonDot {
    background-color: rgb(99, 99, 99);
    border: none;
    height: 0.28rem;
    width: 0.28rem;
    border-radius: 50%;
    margin: 0.1rem;
}

.contextButton:hover > .buttonDot {
    background-color: rgb(41, 160, 57);
}

input:checked ~ .buttonDot {
    display: none;
}

.dropdown {
    display: none;
}

input:checked + .dropdown {
    display: block;
    background: rgb(0, 0, 0);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.contextButton button {
    background: none;
    border: none;
    color: rgb(238, 238, 238);
    opacity: 1;
}

.contextButton button:hover {
    color: white;
    background-color: rgb(44, 44, 44);
}

.track > button {
    background: none;
    border: none;
    color: var(--textcol);
    cursor: pointer;
    opacity: 0;
    transition: .1s;
    -webkit-transition: .1s;
}

.track > button:hover {
    /*background: rgb(205, 236, 215);*/
    color: var(--texthov);
}

.track > button:active {
    /*background: rgb(205, 236, 215);*/
    color: var(--textcol);
}

.track:hover > button {
    opacity: 1;
}
.searchComponent {
    height: 90vh;
    width: 100%;
    display: flex;
    overflow: auto;
    flex-direction: column;
}

.searchHeader {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--bg1);
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 50;
}

.searchBar {
    width: 50%;
    margin: 0.7rem; 
    padding: .3rem;
    background: var(--bg3);
    border: 1px solid var(--bordercol);
    color: var(--textcol);
    border-radius: .5rem;
    padding-left: 1rem;
    overflow: auto;
}

.searchHeader img {
    height: 2.5rem;
    aspect-ratio: 1/1;
}
.profile {
    padding: 1rem;
    padding-top: 5rem;
    width: 100%;
    color: var(--textcol);
    background: var(--bg1);
}

.profileHeader {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding-bottom: 1rem;
    color: var(--textcol);
}

/*------Profile image---------------------------------------------*/
.profileImage {
    position: relative;
    width: 10rem;
    height: 10rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    grid-template-columns: auto;
    align-items: center;
}

.profileImage img {
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    border-radius: inherit;
    transition: .15s;
}

.profileImage:hover img {
    filter: brightness(.6);
}

.profileImage label {
    position: absolute;
    top: 50%;
    width: 100%;
    height: inherit;
    z-index: 10;
    display: none;
    color: white;
    text-align: center;
    font-size: large;
    cursor: pointer;
}

.profileImage:hover label {
    display: block;
    transition: .15s;
}

.profileImage input {
    display: None;
}


/*------User info---------------------------------------------*/

.profileInfo {
    margin: 1rem;
    padding: .5rem 0 .5rem;
    color: var(--textcol)
}

.profileInfo > div {
    cursor: default;
}

.profileInfo > div:first-child {
    margin-bottom: .3rem;
}

.profileInfo input {
    border: none;
    border-radius: .4rem;
    width: max-content;
    font-size: xx-large;
    color: var(--textcol);
    background: var(--bg1);
}

.profileInfo input:where(:focus, :hover) {
    background: var(--bg2);
}

.profileInfo input + img {
    margin-left: .5rem;
    height: 1.5rem;
    opacity: 0;
    transition: .1s;
    filter: var(--imgcol);
}

.profileInfo input:is(:hover, :focus) + img, .profileInfo:hover input + img {
    opacity: .8;
}

/*------Preferences---------------------------------------------*/

.profileSettings {
    margin: 1rem;
    cursor: default;
}

.profileSettings > div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.profileSettings .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.profileSettings .switch {
    position: relative;
    width: 2rem;
    height: 1rem;
    display: inline-block;
    margin: .7rem;
    cursor: pointer;
}

.profileSettings .switch span {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #ccc;
    border-radius: .4rem;;
}

.profileSettings .switch span:before {
    position: absolute;
    content: "";
    height: 70%;
    aspect-ratio: 1/1;
    background: white;
    left: .2rem;
    right: auto;
    top: .16rem;
    transition: .2s;
    border-radius: 45%;
}

.profileSettings .switch:hover span {
    background: rgb(223, 223, 223);
}

.profileSettings .switch input:checked + span:before {
    transform: translateX(calc(100% + .2rem));
}

.profileSettings .switch input:checked + span {
    background: var(--green);
}

.profileSettings .switch input:checked:hover + span {
    background: var(--greenhover);
}

/*------Misc---------------------------------------------*/

.buttonLogout {
    border: none;
    background: var(--red);
    color: white;
    padding: .4rem;
    cursor: pointer;
    border-radius: .3rem;
}

.buttonLogout:hover {
    background: var(--redhover);
}

.buttonLogout:active {
    background: var(--redactive);
}




.playlist {
    height: 90vh;
    width: 100%;
    overflow: hidden scroll;
}

.playlistHeader {
    position: sticky;
    top: 0;
    padding: 1rem;
    margin: 1rem;
    background-color: var(--bg1);
    color: var(--textcol);
    border-bottom: 1px solid lightgrey;
    z-index: 2;
}

.playlist > img {
    max-height: 5rem;
    aspect-ratio: 1/1;
}
.homeGrid {
    position: relative;
    height: 100vh;
    display: grid;
    grid-template-rows: auto min-content;
}

.mainContent {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    overflow-y: hidden;
}

.profileButton {
    position: absolute;
    top: 1rem;
    right: 2rem;
    z-index: 100;
    padding: .3rem 1rem;
    background: var(--bg4);
    color: var(--textcol);
    border: none;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.226);
    cursor: pointer;
    border-radius: 1rem;
}

.profileButton:hover {
    background:var(--hovcol);
}

.profileButton:disabled {
    display: none;
}
.authPage {
    position: absolute;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.authBox {
    height: auto;
    padding: 8px;
    width: 300px;
    border-radius: 6px;
    background-color: rgb(64, 66, 68);
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.575) 3px 3px 8px;
}

.formFieldDiv {
    text-align: left;
    padding: 8px;
}

.formField, .formButton {
    width: 98%;
    height: 2em;
    margin: 4px;
    border: 1px rgba(0, 0, 0, 0.24) solid;
    border-radius: 4px;
    background-color: rgb(50, 52, 54);
    color: white;
}

.formField:focus {
    outline-width: 0;
}

.formButton {
    width: 100%;
    height: 2.5em;
    border: none;
    background-color: rgb(45, 153, 99);
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.116) 1px 1px 8px;
}

.formButton:hover {
    background-color: rgb(59, 168, 114);
}

.formButton:active {
    background-color: rgb(37, 124, 80);
}

.error {
    color: red;
}
.gettingStarted {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 2rem;
    padding-top: 8rem;
    cursor: default;
}

.gettingStarted > div > div {
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

.gettingStarted button {
    width: 8rem;
    height: 2rem;
    background: rgb(49, 170, 99);
    border: none;
    border-radius: 1rem;
    color: white;
    font-size: large;
    cursor: pointer;
}

.gettingStarted button:hover {
    background: rgb(71, 185, 119);
}

.gettingStarted button:active {
    background: rgb(45, 133, 81);
}

/*# sourceMappingURL=/src.e31bb0bc.css.map */