@import url('https://fonts.googleapis.com/css?family=Indie+Flower&display=swap');

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000;
}

.square {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square div:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    transition: 0.8s;
    animation: animate 6s linear infinite;
}

.square:hover div:nth-child(1) {
    border: none;
    background: rgba(255,255,255);
}

.square div:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #7ef9ff;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    transition: 0.8s;
    animation: animate2 4s linear infinite;
}

.square:hover div:nth-child(2) {
    border: none;
    background: rgba(126,249,255);
}

.square div:nth-child(3) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #ff66cc;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    transition: 0.8s;
    animation: animate 10s linear infinite;
}

.square:hover div:nth-child(3) {
    border: none;
    background: rgba(255,102,204);
}

@keyframes animate
{
    0%
    {
        transform: rotate(0deg);
    }
    100%
    {
        transform: rotate(360deg);
    }
}

@keyframes animate2
{
    0%
    {
        transform: rotate(360deg);
    }
    100%
    {
        transform: rotate(0deg);
    }
}

.button a {
    position: relative;
    display: inline-block;
    margin-top: 4px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    font-family: 'Indie Flower', sans-serif;
}