#projectsContainer {
    width: 380px;
}
#buttons{
    margin: 10px auto;
    display: table;
}
.button{
    height: 16px;
    width: 16px;
    border: 1px solid #999;
    border-radius: 8px;
    margin: 10px 3px;
    float: left;
    display: block;
    background: rgb(69,72,77); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(69,72,77,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(69,72,77,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* W3C */
    -webkit-box-shadow: inset 2px 2px 2px  #999, inset -1px -1px 1px  #999;
    box-shadow: inset 2px 2px 2px  #999, inset -1px -1px 1px  #999;
}

.button:hover{
    background: rgb(0,222,0);
    border: 1px solid #00ee00;
    box-shadow:0 0 3px #00ee00;
    -webkit-box-shadow:0 0 3px #00ee00;
}

.card {
    position:relative;
    width: 140px;
    height: 200px;
    margin: 0 -8.8%;
    padding: 15px 5px;
    float: left;
    display: block;
    border: 2px solid #cecece;
    border-radius: 10px;
    -webkit-transform: skew(0deg,-20deg) scale(0.80);
    -moz-transform: skew(0deg,-20deg) scale(0.80);
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    text-align: center;
    text-decoration: none;
    background: rgb(69,72,77); /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, rgba(69,72,77,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(69,72,77,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: radial-gradient(ellipse at center, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* W3C */
    -webkit-box-shadow: 3px 3px 7px 1px rgba(0, 0, 0, 0.8);
    box-shadow: 3px 3px 7px 1px rgba(0, 0, 0, 0.8);

    /* flexbox*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    -webkit-box-align: center;

    display: -moz-box;
    -moz-box-orient: vertical;
    -moz-box-pack: center;
    -moz-box-align: center;

    display: box;
    box-orient: vertical;
    box-pack: center;
    box-align: center;
}

.card img{
    border-radius: 10px;
    opacity: 0.2;
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    image-rendering: -moz-crisp-edges;         /* Firefox */
    image-rendering:   -o-crisp-edges;         /* Opera */
    image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
}

.card:target ~ .card{
    -moz-transform: skew(0deg,20deg) scale(0.80);
    -webkit-transform: skew(0deg,20deg) scale(0.80);
}

.card:target{
    -webkit-transform: skew(0deg,0deg) scale(1);
    -moz-transform: skew(0deg,0deg) scale(1);
    z-index: 90;
    margin: 0 25px;
}

.card span{
    color: #eee;
    line-height: 2;
    font-size: 1.4em;
    text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px, rgba(0,0,0,0.3) -1px -1px;
}

.card:active{
    overflow: hidden;
}

.card:target img{
    opacity: 1;
    image-rendering: auto;
}

.card:target span{
    opacity: 1;
    display: inline;
}

.card:target + .card{
    z-index: 15;
}

.card:target + .card + .card{
    z-index: 14;
}

.card:target + .card + .card + .card {
    z-index: 13;
}

.card:target + .card + .card + .card + .card{
    z-index: 12;
}