.hzwrapper {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.hzanimation {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    transition: width 3s, height 3s;
    animation: cornerLoop 6s ease-in-out infinite;
}

.hzcorner {
    position: absolute;
    background-color: transparent;
    background-image:
        linear-gradient(-45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 55%,
        rgba(0, 0, 0, 0.10) 70%,
        rgba(0, 0, 0, 0) 100%);
    clip-path: polygon(0% 0%, 0 100%, 100% 0%);
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 3px;
    filter: drop-shadow(6px 8px 16px rgba(0, 0, 0, .35));
    z-index: 2;
}

.flapimg{
    position: absolute;
    left: 0;
    top: 0px;
    width: auto !important;
    max-width: unset !important;
    height: var(--total-width) !important;
    clip-path: polygon(0% 0%, 0 100%, 100% 0%);
    z-index: 0;
    pointer-events: none
}

.hzbackimg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: var(--total-width);
    max-width: unset !important;
    height: auto !important;
    z-index: 1;
}

.hzfront {
    display: block;
    width: var(--total-width);
    height: auto;
}
.hz-curl-link{
    position:absolute;
    inset:0;
    z-index:5;
    text-indent:-9999px;
}