﻿body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(#9b59b6, #8e44ad);
}

.wrapper {
    width: 200px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.circle {
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    left: 15%;
    transform-origin: 50%;
    animation: circle .5s alternate infinite ease;
}

@keyframes circle {
    0% {
        top: 60px;
        height: 5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }

    40% {
        height: 20px;
        border-radius: 50%;
        transform: scaleX(1);
    }

    100% {
        top: 0%;
    }
}

.circle:nth-child(2) {
    left: 45%;
    animation-delay: .2s;
}

.circle:nth-child(3) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.shadow {
    width: 20px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    top: 62px;
    transform-origin: 50%;
    z-index: -1;
    left: 15%;
    filter: blur(1px);
    animation: shadow .5s alternate infinite ease;
}

@keyframes shadow {
    0% {
        transform: scaleX(1.5);
    }

    40% {
        transform: scaleX(1);
        opacity: .7;
    }

    100% {
        transform: scaleX(.2);
        opacity: .4;
    }
}

.shadow:nth-child(4) {
    left: 45%;
    animation-delay: .2s
}

.shadow:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.wrapper span {
    position: absolute;
    top: 75px;
    font-family: 'Lato';
    font-size: 20px;
    letter-spacing: 12px;
    color: #fff;
    left: 15%;
}

/*base code*/
.animated {
    animation-fill-mode: both;
}

/*the animation definition*/
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
        visibility: visible
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0)；
    }
}

.slideInLeft {
    animation-name: slideInLeft;
    animation-duration: .3s;
}

.list-left {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .list-left li {
        width: 30%;
        margin-top: 8px;
    }

.left {
    padding: 8px;
    background-color: #1F8DD6;
}

ul {
    list-style: none;
    padding-left: 0;
}

[class^="hvr-"] {
    margin: .4em;
    padding: 1em;
    cursor: pointer;
    background: #e1e1e1;
    text-decoration: none;
    color: #666;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* shutter out horizontal*/
.hvr-shutter-out-horizontal {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    background: #e1e1e1;
    box-shadow: 0 0 1px transparent;
    transform: perspective(1px) translateZ(0);
    transition-property: color;
    transition-duration: 0.3s;
}

    .hvr-shutter-out-horizontal:hover, .hvr-shutter-out-horizontal:focus, .hvr-shutter-out-horizontal:active {
        color: white;
    }

    .hvr-shutter-out-horizontal:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: #2098D1;
        transform: scaleX(0);
        transform-origin: 50%;
        transition-property: transform;
        transition-duration: 0.3s;
        transition-timing-function: ease-out;
    }

    .hvr-shutter-out-horizontal:hover:before, .hvr-shutter-out-horizontal:focus:before, .hvr-shutter-out-horizontal:active:before {
        transform: scaleX(1);
    }

.open {
    position: relative;
    display: inline-block;
    width: 200px;
    padding: 8px;
    background-color: grey;
    text-decoration: none;
    transition: color .3s ease-out;
    transform: perspective(1px) translateZ(0);
}

    .open:hover {
        color: white;
    }

    .open::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: pink;
        z-index: -1;
        transform: scaleX(0);
        transition: transform .3s ease-out;
    }

    .open:hover::before {
        transform: scaleX(1);
    }