#all_boxes {
    padding: 0px 15px;
}

.panel {
    float: left;
    width: 200px;
    height: 200px;
    margin: 20px;
    position: relative;
    font-size: .8em;
    perspective: 800;
}

.panel .front {
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    border: 3px solid #000;
    background: #FFF;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all .6s ease-in-out;
}

.panel.flip .front {
    z-index: 900;
    border-color: #000;
    transform: rotateY(180deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.panel .back {
    font-size: 1.3em;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 800;
    width: inherit;
    height: inherit;
    border: 3px solid #000;
    background: #fff;
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all .6s ease-in-out;
}

.back a {
    font-size: 0.8em;
}

.back a:hover {
    border-bottom: 1px dotted white;
}

.panel.flip .back {
    z-index: 1000;
    transform: rotateY(0deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}
