html, body {
    height: 100%;
    min-height: 100%;
    margin: 0;
    background-color: #000000;
}

a {
    text-decoration: none;
}

span {
    color: #FFFFFF;
}

#toptitle {
    line-height: 64px;
    font-size: 32px;
    font-weight: 800;
    font-family: "mutsis";
    background-image: repeating-linear-gradient(45deg, #003366, #003399, #000066, #6600cc, #660066, #993366, #993333, #993300, #663300, #666633, #003300, #339966);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 10s linear infinite;
}

@media screen and (max-width: 480px) {
    #toptitle {
        font-size: 24px;
    }
  }

#info-link {
    display: inline;
    position: absolute;
    top: 0;
    right: 0;
    color: #FFFFFF;
    padding: 8px;
}

@keyframes rainbow { 
    0%{background-position:0% 50%}
    50%{background-position:100% 25%}
    100%{background-position:0% 50%}
}

@font-face {
    font-family: mutsis;
    src: url(assets/mutsis.ttf);
}

#helvetti {
    height: calc(100% - 168px);
}

#saatana {
    width: 100%;
    height: 100%;
    text-align: center;
}

#vittu {
    max-width: 100%;
    height: 100%;
}

.perkele {
    width: 100%;
    height: 64px;
}

.perkele img {
    width: 32px;
}

#paska {
    width: 100%;
    height: 38px;
}

#paska > span {
    min-width: 50px;
    display: inline-block;
}

.buttons {
    display: inline-block;
    width: 64px;
    height: 64px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
    -webkit-tap-highlight-color: transparent;
}

#next {
    transform: rotate(-105deg);
}

#rand {
    transform: scale(0.75);
}

#prev {
    transform: rotate(105deg) scaleX(-1);
}

.hitto {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.hitto-perhana {
    background-color: #fefefe;
    margin: 5% auto 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
}