@font-face {
    font-family: 'PixelifySans';
    src: url('../fonts/pixelify-sans-latin-400-normal.woff2') format('woff2'),
         url('../fonts/pixelify-sans-latin-400-normal.woff') format('woff');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'PixelifySans';
    src: url('../fonts/pixelify-sans-latin-500-normal.woff2') format('woff2'),
         url('../fonts/pixelify-sans-latin-500-normal.woff') format('woff');
    font-weight: 500;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'PixelifySans';
    src: url('../fonts/pixelify-sans-latin-600-normal.woff2') format('woff2'),
         url('../fonts/pixelify-sans-latin-600-normal.woff') format('woff');
    font-weight: 600;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'PixelifySans';
    src: url('../fonts/pixelify-sans-latin-700-normal.woff2') format('woff2'),
         url('../fonts/pixelify-sans-latin-700-normal.woff') format('woff');
    font-weight: 700;
    font-style: normal;
  }
  h1 {
    font-family: 'PixelifySans', sans-serif;
    font-weight: 600; 
    font-size: 3em;
    margin: 0;
    line-height: 2;
    color: white;
    text-shadow: -2px -2px 0 rgb(50, 45, 139), 
    2px -2px 0 rgb(50, 45, 139), 
    -2px 2px 0 rgb(50, 45, 139),  
    2px 2px 0 rgb(50, 45, 139);
  }

  .title-container {
    background-color: hotpink;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .navbar-container {
    background-color: white; 
    outline: 2px solid rgb(50, 45, 139); 
    width: 100%; 
    box-shadow: inset 0px 0px 15px rgba(50, 45, 139, 0.9); 
    padding: 10px 0; 
    text-align: center; 
    margin: 0;
  }

  .navbar-container a {
    display: inline-block; 
    background-color: white; 
    outline: 2px solid rgb(50, 45, 139); 
    color:  rgb(50, 45, 139); 
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 0px;
    box-shadow: inset 0px 0px 10px rgba(50, 45, 139, 0.9);
    transition: background-color 0.3s ease;
  }

  .navbar-container ul {
    list-style: none; 
    margin: 0; 
    padding: 0;
    display: flex; 
    justify-content: left; 
    align-items: center; 
  }
  
  .navbar-container li {
    margin: 0 10px; 
  }
  
  .navbar-container a:hover {
    background-color: hotpink; 
  }

  .navbar-container img {
    width: 30px; 
    height: auto; 
    vertical-align: middle; 
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: 'PixelifySans', sans-serif;
    font-weight: 400; 
  }

#wikirace-form div {
  display: flex; 
  align-items: center; 
  margin-bottom: 10px; 
}

#wikirace-form label {
  width: 12%; 
  font-family: 'PixelifySans', sans-serif; 
  font-weight: 500; 
}

#wikirace-form input[type="text"] {
  flex: 1; 
  font-family: 'PixelifySans', sans-serif; 
  font-weight: 400; 
  font-size: 1em;
  padding: 10px; 
  border: 2px solid rgb(50, 45, 139); 
  border-radius: 5px; 
  box-shadow: inset 0px 0px 10px rgba(50, 45, 139, 0.9); 
}

button {
  display: inline-block; 
  background-color: white; 
  outline: 2px solid rgb(50, 45, 139); 
  color: rgb(50, 45, 139); 
  padding: 10px 20px;
  text-decoration: none; 
  border-radius: 1px;
  box-shadow: inset 0px 0px 10px rgba(50, 45, 139, 0.9);
  transition: background-color 0.3s ease; 
  font-family: 'PixelifySans', sans-serif; 
  font-weight: 500; 
  margin: 0 10px;
}

button:hover {
  background-color: hotpink; 
  color: white; 
}

fieldset {
  border: 2px solid rgb(50, 45, 139); 
  border-radius: 10px; 
  padding: 10px; 
  margin: 20px; 
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
}

legend {
  font-family: 'PixelifySans', sans-serif; 
  font-weight: 600; 
  font-size: 1.5em;
  color: rgb(50, 45, 139); 
}

.center-content {
  display: flex; 
  flex-direction: column; 
  align-items: center;
  justify-content: center; 
  margin: 0 auto; 
  text-align: center;
}

.spotify-container {
  display: flex; 
  justify-content: center;
  align-items: stretch; 
  gap: 10px; 
}

#spotify-profile {
  position: absolute;
  top: 20px;
  right: 20px;
}

.profile-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color:rgb(50, 45, 139);         
}

.profile-img {
  width: 40px;     
  height: 40px;
  border-radius: 50%;
}

#now-playing {
  text-align: center; 
}

#spotify-profile a {
  text-decoration: none; 
  color: inherit;
  font-weight: bold; 
  text-align: center;
}

.tracks-container {
  display: flex; 
  flex-direction: column; 
}

#top-tracks {
  max-height: 550px; 
  overflow-y: auto;
  width: 700px; 
  border: 2px solid rgb(50, 45, 139); 
  border-radius: 10px; 
  box-shadow: 0px 0px 6px rgba(255, 105, 180, 0.3); 
}

.track {
  display: flex; 
  align-items: center;
  justify-content: space-between; 

}

.track-number {
  font-weight: bold; 
  width: 30px; 
  text-align: right; 
  margin-right: 10px; 
}

.track img {
  width: 60px;
  height: auto;
  margin-right: 10px; 
}

.track-number {
  font-weight: bold; 
  margin-right: 10px; 
}

.track-details {
  display: flex;
  flex-direction: column;
  flex: 1; 
}

.track-details p {
  margin: 0; 
}

.track-details .track-name {
  font-weight: bold; 
}

.track-details .track-artist {
  font-style: italic; 
}

.track-album {
  text-align: right; 
  font-size: 0.9em; 
  color: rgb(50, 45, 139); 
}

select {
  font-family: 'PixelifySans', sans-serif; 
  font-weight: 400; 
  font-size: 1em; 
  padding: 7px; 
  border: 2px solid rgb(50, 45, 139); 
  border-radius: 5px; 
  box-shadow: inset 0px 0px 10px rgba(50, 45, 139, 0.9);
  background-color: white; 
  color: rgb(50, 45, 139); 
  margin: 10px 0;
}

.select-container {
  display: flex; 
  justify-content: left; 
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.progress-container {
  width: 100%;      
  height: 4px;
  background: pink;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 1px;
}

.progress-bar {
  height: 100%;
  background:  hotpink;
  transition: width 1s linear;
  border-right: 1px solid rgb(50, 45, 139);
}

.time-container {
  display: flex; 
  justify-content: space-between; 
  font-family: 'PixelifySans', sans-serif; 
  font-size: 0.8em; 
  color: rgb(50, 45, 139); 
  margin-top: 2px; 
}

.progress-time {
  font-family: 'PixelifySans', sans-serif; 
  font-size: 0.9em; 
  color: rgb(50, 45, 139); 
  position: relative; 
}

.recent-tracks-container {
  overflow-x: hidden;
  flex: 1;
}


#recent-tracks {
  display: inline-block;
  width: 220px;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease; 
}

h2 {
  font-family: 'PixelifySans', sans-serif; 
  font-weight: 600; 
  font-size: 1.5em;
  color: rgb(50, 45, 139); 
  margin-bottom: 10px; 
  margin: 10px;
  padding: 0;
}

h3 {
  font-family: 'PixelifySans', sans-serif; 
  font-weight: 500; 
  font-size: 1.2em;
  color: rgb(50, 45, 139); 
  margin: 0;
  padding: 10px;
  text-align: center;
}

/* Artist list styling (mirrors track list) */
#top-artists {
  max-height: 175px; 
  overflow-y: auto;
  width: 100%; 
  border: 2px solid rgb(50, 45, 139); 
  border-radius: 10px; 
  box-shadow: 0px 0px 6px rgba(255, 105, 180, 0.3); 
}

.artist {
  display: flex; 
  align-items: center;
  justify-content: space-between; 
  margin-bottom: 8px;
}

.artist-number {
  font-weight: bold; 
  width: 30px; 
  text-align: right; 
  margin-right: 10px; 
}

.artist img {
  width: 30px;
  height: auto;
  margin-right: 10px; 
  border-radius: 4px;
}

.artist-details {
  display: flex;
  flex-direction: column;
  flex: 1; 
}

.artist-details p {
  margin: 0; 
}

.artist-details .artist-name {
  font-weight: bold; 
}

.artist-details .artist-genres {
  font-style: italic; 
  font-size: 0.9em; 
  color: rgb(50, 45, 139); 
}

.now-and-artists {
  display: flex;
  flex-direction: column;
  align-items: center;    
  width: 50%;            
}

.about-me-container {
  display: flex; 
  flex-direction: row;
  gap: 10px; 
}

.about-me-container fieldset {
  flex: 1; 
}

.headshot {
  float: left; 
  margin-right: 20px; 
  width: 125px;
  height: 125px; 
  border-radius: 75px; 
}

.about-me-content {
  overflow: auto; 
}

#gif-container img {
  width: 110px;  
  height: auto;   
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
