body {
    font-family: "Geist", sans-serif;
    font-weight: 100;
    margin: 0;
}

header {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    text-align: center;
    background: linear-gradient(to bottom, #5983b0 50%, #ffff 100%);
}

.headertext {
    width: 38%;
    float: left;
    text-align: left;
}

title {
    font-size: 32px;
    font-family: serif;
    color: white;
}

.headerpicture {
    width: 58%;
    float: right;
}

nav {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: #ffff;
    z-index: 1000;
    margin-bottom: 0px;
    margin-left: 0px;
    display : flex;
    justify-content: space-between;
    align-items: left;
    border-bottom: black 1px solid;  
}

.navlogo {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 300px;
    /*float: left;*/
    
}

.navigation {
    display: flex;
    align-items: center;
    gap: 24px;
    width: auto;
    margin-block-end: 0px;
     
}

.navigation li {
    display: inline-block;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 34px;
    margin-right: 100px;
    margin-top: auto;
    margin-bottom: auto;
}

.navigation li a {
    text-decoration: none;
    color: black;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 34px;
}

.hamburger {
    display: none;
    flex-direction: column;
    margin-right: 20px;
}
#menu_toggle {
    display: none;
    position : absolute;
    z-index: 2;
    width: 40px;
    cursor: pointer;
}
.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
}

.mobile_nav {
    display: none;
}

main {
    width: 75%;
    margin: auto;
    padding: 20px;
    background: #f1f1f175;
}

section {
    margin-bottom: 100px;
}

.content_title {
    width: 100%;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 36px;
    margin-top: 40px;
    margin-bottom: 20px;
    scroll-margin-top: 120px;
}

.content_2c {
    column-count: 2; 
    column-rule: 1px solid #0d0c0c; 
    gap: 40px;
}
.content_text {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}
.photo_gallery {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 10px;
    overflow-x: scroll; /* aktiviert horizontale Scrollbalken */
    scroll-snap-type: x mandatory; /* sorgt für Einrast-Effekt */
    width: 100%; /* passt sich der Breite des Inhalts an */
    white-space: nowrap; /* verhindert, dass Bilder umgebrochen werden */
}
.photo_gallery img {
    border: 2px solid #ccc;
    border-radius: 8px;
    scroll-snap-align: start; /* sorgt dafür, dass Bilder am Anfang einrasten */
}
.gallery_description {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 16px;
    margin-top: 5px;
    text-align: center;
    background-color: #c9c6c6;
    border-radius: 8px;
    width: 100%;
    transition: background-color 0.3s ease; 
}
.gallery_description a:hover {
    background-color: #178fff;
    border-radius: 8px ;
    color: white; /* Kontrast zum blauen Hintergrund */
    cursor: pointer;
}

.gallery_description a {
    display:block;
    text-decoration: none;
    color: black;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 16px;
    width: 100%;
}

.Person_Overview {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.Person {
    border: 0px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    background-color: #ffffff;
    width: 45%;
}

.Person_Title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #5983b0;
    font-size: 24px;
    margin-bottom: 10px;
}

.Person_Description {
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.icon {
    width: 24px;
    height: 24px;
    margin-left: 5px;
    vertical-align: middle;
}

/*---------------------------- Reise Seite ----------------------------*/

.dropdown {
    float: left;
    overflow: hidden;
}

.btn-default {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 32px;
    border: none;
    outline: none;
    color: #525252;
    padding: 14px 16px;
    background-color: inherit;
    cursor: pointer;
}

.submenu-toggle {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 25px;
    border: none;
    outline: none;
    color: #525252;
    padding: 14px 16px;
    background-color: inherit;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    padding-left: 0px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2000;
}

.dropdown-menu li {
    padding: 12px 40px;
    text-decoration: none;
    display: block;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 25px;
}
.dropdown-menu li a {
    color: #525252;
    text-decoration: none;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 20px;
}

 /* Aktiven Menüpunkt hervorheben */
.dropdown-menu li a.active {
    font-weight: bold;
    color: #007BFF; /* Beispiel: Blau für aktive Seite */
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown:hover {
    box-shadow: inset 4px 0 0 #007BFF; /* Beispiel: Blau für aktive Seite */
}

.dropdown:hover .dropdown-menu {
    border-left: 4px solid #007BFF; /* Beispiel: Blau für aktive Seite */
}

.dropdown-menu li:hover {
    box-shadow: inset 10px 0 0 #007BFF;
}

.show {
    display: block;
}

.page_title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.route {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.route_list {
    width: 40%;
    margin-top: 20px;
    font-size: 20px;
}

.route_picture {
    width: 50%;
    margin-top: 20px;
    text-align: center;
}


.trip_info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

img.content_left {
    width: 40%;
    height: auto;
    margin: 10px;
    float: left;
}

img.content_right {
    width: 40%;
    height: auto;
    margin: 10px;
    float: right;
}
.overnight {
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #e9e9e9;
    width: 40%;
    min-width: 300px;
    height: 220px;
}

.trip_picture {
    height: 220px;
    padding: 10px;
    width: 50%;
    min-width: 300px;
    margin-top: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow-x: scroll; /* aktiviert horizontale Scrollbalken */
    scroll-snap-type: x mandatory; /* sorgt für Einrast-Effekt */
    white-space: nowrap; /* verhindert, dass Bilder umgebrochen werden */
}

.trip_picture img {
    border-radius: 8px;
    scroll-snap-align: start; /* sorgt dafür, dass Bilder am Anfang einrasten */
}

.trip_picture img:hover {
    transform: translateY(5px) scale(1.02); /* Vergrößert das Bild leicht */
    transition: transform 0.3s ease; /* Sanfte Übergangsanimation */
}

.highlight {
    position: relative;
    width: 100%;
    height: auto;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

.highlight_title {
    position: absolute;
    z-index: 100;
    top: 5%;
    left: 10px;
    color: white;
    font-size: 4vw;
    font-weight: 900;
    margin-top: 0px;
    margin-bottom: 40px;
}

/*---------------------------- Reise Seite Neu ----------------------------*/

.Gallery {
    height: 220px;
    width: 100%;
    min-width: 300px;
    margin-top: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow-x: scroll; /* aktiviert horizontale Scrollbalken */
    scroll-snap-type: x mandatory; /* sorgt für Einrast-Effekt */
    white-space: nowrap; /* verhindert, dass Bilder umgebrochen werden */
}

.hotel-card {
    margin-bottom: 20px; 
    border-radius: 15px; 
    border: 1px solid #ccc; 
    background-color: rgba(255,255,255,0.98); 
    padding: 20px;   
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*---------------------------- Ende Reise Seite Neu ----------------------------*/

/*---------------------------- Freizeit Seite Anfang----------------------------*/

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    
}
.tag {
    font-size: 16px;
    font-weight: 300;
    color: white;
    text-align: center;
    min-width: 120px;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: #1e90ff;
    opacity: 0.8;

}

.facts {
    width: 42%;
    min-height: 300px;
    min-width: 300px;
    margin-top: 20px;
    font-size: 20px;
    color: #333;
    padding: 40px;
    border-radius: 20px;
    background-color: #1e90ff36;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15); /* Schatten für den 3D-Effekt */
    transform: rotate(-2deg); /* Leichte Drehung für den "Zettel-Look" */
    border-bottom-right-radius: 5px; /* Abgerundete Ecke unten rechts */
}   

.facts:hover {
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2);
  transform: rotate(0deg); /* Zettel wird beim Drüberfahren gerade gerückt */
  transition: all 0.3s ease;
}

.map {
    width: 45%;
    min-width: 300px;
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
}
/*---------------------------- Freizeit Seite Ende----------------------------*/

/*---------------------------- Modal Anfang----------------------------*/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000; /* 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.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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


/*---------------------------- Modal Ende----------------------------*/



/*---------------------------- Responsive Design ----------------------------*/

@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    main {
        box-sizing: border-box;
        width: 100%;
        font-weight: 400;
        padding: 20px;
    }

    section {
        margin-left: 15px;
        margin-right: 15px;
    }

    header {
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .headertext, .headerpicture {
        width: 100%;
        float: none;
        text-align: center;
    }
    nav {
        width: 100%;
        flex-direction: row;
        align-items: center;
        margin: 0;
        padding: 0px;
    }

    .hamburger {
        display: flex;
        height: 50px;
        align-items: center;
    }

    #menu_toggle {
        display: block;
        opacity: 0;
        height: 50px;
    }

    .navigation li {
        display: none;
        font-size: 24px;
        margin-right: 20px;
    }
    .mobile_nav {
        display: none;
        position: absolute;
        left: 0px;
        top: 120px;
        width: 100%;

        transition: left 0.3s ease-in-out;
    }

    .dropdown_mobile {
        display: block;
        left: 0px;
        top: 120px;
        width: 100%;
        background-color: #f9f9f9;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 2000;
    }

    .dropdown_mobile ul {
        display: block;
    }
    .dropdown-menu_mobile {
        display: none !important;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 2000;
    }

    .dropdown-menu_mobile.open {
        display: block !important;
    }

    /* Pfeil-Icon für Untermenüs */

    /* Der Button bekommt den Pfeil per CSS */
    .submenu-toggle::after {
        content: ' ▾'; /* Standard-Pfeil nach unten */
        display: inline-block;
        transition: transform 0.3s ease; /* Schicke Drehanimation */
    }

    /* Wenn das Untermenü offen ist, dreht sich der Pfeil beim zugehörigen Button */
    .submenu-toggle.active::after {
        transform: rotate(180deg);
    }
    /* Ende Pfeil-Icon für Untermenüs */

    .dropdown_mobile li {
        display: block;
        padding: 12px 16px;
        text-decoration: none;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        font-size: 25px;
    }
    .dropdown_mobile li a {
        color: black;
        text-decoration: none;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        font-size: 20px;
    }

    .mobile_nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        background-color: #ffff;
        border-top: black 1px solid;
        border-bottom: black 1px solid;
    }

    .mobile_nav ul li {
        padding: 15px 20px;
        border-bottom: 1px solid #ccc;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        font-size: 24px;
    }
    .mobile_nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
        text-decoration: none;  
        color: black;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        font-size: 24px;
    }

    .mobile_nav ul li a.active {
        font-weight: bold;
        color: #007BFF; /* Beispiel: Blau für aktive Seite */
    }

    .page_title h1 {
        font-size: 52px;
    }

    .content_title {
        font-size: 28px;
    }

    .content_text {
        font-size: 16px;
    }

    .content_2c {
        column-count: 1; 
        column-rule: none; 
        gap: 0;
    }

    .Person {
        width: 100%;
    }

    .overnight {
        width: 100%;
    }

    .trip_picture {
            width: 100%;
    }
    
    .facts {
        width: 100%;
    }

    .map {
        width: 100% !important;
    }

    .images-3 {
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    main {
        max-width: 1200px;
    }
}
