.street-container {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    color: rgb(220, 220, 221);
    width: 250px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: black 2px 0;
}

.street-general {
    width: 250px;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.street-container .foreground {
    background: url(/img/killserviceforeground.webp) repeat-x 0 0;
    z-index: 103;
    animation: street-animation 9s linear infinite;
    background-size: cover;
}

.street-container .car {
    background: url(/img/killservicecar.webp) repeat-x 0 0;
    z-index: 102;
    animation: car-animation 4s ease-in-out infinite;
    background-size: cover;
}

.street-container .middle {
    background: url(/img/killservicemiddle.webp) repeat-x 0 0;
    z-index: 101;
    animation: street-animation 10s linear infinite;
    background-size: cover;
    height: 80px;
}

.street-container .background {
    background: url(/img/killservicebackground.webp) repeat-x 0 0;
    z-index: 100;
    animation: street-animation 10s linear infinite;
    background-size: cover;
}

.street-container:hover > * {
    animation-play-state: paused;
}

@keyframes street-animation {
    from {
        background-position: 1400px 0;
    }
    to {
        background-position: 0 0;
    }
}

@keyframes car-animation {
    0% {
        background-position: -250px 0;
    }
    33% {
        background-position: -125px -5px;
    }
    66% {
        background-position: 0 -5px;
    }
    100% {
        background-position: 130px 0;
    }
}

#top-navigation-list {
    position: absolute;
    display: inline-block;
    height: 100%;
}

.top-navigation-list-element {
    box-shadow: black 2px 0;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    height: 50px;
}

#top-navigation-element > #top-navigation-element-text {
    display: none;
}

#top-navigation-element {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 10px 0 10px;
    font-size: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all .5s linear;
}

#top-navigation-element:hover > #top-navigation-element-text,
#top-navigation-element:focus > #top-navigation-element-text{
    display: block;
    font-size: 1.5rem;
}

#top-navigation-element:hover {
    cursor: pointer;
    background-color: #818285;
}

#top-navigation-element-menu {
    display: none;
    position: fixed;
    top: 50px;
    right: 0;
    padding: 5px;
    background-color: #37393d;
}

#top-navigation-element:hover > #top-navigation-element-menu,
#top-navigation-element:focus > #top-navigation-element-menu{
    display: flex;
    flex-direction: column;
}

.menu-element {
    width: 200px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    transition: background-color .5s linear;
}

.menu-element:hover {
    justify-content: space-around;
    background-color: #818285;
    color: var(--highlight-color);
}