/* GLOBAL */
body {
    background-color: rgb(20, 0, 20);
}

div {
    text-align: center;
    margin: 25px auto;
}

/* LAYOUT */
#layout {
    display: flex;
    height: 100px;

}
#mobilectrl{
    display: none;
}
#mobilemusicfield{
    display: none;
    height: 0;
}
#content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#musicfield {
    left: 0%;
    position: absolute;
    width: 100%;
    padding-bottom: 150px;
    top: 10%;
    margin: 0 auto;
    display: revert;
}

/* MUSIKBIBLIOTEK */
.artist {
    background-color: black;
    color: rgb(75, 0, 150);
    position: relative;
    width: 10%;
    height: auto;
    font-size: 100%;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px #000000;
    padding: 20px;
    border: 5px solid rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(75, 0, 150);
}

.music_container {
    width: 50%;

}

#albanmusik {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
}

#countrymusik {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
}

#rockmusik {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
}

#popmusik {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
}

#stockholmsmusik {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
}

#itmusik {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
}

#ololmusik {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
}

.musiccontainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px;
}

.music {
    background-color: black;
    color: rgb(75, 0, 150);
    position: relative;
    width: auto;
    height: auto;
    font-size: 75%;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px #000000;
    padding: 10px;
    border: 5px solid rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(75, 0, 150);
    margin: 0;
}

.music:hover {
    animation: 5s songhover;
}

.alban_select {
    visibility: hidden;
}

/* BILDER */

.pics {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100px;
}

#Albanian_pic {
    background-image: url("./pictures/bartender.png");
}

#Omen_pic {
    background-image: url("./pictures/omen.png");
}

#Emil_pic {
    background-image: url("./pictures/johanoemil.webp");
}

#Alfred_pic {
    background-image: url("./pictures/alfred.webp");
}

#Parker_pic {
    background-image: url("./pictures/parker_demarcus.png");
}

#Uncs_pic {
    background-image: url("./pictures/uncs.png");
}

#Nacka_pic {
    background-image: url("./pictures/nackas_krigare.jpg");
}

#Albanian_uncle {
    background-image: url("./pictures/redeagle.png");
}

#Albanian_beach {
    background-image: url("./pictures/balkanbeach.png");
}

#Citymail_pic {
    background-image: url("./pictures/image.png");
}

#Boyfriend_pic {
    background-image: url("./pictures/boyfriend.png");
}

#Bathhouse_pic {
    background-image: url("./pictures/Bathhouse.png");
}

#Filthy_pic {
    background-image: url("./pictures/content.png");
}

#Henke_pic {
    background-image: url("./pictures/henke.jpg");
}

#Edvin_pic {
    background-image: url("./pictures/edvin.webp");
}

#Max_pic {
    background-image: url("./pictures/max.webp");
}

#Bridgens_pic {
    background-image: url("./pictures/bridgens.webp");
}

#IT1PIC {
    background-image: url("./pictures/IT1.png");
}

#Nybro_pic {
    background-image: url("./pictures/Nybro_pic.png");
}

#Hype_pic {
    background-image: url("./pictures/Vibe_pic.png");
}

#Vibe_pic {
    background-image: url("./pictures/Hype_pic.png");
}

/* KNAPPAR */
.ctrl {
    position: absolute;
    width: auto;
    height: auto;
    font-size: 200%;
    font-family: 'Times New Roman', Times, serif;
    color: rgb(75, 0, 150);
    border-color: black;
    box-shadow: 0 0 10px rgb(75, 0, 150);
    border-radius: 200px;
    background-color: black;
}

.ctrlblock {
    position: fixed;
    bottom: 7%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    margin: 0 auto;
    z-index: 100;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.repblock {
    position: fixed;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.ctrl:hover {
    animation: ctrlbtns 5s ease-in-out infinite;
}

#Play_Pause {
    position: relative;
    font-size: 50px;
}

#Skip {
    position: relative;
    padding-left: 10px;
}

#Previous {
    position: relative;
    padding-right: 10px;
}

#repBtn {
    position: relative;
    font-size: 25px;
    margin: 0 auto;
}

/* KÖ */

.qblock {
    position: fixed;
    top: 0;
    height: 5%;
    width: 50%;
    left: 25%;
    margin: 0;
    padding-top: 0;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    display: flex;
}

#current {
    position: fixed;
    font-size: 100%;
    top:    0;
    color: white;
    z-index: 1;
    width: 100%;
    left: 0;
}

#Play {
    position: absolute;
    font-size: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: rgb(75, 0, 150) 1px solid;
    height: 100%;
    left: 0%;
    border-radius: 0px;
}

#Queue {
    position: absolute;
    font-size: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: rgb(75, 0, 150) 1px solid;
    height: 100%;
    left: 50%;
    border-radius: 0px;
    margin-left: 10px;
}

#Shuffle {
    position: relative;
    font-size: 100%;
    border-radius: 0px;
}

#repQBTN {
    margin-top: 2%;
    margin-bottom: 2%;
    position: relative;
    font-size: 100%;
    border-radius: 0px;

}

#Activequeue {
    position: fixed;
    border-radius: 0px;
    width: 15%;
    height: 25%;
    right: 0%;
    top: 0%;
    z-index: 2;
}

#q3{
    position: fixed;
    right: 0;
    top: 25%;
}
#q2{
    position: sticky;
    color: white;
    font-size: 25px;
}

#q {
    font-size: 20px;
    white-space: pre-line;
}

#playing_txt {
    font-size: 20px;
    width: auto;
    height: auto;
}

#playing {
    font-size: auto;
    color: white;
    text-indent: auto;
    width: auto;
    height: auto;
}

/* SPELLISTOR */

.plblock {
    position: fixed;
    right: 0%;
    top: 0%;
    height: 100%;
    width: 15%;
}

.load-btn {
    margin-top: 5%;
    position: relative;
    font-size: 20px;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    color: rgb(75, 0, 150);
    border-color: black;
    box-shadow: 0 0 10px rgb(75, 0, 150);
    border-radius: 200px;
    background-color: black;
    font-family: 'Times New Roman', Times, serif;
}

.delete-btn {
    margin-top: 1%;
    position: relative;
    font-size: 20px;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    color: rgb(75, 0, 150);
    border-color: black;
    box-shadow: 0 0 10px rgb(75, 0, 150);
    border-radius: 200px;
    background-color: black;
    font-family: 'Times New Roman', Times, serif;
}

.load-btn:hover {
    animation: ctrlbtns 5s ease-in-out infinite;
}

.delete-btn:hover {
    animation: ctrlbtns 5s ease-in-out infinite;
}

.lista {
    background-color: black;
    color: rgb(75, 0, 150);
    position: relative;
    width: 40%;
    height: auto;
    font-size: 25px;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px #000000;
    padding: 20px;
    border: 5px solid rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(75, 0, 150);
    white-space: pre-line;
}

.playlist-songs {
    font-size: 20px;
    white-space: pre-line;
    /* samma som #q */
    color: rgb(75, 0, 150);
    text-align: left;
    padding: 10px;
}

.playlist-block {
    margin-top: 10px;
}

#form {
    text-align: center;
    padding: 10px;
}

#input {
    background-color: black;
    color: rgb(75, 0, 150);
    border: 2px solid rgb(75, 0, 150);
    border-radius: 5px;
    padding: 8px;
    font-size: 75%;
    outline: none;
}

#input::placeholder {
    color: rgb(75, 0, 100);
}

#confirm {
    background-color: black;
    color: rgb(75, 0, 150);
    border: 2px solid rgb(75, 0, 150);
    border-radius: 5px;
    padding: 8px 14px;
    font-size: 75%;
    cursor: pointer;
    margin-left: 6px;
}

#confirm:hover {
    background-color: rgb(75, 0, 75);
    color: white;
}

#SaveToPlaylist {
    position: relative;
    font-size: 100%;
    border-radius: 0;
}

/* LYRICS */

#lyrics-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    color: white;
    font-size: 100%;
}

#lyrics-box {
    padding: 20px;
    color: white;
    border-color: black;
}

#lyrics {
    position: absolute;
    left: 0%;
    width: 25%;
    background-color: black;
    z-index: 10;
    height: auto;
}
/* ANIMATIONER */

@keyframes ctrlbtns {
    0% {
        color: rgb(150, 0, 150);
        border-color: rgb(0, 0, 0);
        background-color: rgb(0, 0, 0);
    }

    50% {
        color: rgb(0, 0, 255);
        border-color: rgb(100, 0, 255);
        background-color: rgb(0, 0, 0);
        box-shadow: 0 0 500px;
    }

    100% {
        color: rgb(150, 0, 150);
        border-color: rgb(0, 0, 0);
        background-color: rgb(0, 0, 0);
    }
}

@keyframes songhover {
    0% {
        background-color: black;
        color: rgb(75, 0, 150);
    }

    100% {
        background-color: rgb(75, 0, 75);
        color: rgb(255, 255, 255);
    }
}

@media (max-width: 800px){
    #Play{
        height: 75px;
    }
    #Queue{
        height: 75px;
    }
    #Activequeue{
        font-size: 100%;
    }
    #q3{
        top: 40%;
        font-size: 75%;
    }
    #q2{
        top: 40%;
        font-size: 100%;
    }
    #playing{
        font-size: 50%;
    }
    #q{
        font-size: 75%;
    }
    #lyrics-wrapper{
        display: none;
    }
}