body {
    margin: 0;
    padding-top: 120px;
    background: #f1f0ee;
    font-family: "Alice", serif;
    box-sizing: border-box;
}

/* Headline / Header */
.headline {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    font-family: "Alice", serif;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #f1f0ee;
}

.nav-mobile {
    display: none;
}

.headline a, .mobile-menu a {
    text-decoration: none;
    color: black;
    font-size: 22px;
    transition-duration: 0.5s;
    padding: 24px;
    border-radius: 50px;
}

.headline a:not(.linkLogo):hover, .mobile-menu a:not(.linkLogo):hover {
    background-color: #c293da;
}

.headline a.active, .mobile-menu a.active {
    color: #9966b3;
    font-weight: bold;
}

.headline img {
    height: 100px;
}

/* Picture */
.picture {
    position: relative;
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

.picture img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.title-background {
    width: 100%;
    z-index: 3;
    position: relative;
    top: -393px;
    background-color: rgba(194, 147, 218, 0.5);
    margin: 0 auto;
}

.title {
    width: 60% !important;
}

.title img {
    width: 80%;
}

/* Content */
.content {
    padding: 16px;
    text-align: center;
    margin-bottom: 100px;
}

.content-text {
    font-size: 30px;
    padding: 20px;
}

.content img {
    width: 65%;
}

/* Headlines */
h1 {
    font-family: "Herr Von Muellerhoff", cursive;
    font-size: 100px;
    font-weight: 400;
    margin: 20px;
}

/* Labels */
label {
    font-family: "Alice", serif;
    font-size: 18px;
    padding: 2px;
}

/* Inputs, Selects, Textareas, Buttons */
input, select, textarea, form > button, .file-button {
    border: 0;
    padding: 12px;
    border-radius: 50px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    min-width: 0;
}

/* Select Anpassung */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Buttons */
form > button, .file-button {
    background-color: #d9afef;
    color: white;
    font-family: "Alice", serif;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

form > button:hover, .file-button:hover {
    background-color: #c08fd7;
    transition-duration: 0.5s;
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    width: 40%;
    margin: auto;
}

form > * {
    width: 100%;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 100px;
}

.gallery-item {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img,
.gallery-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    border-radius: 10px;
}

#lightbox-uploader {
    color: white;
    margin-top: 10px;
    font-size: 16px;
}

.upload-feedback {
    text-align: center;
}

@media (max-width: 768px) {
    body {
        padding-top: 78px;
    }
    form, .content img {
        width: 100% !important;
    }
    .headline {
        display: none;
    }
    .nav-mobile {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        font-family: "Alice", serif;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        background: #f1f0ee;
    }
    .logo {
        height: 54px;
        margin-left: -45px;
    }
    .logo-container {
        flex-grow: 1;
        text-align: center;
    }
    .mobile-header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px;
        width: 100%;
        background: #f1f0ee;
    }
    .burger {
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        color: black;
    }
    .mobile-menu {
        display: none;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 10px 0;
        background: #f1f0ee;
        width: 100%;
    }
    .mobile-menu.show {
        display: flex;
    }
}
