:root {
  --yellow: rgb(251, 226, 18);
  --yello-hex: #F0DC05;
  --trans-yellow: #c0ab00;
  --brightyellow: rgb(252, 242, 220);
  --brightyellow-trans: rgba(252, 242, 220, 0.9);
  --lightyellow: rgb(255, 242, 176);
  --darkyellow: #49472c;
  --white-trans: rgba(255, 255, 255, 0.9);
  --blue-rgb: 24, 29, 84;
  --blue: rgb(24, 29, 84);
  --blue-hex: #181D54;
  --blue-light: #A5A9E1;
  --gray: rgb(128, 128, 128);
  --dark-gray: rgb(68, 68, 68);
  --olive: #BDBD57;
  --green: #8FB32D;
  --fresh-green: #AACC21;
  --sienna: #C28F69;
  --ochre: #CCA876;
  --orangeish: #FACB73;
  --light-mud: #D7CFA5;
  --dark-mud: #D1C07D;
  --light-blue: #4A90FF;
  --gap-default: 1rem;
}

/*
!* noto-sans-300 - latin *!
@font-face {
    font-display: auto; !* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. *!
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/noto-sans-v36-latin-300.woff2') format('woff2'); !* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ *!
}
*/
/* noto-sans-regular - latin */
@font-face {
  font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/noto-sans-v36-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-sans-italic - latin */
@font-face {
  font-display: block;
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/noto-sans-v36-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/*!* noto-sans-600 - latin *!*/
@font-face {
  font-display: block;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/noto-sans-v36-latin-600.woff2") format("woff2");
}
/*!* noto-sans-600italic - latin *!*/
@font-face {
  font-display: block;
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 600;
  src: url("../fonts/noto-sans-v36-latin-600italic.woff2") format("woff2");
}
/*!* noto-sans-700 - latin *!*/
@font-face {
  font-display: auto;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/noto-sans-v36-latin-700.woff2") format("woff2");
}
/*!* noto-sans-700italic - latin *!*/
@font-face {
  font-display: auto;
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/noto-sans-v36-latin-700italic.woff2") format("woff2");
}
/* Helper classes */
.hidden {
  display: none;
}

*, *:before, *:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  /*   padding: 0;*/
  font-family: "Noto Sans", sans-serif;
  /*    font-family: sans-serif;*/
  line-height: 1.5;
  color: var(--blue);
}

#wrapper {
  padding: 0;
  font-family: "Noto Sans", sans-serif;
  position: relative;
  width: 100%;
  margin: 0 auto;
  background: #FAF1DB url("../assets/Forschungsstation-Hintergund.png") no-repeat center top;
  background-size: cover;
}

header {
  padding: 0.55rem 1rem;
  height: auto;
  background-image: linear-gradient(to right, #fbe104, #fce42c, #fde841, #feeb52, #ffee62);
}

header ul {
  list-style-type: none;
  margin: 0;
  padding: 0 0 0 0;
  display: flex;
  flex-wrap: wrap;
  row-gap: 1rem;
  column-gap: 0.5rem;
}

nav a:link, nav a:visited {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: black;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.25s ease-in-out;
}

nav a:hover, nav a:active, nav a.current {
  color: white;
  background-color: var(--blue-hex);
  text-decoration: none;
}

/*nav li:nth-child(1) a {
min-width: 120px;
}
nav li:nth-child(2) a{
    min-width: 146px;
}
nav li:nth-child(3) a{
    min-width: 135px;
}
nav li:nth-child(4) a {
    min-width: 70px;
}*/
#main {
  width: 100vw;
  /*max-width: 1920px;*/
  height: auto;
  padding: 4rem 1rem 2rem;
  margin: 0 auto;
  position: relative;
  opacity: 0;
}

.no-js #main {
  opacity: 1;
}

#main .start-page-layout {
  display: block;
}

#main.map-layout {
  display: block;
  padding: 1rem 1rem 2rem;
}

/*#main.map-layout #thirdColumn {
  margin-top: 2rem;
}*/
#main.local-info-layout {
  /*    display: grid;
      gap: 0;
      opacity: 0;
      grid-template-columns: 780px 360px 780px;*/
}

#main.local-information2-layout {
  display: block;
  width: 100%;
  /*   height: 1030px;*/
  padding: 1rem;
  margin: 0 auto;
  overflow: visible;
}

.text-page-layout figure {
  margin: 2rem 0;
}

.text-page-layout figcaption {
  font-size: 0.9rem;
  font-style: italic;
}

#content {
  width: 100%;
  max-width: 1280px;
  padding: 0;
  margin: 0;
}

/* Typography */
h1 {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 600;
  color: var(--blue);
  margin: 0.5rem 0 0;
}

h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  font-weight: 600;
  color: var(--blue);
  margin: 0.5rem 0 1rem 0;
}

p {
  font-size: 1.125rem;
  line-height: 1.6111111111;
  color: var(--blue);
}

strong {
  font-weight: 600;
}

#main li {
  color: var(--blue);
}

#main a:link, #main a:visited {
  color: var(--blue);
  text-decoration: underline;
}

#main a:hover, #main a:active, #main a:focus {
  text-decoration: none;
}

#main a.button:link, #main a.button:visited {
  display: inline-block;
  padding: 0.2rem 0.8rem 0.3rem;
  margin: 1rem 0 1.5rem;
  font-size: 1rem;
  font-family: "Noto Sans", sans-serif;
  color: var(--blue);
  text-decoration: none;
  border-radius: 0.5rem;
  background-color: var(--yellow);
  transition: all 0.3s ease-in-out;
}

#main a.button:hover, #main a.button:active, #main a.button:focus {
  color: white;
  background-color: var(--blue-hex);
  text-decoration: none;
}

/* Homepage Styling */
#home-section-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 2rem;
  flex-wrap: wrap;
}

#home-section-wrapper section {
  flex: 0 1 100%;
  /*  width: 40%; */
  border-radius: 0 0 1rem 1rem;
}

#home-section-wrapper p {
  padding: 0 1rem;
  color: inherit;
}

#home-section-wrapper a:link, #home-section-wrapper a:visited {
  display: inline-block;
  padding: 0 0;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--blue);
  text-decoration: none;
  border-radius: 0 0 1rem 1rem;
  background-color: #FEFEFA;
  transition: all 300ms ease-in-out;
}

#home-section-wrapper a:hover, #home-section-wrapper a:active, #home-section-wrapper a.current {
  color: white;
  background-color: var(--blue-hex);
  text-decoration: none;
}

#cta {
  display: none;
}

/* Basemap styling */
#svg-map-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid var(--blue-light);
}

svg#basemap {
  width: 100%;
  height: 100%;
  cursor: move;
}

#basemap text[data-id], #basemap path[data-id] {
  cursor: pointer;
  fill: black;
}

#basemap text[data-id]:hover, #basemap path[data-id]:hover {
  fill: var(--blue);
}

#basemap text[style*="fill:#808080"] {
  font-weight: 400;
  fill: #9e9d9d !important;
}

#zoomIcons {
  position: absolute;
  right: 1rem;
  bottom: 15px;
}

#zoomIcons path {
  fill: var(--gray);
}

#zoomIcons > div {
  cursor: pointer;
  padding: 5px;
}

#zoomIcons > div:hover path, #zoomIcons > div:active path, #zoomIcons > div:focus path {
  fill: var(--dark-gray);
}

#zoomIn {
  margin-bottom: 0;
}

/*#iconWrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1rem;
}

#iconWrapper span {
    width: calc(20% - var(--gap-default));
}

#iconWrapper svg {
    stroke: var(--blue);
}*/
/* Local Information **************************************************/
#local-information-content {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}

#locationInfo {
  position: absolute;
  padding: 1rem;
  max-width: 785px;
}

.layout-column {
  width: 100%;
}

.text-column {
  /*  padding: 130px 0 0 0;
    width: calc(42% - var(--gap-default));
    position: relative;*/
}

#scanColumn img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.text-column-list {
  list-style: decimal;
  list-style-position: outside;
  margin: 50px 0 0 1.5rem;
  /*  display: flex;
    flex-direction: column;
    gap: 0.5rem;*/
  padding: 0;
  position: relative;
}

.sentences {
  font-size: 1.5rem;
  line-height: 1.25;
  position: absolute;
  max-width: 100%;
  left: 0;
}

/*.sentences[data-id="1"] {
    top: 175px;
}

.sentences[data-id="2"] {
    top: 281px;
}

.sentences[data-id="3"] {
    top: 333px;
}

.sentences[data-id="4"] {
    top: 450px;
}

.sentences[data-id="5"] {
    top: 526px;
}

.sentences[data-id="6"] {
    top: 608px;
}

.sentences[data-id="7"] {
    top: 768px;
}*/
/* End Local Information */
/* Styles for Test */
#locationInfo2 {
  /* position: absolute;*/
  /*  padding: 1rem;*/
  /*  max-width: 785px;*/
}

#sentencesWrapper {
  font-size: 1.2rem;
  line-height: 1.25;
  width: 100%;
  padding: 2rem 0 0;
}

.textRow {
  display: block;
  padding: 1rem 0;
}

.dialectform {
  padding-top: 0.5rem;
}

.dialectform .counter {
  visibility: hidden;
}

/*.textRow[data-id="1"] {
    min-height: 117px;
}

.textRow[data-id="2"] {
    min-height:70px;
}

.textRow[data-id="3"] {
    min-height: 80px;
}

.textRow[data-id="4"] {
    min-height: 90px;
}

.textRow[data-id="5"] {
    min-height: 97px;
}

.textRow[data-id="6"] {
    min-height: 150px;
}

.textRow[data-id="7"] {

}*/
#scanColumn {
  display: none;
}
#scanColumn.zoom {
  width: 100%;
  max-height: 100%;
  line-height: 1;
  padding: 0.8rem;
  position: fixed;
  z-index: 1000;
  top: 131px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

#scanColumn img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: initial;
}

.textRow > div {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}

#showScanButton {
  /*    position: absolute;
      top: 8rem;
      left: 1rem;*/
  display: inline-block;
  padding: 0.2rem 0.8rem 0.3rem;
  background-color: var(--orangeish);
  color: black;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

#showScanButton:hover, #showScanButton:active, #showScanButton:focus {
  background-color: var(--blue-hex);
  color: white;
}

#magnifier {
  display: none;
}

#closeScanButton {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.5rem;
  background-color: var(--yellow);
  color: black;
  border: 1px solid var(--dark-gray);
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 2rem;
  transition: all 0.25s ease-in-out;
}

#closeScanButton:hover {
  background-color: var(--blue-hex);
  color: white;
}
#closeScanButton:hover svg path {
  fill: white;
}

/* Styles for Word map page  mobile first*/
#map-wrapper {
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--blue-light);
  overflow: hidden;
  margin: 0 auto 1rem;
  position: relative;
}

#wordMap {
  max-width: 100%;
  height: auto;
  touch-action: none;
  display: block;
  margin: 0 auto;
  cursor: move;
}

#map-wrapper:focus {
  outline: 1px solid var(--blue-light);
}

#wordsColumn {
  background: #fff;
  border-right: 1px solid #eee;
  /* min-width: 200px;
   max-width: 320px;*/
  width: 0;
  height: auto;
  padding: 0;
  position: absolute;
  right: 0;
  top: 50px;
  z-index: 30;
  transition: all 0.3s ease;
  transform: translateX(100%);
}

.words-toggle {
  font-family: "Noto Sans", sans-serif;
  display: block;
  background: var(--blue-hex);
  color: #fff;
  border: none;
  width: auto;
  white-space: nowrap;
  text-align: left;
  font-size: 1.1rem;
  padding: 0.5rem;
  position: absolute;
  transform: rotate(-90deg);
  z-index: 31;
  top: 57px;
  left: -84px;
  cursor: pointer;
}

.word-list {
  list-style: none;
  margin: 0;
  width: 100%;
  padding: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  overflow: hidden;
  background-color: white;
}

#wordsColumn.open {
  transform: none;
  width: 80vw;
  padding: 0.5rem;
}

#wordsList a:link, #wordsList a:visited {
  display: inline-block;
  padding: 0.2rem 1rem 0.3rem;
  font-size: 1.1rem;
  font-family: "Noto Sans", sans-serif;
  color: black;
  text-decoration: none;
  border: 1px solid var(--blue-light);
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#wordsList a:hover, #wordsList a:active, #wordsList a.current {
  color: white;
  background-color: var(--blue-hex);
  text-decoration: none;
}

/* Custom Styles ########################################################### */
img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scanImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-code {
  width: 80px;
  height: 80px;
  object-fit: contain;
  vertical-align: top;
  float: right;
  margin: 0 0 0 1rem;
}

.no-margin {
  margin: 0;
}

#scrollTopButton {
  position: fixed;
  bottom: 100px;
  right: 1rem;
  z-index: 1000;
  background-color: rgba(var(--blue-rgb), 0.7);
  width: 38px;
  height: 37px;
  padding: 6px;
  border-radius: 0;
  border: 1px solid var(--blue);
  text-align: center;
  line-height: 1;
  opacity: 1;
  cursor: pointer;
  transition: background-color 300ms ease;
}

#scrollTopButton svg {
  width: 100%;
  height: 100%;
}

#scrollTopButton path {
  fill: white;
}

#scrollTopButton.hidden {
  display: none;
}

#scrollTopButton.transition.hidden {
  opacity: 0;
}

#scrollTopButton.transition {
  transition: opacity 300ms ease;
  display: block;
}

#scrollTopButton:hover {
  background-color: rgba(var(--blue-rgb), 1);
}

@media screen and (min-width: 768px) {
  header {
    padding: 0.8rem;
    height: auto;
    background-image: linear-gradient(to right, #fbe104, #fce42c, #fde841, #feeb52, #ffee62);
  }
  header nav {
    max-width: 1920px;
    margin: 0 auto;
  }
  header ul {
    list-style-type: none;
    margin: 0;
    padding: 0 0 0 0;
    display: flex;
  }
  /* Page layouts ********************************************** */
  /* Homepage Styling */
  #home-section-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 2rem;
  }
  #home-section-wrapper section {
    flex: 0 1 calc(50% - 1rem);
    /* width: 45%;*/
    border-radius: 0 0 1rem 1rem;
  }
  #home-section-wrapper p {
    padding: 0 1rem;
    color: inherit;
  }
  #home-section-wrapper a:link, #home-section-wrapper a:visited {
    display: inline-block;
    padding: 0 0;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--blue);
    text-decoration: none;
    border-radius: 0 0 1rem 1rem;
    background-color: #FEFEFA;
    transition: all 300ms ease-in-out;
  }
  #home-section-wrapper a:hover, #home-section-wrapper a:active, #home-section-wrapper a.current {
    color: white;
    background-color: var(--blue-hex);
    text-decoration: none;
  }
  /* Local Information ************************************************* */
  /* Extra */
  #cta {
    position: absolute;
    top: 150px;
    right: 220px;
    transform: rotate(18deg);
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.2rem 1rem 0.5rem;
    background-color: var(--blue);
    color: white;
    text-decoration: none;
    border-radius: 1rem;
  }
  #cta span {
    display: inline-block;
    background-color: var(--blue);
  }
  #cta span:first-of-type {
    border-radius: 1rem 0 0 1rem;
  }
  #cta span:last-of-type {
    border-radius: 0 1rem 1rem 0;
  }
  /* Wordslist styling ************************************************************** */
  .word-map-layout #contentWrapper {
    display: flex;
    justify-content: flex-start;
    column-gap: 1px;
    align-items: flex-start;
  }
  .word-map-layout #contentWrapper #mapColumn {
    width: 60vw;
  }
  #wordMap {
    max-width: 100%;
    height: auto;
    touch-action: none;
    display: block;
    margin: 0 auto;
  }
  #wordsColumn {
    background: #fff;
    border-color: var(--blue-light);
    border-style: solid;
    border-width: 1px 1px 1px 0;
    width: 40vw;
    height: auto;
    padding: 1rem 0;
    top: 0;
    left: 0;
    position: relative;
    transform: translateX(0);
  }
  .words-toggle {
    font-family: "Noto Sans", sans-serif;
    text-align: left;
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
    background: #fff;
    color: var(--blue-hex);
    border: none;
    width: auto;
    white-space: nowrap;
    padding: 0.5rem;
    position: relative;
    transform: rotate(0);
    margin-left: 0.3rem;
    top: -6px;
    left: 0;
    cursor: inherit;
  }
  .word-list {
    list-style: none;
    margin: 0;
    width: 100%;
    padding: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow: hidden;
    background-color: white;
  }
  #wordsList a:link, #wordsList a:visited {
    display: inline-block;
    padding: 0.2rem 1rem 0.3rem;
    font-size: 1rem;
    font-family: "Noto Sans", sans-serif;
    color: black;
    text-decoration: none;
    border: 1px solid var(--blue-light);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  #wordsList a:hover, #wordsList a:active, #wordsList a.current {
    color: white;
    background-color: var(--blue-hex);
    text-decoration: none;
  }
}
@media screen and (min-width: 1000px) {
  #main.map-layout #wordsColumn {
    width: 35vw;
  }
  #map-wrapper {
    margin: 0;
  }
  .text-page-layout #content {
    max-width: 950px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1400px) {
  header nav {
    max-width: 1400px;
    margin: 0 auto;
  }
  #main {
    max-width: 1400px;
    min-height: calc(100vh - 188px);
  }
  #svg-map-wrapper {
    width: 100%;
    height: 100%;
  }
  .textRow {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 0;
  }
  #sentencesWrapper {
    font-size: 1.3rem;
    line-height: 1.3;
    width: 100%;
    padding: 2rem 0 0;
  }
  .standardform {
    width: calc((100% - 200px) / 2);
  }
  .dialectform {
    padding-top: 0;
    padding-left: 1rem;
    width: calc((100% - 200px) / 2);
  }
  .dialectform .counter {
    visibility: visible;
  }
  #scanColumn {
    position: absolute;
    left: calc((100% - 200px) / 2);
    top: 125px;
    width: 200px;
    line-height: 1;
    padding: 0.8rem;
    display: block;
    max-height: none;
    background: none;
    backdrop-filter: none;
  }
  #scanColumn.zoom {
    display: none;
    width: 100%;
    max-height: 100%;
    line-height: 1;
    padding: 0.8rem;
    position: fixed;
    z-index: 1000;
    top: 131px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    backdrop-filter: blur(5px);
    overflow-y: auto;
  }
  #scanColumn.zoom img {
    width: 40%;
  }
  #scanColumn img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  #showScanButton {
    display: none;
  }
  #magnifier {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem;
    transition: all 0.25s ease-in-out;
  }
  #magnifier:hover {
    cursor: pointer;
    background-color: var(--blue);
  }
  #magnifier:hover svg path {
    fill: white;
  }
  #magnifier svg {
    width: 30px;
    height: 30px;
  }
  #magnifier.hidden {
    display: none;
  }
  #main.word-map-layout #wordsColumn {
    width: 30vw;
  }
  #main.local-information2-layout {
    overflow: auto;
  }
}
@media screen and (min-width: 1700px) {
  header nav {
    max-width: 1700px;
    margin: 0 auto;
  }
  /* #main {
       max-width: 1700px;
   }*/
  /*  #svg-map-wrapper {
        width: 1500px;
        height: 100%;
    }*/
}
@media screen and (min-width: 1920px) {
  header nav {
    max-width: 1920px;
    margin: 0 auto;
  }
}

/*# sourceMappingURL=main-styles.css.map */
