html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: rgb(0,0,255);
  background-color:hsla(0,100%,50%,1);
  background-image:
    radial-gradient(at 40% 20%, hsla(28,100%,74%,1) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsla(189,100%,56%,1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(355,100%,93%,1) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsla(340,100%,76%,1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(22,100%,77%,1) 0px, transparent 50%),
    radial-gradient(at 80% 100%, hsla(242,100%,70%,1) 0px, transparent 50%),
    radial-gradient(at 0% 0%, hsla(343,100%,76%,1) 0px, transparent 50%);
  background-attachment: fixed;
  font-family: "YouTube Sans", sans-serif;
}

main {
  height: calc(100% - 64px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

header {
  width: 100%;
  display: flex;
  align-items: center;
  height: 64px;
}

header span {
  margin-left: 32px;
  font-weight: 900;
  font-size: 32px;
  color: white;
}

header img {
  width: 32px;
  height: 32px;
  margin-left: 16px;
  color: white;
}

#playlist-box {
  height: 80%;
  width: 80%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.playlist-item {
  border-radius: 8px;
  padding-bottom: 0.5rem;
  text-align: center;
  height: fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  transition: transform 0.3s ease;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.playlist-item:hover {
  transform: scale(1.05);
}

.playlist-item-img {
  width: 200px;
  height: 200px;
  border-radius: 5%;
  margin-bottom: 0.5rem;
}

.playlist-item-title {
  margin: 5px;
  font-size: 2rem;
  text-align: left;
  width: 200px;
  padding-left: 0.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

#popup {
  display: none;
  z-index: 900;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  position: absolute;
  transition: 250ms all;
  background-color:#34eb83;
  color: white;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
}

#popup img {
  margin: 5px;
}

.tippy-box {
  color: white;
  background-color: #010409;
  padding: 1rem;
  border-radius: 10px;
}

@media only screen and (max-width: 1200px) {
  #playlist-box {
    height: 90%;
    width: fit-content;
    display: flex;
    flex-direction: column;
  }

  header {
    word-break: break-all;
    justify-content: space-evenly;
  }

  header span {
    margin: 0;
    font-size: 7vw;
  }

  header img {
    width: 7vw;
    height: 7vw;
    object-fit: cover;
    margin-left: 0;
  }
}
