﻿


@import url(https://fonts.googleapis.com/css?family=Dosis:300,400|Open+Sans:300,400);
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}


/* go on then, styles go here. knock yourself out! */

.profile-card {
    background: white;
    position: relative;
    height: 320px;
    width: 560px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid black;
    border-radius: 2px;
    padding: 20px;
    padding-right: 90px;
    padding-right: calc(20px + 70px);
    /*box-shadow: -26px 70px 5px -10px rgba(0, 0, 0, 0.4);*/
    box-shadow: -22px 60px 2px -10px rgba(0, 0, 0, 0.5);
}

header {
    margin-bottom: 20px;
    background: white;
}

    header:after {
        content: "";
        display: block;
        clear: both;
        visibility: hidden;
        border: 1px solid red;
    }

    header img {
        float: left;
        margin-right: 20px;
        width: 150px;
        height: 140px;
    }

    header h1 {
        font-family: 'Dosis', sans-serif;
        font-weight: 400;
        font-size: 36px;
        letter-spacing: 2px;
        font-variant: small-caps;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    header h2 {
        font-family: 'Dosis', sans-serif;
        font-weight: 300;
        font-size: 26px;
        letter-spacing: 2px;
        margin-top: 12px;
        margin-bottom: 0px;
    }

    header h3 {
        font-family: 'Dosis', sans-serif;
        font-weight: 300;
        font-size: 16px;
        letter-spacing: 1px;
        margin-top: 16px;
        margin-bottom: 0px;
    }



.profile-social-links {
    height: 100%;
    width: 70px;
    position: absolute;
    top: 0px;
    right: 0px;
    list-style: none;
    padding: 20px 0;
}

/*lli {
    height: 20%;
    text-align: center;*/
    /*border:1px solid gray;*/
/*}*/

.profile-card {
    -webkit-transform: perspective(1600px) rotateX(50deg) rotateY(0deg) rotateZ(-10deg) translateY(50%) scale(0.9);
    transform: perspective(1600px) rotateX(50deg) rotateY(0deg) rotateZ(-10deg) translateY(50%) scale(0.9);
    -webkit-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: perspective(1600px) rotateX(50deg) rotateY(0deg) rotateZ(-10deg) translateY(50%) scale(0.9);
    -webkit-transform-origin: left center;
    transition: all 0.4s ease;
    -webkit-animation: hovertouch 1.3s ease-in-out infinite;
    animation: hovertouch 1.3s ease-in-out infinite;
}

    .profile-card:hover {
        transform: perspective(1600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(40%) scale(1);
        -webkit-transform: perspective(1600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(40%) scale(1);
        box-shadow: -2px 4px 3px -1px rgba(0, 0, 0, 0.6);
        -webkit-animation: none;
        animation: none;
    }

@-webkit-keyframes hovertouch {
    0% {
        top: 5px;
        box-shadow: -22px 60px 2px -10px rgba(0, 0, 0, 0.5);
    }

    50% {
        top: 10px;
        box-shadow: -20px 54px 1px -10px rgba(0, 0, 0, 0.58);
    }

    100% {
        top: 5px;
        box-shadow: -22px 60px 2px -10px rgba(0, 0, 0, 0.5);
    }
}

@keyframes hovertouch {
    0% {
        top: 5px;
        box-shadow: -22px 60px 2px -10px rgba(0, 0, 0, 0.5);
    }

    50% {
        top: 10px;
        box-shadow: -20px 54px 1px -10px rgba(0, 0, 0, 0.58);
    }

    100% {
        top: 5px;
        box-shadow: -22px 60px 2px -10px rgba(0, 0, 0, 0.5);
    }
}


