﻿body {
    background-image: url('jopjop.png');
    
    background-size: 100%;
    overflow: no-display;
    background-repeat: no-repeat;
    height: 100%;
    width: 98%;
}
#toceni:active {
    -webkit-animation: rotation 1s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}
.trava {
    position: fixed;
    bottom: 5%;
    left: 40%;
    width: 50%;
}

    .trava:hover {
        animation: trava 2s infinite;
    }

@keyframes trava {

    25% {
        transform: skewX(3deg)
    }

    50% {
        transform: skewX(-3deg)
    }

    100% {
        transform: skewX(0deg)
    }
}
.sun {
    width: 100px;
    height: 100px;
    position: relative;
    -webkit-animation: mymove 5s infinite; /* Safari 4.0 - 8.0 */
    -webkit-animation-timing-function: linear; /* Safari 4.0 - 8.0 */
    animation: mymove 5s infinite;
    animation-timing-function: linear;
}
@-webkit-keyframes mymove {
    from {
        left: 0px;
    }

    to {
        left: 200px;
    }
}

@keyframes mymove {
    from {
        left: 0px;
    }

    to {
        left: 200px;
    }
}