@keyframes take-my-card {
    from {opacity: 0; top: -50px;}
    to {opacity: 1; top: 0;}
}

@keyframes card-extra-fade-in {
    from { opacity: 0;}
    to { opacity: 1;}
}


@keyframes endorce-fade-in{
    from { opacity: .2;}
    to {opacity: 1;}
}

#cardholder {
    background-color: lightgray;
}

#card-gradient {
    background-image: linear-gradient(lightgray, darkgray, lightgray);

    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1.5in;

    margin: auto;
}


#card{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;

    -webkit-animation-name: card;
    -moz-animation-name: card;
    -o-animation-name: card;
    animation-name: take-my-card;

    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;

    width:3.5in;
    height:2in;

    background-color: whitesmoke;

    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 40px rgba(0,0,0,.1) inset;
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 40px rgba(0,0,0,.1) inset;
    box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 40px rgba(0,0,0,.1) inset;
}

#card-my-name{
    margin: auto 0;
    border: 0;
    padding: 0;
    text-align: center;
    position: absolute;
    bottom: 1in;
    left: 0;
    right: 0;
    font-family: "Cinzel Decorative", cursive;
    font-weight: 700;
}

#card-my-name::first-letter{
    letter-spacing: 1pt;
}

#card-my-nick{
    margin: auto 0;
    padding: 0 2em;
    border: 0;
    text-align: center;
    position: absolute;
    top: 1in;
    left: 0;
    right: 0;
    font-family: "Share Tech Mono";
    font-variant: small-caps;
}

#email {
    position: absolute;
    left: 0;
    bottom: 0;

    padding: 0 0 8px 8px;
    margin: 0;
    border: 0;

    color:slategray;
}

#email > a {
    color:inherit;
    text-decoration: none;
}

#email > a:hover {
    text-decoration: underline;
}

ul#offsites {
    list-style-type: none;
    padding: 0;
    border: 0;
    margin: 0 10px 0 0;

    position: absolute;
    right: 0;
    bottom: 0;

}

ul#offsites > li a{
    text-decoration: none;
    color: inherit;
}

ul#offsites > li {
    display: inline-block;
    overflow: hidden;
    opacity: .2;
    padding-left:4px;
}

ul#offsites > li:hover {
    display: inline-block;
    overflow: hidden;
    opacity:1;

    -webkit-animation-name: endorce-fade-in;
    -moz-animation-name: endorce-fade-in;
    -o-animation-name: endorce-fade-in;
    animation-name: endorce-fade-in;

    -webkit-animation-duration: .4s;
    -moz-animation-duration: .4s;
    -o-animation-duration: .4s;
    animation-duration: .4s;
}

ul#offsites > li div {
    display: none;

    position: absolute;

    left:auto;
    bottom:30px;

    z-index: 2;
    padding: 4px;

    background-color: whitesmoke;

    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 40px rgba(0,0,0,.1) inset;
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 40px rgba(0,0,0,.1) inset;
    box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 40px rgba(0,0,0,.1) inset;


}

ul#offsites > li:hover div, ul#offsites > li div:hover{
    opacity: 1;

    display: block;

    width: auto;
    height: auto;

    -webkit-animation-name: card-extra-fade-in;
    -moz-animation-name: card-extra-fade-in;
    -o-animation-name: card-extra-fade-in;
    animation-name: card-extra-fade-in;
    
    -webkit-animation-duration: .4s;
    -moz-animation-duration: .4s;
    -o-animation-duration: .4s;
    animation-duration: .4s;

}

ul#offsites > li pre {
    margin:0;
}
