.item {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    /* TIRA O SCROW DA TELA */
    background-color: var(--background);
}

.item.active {
    display: block;
}

.item .title {
    font-size: 12rem;
    color: #ffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: bold;
text-align: center;

/* CENTRALIZAR ALGO NO MEIO */
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}

.item .fruit {
    width: 90%;
    position: absolute;
    top: 0;
    z-index: 3;
}

.item .refri {
    z-index: 2;
    width: 600px;

    /* CENTRALIZAR ALGO NO MEIO */
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}

#prev, #next{
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
background-color: #eee9;
border: 1px solid #eee9;
color: #eee;
font-size: x-large;
font-family: monospace;
cursor: pointer;
z-index: 4;
border-radius: 50%;
}

#prev{
left: 30px;
}

#next{
right: 30px;
}

@keyframes toActive{
    from{
        top: 100%;
        opacity: 0;
    }

    to{
        bottom: 100%;
        opacity: 0;
    }

}


.item.item.active img.fruit{
    animation: toActive 0.5s ease-in-out 1;
}

.item.item.active .title{
    animation: toActive 0.5s ease-in-out 1;
}

.item.item.active .refri{
    animation: toActive 0.2s ease-in-out 1;
}




@media(max-width:480px){

 .item.active{

.refri{
    width: 28rem;
    margin-left: 8px;
}

.fruit{
    margin-top: 18em;
}

.title{
    font-size: 91px;
}

 }
}