* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: linear-gradient(-225deg, #e3fdf5 0%, #ffe6fa);
}

.image {
    width: 800px;
    height: 500px;
    background-color: #000;
    user-select: none;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img {
    cursor: none;
}

.zoom {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    pointer-events: none;
    transition: transform .25s ease,
                opacity 0s linear .25s,
                background .25s ease;
    opacity: 0;
    transform: scale(0);
    transform-origin: 50% 50%;
    overflow: hidden;
}

.zoom.show {
    transform: scale(1);
    opacity: 1;
    transition: transform .25s ease,
                opacity 0s linear;
}

.zoom.loading {
    background: transparent;
}

.zoom.loading::before {
    display: block;
    animation: loading .5s ease infinite alternate;
}

@keyframes loading {
    0%
    {
        transform: scale(0.1);
        box-shadow: inset 0 0 0 150px gold;
    }
    50%
    {
        transform: scale(1);
        box-shadow: inset 0 0 0 140px gold;
    }
    100%
    {
        box-shadow: inset 0 0 0 0px gold;
    }
}

.zoom-image {
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity .25s ease;
}