.bb, .bb::before, .bb::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

body {
    padding: 2em;
}

/* Shared */
.loginBtn {
    width: 190px;
    box-sizing: border-box;
    position: absolute;
    top: calc(50% + 125px);
    left: calc(50% - 95px);
    padding: 0 15px 0 46px;
    border: none;
    text-align: left;
    line-height: 34px;
    white-space: nowrap;
    border-radius: 0.2em;
    font-size: 16px;
    color: #FFF;
}

.loginBtn:hover {
    color: #fff;
    text-decoration: none;
}

.loginBtn:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 100%;
}

.loginBtn:focus {
    outline: none;
}

.loginBtn:active {
    box-shadow: inset 0 0 0 32px rgba(0, 0, 0, 0.1);
}


/* Google */
.loginBtn--google {
    /*font-family: "Roboto", Roboto, arial, sans-serif;*/
    background: #DD4B39;
}

.loginBtn--google:before {
    border-right: #BB3F30 1px solid;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png') 6px 6px no-repeat;
}

.loginBtn--google:hover,
.loginBtn--google:focus {
    background: #E74B37;
}

.bb {
    width: 200px;
    height: 200px;
    margin: auto;
    background: url(logo_small_white.svg) no-repeat 50%/70% rgba(0, 0, 0, 0.1);
    color: #00B4E5;
    box-shadow: inset 0 0 0 1px rgba(237, 30, 119, 1)
}

.bb::before, .bb::after {
    content: '';
    z-index: -1;
    margin: -5%;
    box-shadow: inset 0 0 0 2px;
    animation: clipMe 7s linear infinite;
}

.bb::before {
    animation-delay: -3.5s;
}

.bb:hover::after, .bb:hover::before {
    background-color: rgba(0, 1, 190, 0.2);
}

@keyframes clipMe {
    0%, 100% {
        clip: rect(0px, 220px, 2px, 0px);
    }
    25% {
        clip: rect(0px, 2px, 220px, 0px);
    }
    50% {
        clip: rect(218px, 220px, 220px, 0px);
    }
    75% {
        clip: rect(0px, 220px, 220px, 218px);

    }
}

html,
body {
    height: 100%;
}

body {
    position: relative;
    background-color: #0f222b !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}