:root {
  /* colors */
  --primary-color: #dfdfe2;
  --secondary-color: #ffffff;
  --app-background-color: #111111;
  --background-color: #111111;
  --nav-player-color: black;
  --foreground-color: #3b3b4f;
  --highlight-color: #f1be32;

  /* font sizes */
  --root-font-size: 16px;
  font-size: var(--root-font-size);

  /* font-families */
  --font-headline: "Roboto Mono", monospace;
  --font-family: "Lato", sans-serif;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--app-background-color);
  color: var(--primary-color);
  font-family: var(--font-family);
}

nav {
  margin: 0;
  padding: 0;
  display: flex;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  z-index: 1;
  background-color: var(--nav-player-color);
  align-items: center;
}


h1 {
  font-size: 1.125rem;
  line-height: 1.6;
}

h2 {
  font-size: var(--root-font-size);
}

ul {
  margin: 0;
}

.container {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.playlist {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  background-color: var(--background-color);
}

.player {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100px;
  position: fixed;
  bottom: 0;
  background-color: var(--nav-player-color);
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: right;
}

.playlist-bar {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  width: 100%;
  height: 50px;
  background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  backdrop-filter: blur(2px);
}

.parallel-lines {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
  padding: 0 5px;
}

.parallel-lines>div {
  height: 2px;
  width: 100%;
  min-width: 75px;
  background-color: var(--highlight-color);
}

#fcc-title-wrapper {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: absolute;
  left: 0;
}

.fcc-logo {
  padding: 0 10px 0 10px;
  height: 40px;
  filter: invert(1);
}

.fcc-title {
  font-size: 35px;
}

.playlist-title {
  font-size: 20px;
}

.fcc-title,
.playlist-title {
  color: var(--secondary-color);
  margin: 0;
  font-family: var(--font-headline);
}

#search-wrapper {
  display: flex;
  position: absolute;
  right: 50px;
}

#search-input {
  padding-left: 5px;
  border: 0;
  border-radius: 5px 0 0 5px;
  width: 125px;
  height: 25px;
  outline: none;
  background-color: #111111;
  font-family: var(--font-family);
  color: var(--primary-color);
  transition: .3s;
}

#search-input:focus {
  z-index: 1;
  width: 250px;
}

#search-input::placeholder {
  color: #999999;
  padding-left: 5px;
}

#search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111111;
  color: var(--primary-color);
  border: 0;
  border-radius: 0 5px 5px 0;
  width: 50px;
  height: 25px;
}

#search-button:hover {
  color: #333333;
}

.player-content {
  display: flex;
  width: 100%;
  column-gap: 13px;
  align-items: center;
}

#player-album-art {
  background-color: var(--secondary-color);
}

#player-album-art img {
  width: 100px;
  display: block;
}

.player-display {
  height: 100px;
  display: flex;
  flex-direction: row;
  background-color: var(--nav-player-color);
  width: 100%;
}

.player-display-song-artist {
  height: 100px;
  display: flex;
  flex-direction: column;
  /* flex-direction: row; */
  width: 50%;
  /* align-items: center; */
  /* justify-content: left; */
  /* padding: 0; */
}



.player-buttons svg {
  fill: var(--primary-color);
}

.playing>svg {
  fill: var(--highlight-color);
}

.player-buttons {
  display: flex;
  width: 20%;
  /* justify-content: space-around; */
  position: absolute;
  top: 40%;
  bottom: 40%;
  left: 50%;
  right: 50%;
  column-gap: 30px;
}

button {
  background: transparent;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: var(--root-font-size);
  outline-color: var(--highlight-color);
  text-align: center;
}

.playlist li:not(:last-child) {
  border-bottom: 1px solid #333333;
}


/* Playlist */
.playlist {
  margin-top: 70px;
  height: auto;
  /* padding: 10px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
}

#playlist-songs {
  margin-top: 50px;
  margin-bottom: 100px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* row-gap: 8px; */
  padding: 8px 9px;
  visibility: visible;
  justify-content: start;
  list-style: none;
}

.playlist-song {
  display: flex;
  height: 100px;
  /* justify-content: space-between; */
  align-items: center;
  margin: 0;
}

[aria-current="true"] {
  background-color: rgba(255, 255, 255, .1);
}

[aria-current="true"] p {
  color: var(--background-color);
}

.playlist-song-info {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  column-gap: 7px;
  padding: 5px 0;
  font-family: var(--font-family);
}

#player-song-title {
  margin: 0 0 10px 10px;
  width: fit-content;
  height: 16px;
  margin-top: auto;
}

#player-song-artist {
  margin: 0 0 0 10px;
  width: fit-content;
  height: 16px;
  margin-bottom: auto;
}

#player-song-artist {
  color: var(--highlight-color);
  font-size: 0.75rem;
}

#player-song-title {
  font-size: 1.125rem;
}

.playlist-song-title {
  font-size: 16px;
  width: 50%;
  text-align: left;
}

.playlist-song-artist {
  font-size: 14px;
  width: 40%;
}

.playlist-song-duration {
  font-size: 0.725rem;
  margin: auto;
  font-family: var(--font-headline);
  width: 30px;
}

.playlist-song-delete {
  padding: 0;
  width: 20px;
  height: 20px;
}

.playlist-song-delete,
.playlist-song-delete {
  fill: var(--foreground-color);
}

.playlist-song-delete:hover circle,
.playlist-song-delete:focus circle {
  fill: #ff0000;
}

#reset {
  border-radius: 10px;
  position: absolute;
  top: 45%;
  bottom: 45%;
  right: 45%;
  left: 45%;
  width: 10% !important;
  height: 5% !important;
  font-family: var(--font-headline);
  background-color: var(--nav-player-color);
  width: fit-content;
}

@media only screen and (max-width: 600px) {
  #player-album-art {
    width: 125px;
    height: 125px;
  }

  #player-album-art img {
    width: 125px;
    display: block;
  }

  .player-display-song-artist {
    width: 100%;
  }
  .player-display {
    height: 125px;
    display: flex;
    flex-direction: column;
  }
  .player-buttons {
    position: initial;
    margin: 0 0 10px 10px;
    column-gap: 20px;
  }
}