@font-face {
    font-family: FluxischElseBold;
    src: url(../../assets/files/fonts/FluxischElse-Bold.woff);
  }

  @font-face {
    font-family: FluxischElseLight;
    src: url(../../assets/files/fonts/FluxischElse-Light.woff);
  }

  @font-face {
    font-family: FluxischElseRegular;
    src: url(../../assets/files/fonts/FluxischElse-Regular.woff);
  }

  @font-face {
    font-family: GaramondtItalic;
    src: url(../../assets/files/fonts/Garamondt-Italic.woff);
  }

  @font-face {
    font-family: GaramondtRegular;
    src: url(../../assets/files/fonts/Garamondt-Regular.woff);
  }

  @font-face {
    font-family: PubliFluorNormale;
    src: url(../../assets/files/fonts/PubliFluorNormale.woff);
  }

  

html {
    font-size: 10px;

}

html, body {
    margin: 0;
    overflow: hidden;
    background-color: white;
}

body {
    font-size: 1.8rem;
    line-height: 2rem;
}

.minor, .minor p {
    font-size: 2.3rem;
    line-height: 2.5rem;
}

h1 {
    font-size: 3.9rem;
    line-height: 4rem;
    text-align: center;
    text-transform: uppercase;
    font-family: "FluxischElseLight";
    font-weight: lighter;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

h2 {
    font-size: 2.9rem;
    line-height: 3rem;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 2rem;
}



#content {
    font-size: 3rem;
    line-height: 3.1rem;
}



.image-alt {
    font-size: 1.3rem;
    line-height: 2rem;
    text-align: center;
}

#sidebarleft input, .menu-item {
    font-size: 5.9rem;
    line-height: 8rem;
}

code {
    font-size: 0.9em;
    line-height: 1rem;
}

#telegram {
    font-size: 2.3rem;
    line-height: 2.5rem;
}

/* PADDDDING  */

#logo, #sidebarright, #content, #sidebarleft .box {
    padding: 2rem;
}

div#content:has(div#mapPage) {
    padding: 0rem !important;  
}

.events {
    gap: 2rem;
}

a {
    color: black !important;
}





/* Für ALLE Elemente, inkl. verschachtelter divs */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
  }
  
/* Für Webkit-basierte Browser (Chrome, Safari) */
*::-webkit-scrollbar {
display: none;
}




.grid-container#main {
    grid-template-areas:
    'logo logo sidebarright'
    'sidebarleft content sidebarright'
    'telegram content sidebarright';
    left: 0px;
    top: 0px;
    grid-template-rows: 12vh 83vh 5vh;    
    grid-template-columns: 25vw 50vw 25vw;
    display: grid;
    position: absolute;
    height: 100vh;
}


#shortinfo { 
    grid-area: shortinfo; 
    font-family: 'GaramondtRegular';
    text-align: center;
}

#shortinfo p {
    margin: 0;
    font-style: italic;
}

#logo {
    grid-area: logo;
    /* font-family: PubliFluorNormale;
    font-size: 5.4vw;
    color: rgb(240, 240, 240);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; */
    /* border-bottom: 1.3pt solid black; */
    border-right: 1.3pt solid black;
    height: 10vh;
    text-align: center; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    
    box-sizing: border-box;
}



#menu { 
    grid-area: menu; 
    font-family: 'PubliFluorNormale';
   

}

#menu form {
    width: min-content;
    margin: auto;
}

#news { 
    grid-area: news; 
    font-family: 'FluxischElseLight';
    text-align: center;
    /* font-size: 20px; */
    border-bottom: 0px !important;
    text-align: left;
}

#news h1 {
    margin-top: 0;
    word-break: break-word;
}

#telegram { 
    grid-area: telegram;
    font-family: 'FluxischElseLight';
    text-align: center;
    border-bottom: 0px !important;
    /* font-size: 20px; */
    border-top: 1.3pt solid black !important;
    border-right: 1.3pt solid black !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#telegram p {
    padding: 0;
    margin: 0;
}

#telegram a {
    text-decoration: none;
    color: black;
}

#news a {
    line-break: anywhere;
}



#horoscope { 
    grid-area: horoscope; 
    font-family: 'GaramondtRegular';

}

#content { 
    grid-area: content; 
    /* padding: 20px; */
    overflow: scroll;
    overflow-x: hidden;
    font-family: 'FluxischElseLight';
    border-bottom: 5px solid rgb(0, 0, 0);
    border-right: 5px solid black;
    border-bottom: 0px !important;
    border-right: 1.3pt solid black;
    border-top: 1.3pt solid black;
    position: relative;
}

#content img {
    max-width: 100%;
}

#loadedPage {
    /* padding: 20px; */
    position: relative;
    height: 100%;
    box-sizing: border-box;
}

#editNcLink {
    /* position: absolute;
    bottom: 2rem;
    right: 2rem; */
    margin-top: 20vh;
}

#sidebarright { 
    grid-area: sidebarright; 
    font-family: 'FluxischElseLight';
}

#sidebarright .header {
    margin-bottom: 5rem;
}

#sidebarleft .box {
    overflow: visible;
    border-bottom: 1.3pt solid black;
    border-left: 0px;
    /*! border-top: 5px solid black; */
}


#sidebarleft input, .menu-item {
    margin: 1rem;
    background-color: transparent;
    border: 0px;
    font-family: 'GaramondtItalic';
    color: white !important;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    margin: auto;
    display: block;
    text-decoration: none !important;
    width: fit-content;
    text-align: center;
}

.menu-item:hover::before, .menu-item.selected::before {
    content: "(";
  }
.menu-item:hover::after, .menu-item.selected::after {
  content: ")";
}




.grid-container#sidebarleft { 
    border-right: 1px solid grey;
    display: grid;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
  'shortinfo' 
  'menu     ' 
  'news     '
  'telegram';
    overflow: scroll;
    border-right: 1.3pt solid black;
    border-top: 1.3pt solid black;
}

#sidebarright {
    /* font-size: 1em; */
    height: 100vh;
    overflow: scroll;
    box-sizing: border-box;
}

#sidebarright h1 {
    margin-top: 0;
}

#sidebarright h2 {
    margin-bottom: 0;
}

#sidebarright .sidebarevent {
    text-align: center;
}


.leaflet-popup-content img {
    width: 300px;
}

#sidebarright img {
    width: 100%;
}

#sidebarright ul {
    list-style-type: none;
    padding: 0;
    margin-top: 6rem;
}

ul {
    list-style-type: "––";
    list-style-position: inside;
}

#content li {
    /*! text-indent: 23px; */
    margin-bottom: 2rem;
}

#sidebarright ul li {
    margin-bottom: 3rem;
}

#sidebarright .placeListItem {
    margin-top: -17px;
    /*! padding-bottom: 8px; */
    /*! padding-top: 8px; */
    padding: 8px;
    text-align: center;
    border-radius: 10px;
}

.placeListItem p {
    margin: 0;
}

#sidebarright p {
    margin-top: 0px;
    padding: 0px;
}

.highlight {
    background-color: rgb(235, 235, 235); /* Oder eine andere auffällige Farbe */
    transition: background-color 0.3s ease;
}

#content #showMapLink {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 0.4rem;
    background-color: #e8e8e8;
    border-radius: 10px;
}

code {
  background-color: #e6e6e6;
  border-radius: 10px;
  color: #555;
}

.leaflet-popup-content {
    margin: 13px 24px 13px 20px;
    line-height: 2rem !important;
    font-size: 1.8rem !important;
    min-height: 1px;
    font-family: "FluxischElseLight";
    text-align: center;
  }


#mapPage {
    grid-template-areas:
    'map'
    'legende';
    left: 0px;
    top: 0px;
    grid-template-rows: auto min-content;    
    display: grid;
    height: 100%;
}



#map {
    grid-area: map;
    border-bottom: 1.3pt black solid;
}

#legende {
    grid-area: legende;
    overflow: hidden;
    padding: 2rem;
    height: fit-content;
}

#legende h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.flexRow {
    display: flex;
    align-items: center; /* sorgt für vertikale Mitte */
    gap: 10px;            /* Abstand zwischen den Elementen */
    flex-wrap: wrap;      /* Optional: bricht um, wenn zu eng */
    justify-content: center; 
    gap: 8rem;
  }

.icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.info-group {
    display: flex;
    align-items: center;
    gap: 1rem; /* Abstand zwischen Icon und Text */
  }

#cloudIcon {
    bottom: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    position: fixed;
    opacity: 0.2;
    z-index: 20;
    display: none;
}

#cloudIcon:hover {
    opacity: 0.6;
}

#cloudIcon img {
    z-index: 20000;
  position: fixed;
  width: 30px;
  height: 30px;
}


#editPage, .editBtn {
    background-color: lightgrey;
    border-radius: 5px;
    width: fit-content;
    padding: 3px;
    border: 1px solid black;
    margin-bottom: 2rem !important;
    text-align: center;
    margin-right: 0;
    margin-left: auto;
    text-decoration: none !important;
    line-height: 4rem;
}

#editPage:hover, .editBtn:hover {
    background-color: rgb(151, 151, 151);
}



/* PROCESSWIRE  */

#login-form-seca-fieldwrapper, .pwtoggleLabel, #forgotlogindata-form-seca-fieldwrapper, #register-form-seca-fieldwrapper, #profile-form-seca-fieldwrapper {
    display: none;
}

#profile-form-pass-desc, .requiredHint, .legend,#register-form-pass-desc, #register-form-privacy-text, #profile-form-deleteAccount, .description, p.error {
    font-size: 1.5rem;
    line-height: 2rem;
}

#profile-form-submit {
    font-size: 2rem;
}

.alert-success {
    background-color: lightgreen;
    padding: 1rem;
}

.alert-danger, p.error {
    background-color: rgb(255, 166, 166);
}







.fieldwrapper {
    margin-bottom: 2rem;
}

#profile-form-email {
    width: 80%;
}




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

    .grid-container#main {
        display: block !important;
    }

    #content {
        height: fit-content !important;
    }



  }
