* {
    margin: 0 auto;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #FFFFFF;
    color: #444545;
    display: flex;
    place-items: center;
    min-width: 320px;
    min-height: 100vh;
}

h2, h3 {
    margin-left: 0;
    margin-top: 10px;
}

img.logo {
    width: 50vw;
    max-height: 50vh;
}

li {
    display: list-item;
    text-align: -webkit-match-parent;
    list-style-type: none;
}

a, a:active, a:visited {
    color: #B0524E;
    text-decoration: none;
}

a:hover {
    color: #D5BEC0;
    background-color: #444545;
    text-decoration: none;
}

.container {
    text-align: center;
    width: 100%;
}

.info {
    font-weight: bold;
    text-decoration: none;
    color: #444545;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#mask {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 500;
    width: 100%;
    height: 100%;
    display: none;
}

#overlay {
    width: min(800px, 80%);
    background: #FFFFFF;
    color: #444545;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1000;
    display: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#overlay:target, #overlay:target + #mask {
    display: block;
    opacity: 1;
}

a.close {
    display: block;
    position: absolute;
    top: -20px;
    right: -20px;
    background: #B0524E;
    color: #FFFFFF;
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 35px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}

a.close:hover {
    color: #CDC3BF;
}

.headerbox {
    width: 100%;
    height: 193px;
    padding: 20px;
    box-sizing: border-box;
    background-origin: padding-box;
    background: #CDC3BF url("background.jpg") repeat scroll center;
    background-size: cover;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.headerbox h2 {
    color: #CDC3BF;
}

.contentbox {
    display: block;
    padding: 20px;
}


#affiliate-logo {
    display: inline-block;
    width: min(400px, 50%);
    padding-top: min(400px, 50%);
    background: url("up87.de.svg") no-repeat;
    background-size: 100%;
}

.affiliate a {
    display: inline-block;
    margin: 10px;
    padding: 10px;
    width: 210px;
    height: 210px;
    border: 3px solid #444545;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}

.affiliate a:hover {
    border: 3px solid #D5BEC0;
}

.affiliate span {
    height: 200px;
    width: 200px;
}

.link-description {
    font-size: 0.7em;
}
