:root {
    --color-bg: #34304c;
    --color-bg2: #0c0057;
    --color-highlight: #fff;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

body {
    width: 100 wh;
    height: 90vh;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    -webkit-animation: Gradient 15s ease infinite;
    -moz-animation: Gradient 15s ease infinite;
    animation: Gradient 15s ease infinite;

    padding: 7.5vh 100px 0 100px;
    font-family: var(--font);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

div.root {
    display: flex;
    /* border: 10px solid rebeccapurple; */
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

img {
    margin: 10px;
    border-radius: 50%;
    border: 4px double white;
    height: 250px;
    width: 250px;
    cursor: pointer;

    animation-name: slide-in;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-delay: 2s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

img:hover {
    animation-name: slide-in;
}

@keyframes slide-in {
    0% {
        transform: rotate(0turn);
    }
    20% {
        transform: rotate(3turn);
        border-color: #e73c7e;
        border-style: dotted;
    }
    25% {
        transform: rotate(0turn);
    }
    100% {
        transform: rotate(0turn);
    }
}

.root:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.5s;
    pointer-events: none;
    border-radius: 44px;
}

.root:hover:before {
    left: -50%;
    transform: skewX(-5deg);
}

@keyframes Gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.copy {
    display: inline;
    padding: 0.5rem 1rem;
    background: var(--color-bg2);
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--color-highlight);
    border-radius: 1em;
}
