/*----- 1. General -----------------------------------------------------------*/

html {
    color: #000;
    font-size: 20px;
    letter-spacing: 0.025em;
    line-height: 1.4;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
@media screen and (max-width: 400px) {
    p {
        font-size: 16px;
    }
}
body {
    min-height: 100%;
    height: 100%;
    width: 100%;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::-moz-selection {
    background: none;
    text-shadow: none;
}
::selection {
    background: none;
    text-shadow: none;
}
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
a:link, a:hover, a:visited, a:active {
    text-decoration: none;
    color: inherit;
}
p {
    margin: 1rem 0 0.5rem 0;
}
.red {
  color: red;
}
main {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
}
.logo {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 150px;
    height: 150px;
    background: url('../img/cbs_logo@2x.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 100%;
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}
nav {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
div.close {
    position: absolute;
    z-index: 1000;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    font-size: 1.5em;
    margin: 0;
    color: #ff0000;
}
aside div.close {
    top: 0.5rem;
}

/*----- 1.1 Logo Animations --------------------------------------------------*/


/*----- Shake Animation ----------------------------------------------------- */

.shake {
    -webkit-animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
    animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}
@-webkit-keyframes shake {
    10%, 90% {
        -webkit-transform: translate3d(-2px, 0, 0);
        transform: translate3d(-2px, 0, 0);
    }
    20%, 80% {
        -webkit-transform: translate3d(4px, 0, 0);
        transform: translate3d(4px, 0, 0);
    }
    30%, 50%, 70% {
        -webkit-transform: translate3d(-8px, 0, 0);
        transform: translate3d(-8px, 0, 0);
    }
    40%, 60% {
        -webkit-transform: translate3d(8px, 0, 0);
        transform: translate3d(8px, 0, 0);
    }
}
@keyframes shake {
    10%, 90% {
        -webkit-transform: translate3d(-2px, 0, 0);
        transform: translate3d(-2px, 0, 0);
    }
    20%, 80% {
        -webkit-transform: translate3d(4px, 0, 0);
        transform: translate3d(4px, 0, 0);
    }
    30%, 50%, 70% {
        -webkit-transform: translate3d(-8px, 0, 0);
        transform: translate3d(-8px, 0, 0);
    }
    40%, 60% {
        -webkit-transform: translate3d(8px, 0, 0);
        transform: translate3d(8px, 0, 0);
    }
}

/*----- Heart Animation ----------------------------------------------------- */

.flyingHearts {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 50vmax;
    height: 50vmax;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.heart {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 20px;
    margin: calc(50% - 20px / 2) auto 0 auto;
    fill: red !important;
}
.heart_1 {
    width: 23px;
    fill: #F03434 !important;
    -webkit-animation: fountain_1 2s ease;
    animation: fountain_1 2s ease;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.heart_2 {
    width: 50px;
    fill: #D64541 !important;
    -webkit-animation: fountain_2 2s ease;
    animation: fountain_2 2s ease;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.heart_3 {
    width: 18px;
    fill: #D91E18 !important;
    -webkit-animation: fountain_3 2s ease;
    animation: fountain_3 2s ease;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.heart_4 {
    width: 22px;
    fill: #C0392B !important;
    -webkit-animation: fountain_4 1.9s ease;
    animation: fountain_4 1.9s ease;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.heart_5 {
    width: 27px;
    fill: #CF000F !important;
    -webkit-animation: fountain_5 2.3s ease;
    animation: fountain_5 2.3s ease;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.heart_6 {
    width: 26px;
    fill: #D64541 !important;
    -webkit-animation: fountain_6 1.5s ease;
    animation: fountain_6 1.5s ease;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.heart_7 {
    width: 18px;
    fill: #D91E18 !important;
    -webkit-animation: fountain_7 2s ease;
    animation: fountain_7 2s ease;
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.heart_8 {
    width: 22px;
    fill: #C0392B !important;
    -webkit-animation: fountain_8 1.7s ease;
    animation: fountain_8 1.7s ease;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.heart_9 {
    width: 20px;
    fill: #CF000F !important;
    -webkit-animation: fountain_9 1.8s ease;
    animation: fountain_9 1.8s ease;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}
.pulsate {
    -webkit-animation: pulsate 1.5s ease-out;
    animation: pulsate 1.5s ease-out;
    -webkit-animation-iteration-count: 3;
    animation-iteration-count: 3;
}
@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    35% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    50% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }
    65% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes pulsate {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    35% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    50% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }
    65% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@-webkit-keyframes fountain_1 {
    0% {
        top: 0;
        visibility: visible;
    }
    90% {
        top: -30vh;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -30vh;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -30vh;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_1 {
    0% {
        top: 0;
        visibility: visible;
    }
    90% {
        top: -30vh;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -30vh;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -30vh;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@-webkit-keyframes fountain_2 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -29vh;
        left: 13vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -29vh;
        left: 13vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -29vh;
        left: 13vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_2 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -29vh;
        left: 13vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -29vh;
        left: 13vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -29vh;
        left: 13vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@-webkit-keyframes fountain_3 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -18vh;
        left: -18vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -18vh;
        left: -18vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -18vh;
        left: -18vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_3 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -18vh;
        left: -18vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -18vh;
        left: -18vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -18vh;
        left: -18vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@-webkit-keyframes fountain_4 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -25vh;
        left: 12vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -25vh;
        left: 12vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -25vh;
        left: 12vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_4 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -25vh;
        left: 12vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -25vh;
        left: 12vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -25vh;
        left: 12vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@-webkit-keyframes fountain_5 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -15vh;
        left: -21vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -15vh;
        left: -21vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -15vh;
        left: -21vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_5 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -15vh;
        left: -21vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -15vh;
        left: -21vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -15vh;
        left: -21vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@-webkit-keyframes fountain_6 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -20vh;
        left: -6vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -20vh;
        left: -6vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -20vh;
        left: -6vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_6 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -20vh;
        left: -6vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -20vh;
        left: -6vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -20vh;
        left: -6vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@-webkit-keyframes fountain_7 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -27vh;
        left: 6vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -27vh;
        left: 6vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -27vh;
        left: 6vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_7 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -27vh;
        left: 6vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -27vh;
        left: 6vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -27vh;
        left: 6vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@-webkit-keyframes fountain_8 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -38vh;
        left: 15vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -38vh;
        left: 15vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -38vh;
        left: 15vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_8 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -38vh;
        left: 15vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -38vh;
        left: 15vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -38vh;
        left: 15vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@-webkit-keyframes fountain_9 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -30vh;
        left: -15vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -30vh;
        left: -15vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -30vh;
        left: -15vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes fountain_9 {
    0% {
        top: 0;
        left: 0;
        visibility: visible;
    }
    90% {
        top: -30vh;
        left: -15vmax;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    95% {
        top: -30vh;
        left: -15vmax;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    99% {
        top: -30vh;
        left: -15vmax;
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}

/* Animation for the PingPong Effekt */
.ping-pong {
    -webkit-animation: ping-pong 1.4s ease-in;
    animation: ping-pong 1.4s ease-in;
}
@-webkit-keyframes ping-pong {
  0%   { top: 0; left: 0; bottom: 0; right: 0; -webkit-transform:rotate(0deg); transform:rotate(0deg);} /* center */
  10%  { left: calc(-100% + 150px); bottom: calc(60% - 150px); -webkit-transform:rotate(70deg); transform:rotate(70deg); } /* left-up */
  15%  { left: calc(-60% + 150px); bottom: calc(100% - 150px); -webkit-transform:rotate(140deg); transform:rotate(140deg); } /* top-left */
  30%  { left: calc(100% - 150px); bottom: calc(-30% - 150px); -webkit-transform:rotate(20deg); transform:rotate(20deg); } /* right-bottom */
  35%  { left: calc(70% - 150px); bottom: calc(-100% + 150px); -webkit-transform:rotate(-30deg); transform:rotate(-30deg); } /* center-bottom */
  45%  { left: calc(0% - 150px); bottom: calc(100% - 150px); -webkit-transform:rotate(0deg); transform:rotate(0deg); } /* center-top */
  60%  { left: calc(-30% - 150px); bottom: calc(-100% + 150px); -webkit-transform:rotate(60deg); transform:rotate(60deg); } /* left-bottom */
  65%  { left: calc(-100% + 150px); bottom: calc(20% + 150px); -webkit-transform:rotate(90deg); transform:rotate(90deg); } /* left-bottom */
  80%  { left: calc(60% ); bottom: calc(100% - 150px); -webkit-transform:rotate(120deg); transform:rotate(120deg); } /* center-top */
  85%  { left: calc(100% - 150px ); bottom: calc(50% - 150px); -webkit-transform:rotate(50deg); transform:rotate(50deg); } /* right-center*/
  100% { top: 0; left: 0; bottom: 0; right: 0; -webkit-transform:rotate(0deg); transform:rotate(0deg);} /* center */
}
@keyframes ping-pong {
  0%   { top: 0; left: 0; bottom: 0; right: 0; -webkit-transform:rotate(0deg); transform:rotate(0deg);} /* center */
  10%  { left: calc(-100% + 150px); bottom: calc(60% - 150px); -webkit-transform:rotate(70deg); transform:rotate(70deg); } /* left-up */
  15%  { left: calc(-60% + 150px); bottom: calc(100% - 150px); -webkit-transform:rotate(140deg); transform:rotate(140deg); } /* top-left */
  30%  { left: calc(100% - 150px); bottom: calc(-30% - 150px); -webkit-transform:rotate(20deg); transform:rotate(20deg); } /* right-bottom */
  35%  { left: calc(70% - 150px); bottom: calc(-100% + 150px); -webkit-transform:rotate(-30deg); transform:rotate(-30deg); } /* center-bottom */
  45%  { left: calc(0% - 150px); bottom: calc(100% - 150px); -webkit-transform:rotate(0deg); transform:rotate(0deg); } /* center-top */
  60%  { left: calc(-30% - 150px); bottom: calc(-100% + 150px); -webkit-transform:rotate(60deg); transform:rotate(60deg); } /* left-bottom */
  65%  { left: calc(-100% + 150px); bottom: calc(20% + 150px); -webkit-transform:rotate(90deg); transform:rotate(90deg); } /* left-bottom */
  80%  { left: calc(60% ); bottom: calc(100% - 150px); -webkit-transform:rotate(120deg); transform:rotate(120deg); } /* center-top */
  85%  { left: calc(100% - 150px ); bottom: calc(50% - 150px); -webkit-transform:rotate(50deg); transform:rotate(50deg); } /* right-center*/
  100% { top: 0; left: 0; bottom: 0; right: 0; -webkit-transform:rotate(0deg); transform:rotate(0deg);} /* center */
}

/*----- 1.2 BG Colors --------------------------------------------------------*/

header.contact, aside.resume, aside.blog, footer.about {
    background-color: #fff;
}
body {
    background-color: #ffff00;
}
nav.top, nav.right, nav.bottom, nav.left {
    background-color: transparent;
}

/*----- 2. Contact -----------------------------------------------------------*/

header.contact {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100%;
    z-index: 999;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
    text-align: center;
    padding-bottom: 2rem;
}
header.transition-in {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
div.content {
    max-width: 100vw;
}
nav.top {
    position: absolute;
    bottom: -40px;
    left: 0;
    z-index: 1000;
    height: 40px;
    width: 100%;
    text-align: center;
    line-height: 1.9em;
    cursor: pointer;
}
nav.top span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}
div.social {
    text-transform: uppercase;
    font-size: 0.7em;
    margin-top: 1rem;
}
div.social a {
    margin: 0.25rem;
}

/*----- 3. Resume ------------------------------------------------------------*/

aside.resume {
    position: fixed;
    top: 0;
    left: 0;
    max-width: calc(100vw - 40px);
    height: 100%;
    z-index: 998;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
    box-sizing: border-box;
    padding-left: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
aside.resume .scrollbox {
    padding: 40px;
    max-height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
aside.resume p {
    max-width: 35em;
    padding-bottom: 5rem;
}
aside.transition-in {
    -webkit-transform: translateX(-40px);
    transform: translateX(-40px);
}
nav.left {
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
    right: -40px;
    cursor: pointer;
}
nav.left span {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    position: absolute;
    left: -26px;
    top: 47%;
}

/*----- 4. Blog --------------------------------------------------------------*/

aside.blog {
    position: fixed;
    top: 0;
    right: 0;
    max-width: calc(100vw - 40px);
    height: 100%;
    z-index: 998;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
    box-sizing: border-box;
}
nav.right {
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
    left: -40px;
    cursor: pointer;
}
nav.right span {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    position: absolute;
    left: -13px;
    top: 47%;
}

/*----- 5. About -------------------------------------------------------------*/

footer.about {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 999;
    text-align: center;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}
footer.transition-in {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
footer.about div.content {
    margin: 0 auto 1rem auto;
}
footer.about div.content p {
    max-width: 30em;
    margin: 1rem auto 2rem auto;
    box-sizing: border-box;
    padding: 0 1rem;
}
footer div.close {
    top: 0.5rem;
}
nav.bottom {
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 1000;
    height: 40px;
    width: 100%;
    text-align: center;
    line-height: 1.9em;
    cursor: pointer;
}
nav.bottom span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}
