#container {
    position: absolute;
    top: 50%;
    margin-top: -200px;
    left: 0;
    width: 100%;
    animation: fall 1.7s cubic-bezier(0, 0, 0.3, 1) 0s 1 normal none running;
    perspective: 1000px;
    color: #000;
}

#flip {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    height: 450px;
    transform-style: preserve-3d;
    position: relative;
}

.front, .back {
    backface-visibility: hidden;
    transition: 1s;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background: url(/static/images/container.png);
    border: 1px solid #aaa;
    border-radius: 5px;
    overflow: hidden;
    width: 400px;
    position: absolute;
    top: 0;
    left: 0;
}

.front {
    z-index: 2;
    margin-top: 120px;
    height: 200px;
    animation: reverse_flip 1.7s ease-in-out .6s 1 normal forwards running;
}

.back {
    transform: rotateX(-180deg);
    height: 430px;
    animation: flip 1.7s ease-in-out .6s 1 normal forwards running, shadow_change 6.7s ease-in-out 1.2s 1 normal forwards running;
    font-size: 18pt;
}

#hello_text {
    display: block;
    font-size: 86pt;
    font-weight: 100;
    margin-top: 0;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.4)
}

#wanderer_text {
    display: block;
    font-size: 28pt;
    font-weight: 100;
    margin-top: -10px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2)
}

#text {
    font-size: 32pt;
    font-weight: 100;
    margin-top: 10px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
}

.back > ul {
    margin: 6px auto;
    padding: 0;
    list-style-type: none;
}

.back > ul li {
    padding: 5px 8px;
    margin: 0 2px;
    color: #fff;
}

.back > ul li span {
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
}

.back > ul li .link {
    margin-top: 5px;
    display: inline-block;
    color: #222;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all .4s ease-out;
    text-decoration: none;
    font-weight: bolder;
}

.back > ul li .link:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 1.0);
}


@keyframes fall {
    from {
        top: -50%
    }
    to {
        top: 50%
    }
}

@keyframes flip {
    from {
        transform: rotateX(-180deg)
    }
    to {
        transform: rotateX(0deg)
    }
}

@keyframes reverse_flip {
    from {
        transform: rotateX(0deg)
    }
    to {
        transform: rotateX(180deg)
    }
}

@keyframes shadow_change {
    from {
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.0);
    }
    to {
        box-shadow: 0 0 100px rgba(255, 255, 255, 0.15);
    }
}
