@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-decoration: none;

}

/* body {
  color: #eee;
  font-size: 12px;
  height: 100vh;

} */

.scroll-container {
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at top,
            rgba(27, 19, 13, 0.3) 45%,
            rgba(8, 8, 8, 0.6) 95%);

    background-color: rgb(95, 58, 43);
    padding: 0px 0;
    position: relative;
}

.list {
    height: 100vh;
}

.list-itens {
    display: none;
}

.list-itens.active {
    position: relative;
    width: 100%;
    height: 100vh;
    border: 1px solid pink;
    display: grid;
    grid-template-columns: 50% 50%;
    padding-top: 60px;
}

.list-itens img {
    position: relative;
    width: 65%;
    left: 30px;
    top: 0;

    transform: translateY(-50);
}

.list-itens.active img {
    width: 420px;
    height: auto;
    bottom: 0;
    left: 0;
    z-index: 2;

    animation: showMainImage 0.9s linear 1 forwards;
}

@keyframes showMainImage {
    from {
        width: 20px;
        left: 20px;
        top: 0px;

    }

    to {
        width: 420px;
        left: 30px;
        bottom: 5px;

    }
}


.list-itens .content {
    position: relative;
    display: flex;
    flex-direction: column;
    right: 19px;
    color: #eee;
    border-radius: 10px;
    margin-bottom: 20px;

}

.content .title {
    font-size: 3em;
    font-weight: 700;
    line-height: 2.9rem;
    margin-bottom: 20px;


}

.content .description {
    font-size: 1.2em;
}

.voltar {
    position: absolute;
    border-radius: 10px;
    border: none;
    padding: 12px 17px;
    background-color: rgba(238, 238, 238, 0.151);
    color: #040101;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2em;
    top: 60px;
    right: 50px;
    z-index: 4;

}

.voltar a {
    color: #eee;
}

.voltar:hover {
    background-color: rgba(238, 238, 238, 0.078);

}


/* cards pequenos */

.thumb {
    position: absolute;
    width: 50%;
    height: 180px;
    bottom: 40px;
    left: 600px;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 5px;
    overflow-x: hidden;
    overflow-y: hidden;
    align-items: center;
    justify-content: space-between;

}

.thumb-item {
    display: flex;
    flex-direction: column;
    width: 600px;
    height: 90%;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    background-color: rgba(238, 238, 238, 0.068);
    align-content: end;


}

.thumb-item img {
    width: 120px;
    height: 60%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(80%);


}

.thumb-item img:hover {
    scale: 1.1;
}

.thumb-content {
    width: 100%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;

}


/* botões next-back */
.arrows {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 500px;
    bottom: 100px;
}

.arrows button {
    border-radius: 10px;
    border: none;
    padding: 0px 10px;
    background-color: #eee4;
    color: #eee;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.8em;

}

.arrows button:hover {
    background-color: #eeeeee85;
    color: #000;
    transition: 0.7s;
}

/* 
 Movimento da thumb  */

.thumb {
    animation: effectNextThumb 0.5s linear 1 forwards;
}

/* Movimento da ultima thumb */

.list-thumbs {
    animation: effectLastThumb 0.5s linear 1 forwards;
}