*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    width: 100;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}
.layer{
    height: 100vh; width: 100%;
    background-color: lightgreen;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: absolute;
    display: none;
}
#layer1{
    background: rgb(255, 239, 219);
    /* z-index: 2; */
}
#can-container{
    width: 200px; 
    position: relative;
    overflow: hidden;
    margin-top: 75px;
}
.can-image{
    width: 100%;
}
.wrapper-img{
    height: 90%;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -53%);
    mix-blend-mode: multiply;
    animation: animateWrapper .5s ease-in;
}
.text{
    font-family: poppins;
    font-size: 175px;
    font-weight: 500;
    position: absolute;
}
#layer1 .text{
    color: rgb(255, 213, 159);
}
.fruits{
    position: absolute;
}
.fruits img{
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
#layer1 .fruits img:nth-child(1){
    width: 125px;
    translate: -225px -150px;
    animation: animateFruits_1 0.5s ease-out;
}
#layer1 .fruits img:nth-child(2){
    width: 180px;
    translate: 275px -50px;
    animation: animateFruits_2 0.5s ease-out;
}
#layer1 .fruits img:nth-child(3){
    width: 250px;
    translate: -155px 215px;
    animation: animateFruits_3 0.5s ease-out;
}
#layer2 {
    background: rgb(229, 254, 193);
    /* z-index: 1; */
}
#layer2 .text {
    color: rgb(181, 235, 115);
}
#layer2 .fruits img:nth-child(1){
    width: 75px;
    translate: 210px 200px;
    animation: animateFruits_3 0.5s ease-out;
}
#layer2 .fruits img:nth-child(2){
    width: 275px;
    translate: 150px -135px;
    animation: animateFruits_2 0.5s ease-out;
}
#layer2 .fruits img:nth-child(3){
    width: 250px;
    translate: -270px 120px;
    animation: animateFruits_1 0.5s ease-out;
}
.layer label{
    font-size: 16px;
    font-family: poppins;
    border: 2px solid #000 ;
    border-radius: 20px;
    padding: 10px 15px;
    margin-top: 75px;
    cursor: pointer;
}

.btn{
    all: unset;
    height: 32px; width: 32px;
    font-size: 32px; font-weight: 900; text-align: center;
    border-radius: 50%; 
    padding: 10px;
    position: absolute; top: 50%; left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.btn img{
    width: 100%;
    height:100%;
    color: #000;
}
.btn#nextBtn{
    left: 90%; 
}
img#leftArrow{
    transform: rotate('180deg');
}
.layer.show{
    display: flex;
    /* animation: animateLayers 1s linear; */
}

.wrapper{
    position: relative;
    display: flex;
    font-weight: 600;
    overflow: hidden;
    border-radius: 2rem;
    cursor: grab;
    box-shadow: 
        0 0 6px #00000010,
        0 0 20px #0000001a;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.effect{
    position: absolute;
    z-index: 0;
    inset: 0;
    backdrop-filter: blur(0.5px);
    filter: url(#glass-distortion);
    overflow: hidden;
}
.tint{
    z-index: 1;
    position: absolute;
    inset: 0;
    background: #ffffff10;
}
.shine{
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    box-shadow: inset 2px 2px 1px 0 #ffffff4b,
                inset -1px -1px 1px 1px #ffffff40;
}
.wrapper{
    display: flex;
    gap: 25px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}
.dock{
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    padding: 0.6rem;
}
.dock,.dock>div{
    border-radius: 2rem;
}
.dock:hover{
    padding: 0.8rem;
    border-radius: 2rem;
}
.dock:hover>div{
    border-radius: 2rem;
}
.dock img, .cta-btn{
    position: relative;
    display: grid;
    place-items: center;
    text-decoration: none;
    margin: 0 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.dock img:hover, .cta-btn{
    color: #ff638e;
    transform: translateY(-10px);
    transform-origin: center;
}
.cta-wrapper{
    height: 60px;
}
.cta-btn{
    all: unset;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
    cursor: pointer;
}




@keyframes animateLayers {
    from{
        clip-path: inset(-100% 0 -100% 100%);
    }
    to{
        clip-path: inset(0 0 0 0);
    } 
}

@keyframes animateFruits_1 {
    from{
        transform:translate(-220%,-120%);
    }
}
@keyframes animateFruits_2 {
    from{
        transform:translate(320%,-120%);
    }
}
@keyframes animateFruits_3 {
    from{
        transform:translate(-120%,120%);
    }
}
@keyframes animateWrapper {
    from{
        
        transform: translate(-70.999%,-50% );
    }
}