.ripple-background {
    z-index: 2;
    margin-top: 1em;
    position: relative;
    height: 17em;
}

.circle {
    z-index: -1;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    background: white;
    animation: ripple 2s infinite;
    box-shadow: 0px 0px 0.8em 0px #a8adb1;
}

@-webkit-keyframes linearBackground {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes linearBackground {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@-o-keyframes linearBackground {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@keyframes linearBackground {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

.small {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: linear-gradient(270deg, rgb(0, 174, 255), rgb(183, 0, 255));
    background-size: 400% 400%;
    -webkit-animation: linearBackground 2s ease infinite;
    -moz-animation: linearBackground 2s ease infinite;
    -o-animation: linearBackground 2s ease infinite;
    animation: linearBackground 2s ease infinite;
    width: 4em;
    height: 4em;
    position: fixed;
    top: calc(50% - 2em);
    left: calc(50% - 2em);
    box-shadow: 0px 0px 1em 0px rgb(87, 86, 86);
}

.medium {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 4em;
    height: 4em;
    top: calc(50% - 2em);
    left: calc(50% - 2em);
    position: fixed;
}

.large {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 6em;
    height: 6em;
    position: fixed;
    top: calc(50% - 3em);
    left: calc(50% - 3em);
}

.xlarge {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 8em;
    height: 8em;
    position: fixed;
    top: calc(50% - 4em);
    left: calc(50% - 4em);
}

.xxlarge {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 10em;
    height: 10em;
    position: fixed;
    top: calc(50% - 5em);
    left: calc(50% - 5em);
}

#circleNote {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: fixed;
    top: calc(50% + 6em);
    left: calc(50% - 2em);
}

.shade1 {
    opacity: 0.2;
}

.shade2 {
    opacity: 0.5;
}

.shade3 {
    opacity: 0.7;
}

.shade4 {
    opacity: 0.8;
}

.shade5 {
    opacity: 1;
}

@keyframes ripple {
    0% {
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(0.3);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.swal2-footer>a {
    color: lightblue;
    text-decoration: outline;
}

body {
    font-family: 'Montserrat';
    background-color: black;
    color: white;
    padding-left: 1em;
}

#musicController {
    z-index: 2;
    position: fixed;
    top: 1em;
    right: 1em;
    transition: 0.4s;
    color: white;
    padding: 0.4em;
    padding-bottom: 0.5em;
    width: 2em;
    height: 2em;
    border-radius: 50%;
}

#musicController>i {
    font-size: 2em;
}

#musicController:hover {
    opacity: 0.6;
}

#musicController:active {
    background: grey;
    opacity: 0.5;
}

#searchBox {
    background: rgba(130, 130, 136, 0.5);
    margin-top: 20px;
    padding: 8px;
    font-size: 2em;
    height: 40px;
    color: white;
    min-width: 40%;
    width: 600px;
    max-width: 80%;
    border-radius: 0.4em/0.4em;
    outline: none;
    border: none;
    margin-bottom: 20px;
}

#searchBox::placeholder {
    color: lightgrey;
}

#searchContainer {
    position: -webkit-sticky;
    position: sticky;
    display: inline-block;
    top: 10px;
    padding-left: 10px;
    margin-left: 10px;
    z-index: 2;
    background-color: black;
    border-radius: 16px/16px;
}

.fa-input {
    font-family: "Font Awesome 5 Free", 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

button {
    color: black;
    background-color: white;
    border: none;
    outline: none;
    border-radius: 0.2em/0.2em;
    transition: 0.2s;
}

button:hover {
    opacity: 0.8;
}

button:active {
    opacity: 0.6;
}

#searchButton {
    margin-left: 8px;
    font-size: 2em;
    padding: 8px;
    padding-top: 10px;
}

.TCover {
    background-color: rgba(130, 130, 136, 0.5);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 0.4em/0.4em;
    padding: 0.2em;
    margin: 0.2em;
    transition: 0.2s;
}

.TCover {
    font-size: 1.2em;
}

.TCover>img {
    border-radius: 0.2em/0.2em;
}

.TCover:hover {
    background-color: white;
    color: black;
    opacity: 0.8;
}

.TCover>img:hover {
    opacity: 0.6;
}

.TCover>h1 {
    text-overflow: ellipsis;
    margin: 0.1em;
    width: 40%;
    padding-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1em;
}

#tracks {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 4em;
    
}

.tracksWrapper {
    min-height : calc(90vh - 14em);
}

.noLink {
    color: white;
    transition: 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding-top: 1em;
}

.noLink>h1 {
    margin: 0;
}

a {
    color: white;
}

.noLink:hover {
    opacity: 0.8;
}

.fa-arrow-circle-left {
    width: 1.2em;
    font-size: 2.4em;
}

#playlistDescription>img {
    border-radius: 0.2em/0.2em;
    transition: 0.2s;
}

#date {
    outline: none;
    background-color: grey;
    color: white;
    margin-bottom: 5px;
    border-radius: 5px/5px;
}

#playlistAdder {
    border-radius: 0.4em/0.4em;
    background-color: white;
    color: black;
    width: 8em;
    text-align: center;
    font-size: 1.5em;
    padding: 4px;
    user-select: none;
    transition: 0.4s;
    position: fixed;
    bottom: 1em;
    left: 1em;
}

#playlistAdder:hover {
    opacity: 0.5;
}

#refresh {
    position: fixed;
    top: 1em;
    right: 1em;
    transition: 0.4s;
    color: white;
    padding: 0.4em;
    padding-bottom: 0.5em;
    width: 2em;
    height: 2em;
    border-radius: 50%;
}

#refresh>i {
    font-size: 2em;
}

#refresh:hover {
    background: grey;
    opacity: 0.8;
}

#refresh:active {
    background: grey;
    opacity: 0.5;
}

.CoverP {
    background-color: rgba(130, 130, 136, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 210px;
    border-radius: 0.4em/0.4em;
    padding: 0.2em;
    margin: 0.2em;
    transition: 0.2s;
    height: 420px;
}

.CoverP>h1 {
    font-size: 1.2em;
}

.ptext {
    text-overflow: ellipsis;
}

.CoverP>img {
    border-radius: 0.2em/0.2em;
}

.CoverP:hover {
    background-color: white;
    color: black;
    opacity: 0.8;
}

.CoverP>img:hover {
    opacity: 0.6;
}

.CoverP>h4 {
    margin: 0.1em;
}

#playlists {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 4em;
    min-height : calc(90vh - 14em);
}

body>h1 {
    margin-bottom: 0;
}

@media only screen and (min-width:1000px) {
    #playlistDescription {
        position: fixed;
        top: 0;
        right: 0;
        width: 25%;
        height: 100vh;
        ;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: rgba(130, 130, 136, 0.5);
    }
    .TCover {
        width: 70%;
    }
    #dpdata {
        padding: 16px;
    }
    #date {
        outline: none;
        background-color: grey;
        color: white;
        margin-bottom: 5px;
        border-radius: 5px/5px;
    }
}

@media only screen and (max-width:1000px) {
    #searchBox {
        width : 200px;
    }
    #pName {
        margin-top: 0;
    }
    #playlistDescription {
        display: flex;
        min-height: 200px;
        padding: 16px;
        background: rgba(130, 130, 136, 0.5);
        margin-bottom: 8px;
    }
    #dpdata {
        padding: 8px;
    }
    .TCover {
        width: 98%;
    }
    #date {
        outline: none;
        background-color: grey;
        color: white;
        margin-bottom: 5px;
        height: 0.5in;
        margin-bottom: 0;
        width: 3in;
        border-radius: 5px/5px;
        margin-left: 4px;
        margin-right: 4px;
    }
    #date {
        margin-bottom : 5px;
        width : auto;
    }
    #dateButton {
        height: 0.5in;
        font-size: 0.5in;
        margin-bottom: 0;
    }
}