/* basics.css - importiere andere CSS-Datei, falls vorhanden */
@import url('basics.css');

/* FIXME: Fix the navbar mobile */
nav {
    height: var(--navbar-height);
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

}
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav .logo {
    margin-left: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 35px;
    font-variant: small-caps;
    text-decoration: none;
}

nav ul {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;

}

nav li {
    height: 100%;
    width: 200px;
    text-align: center;
    position: relative;
}

nav li:hover {
    background: var(--accent-color);
    border-radius: 0 0 5px 5px;
}

nav li a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.dropdown {
    height: min-content;
    width: 200px;
    background-color: var(--darker-background-color);

    display: none;
    flex-direction: column;

    position: absolute;
    left: 0px;
    top: var(--navbar-height);
    
}

.dropdown li {
    height: 70px;
    width: 100%;
}

.dropdown li a {
    justify-content: flex-start;
    padding-left: 30px;
    width: calc(100% - 30px);
}

nav li:hover .dropdown {
    display: flex;
    border-radius: 0 0 5px 5px;
    border-top: none;
    border-left: none;
}

nav input[type="checkbox"] {
    display: none;
}

.Verein {
    display: flex;
    justify-content: center;
    align-items: center;
}

.expandable_li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.Info {
    display: flex;
    justify-content: center;
    align-items: center;
}


.toggle_button {
    width: 30px;
    height: 23px;

    position: absolute;
    top: 25px;
    right: 25px;

    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    height: 4px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 100px;
}
@media(max-width: 1100px){
    
    .toggle_button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: absolute;
        top: var(--navbar-height);
        right: 25px;
        width: 30px;
        height: 23px;
    }

    .bar {
        height: 4px;
        width: 100%;
        background-color: var(--text-color);
        border-radius: 100px;
    }

    nav ul {
        height: 100%;
        width: 100%;
        background: var(--background-color);
        display: none;
        position: absolute;
        top: var(--navbar-height);
        right: 0;
        flex-direction: column; /* Changed to column to stack items */
        z-index: 1000; /* Ensure menu is on top */
    }

    nav li {
        height: min-content;
        width: 100%;
    }

    nav ul a {
        padding: 30px 0;
    }

    .expandable_li {
        display: block;
    }

    .expandable_li label {
        padding: 30px 0;
        cursor: pointer;
        display: block;
    }

    .expandable_li:hover .dropdown {
        display: none;
    }

    .expandable_li input[type="checkbox"]:checked ~ .dropdown {
        display: block;
    }

    .dropdown {
        position: static;
        width: 100%;
    }

    .dropdown li {
        padding: 0;
        display: block;
        position: static;
        background-color: var(--darker-background-color);
    }

    .dropdown li a {
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    #toggle_button:checked ~ ul {
        display: flex; /* Changed to flex to display the menu */
        flex-direction: column; /* Added to stack menu items */
    }
    html{
   
        height: 100%;
        background-color: rgba(211, 211, 211, 0.233);
    
    }
    /* Startseite */ 

    .title {
        font-size: 75px;
        
    }
   /*  Impressum */ 
    .impressum {
        height: 135%;
        z-index: -1;
    }


    /* Mitglied */


     .Download {
        height: 75px;
        width: 200px;
     }

     .mitglied {
        height: 65rem;
     }
 


   
 }
/* Globale Styles */
body {
    min-width: 300px;
    background-color:rgb(216, 219, 217);
   
    
}

html {
    width: 100%;
}

h1 {
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    margin-top: 0.5cm;
}

/* Media Query für kleine Bildschirme */
@media screen and (max-width: 370px) {
    h1 {
        font-size: 1rem;
    }
}

main .grid{
    margin-top: 70px;
}
/* Stile für die Block-Elemente */
main .block {
    background-color: #fefefe; /* Hintergrundfarbe des Blocks */
    border: 1px solid black;
    border-radius: 1px;
    width: calc(100% - 100px); /* Breite des Blocks abzüglich 100px (falls notwendig) */

    position: relative;
    padding: 25px;
    margin-top: 25px;
    box-shadow: 5px 5px 5px black, -5px -5px 5px rgb(0, 0, 0);
}

/* Stile für spezifische Block-Elemente */
main .news .news-event,
main .become_member .become_member-content,
main .board_of_directors .board_of_directors-content {
    padding: 25px;
}

/* Stile für spezifischen Block-Elementinhalt */
main .board_of_directors .board_of_directors-content p {
    padding: 5px;
}
/* Stile für die Buttons im Become Member Block */
main .become_member .become_member-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    width: 50%; 
 
}

/* Stile für die Buttons im Become Member Block */
main .become_member .become_member-btn,
main .become_member .shotting_evening-btn {
    /* Stile für die Buttons */
    background-color: rgb(14, 199, 60);
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    
}
main .become_member .become_member-btn:hover,
main .become_member .shotting_evening-btn:hover {
    color: white;
}

/* Grid-Layout für die Hauptstruktur */
.grid {
    display: grid;
    grid-template-columns: 1fr 50%; /* Zwei Spalten: links 1fr, rechts 50% */
    grid-gap: 20px; /* Abstand zwischen den Spalten */
}

/* Grid-Layout für die Container der Blöcke */
.blocks-container {
    display: grid;
    grid-gap: 20px; /* Abstand zwischen den Blöcken */
}

/* Stile für das Logo-Bild */
.logo img {
    width: 50%;
    height: 70%;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 5px 5px 5px black, -5px -5px 5px rgb(0, 0, 0);
}

footer iframe.map_karte {
    width: calc(100% - 200px);
    height: 300px;
    border: none;
    border-radius: 5px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    box-shadow: 5px 5px 5px black, -5px -5px 5px rgb(0, 0, 0);
    margin-top: 25px;
}

footer .map {
    background-color: rgb(28, 179, 28);
    padding: 25px;
    margin-top: 50px;
}
footer .map .adress p {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    width: 50%;
    text-align: center;
    font-size: 35px;
    border-radius: 5px;
    text-decoration: underline;
    color: white;
    margin-top: 10px;
}
footer .end-text{
    display: flex;
    justify-content: center;
}
footer .end-text p {
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;

}
/* FIXME: Fix the navbar mobile */
