@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #fefefe;
    background: url(../img/Concrete_Jungle.jpg) #000;
    text-shadow: 1px 1px #333;
    letter-spacing: 0.1px;
    font-weight: 100;
    -webkit-font-smoothing: antialiased;

}

h1, h2 {
    font-weight: 100;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1em;
}

.signature {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
}

.signature h1, .signature h2 {
    margin: 10px;
}

.animate .signature {
    -webkit-animation: signature 2s forwards;
    -o-animation: signature 2s forwards;
    animation: signature 2s forwards;
}

.content {
    position: absolute;
    bottom: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    z-index: 200;
}

.animate .main-circle {
    -webkit-animation: profileImg 1s forwards;
    -moz-animation: profileImg 1s forwards;
    animation: profileImg 1s forwards;
    -webkit-animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -moz-animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.main-circle ul {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.animate ul {
    /*    -webkit-animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
        -moz-animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
        animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
        -webkit-animation: profileImg .5s forwards;
        -moz-animation: profileImg .5s forwards;
        animation: profileImg .5s forwards;*/
    -webkit-animation-delay: 3s;
    -moz-animation-delay: 3s;
    animation-delay: 3s;
}

.animate ul li.btn {
    -webkit-animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -moz-animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-animation: linkAnim .5s forwards 1s;
    -moz-animation: linkAnim .5s forwards 1s;
    animation: linkAnim .5s forwards 1s;
}

ul li.btn {
    opacity: 0;
}

.main-circle {
    width: 200px;
    height: 200px;
    background: url('../img/me.jpg') no-repeat;
    background-size: contain;
    border-radius: 100%;
    position: relative;
    margin: auto;
    top: 30%;
}

.main-circle .social-icons {
    display: block;
    width: 52px;
    height: 52px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -29px;
    margin-left: -29px;
}

.main-circle .social-icons li {
    display: block;
    position: absolute;
    text-align: center;
}

.btn-facebook {
    transform: rotate(0) translate(0, -170px);
}

.animate ul li.btn.btn-facebook {
    animation-delay: 1.2s;
}

.btn-facebook i {
    transform: rotate(45deg);
}

.btn-twitter {
    transform: rotate(51deg) translate(0, -170px);
}

.animate ul li.btn.btn-twitter {
    animation-delay: 1.3s;
}

.btn-twitter i {
    transform: rotate(-6deg);
}

.btn-linkedin {
    transform: rotate(102deg) translate(0, -170px);
}

.animate ul li.btn.btn-linkedin {
    animation-delay: 1.4s;
}

.btn-linkedin i {
    transform: rotate(-57deg);
}

.btn-xing {
    transform: rotate(153deg) translate(0, -170px);
}

.animate ul li.btn.btn-xing {
    animation-delay: 1.5s;
}

.btn-xing i {
    transform: rotate(-108deg);
}

.btn-google-plus {
    transform: rotate(204deg) translate(0, -170px);
}

.animate ul li.btn.btn-google-plus {
    animation-delay: 1.6s;
}

.btn-google-plus i {
    transform: rotate(-159deg);
}

.btn-instagram {
    transform: rotate(255deg) translate(0, -170px);
}

.animate ul li.btn.btn-instagram {
    animation-delay: 1.7s;
}

.btn-instagram i {
    transform: rotate(-210deg);
}

.btn-email {
    transform: rotate(306deg) translate(0, -170px);
}

.animate ul li.btn.btn-email {
    animation-delay: 1.8s;
}

.btn-email i {
    transform: rotate(-261deg);
}

.main-circle .social-icons li a i {
    line-height: 45px;
}

.main-circle .social-icons li a.social-icon {
    width: 46.2px;
    height: 46.2px;
    text-decoration: none;
    color: white;
    display: block;
    font-size: 17.6px;
    border-radius: 100% 100% 100% 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transform: rotate(-45deg) scale(0.9, 0.9);
    -moz-transform: rotate(-45deg) scale(0.9, 0.9);
    -o-transform: rotate(-45deg) scale(0.9, 0.9);
    transform: rotate(-45deg) scale(0.9, 0.9)
}

ul {
    padding: 0;
    list-style: none;
}

.bubble {
    background: #6F8695;
    border: 6px solid #6F8695;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

.bubble:hover {
    animation: bubbleHover .3s forwards;
}

.bubble-facebook:hover {
    background-color: #3d5b99;
    border-color: #3d5b99;
}

.bubble-twitter:hover {
    background-color: #00aced;
    border-color: #00aced;
}

.bubble-xing:hover {
    background-color: #007575;
    border-color: #007575;
}

.bubble-google-plus:hover {
    background-color: #d34836;
    border-color: #d34836;
}

.bubble-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.bubble-instagram:hover {
    background: #bc2a8d;
    border-color: #bc2a8d;
}

.bubble-email:hover {
    background: #aaaaaa;
    border-color: #aaa;
    color: #333;
}

.video-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    /* Make video to at least 100% wide and tall */
    min-width: 100%;
    min-height: 100%;

    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
    width: auto;
    height: auto;

    /* Center the video */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@-webkit-keyframes profileImg {
    from {
        opacity: 0;
        -webkit-transform: scale(0.5, 0.5);
        -moz-transform: scale(0.5, 0.5);
        -o-transform: scale(0.5, 0.5);
        transform: scale(0.5, 0.5);
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@-moz-keyframes profileImg {
    from {
        opacity: 0;
        -webkit-transform: scale(0.5, 0.5);
        -moz-transform: scale(0.5, 0.5);
        -o-transform: scale(0.5, 0.5);
        transform: scale(0.5, 0.5);
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@keyframes profileImg {
    from {
        opacity: 0;
        -webkit-transform: scale(0.5, 0.5);
        -moz-transform: scale(0.5, 0.5);
        -o-transform: scale(0.5, 0.5);
        transform: scale(0.5, 0.5);
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@-webkit-keyframes linkAnim {
    from {
        opacity: 0;
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes linkAnim {
    from {
        opacity: 0;
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    to {
        opacity: 1;
    }
}

@keyframes linkAnim {
    from {
        opacity: 0;
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    to {
        opacity: 1;
    }
}

@keyframes signature {
    from {
        opacity: 0;
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    to {
        opacity: 1;
    }
}

@keyframes bubbleHover {
    from {
        border-radius: 100% 100% 100% 0;
    }
    to {
        border-radius: 100% 100% 100% 100%;
    }
}

@media only screen and (max-height: 650px) {
    .main-circle {
        top: 40%;
    }
}

@media only screen and (max-height: 480px) {
    body {
        overflow: scroll;
    }
}