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: 0;
    padding: env(safe-area-inset-top) 0 0 0;
    touch-action: manipulation;
}

body.menu-open {
    overflow: hidden;
}

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

p {
    line-height: 24px;
}

h1 {
    color: #71cb84;
    font-weight: regular;
    font-size: 2.2em;
    margin-bottom: 0px;
    margin-top: 0px;
    padding-left: 50px;
    padding-top: 30px;
    top: 0;
    z-index: 10;
    padding-bottom: 10px;
    line-height: 43px;
}

h1.veranstaltungeintragen {
    margin-left: 0px;
    padding-left: 0px;
}

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

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

li {
    margin-left:25px;
}

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

.container {
    width: 100%;
}


.textblock {
width: 45%;
margin-left: 50px;
margin-top: 30px;
margin-bottom: 60px;
}

.textblock a:link {
    color:#71cb84;
}

.textblock a:visited {
    color:#71cb84;
}

.textblock a:hover {
    color: rgb(165, 165, 165);
}

/* einzelne Veranstaltungsseite */

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

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

.flexitem-text a:link {
    color:#71cb84;
    line-height: 24px;
}

.flexitem-text a:visited {
    color:#71cb84;
}

.flexitem-text a:hover {
    color: rgb(165, 165, 165);
}

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


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






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

.day {
    padding: 0px;
    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: 25px;
    padding-top: 10px;
    margin-right: 75px;
    position: sticky;
    top: env(safe-area-inset-top);
    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 75px 0px 0px;
    padding-left: 60px;
    padding-top: 40px;
    padding-bottom: 45px;
    background-color: #ffffff;
    border-bottom: 1.5px solid #d9d9d9;
    transition: transform 0.6s ease-out;

}

.event:hover {
    transform: translateX(0px); /* kleine Bewegung beim Hover */
}

.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 {
}







/* Hier der Zurück-Button */

.button-back {
position: fixed;
right: 20px;
bottom: 30px;
}

.button-back a {
    font-weight: bold;
    color:#71cb84;
    font-size: 28px;
    text-decoration: none;
}

.button-back a:hover {
    color: rgb(183, 183, 183);
}






.daswars {
    height: 100dvh;
}




.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: 1.00;
    color: white;
    z-index: 1010;
    text-align: center;
    padding-top: 50px;
}

.overlay-menu a {
    display: inline-block;
    font-size: 1.7rem;
    margin: 8px 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.1rem;
}
















/* 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 */
}





.veranstaltungeintrag a:link {
    color:#71cb84;
}


.veranstaltungeintrag a:visited {
    color:#71cb84;
}


.veranstaltungeintrag a:hover {
    color: rgb(165, 165, 165);
}



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

h1 {
    font-size: 1.8em;
    margin-left: 20px;
    padding-left: 0px;
    padding-top: 10px;
    line-height: 1.3em;
}    

h1.veranstaltungeintragen {
    text-align: left;
}

h1.datenschutz {
    font-size: 1.6em;
}

h2 {
    font-size: 1.5em;
}

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

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

.day-header {
    font-size: 1.5em;
    margin-right: 45px;
    padding-left: 15px;
}

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


.container {

}

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

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

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


.burger-menu {
    position: fixed;
    top: 8px;
    right: 14px;
    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: 90%;
    margin-bottom: 60px;
}

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

.button-back {
    right: 13px;
    bottom: 25px;
    }

.button-back a {
    font-size: 18px;
}

.einleitung {
    margin-left: 20px;
}

.textblock {
    width: 85%;
    margin-left: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    }

}