body {
    height: 100vh;
    font-family: Ranchers, sans-serif;
}

main {
    height: 100%;
    background-color: transparent;
    overflow-y: scroll;
    touch-action: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product {
    position: relative;
    height: 100%;
}

.product img {
    will-change: transform;
    z-index: 1;
    width: 25vw;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%) rotateZ(0deg);
    pointer-events: none;
    aspect-ratio: 3/4;
    object-fit: contain;
    transform-origin: center;
}

.product .title {
    display: none;
    text-transform: uppercase;
    font-size: 400px;
    color: #fff;
    font-weight: 700;
}

.leaf {
    position: fixed;
    width: 15%;
    animation-duration: 2s;
    animation-name: leafs;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

.leaf.odd {
    animation-name: leafs-off;
}

@keyframes leafs {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(90deg);
    }
    40% {
        transform: rotate(15deg);
    }
    60% {
        transform: rotate(75deg);
    }
    80% {
        transform: rotate(30deg);
    }
    100% {
        transform: rotate(45deg);
    }
}
@keyframes leafs-off {
    0% {
        transform: rotate(45deg);
    }
    20% {
        transform: rotate(-35deg);
    }
    40% {
        transform: rotate(25deg);
    }
    60% {
        transform: rotate(-15deg);
    }
    80% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.leaf-1,
.leaf-2 {
    top: 5%;
}

.leaf-3,
.leaf-4 {
    bottom: 5%;
}

.leaf-1,
.leaf-3 {
    left: 5%;
}

.leaf-2,
.leaf-4 {
    right: 5%;
}

.bg {
    will-change: transform, opacity, top;
    position: fixed;
    z-index: -1;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 10%;
    opacity: 0;
    transition: all 0.7s ease;
}
.title {
    will-change: transform;
    text-align: center;
    position: fixed;
    z-index: 0;
    width: 90vw;
    text-transform: uppercase;
    transform: translate(-50%, -50%) scale(0);
    top: 10%;
    left: 50%;
    color: #fff;
    opacity: 0;
    transition: all 0.7s ease;
    font-size: 400px;
}
@media screen and (max-width: 960px) and (orientation: portrait) {
    .product img {
        width: 50vw;
    }
    .leaf {
        width: 35%;
    }
}
@media screen and (max-width: 960px) and (orientation: landscape)  {
    .product img {
        width: 25vw;
    }
    .leaf {
        width: 20%;
    }
}
