#search-dropdown {
  display: none;
}

#spotify-search-error {
  display: none;
  position: relative;
  height: 100%;
}

.spotify-search {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#lengthSlider {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-content: center;
}

#lengthSlider input[type=text] {
  text-align: center;
  background-color: var(--background);
  width: 5ch;
  border: 1px solid black;
  border-radius: 0.2em;
}

#slider-error {
  display: inline;
  position: relative;
}

#slider {
  width: calc(100% - 12ch);
}

.trackData {
  display: none;
}

.search-tag {
  display: flex;
  flex-direction: row;
  width: calc(100% - 1em);
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  margin: 0.5em 0.5em;
}

.songTitle {
  display: flex;
  flex-direction: column;
}

.search-image {
  width: 5em;
  height: 5em;
  object-fit: contain;
}

.tagTitle, .tagArtist {
  margin: 0.1em 0;
  font-weight: bold;
  width: 20ch;
  text-overflow: ellipsis;
  overflow: hidden;
}

.tagTitle {
  font-size: 1.2em;
  max-height: 4ch;
}

.tagArtist {
  font-size: 1em;
  max-height: 2ch;
}

.prefillData {
  padding: 0.4em;
}

#search-dropdown {
  margin-top: -0.5em;
  border: 1px solid black;
}

#resultsTitle {
  font-size: 1.2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
  margin-top: -0.5em;
  margin-bottom: -0.5em;
}

#resultsTitle p {
  font-weight: bold;
}

#closeSearch {
  font-size: 1.2em;
  border: 0;
  margin: 0;
  padding: 0;
  background-color: none;
}


@media only screen and (min-width: 1500px) {

  .search-tag {
    font-size: 1rem;
  }

  .tagTitle, .tagArtist {
    width: 24ch;
  }


}
