/* Allgemeine Styles */

/* Basis Schriftgröße */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 24px; /* Basis Schriftgröße in px als Grundlage */
}

/* Größenanpassung für größere Bildschirme */
@media screen and (min-width: 75em) { /* 1200px / 16px = 75em */
    body {
        font-size: 1.125em; /* 18px / 16px = 1.125em */
    }
}

/* Größenanpassung für kleinere Bildschirme */
@media screen and (max-width: 37.5em) { /* 600px / 16px = 37.5em */
    body {
        font-size: 0.875em; /* 14px / 16px = 0.875em */
    }
}

/* Mobile Schriftgrößen */
@media screen and (max-width: 47.75em) { /* 764px / 16px = 47.75em */
    h1, h2 {
        margin-left: 0.625em; /* 10px / 16px = 0.625em */
        font-size: 1.5em; /* 24px / 16px = 1.5em */
    }

    label {
        font-size: 1.25em; /* 20px / 16px = 1.25em */
    }

    input, button {
        font-size: 0.875em; /* 14px / 16px = 0.875em */
    }

    .button {
        font-size: 1.25em; /* 20px / 16px = 1.25em */
    }

    .menu a {
        font-size: 1.25em; /* 20px / 16px = 1.25em */
    }
}

/* Element-Grundstile mit em-Einheiten */
*, *::before, *::after {
    box-sizing: inherit;
}

h1, h2 {
    margin-left: 1.25em; /* 20px / 16px = 1.25em */
}

/* Header */
.header {
    width: 100%;
    height: 3.75em; /* 60px / 16px = 3.75em */
    background-color: #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.25em; /* 20px / 16px = 1.25em */
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.1);
}

.logo {
    width: 10em; /* 160px / 16px = 10em */
    height: 3.5em; /* 56px / 16px = 3.5em */
    background-image: url('/img/bvmw.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Menü */
.menu {
    display: none;
    position: fixed;
    left: 5em; /* 80px / 16px = 5em */
    top: 0.625em; /* 10px / 16px = 0.625em */
    background-color: #f9f9f9;
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    padding: 0.75em 1em; /* 12px / 16px = 0.75em, 16px / 16px = 1em */
    z-index: 1;
    width: calc(50% - 1.25em); /* 20px / 16px = 1.25em */
}

.menu a {
    color: black;
    padding: 0.75em 1em; /* 12px / 16px = 0.75em, 16px / 16px = 1em */
    text-decoration: none;
    display: block;
}

.menu a:hover {
    background-color: #ddd;
}

/* Hamburger-Icon */
.hamburger {
    cursor: pointer;
    display: inline-block;
    width: 1.875em; /* 30px / 16px = 1.875em */
    height: 1.5625em; /* 25px / 16px = 1.5625em */
    position: fixed;
    left: 1.25em; /* 20px / 16px = 1.25em */
    top: 0.625em; /* 10px / 16px = 0.625em */
}

.hamburger .bar {
    background-color: #333;
    display: block;
    height: 0.1875em; /* 3px / 16px = 0.1875em */
    margin: 0.3125em 0; /* 5px / 16px = 0.3125em */
    transition: 0.4s;
}

/* Video */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

video {
    width: 100%;
    max-width: 40em; /* 640px / 16px = 40em */
    height: auto;
}

/* Bildergalerie */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625em; /* 10px / 16px = 0.625em */
    justify-content: center;
}

.gallery img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Abstand zwischen den Elementen */
}

.tidycal-item {
  flex: 1; /* Flex-Items können wachsen */
  min-width: 300px; /* Minimale Breite für jedes Element, bevor es umbricht */
}

/* Media Query für Tablets und Smartphones */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}


/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Formulare */
form {
    background-color: #fff;
    padding: 1.25em; /* 20px / 16px = 1.25em */
    border-radius: 0.5em; /* 8px / 16px = 0.5em */
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25em; /* 20px / 16px = 1.25em */
}

label {
    display: block;
    margin-bottom: 0.3125em; /* 5px / 16px = 0.3125em */
    color: #666;
}

input {
    width: 100%; /* Vollständige Breite für bessere Responsivität */
    padding: 0.625em; /* 10px / 16px = 0.625em */
    border-radius: 0.25em; /* 4px / 16px = 0.25em */
    border: 1px solid #ddd;
    box-sizing: border-box;
}

button {
    background-color: #e30613;
    color: #ffffff;
    padding: 0.625em 1.25em; /* 10px / 16px = 0.625em, 20px / 16px = 1.25em */
    border: none;
    border-radius: 0.25em; /* 4px / 16px = 0.25em */
    cursor: pointer;
    font-size: 1em; /* 16px / 16px = 1em */
}

button:hover {
    background-color: #e33313;
}

.button {
    background-color: red;
    color: white;
    padding: 0.625em 1.25em; /* 10px / 16px = 0.625em, 20px / 16px = 1.25em */
    border: none;
    border-radius: 0.25em; /* 4px / 16px = 0.25em */
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background-color: black;
    border-color: red;
}

/* QR-Code-Container */
#qrcodeContainer {
    margin-top: 1.25em; /* 20px / 16px = 1.25em */
}

#qrcodeContainer svg {
    background-color: #fff;
    padding: 0.625em; /* 10px / 16px = 0.625em */
    border-radius: 0.5em; /* 8px / 16px = 0.5em */
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    padding: 1.25em; /* 20px / 16px = 1.25em */
    margin-top: 1.25em; /* 20px / 16px = 1.25em */
    background-color: #f1f1f1;
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Bildergalerie-Responsivität */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5em, 1fr)); /* 200px / 16px = 12.5em */
    gap: 0.625em; /* 10px / 16px = 0.625em */
    padding: 0.625em; /* 10px / 16px = 0.625em */
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portrait {
    grid-row: span 1;
}

.landscape {
    grid-column: span 2;
}


/* Checkbox-Styling */
input[type="checkbox"] {
    /* Deine individuellen Anpassungen für die Checkbox */
}

label[for="saveCheckbox"] {
    margin-left: 0.625em; /* 10px / 16px = 0.625em */
    vertical-align: middle;
}
