@font-face {
  font-family: 'MyWebFont';
  src: url('css_ehrenamt/WebfontGoro/CormorantGaramond-Regular.woff2') format('woff2'),
    url('css_ehrenamt/WebfontGoro/CormorantGaramond-Regular.woff') format('woff');
}

html {

  -ms-content-zooming: none;
  -ms-touch-action: pan-x pan-y;

}

/* 2736 x 1824 */
html,
body {
  background: rgba(226, 226, 219, 1) !important;
  text-align: center;
  font-size: 1em;
  height: 100vh;
  position: relative;
  font-family: serif;
  font-family: 'MyWebFont';
  overflow: hidden;
  -ms-user-select: None;
  -moz-user-select: None;
  -webkit-user-select: None;
  user-select: None;
}

body {}

div.content {
  padding: 0;
  height: 100vh;
  max-height: 100vh;
  background: rgba(226, 226, 219, 1);
  position: relative;
  color: rgba(71, 68, 52, 1) !important;
}

p {
  text-align: justify;
}



div.navi {
  position: fixed;
  bottom: 5%;
  width: 100%;
  background: #ffffffaa;
  font-size: 120%;
}

div.navi div.navi_grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 12px;
}

.navi a,
a {
  color: rgba(71, 68, 52, 1) !important;
  text-decoration: none;
  border: 1px solid rgba(230, 229, 220, 1);
  background: rgba(221, 217, 210, 1);
  box-shadow: 0 0 6px 0 rgba(10, 10, 10, 0.6);
  padding: 5px 10px;
  font-style: italic;
  font-variant: small-caps;
}

.navi a {
  display: grid;
  align-content: center;
  justify-content: center;
}

#c_vorwort p {
  font-size: 100%;
}



div.content.preistraeger {
  font-size: 100%;
}

div.content.preistraeger h1 {}

div.content.preistraeger .alle_preistraeger {
  text-align: center;
  max-height: 100vh;
  overflow-y: auto;
}

div.content.preistraeger div.all_box {
  display: grid;
  grid-template-columns: auto auto;
  gap: 20px;
  justify-content: center;
  justify-items: stretch;
  align-items: stretch;
  margin: 10px;
  margin-bottom: 150px;
}
/*
div.content.preistraeger div.kategorie {
  font-weight: bold;
  display: inline-block;
  width: 20%;
  font-variant: small-caps;
  width: 100%;
  margin-bottom: 1%;
  font-size: 100%;
}
  */

div.content.preistraeger .pBox {
}
div.content.preistraeger a.personen {
  font-variant: normal;
  font-style: normal;
  color: rgba(71, 68, 52, 1);
  align-content: center;
  min-height: 30px;
}

div.content.preistraeger div.fotorahmen {
  width: 100%;
  height: 50vh;
  overflow: hidden; /* Verhindert das Überlaufen des Bildes außerhalb des Containers */
  margin-bottom: 2%;
}

div.content.preistraeger img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Skaliert das Bild, um den Container zu füllen */
  object-position: center; /* Zentriert das Bild, wodurch die oberen und unteren Bereiche abgeschnitten werden */
}


div.content.eineperson {
  font-size: 100%;
}

div.content.eineperson h4 {
  font-size: 120%;
}

div.content.eineperson .all_box {
  max-height: 55vh;
  overflow-y: auto;
  font-size: 115%;
}

div.content.eineperson .vorschau_name {
  font-size: 120%;
}

div.content.eineperson .vorschau_kategorie {
  font-size: 80%;
  font-style: italic;
}

.ui-autocomplete::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0px;
}

.ui-autocomplete::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {}

.ui-autocomplete::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  height: 0px;
  width: 0px;
}



#c_foto img {
  width: 100%;
}

h1 {
  position: absolute;
  background-color: #ffffffcc;
  width: 100%;
  text-align: center;
}
h1 strong.head4 {
  display: block;
  font-size: 55%;
}

.duo_grid {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-gap: 10px;
}

div.bildcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  /* Der div-Bereich füllt den gesamten Bildschirm */
  overflow: hidden;
}

div.bildcontainer img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

div.textcontainer_vorwort {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  /* Der div-Bereich füllt den gesamten Bildschirm */
  overflow: hidden;
}

div.textcontainer_vorwort div.text {
  padding: 0 4%;
}

div.textcontainer_vorwort h4 {
  font-size: 140%;
  font-weight: normal;
  padding-bottom: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  margin-top: 0px;
}

div.textcontainer_vorwort p {
  padding-top: 0px;
  margin-top: 5px;
}

div.textcontainer_vorwort p.sigi {
  text-align: right;
  font-size: 90%;
  padding-top: 0px;
  margin-top: -3%;
  padding-right: 2%;
  font-style: italic;
}

.textcontainer_eineperson {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  /* Der div-Bereich füllt den gesamten Bildschirm */
  
}
.textcontainer_eineperson h4 {
  font-size: 140%;
  font-weight: normal;
  padding-bottom: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  margin-top: 0px;
  
}
div.textcontainer_eineperson div.text {
  padding: 0 4%;
  position: relative;
  top: 60px; /* Ausgangspunkt des Textes */
  padding-top: 20px;
  padding-bottom: 130px; /* Zusätzlicher Raum am Textende */
  height: calc(100vh - 210px); /* Höhe des Inhaltsbereichs, um die Scrollbarkeit zu ermöglichen */
  overflow-y: auto; /* Scrollbare Höhe */
}

div.textcontainer_jahre {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  /* Der div-Bereich füllt den gesamten Bildschirm */
  overflow: hidden;
}

div#c_jahre .jahre_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
div#c_jahre .jahre_grid h4 {
  font-size: 120%;
  padding: 0px;
  margin: 0px;
  margin-top: -20px;
  grid-column: 1 / span 3;
}
div#c_jahre .jahre_grid a {
  font-size: 120%;
  padding: 2px 10px;
}



@media (orientation: portrait) {
  #c_vorwort p {
    font-size: clamp(90%, 2.2vh, 1.7rem);
    /* Im Portrait-Modus passt sich der Text der Höhe des Viewports an */
  }

  .navi a {
    font-size: clamp(100%, 3.2vh, 3.5rem);
  }

  div.textcontainer_vorwort h4 {
    font-size: clamp(100%, 3.5vh, 2.5rem);
  }

  div.textcontainer_vorwort p.sigi {
    font-size: 80%;
  }

  h1 {
    font-size: clamp(100%, 4.0vh, 3.5rem);
  }
/*
  div.content.preistraeger h1 {
    font-size: clamp(100%, 3.2vh, 3.5rem);
  }
*/
  div#c_jahre .jahre_grid h4 {
    font-size: clamp(100%, 4vh, 3.5rem);
    padding-bottom: 20px;
    grid-column: 1 / span 2;
  }

  div#c_jahre .jahre_grid a {
    font-size: clamp(100%, 4vh, 5.5rem);
  }

  div.content.preistraeger a.personen {
    font-size: clamp(100%, 2vh, 3.5rem);
  }

  div#c_jahre .jahre_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  div.content.preistraeger div.fotorahmen {
    height: 35vh;
  }

  div.textcontainer_eineperson h4 {
    font-size: clamp(100%, 4vh, 3.5rem);
  }

  div.textcontainer_eineperson div.text {
    font-size: clamp(90%, 2.7vh, 1.7rem);
    top: 15vh; /* Ausgangspunkt des Textes */
    padding-top: 0vh;
    padding-bottom: 350px;
    height: calc(100vh - 350px); /* Höhe des Inhaltsbereichs, um die Scrollbarkeit zu ermöglichen */
  }

}

@media (orientation: landscape) {
  #c_vorwort p {
    font-size: clamp(90%, 4vh, 1.7rem);
    /* Im Landscape-Modus passt sich der Text der Höhe des Viewports an */
  }

  .navi a {
    font-size: clamp(100%, 8vh, 3.5rem);
  }

  div.textcontainer_vorwort h4 {
    font-size: clamp(100%, 7vh, 3.5rem);
  }

  div.textcontainer_vorwort p.sigi {
    font-size: 80%;
  }

  h1 {
    font-size: clamp(100%, 8vh, 4.5rem);
  }
/*
  div.content.preistraeger h1 {
    font-size: clamp(100%, 8vh, 4.5rem);
  }
*/
  div#c_jahre .jahre_grid h4 {
    font-size: clamp(100%, 7vh, 3.5rem);
    padding-bottom: 0px;
  }

  div#c_jahre .jahre_grid a {
    font-size: clamp(100%, 7vh, 3.5rem);
  }

  div.content.preistraeger a.personen {
    font-size: clamp(100%, 3vh, 3.5rem);
  }

  div.content.preistraeger div.fotorahmen {
    height: 80vh;
  }

  div.content.preistraeger img {
    object-position: center 30%;
  }

  div.textcontainer_eineperson h4 {
    font-size: clamp(100%, 7vh, 3.5rem);
  }

  div.textcontainer_eineperson div.text {
    font-size: clamp(90%, 4vh, 1.7rem);
    top: 25vh; /* Ausgangspunkt des Textes */
    padding-top: 0vh;
    padding-bottom: 350px;
    height: calc(100vh - 350px); /* Höhe des Inhaltsbereichs, um die Scrollbarkeit zu ermöglichen */
  }
}