/* header search */
.main-container{
    max-width: 80vw;
    height: 100vh;

    margin-left: 31.5rem;
    margin-right: 5.6rem;
    padding-top: 1.2rem;
}

.header__navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1.2rem 2rem 1.2rem;

    border-radius: .8rem;
    background-color: var(--bg-base-darker);
}

.navigation{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header{
  display: flex;
  gap: 2rem;
}

.arrow-left{
    margin-right: 1.5rem;
}

.arrow-left, .arrow-right{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3.2rem;
    height: 3.2rem;

    background: var(--bg-icon);
    background-color: var(--bg-arrow-color);

    border: none;
    border-radius: 50%;

    cursor: pointer;
}

.header__search{
    display: flex;
    align-items: center;

    width: 36.4rem;
    height: 4.8rem;

    margin-left: .8rem;

    background-color: var(--bg-base-dark);

    border-radius: 50rem;
    border: 1px solid transparent;
}

.header__search img{
    width: 1.6rem;
    height: 1.6rem;

    margin-left: 1rem;
}

.header__search input{
    color: var(--fc-base-light);

    border: none;
    outline: none;

    background: transparent;

    padding: 0 10rem 0 1.2rem;

    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.header__login{
    display: flex;
    align-items: center;
}

.header__login .subscribe-btn{
    color: var(--fc-nav);
    font-size: 1.6rem;
    font-weight: 700;

    background-color: transparent;

    margin-right: 3.2rem;

    border: none;

    cursor: pointer;
}

.header__login .login-btn{
    width: 10rem;
    height: 4.8rem;

    color: var(--fc-base-dark);
    font-size: 1.6rem;
    font-weight: 700;

    border-radius: 4rem;
    border: none;

    cursor: pointer;
}

.header__search:hover {
    border: 1px solid #fff;
  }
  
  .header__login .subscribe-btn:hover {
    transform: scale(1.04);
    color: var(--fc-base-light);
  }
  
  .header__login .login-btn:hover, .lib_playlist button:hover, .footer__button:hover {
    transform: scale(1.04);
  }

/* playlist */
.playlist-container{
    height: 78vh;
    padding: 3rem 2rem;
    margin-top: 1.2rem;

    border-radius: .8rem;
    background-color: var(--bg-base-darker);
}

.playlist__title{
    margin: 2.4rem;
    display: grid;
    gap: 4.8rem;
}

.playlist__title h2, .playlist__title p{
    color: var(--fc-base-light);
    font-weight: 700;
}

.playlist__title h2{
    font-size: 3.2rem;
}

.playlist__title p{
    font-size: 2.4rem;
}

/* scroll  */
.offer__scroll-container {
    max-height: 53vh;
    margin: 2.4rem;
    overflow-y: auto;
  }

.offer__scroll-container::-webkit-scrollbar {
    width: .1rem;
}

.offer__scroll-container::-webkit-scrollbar-thumb {
    background-color: transparent;
}

/* items */
.offer__list-item {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1.6rem;
    gap: 1.6rem;
    margin-bottom: 1.6rem;
  
    /* CODIGO COM JS CALCULANDO OS CARDS POR COLUNA
    display: grid;  /* define o modelo de layout do elemento como uma grade */
    /* gap: 16px;
    grid-gap: 32px;  /* não é usado mais */
    /* margin: 0 auto;  */
  }

/* cards */
.cards {
    position: relative;
    width: 100%;
    height: 20rem;
    overflow: hidden;
    border-radius: .8rem;
  }

.cards span {
    padding: 1.6rem;
    position: absolute;
    color: var(--fc-base-light);
    font-size: 2.4rem;
    font-weight: 700;
}

/* color cards  */
.card1 {
    background-color: rgb(0, 100, 80);
}
.card2 {
    background-color: rgb(132, 0, 231);
}
.card3 {
    background: rgb(30, 50, 100);
}
.card4 {
    background: rgb(140, 25, 50);
}
.card5 {
    background: rgb(232, 17, 91);
}
.card6 {
    background: rgb(83, 122, 161);
}
.card7 {
    background: rgb(142, 102, 172);
}
.card8 {
    background: rgb(20, 138, 8);
}
.card9 {
    background: rgb(30, 50, 100);
}
.card10 {
    background: rgb(233, 20, 41);
}
.card11 {
    background: rgb(80, 55, 80);
}
.card12 {
    background: rgb(216, 64, 0);
}
.card13 {
    background: rgb(186, 93, 7);
}
.card14 {
    background: rgb(0, 30, 80);
}
.card15 {
    background: rgb(60, 30, 80);
}

.offer__list-item img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: auto;
    width: 10.7rem;
    transform: rotate(25deg) translate(18%, -2%);
  }

  .artist {
    --column-count: 5;
    --grid-gap: 24px;
    --min-container-width: 372px;
  }
  
  .hidden {
    display: none;
  }
  
  .grid-container {
    grid-gap: var(--grid-gap);
    display: grid;
    grid-template-columns: repeat(var(--column-count), minmax(0, 1fr));
    min-width: var(--min-container-width);
  }
  
  .artist-card {
    background: #181818;
    border-radius: 8px;
    -ms-flex: 1;
    flex: 1;
    isolation: isolate;
    padding: 16px;
    position: relative;
    transition: background-color 0.3s ease;
    width: 100%;
  }
  
  .artist-card:hover {
    background-color: #252525;
  }
  
  .card-img {
    padding-bottom: 100%;
    position: relative;
    width: 100%;
    margin-bottom: 16px;
  }
  
  .artist-img {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    border-radius: 50%;
  }
  
  .card-text {
    display: flex;
    flex-direction: column;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 62px;
  }
  
  .card-text a {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
  }
  
  .artist-name {
    box-sizing: border-box;
    margin-block: 0px;
    font-size: 16px;
    font-weight: 700;
    padding-block-end: 8px;
  }
  
  .artist-categorie {
    color: #6a6a6a;
    font-weight: 400;
    font-size: 0.875rem;
  }
  
  .play {
    position: relative;
  }
  
  .play .fa-play {
    position: absolute;
    right: 10px;
    top: 120px;
    padding: 18px;
    background-color: #1db954;
    border-radius: 100%;
    font-size: 14px;
    opacity: 0;
    transition: all ease 0.4s;
  }
  
  .artist-card:hover .play .fa-play {
    opacity: 1;
    transform: translateY(-20px);
  }
  
  .play .fa-play:hover {
    padding: 20px;
    cursor: pointer;
  }
  
  #result-artist {
    padding: 20px 40px;
  }