@import url('https://fonts.googleapis.com/css?family=Italianno');

html, body { height: 100%; }

html { background: linear-gradient(#000005, #050520); }

canvas {
    display: block;
}


html, body {
    overflow: hidden;
}
#text {
    font-family: 'Italianno', "EB Garamond", serif;
    font-weight: 400;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
    font-size: 50px;
    z-index: 800;
    color: white;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    text-align: center;
    /*opacity: .5;*/
    margin-top: 20px;
    animation: text-enter 3s forwards 1.2s;
    -moz-animation: text-enter 3s forwards 1.2s;
    -webkit-animation: text-enter 3s forwards 1.2s;
    -o-animation: text-enter 3s forwards 1.2s;
    opacity: 0;
}
@keyframes text-enter {
  0% { opacity: 0}
  100% {opacity:.5 }
}
@-moz-keyframes text-enter {
    0% { opacity: 0}
  100% {opacity:.5 }
}
@-webkit-keyframes text-enter {
    0% { opacity: 0}
  100% {opacity:.5 }
}
@-o-keyframes text-enter {
    0% { opacity: 0}
  100% {opacity:.5 }
}

#light {
    background: radial-gradient(30% 60%, circle contain, hsla(240, 100%, 20%, .25) 0%, hsla(240, 0%, 0%, 0) 100%);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#ground {
    background: linear-gradient(#101020, #001);
    bottom: 0;
    height: 30%;
    left: 0;
    position: absolute;
    width: 100%;
}

#moon {
    background: linear-gradient(#99a, #eef);
    border-radius: 100%;
    box-shadow: 0 0 150px hsla(0, 0%, 100%, .3);
    top: 60%;
    height: 200px;
    left: 30%;
    margin: -100px 0 0 -100px;
    position: absolute;
    width: 200px;
}

#house {
    background: #000;
    bottom: 30%;
    height: 18px;
    left: 30%;
    margin: 0 0 0 -15px;
    position: absolute;
    width: 30px;
}

#house:before {
    background: #000;
    top: -15px;
    content: '';
    display: block;
    height: 12px;
    left: 21px;
    margin: 0 0 0 0;
    position: absolute;
    width: 6px;
    z-index: 2;
}

#house:after {
    border-bottom: 15px solid #000;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    top: -15px;
    content: '';
    display: block;
    height: 0;
    left: 50%;
    margin: 0 0 0 -20px;
    position: absolute;
    width: 0;
}

