@keyframes bg {
    0% {
        background-position: left top;
    }

    100% {
        background-position: right bottom;
    }
}

@font-face {
    font-family: "Ubuntu Condensed";
    font-style: italic;
    font-weight: bold;
    src: url("ubuntu-condensed-v16-latin-regular.eot?") format("eot"),
        url("ubuntu-condensed-v16-latin-regular.woff2") format("woff2"),
        url("ubuntu-condensed-v16-latin-regular.woff") format("woff"),
        url("ubuntu-condensed-v16-latin-regular.ttf") format("truetype"),
        url("ubuntu-condensed-v16-latin-regular.svg#Ubuntu_Condensed") format("svg");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Ubuntu Condensed", Verdana, Geneva, Tahoma, sans-serif;
    font-size: 100%;
    color: #7c8199;
    line-height: 1.5;
}

a {
    color: #5e8300;
    text-decoration: none;
    position: relative;
    transition: all .3s ease-in-out;
}

a::before {
    content: '';
    background-color: rgba(94, 131, 0, 0.24);
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 6px;
    z-index: -1;
    transition: all .3s ease-in-out;
}

a:hover::before {
    bottom: -2px;
    height: calc(100% + 4px);
}

ul {
    margin-left: 1rem;
}

.wrap {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 100vh;
    width: 100vw;
    background-image: url('bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    animation: bg 40s linear infinite;
    flex-direction: column;
}

.text {
    background-color: #5e8300;
    color: white;
    padding: 1rem 2rem 1rem 2rem;
    width: 100%;
    font-weight: normal;
    font-size: 40px;
    margin-top: auto;
    margin-bottom: -20rem;
}

.imprint-link {
    margin-top: auto;
    color: #5e8300;
    opacity: 0.4;
    text-decoration: none;
    margin-right: calc(100% - 2rem);
    transform: translate(100%, -1rem);
}

.imprint-link:hover {
    opacity: 1;
}

@media (min-width: 764px) {
    .text {
        width: calc(66.66% - 4rem);
    }

    .imprint-link {
        margin-right: calc(66.66% - 6rem);
    }
}

.imprint {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 2rem;
    left: 2rem;
    bottom: 2rem;
    right: 2rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transform: translate(10%, 0);
    transition: all 0.3s ease-in;
    background-color: white;
    padding: 2rem;
    box-shadow: 10px 10px 40px rgba(0,0,0,0.08);
}

.imprint>* {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.imprint>*:first-child {
    margin-top: 0rem;
}

.imprint h1 {
    margin-top: 4rem;
    color: #000000;
}

.imprint h2 {
    margin-top: 2rem;
    color: #000000;
}

.imprint h3 {
    margin-top: 1rem;
    color: #000000;
}

.imprint h4 {
    margin-bottom: 0rem;
    font-weight: bold;
    color: #000000;
}

.imprint h4+p {
    margin-top: 0;
}

.imprint:target {
    visibility: visible;
    transform: none;
    opacity: 1;
}

@media (min-width: 764px) {
    .imprint {
        width: 33.33%;
        right: auto;
    }
}

.close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: #5e8300;
    border-radius: 1.5rem;
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.close:before,
.close:after {
    content: '';
    width: 1.5rem;
    height: 2px;
    left: auto;
    bottom: auto;
    background-color: white;
    position: absolute;
    z-index: 1;
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

.close:hover::before {
    bottom: auto;
    height: 2px;
}
