
.card_playlists {
  position: relative;
  width: 282px;
  height: 282px;
  background-color: #1a1b1e;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 5px solid transparent;
  border-radius: 20px;
}

.card_playlists img {
  fill: #333;
  width: inherit;
  height: inherit;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card_playlists:hover {
  transform: scale(1.05);
  border-color: #BF40A8;
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card_playlists_content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #1a1b1e;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card_playlists:hover .card_playlists_content {
  transform: rotateX(0deg);
}

.card_playlists_title {
  margin: 0;
  font-size: 28px;
  color: #ffffff;
  font-weight: 700;
}

.card_playlists:hover img {
  scale: 0;
}

.card_playlists_description {
  margin: 10px 0 0;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.4;
  text-align: center;
  padding: 5% 0;
}


.card_playlists_button {
  transform: translate(-50%, 125%);
  width: 60%;
  border-radius: 1rem;
  border: none;
  background-color: #BF40A8;
  color: #fff;
  font-size: 1rem;
  padding: .5rem 1rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  opacity: 0;
  transform: translate(-50%, calc(100% + 10px)); /* Começa um pouco fora */
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
 }

 .card_playlists:hover .card_playlists_button {
  transform: translate(-50%, -40%); /* Move para a posição final quando em hover */
  opacity: 1;
 }

@media (max-width: 600px) {
  .card_playlists_title{
    font-size: 20px;
  }
}