* { padding: 0; margin: 0; font-family: inherit; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
html, body { color: #000; background: #fff; font-family: 'Roboto', sans-serif; padding: 0; margin: 0; width: 100%; height: 100%; }
body { overflow: hidden; }

a { color: inherit; transition: color 100ms ease-in-out; text-decoration: none; }

body .text { 
    position: absolute; 
    display: inline-block;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    max-width: 1000px; max-height: 1000px;
    transform: translate(-50%,-50%);
    text-align: center;
    font-weight: 700;
    font-size: 45px;
    color: #fff;
    padding: 30px;
    white-space: pre-line;
    line-height: 0;
    opacity: 1;
    user-select: none;
}

body.resize .text { opacity: 0; }

body .text > span {
    position: relative;
    display: inline-block;
    line-height: 50px;
    height: 50px;
    width: 32px;
    text-align: center;
    opacity: 1;
    transform: none;
    transition: transform 50ms, opacity 50ms ease-in;
}

body .text > span.hidden { transform: translate(-10px,0); opacity: 0;}

body .text > span.special { transform: translateY(0) rotateZ(5deg); cursor: pointer; }
body .text > span.special.active { transform: translateY(0) rotateZ(0deg); }
body .text > span.special.hidden { transform: translate(-35px,0) rotateZ(5deg); }
body .text > span.special:hover, body .text > span.special.active:hover { transform: translateY(0) rotateZ(0deg); }

body .text > span.dropped { 
    animation: falling1 1000ms cubic-bezier(1,-0.01,1,.6) 1 forwards;
} 

body .text > span.v2.dropped { animation-name: falling2; }    

@keyframes falling1 {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(140vh) rotate(360deg); opacity: 1;}
}

@keyframes falling2 {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(140vh) rotate(-360deg); opacity: 1;}
}

.note {
    position: absolute;
    display: inline-block;
    right: 0; bottom: 0; 
    color: #ccc;
    font-size: 10px;
    line-height: 14px;
    padding: 8px;
    letter-spacing: 1px;
}

.note a:hover { color: #111; text-decoration: underline; }

.easteregg {
    position: absolute;
    display: block;
    width: 100%;
    top: 50%;  left: 0;
    padding: 30px;
    text-align: center;
    color: #fff;
    letter-spacing: 1px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 200ms, transform 200ms ease-in-out;
    transform: scale(0,0) translate(0,-50%);
    transform-origin: top center;
    font-size: 40px;
    letter-spacing: 2px;
}

.easteregg.active {
    opacity: 1;
    transform: scale(1,1) translate(0,-50%);
    transition-timing-function: cubic-bezier(0.7,0,0.7,1.5);
}