body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
    color: #eee;
    text-align: center;
    overflow-x: hidden;
}

header {
    padding: 40px;
}

header h1 {
    background-color: rgba(19, 174, 241, 0.905);
    border-radius: 15px;
    color: rgb(0, 0, 0);
    font-size: 2.5em;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 20px;
    line-height: 1.2em;
    white-space: pre-line;
}

/* Galerie */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.gallery img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery img.enlarged {
    transform: scale(2);
    z-index: 10;
    position: relative;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ffcc;
}

.gallery img:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px #00ffcc;
}

footer {
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9em;
    color: #666;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0px;
    width: 200px;
    height: 100%;
    background-color: #222;
    overflow-x: hidden;
    transition: left 0.3s ease;
    padding-top: 20px;
    z-index: 1000;
}

.sidebar.open {
    left: 0;
}

.sidebar #toggleButton {
    background: none;
    border: none;
    color: rgba(82, 194, 243, 0.719);
    font-size: 30px;
    margin: 10px;
    cursor: pointer;
}

.sidebar nav {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar nav a {
    text-decoration: none;
    color: #eee;
    margin: 10px 0;
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar.open nav a {
    opacity: 1;
}

/* Inhalt bleibt unverändert */
.content {
    text-align: center;
    align-items: center;
}

/* Dropdown-Menü */
.dropdown {
    width: 100%;
    text-align: center;
    display: none;
}

.sidebar.open .dropdown {
    display: block;
}

.dropdown-btn {
    background: none;
    border: none;
    color: #eee;
    font-size: 1.2em;
    cursor: pointer;
    margin: 10px 0;
    transition: color 0.3s;
}

.dropdown-btn:hover {
    color: #00ffcc;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    align-items: center;
}

.dropdown.open .dropdown-content {
    display: flex;
}

.dropdown-content a {
    margin: 5px 0;
}

.arrow {
    transition: transform 0.3s ease;
}

.dropdown.open .arrow {
    transform: rotate(180deg);
}

/* Basislayout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
    color: #eee;
    overflow-x: hidden;
    text-align: center;
}

/* Toggle-Button (☰) */
#toggleButton {
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 30px;
    background: none;
    border: none;
    color: rgba(82, 194, 243, 0.9);
    z-index: 1100;
    cursor: pointer;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -220px;
    width: 200px;
    height: 100%;
    background-color: #222;
    overflow-y: auto;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 1000;
}

.sidebar.open {
    left: 0;
}

/* Navigation in Sidebar */
.sidebar nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar nav a {
    text-decoration: none;
    color: #eee;
    margin: 15px 0;
    font-size: 1.2em;
}

/* Dropdown */
.dropdown {
    width: 100%;
    text-align: center;
}

.dropdown-btn {
    background: none;
    border: none;
    color: #eee;
    font-size: 1.2em;
    cursor: pointer;
    margin: 10px 0;
    transition: color 0.3s;
}

.dropdown-btn:hover {
    color: #00ffcc;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    align-items: center;
}

.dropdown.open .dropdown-content {
    display: flex;
}

.dropdown-content a {
    margin: 5px 0;
}

/* Pfeilanimation */
.arrow {
    transition: transform 0.3s ease;
}

.dropdown.open .arrow {
    transform: rotate(180deg);
}

/* Galerie */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.gallery img {
    width: 300px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery img.enlarged {
    transform: scale(2);
    z-index: 10;
    position: relative;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ffcc;
}

/* Header */
header {
    padding: 40px 20px;
}

header h1 {
    background-color: rgba(19, 174, 241, 0.905);
    border-radius: 15px;
    color: hwb(0 0% 100%);
    font-size: 2.5em;
    display: inline-block;
    padding: 10px 20px;
    line-height: 1.2em;
    white-space: pre-line;
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9em;
    color: #666;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        width: 90%;
        max-width: 400px;
    }

    .dropdown-content {
        align-items: flex-start;
        padding-left: 20px;
    }
}

.youtube {
    text-decoration: underline;
}

.youtube:hover {
    color: rgba(19, 174, 241, 0.905);
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  padding: 10px;
  background-color: #00bcd4;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}


/* Mobile */
@media screen and (max-width: 768px) {
    .sidebar {
        left: -100%;
        width: 70%;
    }

    .sidebar.open {
        left: 0;
    }

    #toggleButton {
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 2000;
        font-size: 2em;
        background: none;
        border: none;
        color: #00bcd4;
        cursor: pointer;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        width: 90%;
        max-width: 400px;
        border-radius: 15px;
    }

    .dropdown-content {
        align-items: flex-start;
        padding-left: 20px;
        background-color: rgb(98, 97, 97);
    }
}
