/* schriftart */
@font-face {
    font-family: Averia;
    src: url(AveriaSerif-Bold.ttf) format(truetype);
}


body {
        min-height: 100vh;
        background-image: url("media/back_01.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        font-family: Averia;
        font-size: 1.5em;
}

nav ul li {
        width: 100%;
        list-style: none;
        display: flex;
        justify-content: flex-end;
        align-items: center;
}
nav li {
        height: 50px;
}
nav a {
        height: 100%;
        padding: 0 30px;
        text-decoration: none;
        display: flex;
        align-items: center;
        color: black;
}
nav a:hover {
        background-color: #ff6a005d;
}
.sidebar {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        z-index: 999;
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
}
.sidebar li {
        width: 100%;
}
.sidebar a {
        width: 100%;
}
.menuContainer {
        position: relative;
        left: 2%;
}
.menu {
        list-style: none;
        padding: 0;
        margin: 0;
}

img:hover {
        background: #ff6a005d;
}
.menu li {
        display: inline-block;
        margin-right: 10px;
}
.lastItem {
        position: absolute;
        right: 4%;
        top: 0;
}
.tickerContainer {
        position: absolute;
        width: 50%;
        bottom: 10%;
        right: 47%;
        font-size: 1.5em;
}

    


@media screen and (max-width: 800px) {
    body {
        background-color: #3c3c3c;
        background-image: url("media/mobil_back_01.jpg");
        background-size: 100%;
    }
    .sidebar {
        width: 100%;
    }
    .tickerContainer {
        width: 90%;
        right: 5%;
        top: 20%;    
    }
}