
body {
    background-color: black;
    overflow:hidden;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

.background {    
    position:fixed;
    width:100%;
    height:100%;
    overflow: hidden;
    /* background: url(img/ukko.png) no-repeat center center fixed;  */    
    background-image: url(img/ukko.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    opacity: 0;
    animation-fill-mode: forwards;
}

.kellocontainer {
    position: absolute;
    z-index:2;
    width:100%;
    height:100%;
    padding:0;
    margin:0;    
}

.kello {
    width:100%;    
    font-family: 'Teko', sans-serif;    
    text-align: center;
    color: white;
    font-size: 10vw;
    font-weight: bold;        
    position: absolute; 
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);    
}


.fader {
    animation: fadeIn 1s;
    animation-fill-mode: forwards;
}

.ukkospeak {
    animation: speak 1s;
    animation-iteration-count: infinite;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes pulse {
    0% { background-color: black; }
    75% { background-color: #cc0000; }
    100% { background-color: black;}
}

@keyframes speak {
    0% { background-image: url("img/ukko.png"); }
    75% { background-image: url("img/ukko2.png"); }
    100% { background-image: url("img/ukko.png");}
}


.stophirmutime {
    z-index: 200;
    position:fixed;
    width:100%;
    height:100%;
    overflow: hidden;
    text-align: center;
    background-color: black;
    color: white;
    font-family: 'Teko', sans-serif;
    font-size: 5vw;
    animation: pulse 0.75s;
    animation-iteration-count: infinite;
}
