body {
    background-color: #ddd;
    font-family: Arial;
}

.fullscreen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.paypal-container {
    height: 60px;
}

.photo {
    position: absolute;
    cursor: pointer;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
}

.side {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

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

    -webkit-transition: transform 0.6s;
    -moz-transition: transform 0.6s;
    transition: transform 0.6s;
}

.side-back {
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    display: table;
}

.side-back div {
    display: table-cell;
    vertical-align: middle;
    background-color: white;
}

.side-back p {
    padding: 30px;
    color: #8F8476;
    font-family: Helvetica, Arial, sans-serif;
}

.photo.flipped .side-front {
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.photo.flipped .side-back {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    -ms-transform: rotateY(0);
    transform: rotateY(0);
}

figure {
    width: 400px;
    position: absolute;
    padding: 0px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 0 8px 0px #333;
}

figure img {
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: -4px;
    box-shadow: 0 0 8px 0px #333;
}

figure figcaption {
    font-family: Comic Sans, Comic Sans MS, cursive;
    color: #8F8476;
}

.navbar2 {
    position: fixed;
    bottom: 48px;
    width: 100%;
    padding: 6px;
    text-align: center;
    color: #ddd;
    background-color: #222222;
    z-index: 999;
}

.navbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 4px;
    text-align: center;
    background-color: #000000;
    z-index: 999;
}

button {
    background-color: transparent;
    padding: 10px 24px;
    color: #ffffff;
    border: 2px solid black;
    -webkit-transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

button:hover {
    background-color: #f5b903;
    color: white;
}

#copyright {
    position: fixed;
    color: #aaa;
    text-decoration: none;
    bottom: 16px;
    right: 10px;
}

#copyright:hover {
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    figure {
        width: 160px;
    }
}

@media screen and (max-width: 1200px) {
    figure {
        width: 220px;
    }
}
