/*
<link rel="stylesheet" href="/lib/archived.css">
<span id="archived"><a href="/archived.html">Tirol Atlas Archiv</a></span>
*/

#archived a {
    background: #007;
    color: #fff;
    text-decoration: none;
    font-family: arial, sans-serif;
    text-align: center;
    font-weight: bold;
    padding: 5px 40px;
    font-size: 1rem;
    line-height: 2rem;
    position: relative;
    transition: 0.5s;
}

#archived a:hover {
    background: #c11;
    color: #fff;
}

#archived a::before,
#archived a::after {
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    top: 1px;
    left: 0;
    height: 1px;
    background: #fff;
}

#archived a::after {
    bottom: 1px;
    top: auto;
}


#archived {
    animation: fadeout 3s;
    animation-fill-mode: forwards;
}

#archived.static {
    animation: none;
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
@media screen and (min-width:800px) {
    #archived {
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 200px;
        overflow: hidden;
        height: 200px;
        z-index: 9999;
    }

    #archived a {
        width: 200px;
        position: absolute;
        top: 60px;
        left: -60px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
    }
}
