* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "karla";
}

#container {
  background-color: #22272d;
  min-height: 100vh;
  max-width: 100vw;
}

main {
  display: flex;
}

aside {
  width: 260px;
  height: 100vh;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  color: #b2b2b2;
  padding: 12px;
}

.search-menu > a {
  text-decoration: none;
  color: #b2b2b2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-menu > a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
}

.aside-menu > div > a:hover {
  cursor: pointer;
  color: white;
}

.home-menu:hover,
.search-menu:hover,
.library-menu:hover,
.create-menu:hover,
.favorite-menu:hover {
  cursor: pointer;
  color: white;
}

.aside-menu > .codeplayer {
  padding: 8px 0 32px 0;
  display: flex;
  font-size: 28px;
  color: white;
  align-items: center;
}

.aside-menu > div {
  display: flex;
  align-items: center;
  padding-left: 12px;
  padding-bottom: 16px;
  gap: 4px;
}

.aside-menu {
  border-bottom: 1px solid #343a40;
  padding-bottom: 16px;
  padding-top: 12px;
}

.aside-playlist {
  padding: 20px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: scroll;
  height: 52vh;
}

.aside-playlist > p:hover,
.install-app > span:hover {
  cursor: pointer;
  color: white;
}

::-webkit-scrollbar-track {
  background-color: #000000;
}
::-webkit-scrollbar {
  width: 0.75rem;
  background: #b2b2b2;
}
::-webkit-scrollbar-thumb {
  background: #b2b2b2;
}

.install-app {
  display: flex;
  align-items: center;
  padding: 8px 0 0 20px;
  font-size: 14px;
}

.right-section {
  display: flex;
  flex-direction: column;
  padding: 32px 40px 32px 60px;
  color: white;
  width: 100%;
}

.arrow-header > span {
  background-color: #14171a;
  color: #b2b2b2;
  border-radius: 100%;
  padding: 8px;
}

.arrow-header {
  grid-column: 2 / 2;
  grid-row: 2 / 2;
  display: flex;
  gap: 16px;
}

.header-section {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.profile-header > img {
  width: 28px;
  border-radius: 100%;
}

.profile-header {
  display: flex;
  background-color: black;
  max-width: 156px;
  border-radius: 16px;
  color: white;
  align-items: center;
  gap: 4px;
  font-size: 16px;
}

#back-arrow:hover {
  cursor: pointer;
  color: white;
}

#forward-arrow:hover {
  cursor: pointer;
  color: white;
}

.profile-header:hover {
  cursor: pointer;
  background-color: #343a40;
}

.music-section-1 > img {
  height: 75px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.lastest-albums {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0 0 0;
}

.albums-section-1 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.albums-section-1 > div {
  background-color: #343a40;
  width: 24.5vw;
  border-radius: 8px;
  height: 75px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.play-button {
  grid-column: 4/5;
  background-color: #1fdf64;
  border-radius: 100%;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.2);
  display: none;
}

.albums-section-1 > div:hover {
  background-color: #707273;
  cursor: pointer;
}

.albums-section-1 > div:hover .play-button {
  display: grid;
}

.play-button:hover {
  width: 3.1rem;
  height: 3.1rem;
}

.recomended > img {
  max-width: 192px;
  border-radius: 8px;
}

.recomended-today {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0 0 0;
}

.album-section-2 {
  display: flex;
  gap: 20px;
}

.album-section-2::-webkit-scrollbar {
  display: none;
}

.recomended-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.recomended {
  background-color: #343a40;
  border-radius: 8px;
  min-width: 220px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 8px 0 0 14px;
  gap: 12px;
  position: relative;
}

.recomended > .play-button-2 {
  background-color: #1fdf64;
  border-radius: 100%;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.2);
  position: absolute;
  right: 22.4px;
  bottom: 112px;
  display: none;
}

.recomended:hover > .play-button-2 {
  display: flex;
}

.recomended:hover {
  background-color: #707273;
  cursor: pointer;
}

.recomended-header > h1:hover,
p:hover {
  cursor: pointer;
  text-decoration: underline;
}

.missed > img {
  max-width: 192px;
  border-radius: 8px;
}

.missed > .play-button-2 {
  background-color: #1fdf64;
  border-radius: 100%;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.2);
  position: absolute;
  right: 22.4px;
  bottom: 112px;
  display: none;
}

.missed:hover > .play-button-2 {
  display: flex;
}

.missed-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0 0 0;
}

.album-section-3 {
  display: flex;
  gap: 20px;
}

.album-section-3::-webkit-scrollbar {
  display: none;
}
.missed-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.missed-header > h1:hover,
p:hover {
  cursor: pointer;
  text-decoration: underline;
}

.missed:hover {
  background-color: #707273;
  cursor: pointer;
}

.missed {
  background-color: #343a40;
  border-radius: 8px;
  min-width: 220px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 8px 0 0 14px;
  gap: 12px;
  position: relative;
}

.friends > img {
  max-width: 192px;
  border-radius: 100%;
  align-self: center;
  box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.2);
}

.album-section-4 {
  display: flex;
  gap: 20px;
}

.friends-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.friends {
  background-color: #343a40;
  border-radius: 8px;
  min-width: 220px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 8px 0 0 0;
  gap: 12px;
  position: relative;
}

.friends > .play-button-2 {
  background-color: #1fdf64;
  border-radius: 100%;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.2);
  position: absolute;
  right: 22.4px;
  bottom: 112px;
  display: none;
}

.friends:hover > .play-button-2 {
  display: flex;
}

.friends > p {
  padding: 0 0 0 14px;
}

.friends:hover {
  background-color: #707273;
  cursor: pointer;
}

.friends-header > h1:hover,
p:hover {
  cursor: pointer;
  text-decoration: underline;
}

.friends-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0 0 0;
}

@media (max-width: 1460px) {
  .album-section-4,
  .album-section-3,
  .album-section-2 {
    flex-wrap: wrap;
  }
}

@media (max-width: 1130px) {
  .albums-section-1 > div {
    width: 300px;
  }
}

@media (max-width: 1024px) {
  .profile-header > .profile-name {
    display: none;
  }
}

@media (max-width: 567px) {
  .codeplayer > span {
    display: none;
  }

  aside {
    position: fixed;
    width: 100vw;
    height: 80px;
    padding-left: 0;
    z-index: 10;
    top: auto;
    bottom: 0;
    opacity: 0.9;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  .aside-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: none;
    gap: 5vw;
    font-size: 4vw;
    padding-right: 24px;
  }

  .aside-playlist {
    display: none;
  }

  .aside-menu > .create-menu,
  .aside-menu > .favorite-menu {
    display: none;
  }

  .search-menu .aside-playlist,
  .install-app {
    display: none;
  }
}
