#mobi {
    display: none;
}

#screen {
    display: block
}

.header {
    width: 100%;
    margin: 0 auto;
}

.header h3 {
    text-align: left
}

#name {
    color: green
}

.menu:active {
    transform: translateY(2px) !important;
    padding-top: 2px;
    text-decoration: none
}

.neu img:active {
    transform: translateY(2px) !important;
    text-decoration: none
}

#history {
    position: absolute;
    margin-left: 6%;
    bottom: 43px
}

#back {
    text-decoration: none;
    color: #00B8DD
}

#pfeil {
    float: left;
    margin: 0.4em;
    vertical-align: middle;
    display: inline-block;
    cursor: pointer
}

#pfeil img {
    width: 30px;
}

#rotateModal {
    display: none;
    z-index: 99999 !important;
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 123px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(255, 255, 255, 0.7);
}


#rotateDiv {
    position: relative;
    min-height: 100%;
    min-width: 100%;
}

#rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#rotate img {
    display: block;
    width: 123px;
    margin: 0 auto 20px
}

/*
        #rotate {
            -webkit-animation: spin 4s linear infinite;
            -moz-animation: spin 4s linear infinite;
            animation: spin 4s linear infinite;
        }

        @-moz-keyframes spin {
            100% {
                -moz-transform: rotate(360deg);
            }
        }

        @-webkit-keyframes spin {
            100% {
                -webkit-transform: rotate(360deg);
            }
        }

        @keyframes spin {
            100% {
                -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }
        */

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #0094FF;
    overflow: scroll;
    padding-top: 60px;
    transition: 0.5s;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    text-shadow: 1px 1px #000000;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #000000;
    text-shadow: 1px 1px #ffffff !important;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 6px;
    font-size: 36px;
    margin-left: 50px;
}

.mobibar {
    width: 100%;
    height: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #0094FF;
    overflow-x: hidden;
    padding-top: 0px;
    margin-bottom: 16px;
    transition: 0.5s;
}

.mobibar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    text-shadow: 1px 1px #000000;
    display: block;
    transition: 0.3s;
}

.mobibar a:hover {
    color: #000000;
    text-shadow: 1px 1px #ffffff !important;
}

.mobibar .closebtn {
    position: absolute;
    top: 0;
    right: 6px;
    font-size: 36px;
    margin-left: 50px;
}

#wrapper {
    min-height: 100%;
    transition: margin-top .5s;
}

#main {
    margin-bottom: 100px;
    transition: margin-right .5s;
}

#max {
    display: block;
}

#min {
    display: none
}

@media screen and (max-width: 569.98px) {
    #mobi {
        display: block;
    }

    #screen {
        display: none
    }

    #max {
        display: none;
    }

    #min {
        display: block
    }
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */

@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

    .sidebar a {
        font-size: 18px;
    }
}
