html {
    min-height: 100vh;
    font-size: 1.7vh;
}

body {
    height: 100%;
    background-color: #777777;
    background-image: url('background.jpg'); /* Photo from https://www.flickr.com/photos/94157272@N06/37596694691/*/
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Avenir", "Source Sans Pro", sans-serif;
    font-size: 1.5rem;
    text-align: center;
    color: #eeeeee;
    word-break: break-word;
}

.darker {
    background-color: rgba(0,0,0,0.3);
    background-size: cover;
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 100vh;
    left: 0;
    z-index: -1;
}

.subtitle {
    font-size: 1.6rem;
    padding: 0.1em;
}

.infoboxes {
    display: grid;
    grid-gap: 50px;
    grid-template-areas: 'theDate' 'theLocation' 'theThings' 'theRegistration';
}

.infobox {
    display: inline-grid;
    justify-self: center;
    border: 2px solid #eee;
    border-radius: 40px;
}

.infobox h2 {
    margin-bottom: 0;
}

.infobox a {
    color: #eeeeee;
}

.infobox.date {
    grid-area: theDate;
}

.infobox.location {
    grid-area: theLocation;
}

.infobox.location a {
    text-decoration: none;
}

.infobox.location a:hover {
    text-decoration: underline;
}

.infobox.things {
    grid-area: theThings;
}

.infobox.things ul {
    text-align: left;
}

.infobox.registration {
    grid-area: theRegistration;
}

.links {
    margin-top: 10vh;
}

.links a {
    color: #eeeeee;
    margin-left: 10px;
    margin-right: 10px;
}

.logolinks {
    font-size: 2rem;
}

.logolinks a {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0.6em;
    margin-left: 0;
    margin-right: 0;
    line-height: 1em;
}

.logo_bezirk {
    display: inline-block;
    height: 1em;
    margin-bottom: -6px;
    position: relative;
}

h1 {
    font-size: 4rem;
}

h1 img {
    max-width: 70%;
}

.label {
    font-size: 2rem;
}

.message {
    padding: 0 10%;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .infoboxes {
        padding-left: 3vw;
        padding-right: 3vw;
        margin-top: 7vh;
    }

    .infobox {
        width: 70vw;
        height: 70vw;
        padding: 4vw;
        font-size: 1.3rem;
    }

    .infobox h2 {
        font-size: 2rem;
    }

    .infobox.date p, .infobox.registration p {
        font-size: 2.5rem;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .infoboxes {
        padding-left: 3vw;
        padding-right: 3vw;
        margin-top: 7vh;
    }

    .infobox {
        width: 70vw;
        height: 70vw;
        padding: 4vw;
        font-size: 0.8rem;
    }

    .infobox h2 {
        font-size: 2rem;
    }

    .infobox.date p, .infobox.registration p {
        font-size: 3rem;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .infoboxes {
        grid-template-areas: 'theDate theLocation' 'theThings theRegistration';
        padding-left: 3vw;
        padding-right: 3vw;
        margin-top: 7vh;
    }

    .infobox {
        width: 30vw;
        height: 30vw;
        font-size: 0.8rem;
    }

    .infobox h2 {
        font-size: 1.6rem;
    }

    .infobox.date p, .infobox.registration p {
        font-size: 1.5rem;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .infobox.date p, .infobox.registration p {
        font-size: 2rem;
    }

    .infobox.location .fas {
        visibility: hidden;
        display: none;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .subtitle {
        margin-top: -5vh;
    }

    .infoboxes {
        grid-template-areas: 'theDate theLocation theThings theRegistration';
        padding-left: 15vw;
        padding-right: 15vw;
        margin-top: 5vh;
    }

    .infobox {
        width: 15vw;
        height: 15vw;
        font-size: 1rem;
        padding: 0.5vw;
    }

    .infobox h2 {
        font-size: 2rem;
        margin-top: 0.3em;
    }

    .infobox.date p, .infobox.registration p {
        font-size: 1.7rem;
    }

    .links {
        margin-top: 5vh;
    }

    .legallinks {
        position: absolute;
        top: 1vh;
        right: 1vw;
    }
}

@media only screen and (min-width: 1400px) {
    .infobox {
        font-size: 1.1rem;
    }

    .infobox.things li {
        margin-top: 12px;
        margin-bottom: 12px;
    }
}

