body {
    background-image: url('img/BACKGROUND.jpg');
    min-height      : 75rem;
    padding-top     : 4.5rem;
}

.small-card {
    float        : left;
    position     : relative;
    left         : 0;
    top          : 0;
    border       : 0;
    background   : none;
    padding      : 0;
    width        : 70px;
    height       : 100px;
    margin       : 5px 5px;
    transition   : all 0.3s;
    border-radius: 10px;
}

.small-card .panel .pad {
    border-radius: 5% 5%;
}

.small-card:hover {
    transform         : scale(0.97);
    transition        : transform .2s;
    -webkit-box-shadow: 0px 0px 20px 0px rgb(0, 255, 200, 1);
    -moz-box-shadow   : 0px 0px 20px 0px rgba(0, 255, 200, 1);
    box-shadow        : 0px 0px 20px 0px rgba(0, 255, 200, 1);
}

.small-card img {
    width        : 70px;
    height       : 100px;
    border-radius: 5px 5px;
    border       : 3px solid rgb(255, 255, 255);
    box-shadow   : 3px 3px 3px 3px rgba(0, 0, 0, .3);
}

.big-card {
    width        : 100%;
    margin       : 30px 0px 30px 0px;
    cursor       : pointer;
    border-radius: 40px;
}


.big-card img {
    width        : 100%;
    border-radius: 20px 20px;
    border       : 15px solid rgb(255, 255, 255);
    box-shadow   : 9px 9px 9px 9px rgba(0, 0, 0, .3);
}

.big-card:hover {
    transform : scale(0.97);
    transition: transform .2s;
}


.panel {
    float    : left;
    width    : 100%;
    height   : 100%;
    margin   : 0;
    position : relative;
    font-size: .8em;

    -webkit-perspective: 1000px;
    perspective        : 1000px;
}

/* -- make sure to declare a default for every property that you want animated -- */
/* -- general styles, including Y axis rotation -- */
.panel .front {
    float     : none;
    position  : absolute;
    top       : 0;
    left      : 0;
    z-index   : 900;
    width     : inherit;
    height    : inherit;
    border    : 0px;
    background: none;
    text-align: center;
    box-shadow: 0;

    -webkit-transform: rotateX(0) rotateY(0);
    transform        : rotateX(0) rotateY(0);

    -webkit-transform-style: preserve-3d;
    transform-style        : preserve-3d;

    -webkit-backface-visibility: hidden;
    backface-visibility        : hidden;

    /* -- transition is the magic sauce for animation -- */
    -webkit-transition: all .4s ease-in-out;
    transition        : all .4s ease-in-out;
}

.panel.flip .front {
    z-index   : 900;
    border    : 0px;
    background: none;

    -webkit-transform: rotateY(179deg);
    transform        : rotateY(179deg);
}

.panel .back {
    float      : none;
    position   : absolute;
    top        : 0;
    left       : 0;
    z-index    : 800;
    width      : inherit;
    height     : inherit;
    border     : 0;
    background : none;
    text-shadow: 0;

    -webkit-transform: rotateY(-179deg);
    transform        : rotateY(-179deg);

    -webkit-transform-style: preserve-3d;
    transform-style        : preserve-3d;

    -webkit-backface-visibility: hidden;
    backface-visibility        : hidden;

    /* -- transition is the magic sauce for animation -- */
    -webkit-transition: all .4s ease-in-out;
    transition        : all .4s ease-in-out;
}

.panel.flip .back {
    z-index   : 1000;
    background: none;

    -webkit-transform: rotateX(0) rotateY(0);
    transform        : rotateX(0) rotateY(0);

}

.big-card .panel .pad {
    border-radius: 40px;
}

.panel.flip .action {
    display: none;
}