﻿@import url(https://fonts.googleapis.com/css?family=Raleway);
/**
 * CSS3 3D Hover effects [2]
 * See tutorial on: http://webbb.be/blog/little-css3-3d-hover-effects/
 */
body {
    margin: 0px;
    padding: 0px;
}

.bizarlink {
    color: #000;
    text-decoration: none;
    background: white;
    font-size: .9em;
    font-family: Arial;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    perspective: 600px;
    perspective-origin: 50% 50%;
}

    .bizarlink span {
        display: block;
        position: relative;
        padding: 1em 2em;
        transition: all 400ms ease;
        transform-origin: 50% 0%;
        transform-style: preserve-3d;
    }

    .bizarlink:hover {
        color: #fff;
    }

        .bizarlink:hover span {
            background: #000;
            transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
        }

    .bizarlink span:after {
        content: attr(data-content);
        display: inline-block;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        padding: 1em 2em;
        color: #fff;
        background: #000;
        transform-origin: 50% 0%;
        transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
    }
