*{
    color:white;
}
button{
    min-height: 2rem;
    height: 2rem;
    width: 2rem;
    font-size: 1rem;
    background-color: rgb(177, 168, 255);
    border: none;
    margin: 0 0.2rem 0 0.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
button:hover{
    background-color: rgb(206, 168, 255);
}
@font-face {
    font-family: controls;
    src: url(media/controls.ttf);
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    margin:0;
    padding:0;
    background-color:rgb(33, 8, 80);
    background-image: url(media/images/space-background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 200vh;
}
main{
    backdrop-filter: blur(10px);
    width: 80%;
    margin: 9rem auto 4rem auto;
    border: 0.2rem solid rgb(177, 168, 255); 
    border-radius: 2rem;
}
header{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    top:0;
    z-index: 99;
    height:5rem;
}
section{
    background-color: rgba(255, 255, 255, 0.055);
    border-radius: 2rem;
    margin:0 0 6rem 0;
    padding: 1rem 2rem 1rem 2rem;
}
/* Sounds */
#soundsdiv{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr;
    gap: 2rem 2rem;
    margin-bottom: 2rem;
}
.sound{
    display: flex;
    flex-direction: column;
    background-color: rgba(40, 3, 117, 0.5);
    border-radius: 0.5rem;
    padding: 1rem;
    gap: 1rem;
}
.sound h3{
    margin:0;
    text-align: center;
}
.sound button{
    font-family: controls;
    color:black;
}
.soundcontrols{
    display: flex;
    flex-direction: row;
    justify-content: center;
    
}
/* player */
#player{
    display: none;
    background-color: rgb(40, 3, 117);;
    position: fixed;
    min-width: 15rem;
    max-width: 15rem;
    user-select: none;
    padding: 0;
    z-index:90;
    border-radius: 1rem;
    bottom: 2rem;
    right: 0;
    transform: translate(-50%, 0);
    margin:0;
}
#playerheader{
    cursor:grab;
    padding: 1rem;
    background-color: #3c1195;
    border-radius: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
#playerheader:active{
    cursor:grabbing;
}
#playerheader p{
    margin:0;
}
#currentsound{
    width: 100%;
}
#repeat{
    font-family: 'controls';
    cursor:pointer;
}
#player button{
    font-family: controls;
    color:black;
}
#controls{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem 1rem 1rem;
}
/* progress */
#progressdiv{
    padding: 1rem 1rem 0 1rem;
}
#progress{
    width: 100%;
}
input[type=range] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%; 
    background: transparent;
}

input[type=range]::-webkit-slider-thumb{
    -webkit-appearance: none;
    height: 1rem;
    width: 1rem;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    margin-top: 0;
}
input[type=range]::-moz-range-thumb{
    appearance: none;
    -webkit-appearance: none;
    height: 1rem;
    width: 1rem;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}
input[type=range]::-ms-thumb{
    appearance: none;
    -webkit-appearance: none;
    height: 1rem;
    width: 1rem;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}
input[type=range]:focus {
    outline: none;
}
  
input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;
    background: transparent; 
    border-color: transparent;
    color: transparent;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 1rem;
    cursor: pointer;
    background: rgb(177, 168, 255);
  }
input[type=range]::-moz-range-track {
    width: 100%;
    height: 1rem;
    cursor: pointer;
    background: rgb(177, 168, 255);
}  
input[type=range]::-ms-track {
    width: 100%;
    height: 1rem;
    cursor: pointer;
    background: rgb(177, 168, 255);
}
/* Time & volume */
#timevolume{
    display: flex;
    flex-direction: row;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 1rem;
}
#timevolume div{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: controls;
}
#time{
    white-space: nowrap;
}
#mute{
    min-width: 1rem;
}
/* Queue */
#queue{
    display: none;
    position: fixed;
    left:0;
    top: 6rem;
    max-height: 0;
    opacity: 0;
    overflow-y:none;
    overflow-x:none;
    z-index: 89;
    background-color: rgba(40, 3, 117, 1);
    padding: 1rem;
    flex-direction: column;
    gap: 0.2rem;
    transition: all 1s ease;
    border-radius: 0.3rem;
}
#queue_e{
    display: none;
    position: fixed;
    left:1rem;
    top: 7rem;
    font-family: controls;
    color: black;
    height: 2rem;
    width: 2rem;
}
#queue div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}
#queue p{
    cursor:pointer;
    transition: text-shadow 0.3s ease;
}
#queue p:hover{
    text-shadow: rgb(255, 255, 255) 1px 0 10px;
}
#queue button{
    font-family: controls;
    color: black;
    width: 2rem;
    height: 2rem;
}
#queue div .nowsound{
    color:pink;
    cursor: default;
}
#queue div .nowsound:hover{
    text-shadow: none;
}
.lastsounds{
    color:grey;
}
/* ANZEIGEN DER SEITEN */
.activesite{
    display: flex;
}
.passivesite{
    display: none;
}
#sitenav{
    background-color: rgba(73, 76, 250, 0.5);
    width: 50%;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-left:auto;
    margin-right: auto;
    border-radius: 2rem;
    font-size: 1.5rem;
}
#sitenav button{
    background-color: rgba(68, 20, 179, 0.774);
    background-color: rgba(0, 0, 0, 0);
    border:none;
    width: 2em;
    height: 2em;
    border-radius: 0.25rem;
    cursor: pointer;
    font-family: controls;
    font-size: 2rem;
}
/* SCHRIFTEN */
header h1{
    font-size: 2rem;
}
header a{
    font-size: 2rem;
}
a{
    text-decoration: none;
}