body {
    font-family: Arial, sans-serif;
    margin: 1.0em;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 1em;
    text-align: center;
    background-image: url('pics/garten_sommer.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% auto;
}

@media screen and (min-width: 920px) {
    .container {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        max-width: max(55%, 920px);
    }
}

h1,
header p {
    display: inline;
    background-color: green;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 0;
}

.btn:hover {
    background-color: #218838;
}

.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    padding: 0.6em 0;
}

.gallery a {
    flex: 0 2 content;
    width: min-content;
    min-width: 0;
}

.gallery img {
    border-radius: 8px;
    cursor: pointer;
}

.no-margin {
    margin: 0;
}

.sideGallery {
    display: flex;
    flex-direction: column;
    width: 40%;
    margin-top: 2em;
    padding: 0.6em 0;
    height: auto;
    float: right;
}

.sideGallery img {
    width: 90%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
}

.sightsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

footer {
    background-color: gray;
    color: white;
    padding: 10px;
    text-align: center;
}

footer a {
    color: white;
}

.item {
    text-wrap: wrap;
}

.row {
    display: flex;
    justify-content: left;
    margin-bottom: 20px;
}

.image-box,
.text-box {
    flex: 1;
    float: left;
    /* equal width */
    padding: 10px;
    box-sizing: border-box;
}

.text-box {
 margin-top: 0.7em;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills the box and crops if needed */
    display: block;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    max-width: max(45%, 420px);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 0.2em 0.4em;
    background-color: green;
    color: white;
    text-align: center;
}

.modal-body {
    padding: 2px 16px;
}