/* cleaner */

* {
    margin: 0;
    padding: 0;
}

html {
    background-image: url(../lib/img/wood1.jpg);
    background-repeat: no-repeat;
    background-size: 1920px auto;
}

/* container */

header {

    background-image: url(../lib/img/wood.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw;
    height: 250px;
    color: white;
}


#window {
    position: absolute;
    display: inline-block;
    top: 300px;
    left: 500px;
    margin: auto;
    width: 400px;
    height: auto;
    z-index: -50;
}

#window img {
    width: 800px;
    height: auto;
}

#m01_0, #m02_0, #m03_0 {
    background-image: url(../lib/img/bg2.jpg);
    position: absolute;
    top: 40px;
    display: inline-block;
    z-index: -1;
    width: 200px;
    cursor: pointer;
    border-radius: 0 20px 20px 20px;
    box-shadow: 0px 2px 20px 0px rgba(0,0,0,0.75);
}

#m01_0 {left: 300px;}
#m02_0 {left: 700px;}
#m03_0 {left: 1100px;}

#m01_2:hover, #m02_2:hover, #m03_2:hover {
    color: blue;
}

#m01_2:before, #m02_2:before, #m03_2:before {
    content: url(../lib/img/screw.png);
}

#m01_1, #m02_1, #m03_1 {
    display: inline-block;
    height: 200px;
    width: 100%;
    border-radius: 0 20px 0 0;
    z-index: -5;
}

#m01_1 p, #m02_1 p, #m03_1 p {
    display: inline-block;
    margin-top: 80px;
    margin-left: 70px;
    transform: rotate(-90deg);
}

#m01_2, #m02_2, #m03_2 {
    height: 50px;
    border-radius: 0 0 18px 20px;
    padding-left: 15px;
    font-weight: bold;
    font-size: 30px;
}

.auf {
    animation: rotation_out .5s 1 linear;
    animation-fill-mode: forwards;
}

.zu {
    animation: rotation_in .5s 1 linear;
}
@keyframes rotation_out {
    from {
    transform-origin: 25px 215px;
    transform: rotate(0deg);
    }
    to {
    transform-origin: 25px 215px;
    transform: rotate(90deg);
    }
}

@keyframes rotation_in {
    from {
    transform-origin: 25px 215px;
    transform: rotate(90deg);
    }
    to {
    transform-origin: 25px 215px;
    transform: rotate(0deg);
    }

}