html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background-color: #135DCA;
    cursor: pointer;
    transition: background-color 0.5s ease;
}

.tausta {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('kirkko.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
    transition: background-image 0.5s ease;
}

.pilvet_kontti {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    display: flex;
    animation: liikuPilvet 60s linear infinite;
}

.pilvet {
    width: 100%;
    height: 100%;
    background: url('pilvet.png') repeat-x;
    background-size: cover;
    transition: background-image 0.5s ease;
}

.homer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 50%;
    z-index: 2;
    transition: opacity 0.5s ease;
}

@keyframes liikuPilvet {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.salama {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.sade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    display: none;
}

.pisara {
    background: linear-gradient(to bottom, rgba(13,52,58,1) 0%, rgba(255,255,255,0.6) 100%);
    width: 1px;
    height: 89px;
    position: absolute;
    bottom: 200px;
    animation: fall 0.63s linear infinite;
    opacity: 0.6;
}

@keyframes fall { to { margin-top: 900px; } }
