@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

#songCover {
    margin-bottom: 0;
    margin-top: 0;

    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

#discImage {
    background-image: url("../images/disc.png");
    background-size: cover;
    background-repeat: no-repeat;

    width: auto;
    height: 55px;

    outline: 1px solid rgb(62, 62, 70);
    outline-style: inset;
}

#musicTitle {
    color: #68fa57;

    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    width: max-content;

    margin-top: 0;
    margin-bottom: 0;

    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  
    -moz-animation: my-animation 15s linear infinite;
    -webkit-animation: my-animation 15s linear infinite;
    animation: my-animation 15s linear infinite;
}

#musicArtist {
    color: rgb(0, 155, 0);

    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    margin-top: 0;
    margin-bottom: 0;
}

#musicList {
    width: auto;
    height: auto;

    padding: 5px 5px;

    margin-top: 0;
    margin-bottom: 0;

    background-color: rgba(0, 0, 0, 1);

    outline: 1px solid rgb(62, 62, 70);
    outline-style: inset;
}

#songtext {
    margin-top: 0;
    margin-bottom: 0;

    padding: 0;
    margin: 0 auto;

    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

#music {    
    background: linear-gradient(90deg, rgb(29, 29, 36) 0%, rgb(84, 84, 100) 50%, rgb(29, 29, 36) 100%);
    display: grid;
    gap: 5px;
    padding: 5px 5px;

    max-width: 320px;

    margin-top: 0;
    margin-bottom: 0;

    outline: 1px solid rgb(62, 62, 70);
    outline-style: outset;
}

#buttonlastfm {
    background-color: rgba(255, 255, 255, 0.05);
    outline: 1px solid rgb(62, 62, 70);
    outline-style: outset;

    text-align: center;

    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

#buttonlastfm:link {
    color: rgba(255, 255, 255, 0.5);
}

#buttonlastfm:visited {
    color: rgba(255, 255, 255, 0.5);
}

#buttonlastfm:hover {
    color: white;
}

.nowPlayingText {
    background-color: black;
    overflow: hidden;

    outline: 1px solid rgb(62, 62, 70);
    outline-style: inset;

    padding: 10px 10px;
    height: max-content;
    width: auto;

    margin-top: 0;
    margin-bottom: 0;
}

.nowPlaying {
    height: auto;
    display: flex;
    justify-content: center;
    
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 0;
    gap: 25px;
}

.loader {
    margin-bottom: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}


a {
    text-decoration: none;
}

a:link {
    color: #68fa57;
}

a:visited {
    color: #68fa57;
}

a:hover {
    color: white;
}

.musicdiv {
    justify-content: space-evenly;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.musicinfo {
    max-width: 350px;
}

.musicinfo p {
    margin-top: 15px;
}

/* for Firefox */
@-moz-keyframes my-animation {
  from { -moz-transform: translateX(auto); }
  to { -moz-transform: translateX(-105%); }
}

/* for Chrome */
@-webkit-keyframes my-animation {
  from { -webkit-transform: translateX(auto); }
  to { -webkit-transform: translateX(-105%); }
}

@keyframes my-animation {
  from {
    -moz-transform: translateX(auto);
    -webkit-transform: translateX(auto);
    transform: translateX(auto);
  }
  to {
    -moz-transform: translateX(-105%);
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
  }
}