:root {
    --light-green: 231, 240, 220;
    --medium-green: 114, 151, 98;
    --dark-green: 101, 129, 71;
    --darker-green: 89, 116, 69;
    --text-col: white;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

html, body { overflow-x: hidden; }
body { overflow-y: auto; }

.map-container {
    z-index: 1;
    width: 100%;
    height: 60vh; /* Sie können die Höhe nach Bedarf anpassen */
}

.directions {
    margin: 20px;
}

.google-maps-btn {
    display: block;
    width: 200px;
    height: 40px;
    margin: 10px auto;
    background: #e74c3c;
    text-align: center;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    line-height: 40px;
    text-decoration: none;
}

.room-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    margin-top: 60px; /* Änderung: Platz für das Menü schaffen */
}

.room {
    width: calc(33.33% - 20px);
    margin: 10px;
    padding: 20px;
    background-color: #F8F8F8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.room-image {
    width: 100%;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.room-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.room-description {
    margin-top: 10px;
    line-height: 1.5;
    text-align: justify;
    height: 120px; /* oder eine geeignete Höhe für Ihre Inhalte */
    overflow: auto; /* ermöglicht das Scrollen, wenn der Inhalt größer als die Box ist */
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.lightbox-image {
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.navbar {
    background-color: rgba(107, 137, 71, 0.7); /* Geändert: Transparenter Grünton */
    display: flex;
    justify-content: space-around;
    padding: 10px;
    color: #FFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 99;
}

.navbar a {
    color: #FFF;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 18px; /* Geändert: Größere Schrift im Menü */
}

.navbar a:hover {
    color: #DDDDDD;
}

.footer {
    background-color: rgba(var(--dark-green), 0.7); /* Geändert: Hintergrundfarbe des Menüs */
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #FFF;
}

.footer a {
    color: #FFF;
    text-decoration: none;
    margin: 0 15px;
}

.links-table {
    margin: 0 auto; /* Zentriert die gesamte Tabelle */
    width: 100%; /* Optional: Füllt den verfügbaren Platz */
    table-layout: fixed; /* Fixiert die Breite der Spalten */
}

.link-cell {
    text-align: center;
    padding: 0 10px; /* Symmetrischer Abstand zu den Links */
    width: 45%; /* Äußere Zellen erhalten gleich viel Platz */
}

.separator-cell {
    text-align: center;
    width: 10%; /* Die mittlere Spalte bleibt zentriert */
    transform: translateX(-5%);
}


html, body {
    overflow-x: hidden;
}

.content {
    padding-top: 30px;
    margin: 20px;
}

.container {
    display: flex;
    justify-content: space-between;
}

.contact-info {
    width: 60%;
}

.hausboot-image {
    width: 35%;
}

.hausboot-image img {
    width: 100%;
}

.activity-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    margin-top: 60px;
}

.activity {
    display: flex;
    flex-direction: row;
    width: calc(100% - 20px);
    margin: 10px;
    padding: 20px;
    background-color: #F8F8F8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.activity:nth-child(even) {
    flex-direction: row-reverse;
}

.activity-image {
    width: 50%;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.activity-description {
    width: 50%;
    padding: 0 20px;
}

.activity-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.activity-description p {
    margin-top: 10px;
    line-height: 1.5;
}

.banner {
    background-image: url('/image/hausboot_main_bild_edit_v2');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.banner-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 68px;
    color: #FFF;
    text-align: center;
    margin-bottom: 10px; /* Geändert: Größerer Abstand nach unten */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.banner-subtext {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 28px;
    color: #FFC300;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin-top: 10px;
}

::selection {
    background: rgba(0, 0, 0, .05);
}

ul, h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    list-style: none;
}

a, li,
header nav span,
article span {
    text-decoration: none;
    transition: all .25s ease-in-out;
}

h1 {
    font: 300 28px 'Open Sans';
    color: #4c5373;
}

/****/
/* Left Bar ab hier johannes kalender eingefügt */
/****/
nav.sections {
    overflow: hidden;
    display: block;
    float: left;
    width: 82px;
    height: auto;
    margin-right: 20px;
    background: #3bc1f8;
    box-shadow: 0 1px 1px rgba(78, 200, 247, .35);
    border-radius: 5px;
    text-aling: center;
}

nav.sections li a {
    display: block;
    width: 100%;
    height: 82px;
}

nav.sections li:hover,
nav.sections li.active {
    background: #00aced;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .07);
}

nav.sections li.notes a,
nav.sections li.calendar a,
nav.sections li.settings a {
    background: url('http://ysfu.net/sprite.png') no-repeat;
}

nav.sections li.notes a {
    background-position: 25px 25px;
}

nav.sections li.calendar a {
    background-position: 25px -57px;
}

nav.sections li.settings a {
    background-position: 25px -139px;
}

/****/
/* Calendar */
/****/

.calendar-container {
    display: flex;
    justify-content: space-between;
}

section.mounth {
    overflow: auto; /* Erlaubt das Scrollen innerhalb des Containers, falls nötig */
    display: block;
    float: left;
    width: 750px;
    height: 100vh; /* Setzt die Höhe des Containers auf die Höhe des Viewports */
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .25);
    border-radius: 5px;
}

header {
    position: relative;
    display: block;
    height: 80px;
    margin-top: 70px;
    margin-bottom: 70px;
    background: #e9eaf0;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06);
}

header h1 {
    margin-left: 30px;
    line-height: 80px;
}

header nav {
    overflow: hidden;
    position: absolute;
    display: block;
    right: 30px;
    top: 30px;
}

header nav span {
    display: block;
    float: left;
    width: 11px;
    height: 20px;
    margin-left: 30px;
    cursor: pointer;
    background: url('http://ysfu.net/sprite.png') no-repeat;
}

header nav span:first-of-type {
    background-position: -77px -4px;
}

header nav span:first-of-type:hover {
    background-position: -106px -4px;
}

header nav span:last-of-type {
    background-position: -90px -4px;
}

header nav span:last-of-type:hover {
    background-position: -119px -4px;
}

article {
    padding: 6px 0 25px 25px
}

article b,
article span {
    display: block;
    float: left;
    width: 90px; /* Verkleinern Sie die Breite */
    height: 65px; /* Verkleinern Sie die Höhe */
    margin: 5px; /* Verkleinern Sie den Abstand */
    text-align: center;
}

article b {
    font: 600 16px/45px 'Open Sans';
    color: #000000;
}

article span {
    font: 300 19px/45px 'Open Sans';
    color: #4c5373;
    box-shadow: inset 0 0 1px 1px #000000;
    border-radius: 2px;
    cursor: pointer;
}

article span.disable {
    color: #b6bacc;
    box-shadow: inset 0 0 1px 1px #f3f4f7;
}

article span:not(.disable):hover {
    background: #cdd0dd;
    box-shadow: inset 0 0 1px 1px #d9dce5,
    0 1px 3px -1px #cdd0dd;
}

article span:not(.disable):active {
    background: #b9becf;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18),
    0 0 0 #cdd0dd;
}

article span.active,
article span.active:hover,
article span.active:active {
    color: #fff;
    box-shadow: inset 0 0 1px 1px #ff8263,
    0 1px 3px -1px #ff8263;
    background: #ff8263;
}

article div {
    display: block;
    overflow: hidden;
    clear: both;
}

.selected {
    color: white;
    font-weight: bold;
}


.selected:not(:first-of-type) {
    background-color: green;
    box-shadow: 2px 0 0 green, -2px 0 0 green; /* Links und rechts jeweils 10px */
    margin-left: 0;
}

.selected:not(:first-of-type):hover {
    background-color: darkgreen;
    box-shadow: 2px 0 0 darkgreen, -2px 0 0 darkgreen; /* Links und rechts jeweils 10px */
    margin-left: 0;
}


.selected:not(:last-of-type) {
    background-color: green;
    box-shadow: 2px 0 0 green, -2px 0 0 green; /* Links und rechts jeweils 10px */
    margin-right: 0;
}

.selected:not(:last-of-type):hover {
    background-color: darkgreen;
    box-shadow: 2px 0 0 darkgreen, -2px 0 0 darkgreen; /* Links und rechts jeweils 10px */
    margin-right: 0;
}

.selected:not(:last-of-type):not(:first-of-type) {
    width: 100px;
}

.active {
    font-weight: bold;
    line-height: 1.6;
}

.active:not(:first-of-type) {
    background-color: orangered; /* Andere Hintergrundfarbe */
    margin-left: 0;

}

.active:not(:first-of-type):hover {
    background-color: orange;
}

.active:not(:last-of-type) {
    background-color: orangered;
    margin-right: 0;
}

.active:not(:last-of-type):hover {
    background-color: orange;
}

.active:not(:first-of-type):not(:last-of-type) {
    width: 100px;
    box-shadow: 2px 0 0 orangered, -2px 0 0 orangered; /* Links und rechts jeweils 10px */
}

.month {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.month article {
    width: 96%; /* Setzt die Breite des <article>-Elements auf 40% der Container-Breite */
}

#selectedDates {
    font-size: 1.5em;
    border: 2px solid #ccc;
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    background-color: #f2f2f2;
    text-align: center;
}

#startDate, #endDate {
    color: blue;
    text-decoration: underline;
}

.hidden {
    display: none;
}

.long-button {
    background-color: rgba(107, 137, 71, 0.7);
    border: none;
    border-radius: 5px;
    width: 120px;
    height: 40px;
}

.short-button {
    background-color: rgba(107, 137, 71, 0.7);
    border: none;
    border-radius: 5px;
    width: 40px;
    height: 40px;
}

.long-button:hover, .short-button:hover {
    box-shadow: 4px 4px 8px rgba(101, 67, 33, 0.5), -4px -4px 8px rgba(255, 255, 255, 0.5);
}

.whiteDay {
    background-color: white;
    font-weight: bold;
}

.calender-container {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: calc(100vw / 2)) {
    .calender-container {
        flex-direction: column;
    }
}

.first-half-white-second-half-red {
    color: black;
    background: linear-gradient(to right, transparent 50%, orangered 50%) !important;
    box-shadow: inset 0 0 1px 1px #d9dce5; /* Schatten auf der linken Seite und innerer Schatten */
    border-radius: 2px;
    width: calc(100% + 3px); /* Erhöht die Breite um 3px */
    margin-right: -3px;
}

.quarter-red {
    color: black;
    background: linear-gradient(to right, orangered 25%, transparent 25%, transparent 100%) !important;
    box-shadow: inset 0 0 1px 1px #d9dce5;
    border-radius: 2px;
    width: calc(100% + 3px); /* Erhöht die Breite um 3px */
    margin-left: -3px;
}

.first-half-white-second-half-red.quarter-red {
    background: linear-gradient(to right, orangered 25%, transparent 25%, orangered 100%) !important;
}

.selected.first-half-white-second-half-red {
    background: linear-gradient(to right, green 50%, orangered 50%) !important;
}

.selected.quarter-red {
    background: linear-gradient(to right, orangered 25%, white 25%, green 100%) !important;
}

.today {
    box-shadow: inset 0 0 1px 1px RGB(var(--dark-green));
}

.before-today {
    box-shadow: inset 0 0 1px 1px lightgray;
}

.blocked {
    background-color: rgba(255, 0, 0, 0.5);
}

/* Halbe Färbung links für Anreise z.B. ab 16 Uhr */
.partial-arrival {
    background: linear-gradient(to left, orangered 33.33%, RGB(var(--light-green)) 44.44%);
    box-shadow: +4px 0 0 orangered;
    font-weight: bold;
    color: black;
    font-size: 150%;
}

/* Halbe Färbung rechts für Abreise z.B. bis 12 Uhr */
.partial-departure {
    background: linear-gradient(to left, RGB(var(--light-green)) 45%, orangered 55%);
    box-shadow: -4px 0 0 orangered;
    font-weight: bold;
    color: black;
    font-size: 150%;
}

/* Halbe Färbung links für Anreise z.B. ab 16 Uhr */
.partial-arrival-green {
    background: linear-gradient(to left, green 33.33%, RGB(var(--light-green)) 44.44%);
    box-shadow: +4px 0 0 green;
    font-weight: bold;
    color: black;
    font-size: 150%;
}

/* Halbe Färbung rechts für Abreise z.B. bis 12 Uhr */
.partial-departure-green {
    background: linear-gradient(to left, RGB(var(--light-green)) 45.00%, green 55.00%);
    box-shadow: -4px 0 0 green;
    font-weight: bold;
    font-size: 150%;
    color: black;
}

.partial-arrival-switchday {
    background: linear-gradient(to left, green 33.33%, orangered 44.44%);
    box-shadow: +4px 0 0 green, -4px 0 0 orangered;
    font-weight: bold;
    color: white;
    font-size: 150%;
}

.partial-departure-switchday {
    background: linear-gradient(to left, orangered 45.00%, green 55.00%);
    box-shadow: +4px 0 0 orangered, -4px 0 0 green;
    font-weight: bold;
    color: white;
    font-size: 150%;
}