html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, figure, figcaption,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
    outline: 0;
}









/* Grundlegendes Layout und Styling */

@font-face {
    font-family: 'GeistMono';
    src: url('GeistMono-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'GeistMono';
    color: #444444;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    height: 100%;
    touch-action: manipulation;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    touch-action: manipulation;
}


h2 {   
    font-size: 2.2em;
    font-weight: regular;
    line-height: 1.2;
    padding: 4px 0 3px 0;
}

h2, h3, h4 {
    color: #454545;
}


.logo {
    position: fixed;
    z-index: 1000;
    right: 18px;
    bottom: 65px;
}

.container {
    flex-grow: 1; /* Der Container nimmt den verfügbaren Platz ein */
    padding: 0px;
    padding-right: 60px;
}


/* einzelne Veranstaltungsseite */

.flexed {
    display: flex;
    margin: 40px 0 0 20px;
    gap: 40px;
}

.flexitem-text {
    max-width: 50vw;
}

.bild img {
    margin-left: 30px;
    margin-bottom: 20px;
    width: 32vw;
    height: auto;
}

.text {
    margin: 10px 0 0 20px;
    width: 60%;
}

.einleitung {
    margin: 20px 0 0 50px;
}






.calendar {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.day {
    padding: 0px;
    background-color: #ffffff;
    margin-bottom: 0px;
    position: relative; /* Positionierung für den Header */
}





.day-header {
    color: #71cb84;
    font-weight: regular;
    font-size: 2.2em;
    margin-bottom: 0px;
    margin-top: 0px;
    padding-left: 20px;
    padding-top: 10px;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 10;
    padding-bottom: 10px;
    border-bottom: 2.4px solid #d9d9d9;
}

/* Abstandsregelung für den Header, um sicherzustellen, dass Events nicht über ihn hinaus gehen */
.day.sticky .day-header {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 10;
    padding: 0px;
    border-bottom: 0px solid #ffffff;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1); 
}

/* Styling für Events */
.event {
    margin: 0px 0 0px 0px;
    padding-left: 60px;
    padding-top: 40px;
    padding-bottom: 45px;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
    border-bottom: 1.5px solid #d9d9d9;

}

.event[data-category="work"] {
}

.event[data-category="personal"] {
}

.event[data-category="holiday"] {
}

.event[data-category="study"] {
}

/* Styling für die Kategoriebuttons (fixiert unten) */
.category-buttons {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 0px solid #474747;
    z-index: 100;
    padding: 5px;
    box-sizing: border-box;
}

.category-btn {
    flex: 1; /* Jede Schaltfläche nimmt gleichmäßig Platz ein */
    margin: 5px 10px; /* Abstand zwischen den Buttons */
    padding: 5px 0;
    text-align: center;
    background-color: #ffffff;
    border: 2px solid #71cb84;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-size: 20px;
}

.category-btn.active {
    background-color: #71cb84;
    color: white;
    border-color: #71cb84;
}

.category-btn:hover {
    border-color: #b0e5bb;
}







/* Hier der Zurück-Button */

.button-back {
    display: inline-block;
    position: fixed;
    margin: 0 auto;
    bottom: 10px;
    left: ;
    right: 5px;
    width: 25%;
    background-color: transparent; /* Hintergrund transparent, um die Umrandung sichtbar zu lassen */
    border-top: 0px solid #474747;
    z-index: 100;
    padding: 0px; /* Kein zusätzlicher Abstand */
    box-sizing: border-box;
}

.btn-back {
    display: block;
    margin: 0; /* Entfernt den Abstand zwischen den Buttons */
    padding: 0px 0; /* Padding nur für den inneren Bereich */
    text-align: center;
    background-color: #ffffff; /* Nur der Innenbereich ist weiß */
    border: 2px solid #71cb84; /* Umrandung bleibt grün */
    border-radius: 30px; /* Abgerundete Ecken */
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-size: 20px;
}

.btn-back a {
    display: block;
    color: inherit; /* Vererbt die Textfarbe */
    text-decoration: none; /* Verhindert die Unterstreichung */
    padding: 5px 0; /* Padding sorgt dafür, dass der gesamte Bereich anklickbar ist */
    text-align: center;
    height: 100%; /* Sorgt dafür, dass der gesamte Buttonbereich abgedeckt wird */
}

.btn-back:hover {
    border-color: #b0e5bb;
}








.daswars {
    height: 100vh;
}







.event a:link {
    color: rgb(46, 46, 46);
    text-decoration: none;
  }
  
  /* visited link */
.event a:visited {
    color: rgb(46, 46, 46);
  }
  
  /* mouse over link */
.event a:hover {
    color: #3f3f3f;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

h2, h3, h4 a:hover {
    text-decoration-thickness: 3px;
}
  























/* Burgermenü */
.burger-menu {
    position: fixed;
    top: 10px;
    right: 17px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2000;
}

.burger-line {
    position: absolute;
    width: 100%;
    height: 2.3px;
    background-color: #9b9b9b;
    border-radius: 0px;
    transition: 0.4s;
}

.burger-line:nth-child(1) {
    top: 10px;
}

.burger-line:nth-child(2) {
    top: 20px;
    display: none;
}

.burger-line:nth-child(3) {
    top: 30px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 20px;
    background-color: #ffffff;

}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg);
    top: 20px;
    background-color: #ffffff;

}

.overlay-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #71cb84;
    opacity: 0.95;
    color: white;
    z-index: 1000;
    text-align: center;
    padding-top: 50px;
}

.overlay-menu a {
    display: inline-block;
    font-size: 1.7rem;
    margin: 15px 0;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.overlay-menu a:hover {
    color: #262626;
}

.burger-menu.active + .overlay-menu {
    display: block;
}

.overlay-menu .small-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: fixed;
    bottom: 20px;
    width: 100%;
}

.overlay-menu .small-links a {
    font-size: 1.2rem;
}


















/* Gesamte Scrollbar */
::-webkit-scrollbar {
    width: 8px; /* Breite der vertikalen Scrollbar */
    height: 8px; /* Höhe der horizontalen Scrollbar */
}

/* Track der Scrollbar (Hintergrund der Scrollbar) */
::-webkit-scrollbar-track {
    background-color: #ffffff;  /* Heller Hintergrund für den Track */
}

/* Daumen der Scrollbar (der bewegliche Teil) */
::-webkit-scrollbar-thumb {
    background-color: #e7e7e7;  /* Graue Farbe für den Daumen */
    border-radius: 6px; /* Abgerundete Ecken */
}

/* Hover-Effekt für den Daumen */
::-webkit-scrollbar-thumb:hover {
    background-color: #c6c6c6;  /* Dunklere Farbe beim Hover */
}






@media only screen and (max-width: 800px){

h2 {
    font-size: 1.5em;
}

h3, h4 {
    font-size: 14px;
}

.overlay-menu a {
    font-size: 1.5em;
}

.day-header {
    font-size: 1.5em;
}

.category-btn {
    font-size: 14px;
    margin: 5px 5px; /* Abstand zwischen den Buttons */
}

.btn-back {
    font-size: 14px;
    margin: 0px 5px; /* Abstand zwischen den Buttons */
}

.button-back{
    margin-bottom: 0px;
}

.container {
    padding-right: 50px;
}

.logo {
    right: 0px;
    bottom: 50px;
}

.logo img {
    width: 65%;
    height: auto;
}

.event {
    padding-left: 40px;
    padding-top: 20px;
    padding-bottom: 23px;
}


.burger-menu {
    position: fixed;
    top: 8px;
    right: 17px;
    width: 25px;
    height: 25px;
}

.burger-line {
    position: absolute;
    width: 100%;
    height: 1.5px;
}

.burger-line:nth-child(3) {
    top: 25px;
}

.flexed {
    flex-direction: column;
}


.flexitem-text {
    max-width: 100%;
}

.bild img {
    margin-left: 0px;
    margin-bottom: 20px;
    margin-right: 50px;
    width: 100%;
    height: auto;
}

.text {
    margin: 10px 0 0 20px;
    width: 100%;
}

}