html {
  color-scheme: only light;
}

:root {
  --bg: white;
  --text: black;
  --header-color: #ffffff;
  --header-text:  #000000;
  
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #ffffff;
    --text: rgb(0, 0, 0);
    --header-color: #ffffff;
    --header-text:  #000000;
  }
}

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

* {
  -webkit-tap-highlight-color: transparent !important;
}

button:focus, a:focus {
  outline: none !important;
}


body {
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}


#copyright {
  font-size: 0.8em;
  padding-top: 5em;
  margin-bottom: 0;
}

#imprint {
  font-size: 0.8em;
  text-decoration: underline;
  color: var(--header-text);
}


/* Prevents copying or dragging */
a.no-drag-link, a.no-drag-link img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}


img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}






body {
  display: flex;
  flex-direction: column;
}

.website {
  display: flex;
  min-height: 100vh;
}

.content {
  width: calc(100% - 330px);
  min-height: 100vh;
  padding: 4vh;

}




.header {
  padding: 4vh;
  text-align: left;
  align-items: left;
  position: sticky;
  width: 330px;


  

  z-index: 1000;
  background-color: var(--header-color);
  color: var(--header-text);

  display: flex;
  flex-direction: column;
}

.headerInfo {
  text-align: left;
}

.headerTitle {
  font-weight: normal;
  font-size: 2em;
  margin-top: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
}

#headerSubtitle {
  font-weight: normal;
  font-size: 1.7em;
  margin-top: 0.3em;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--header-text);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}



.collection {
  text-align: left;

  display: grid;

  font-size: 1em;
  padding-left: 3px;
}


.collection a {
  text-decoration: none;
  color: var(--header-text);
  font-weight: normal;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}



.menu {
  text-align: left;
  padding-top: 1em;

  display: grid;

  font-size: 1em;
  padding-left: 3px;
}

.menu a {
  text-decoration: none;
  color: var(--header-text);
  font-weight: normal;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}


.activeMenu {
  font-weight: 600 !important;
}



#lang-btn {
  border: none;
  display: inline-flex;
  align-items: center;
  vertical-align: baseline;
}

#lang-btn p{
  margin: 0;
  padding-left: 5px;
  padding-right: 5px;
}

#lang-btn a {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  line-height: normal;
  vertical-align: baseline;
  cursor: pointer;
}


#lang-btn a.active{
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
}

.subheader {
  display: none;
}



/* Gallery */
.gallery-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 2em;
  padding-top: 0.5em;
}

#gallery {
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 0 auto;
}

#gallery a {
  flex: 0 0 auto;
  height: 35vh;
}

#gallery img {
  display: block;
  height: 100%;
  width: auto;
}

.pswp {
  --pswp-bg: rgb(18, 18, 18) !important;
  background:rgb(18, 18, 18) !important;
}

.pswp__button--zoom {
  display: none !important;
}






/* Content Info */
.content-info {
  font-size: 1em;
  text-align: left;
  line-height: 150%;
}

.content-info a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  color: var(--header-text);
}


/* News */

.news {
  font-size: 1em;
  text-align: left;
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 0;
}

.news div {
  border-bottom: 1px solid #44445d;
  padding-top: 0;
}

.news h3 {
  font-weight: normal;
  font-size: 1.1em;
}

.news h4 {
  font-weight: normal;
  font-size: 1.1em;
}

.news a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: blue;
  color: blue;
}


.news2 {
  padding-top: 0;
  margin-top: 0;
}






@media (max-width: 768px) {
  .website {
    flex-direction: column;
    margin-left: 2vw;
    margin-right: 2vw;
  }

  .header {
    width: 100%;
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    
    border-bottom: 2px solid grey;
    padding-bottom: 5px;

  }

  .headerInfo {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title burger"
      "subtitle burger";
    align-items: start;
    row-gap: 0.2em;
    padding: 0;
  }

  .headerTitle {
    grid-area: title;
    margin: 0;
  }

  #headerSubtitle {
    grid-area: subtitle;
    margin: 0;
    font-size: 1.5em;
    text-align: left;
  }

  .hamburger {
    grid-area: burger;
    align-self: start;
    display: flex;
    margin: 0;
    margin-top: 0.9em;
  }

  .collection,
  .menu {
    padding-top: 1em;
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .collection a,
  .menu a {
    padding-left: 0;
  }

  .header.menu-open .collection,
  .header.menu-open .menu {
    display: flex;
    padding-left: 0;
  }

  .content {
    width: 100%;
    max-width: 700px;
    margin-left: 5vw auto;
    margin-right: 5vw auto;
    padding: 10px;
  }

  .subheader {
    display: flex;
    margin-top: 1em;
    font-size: 1.4em;
  }

  #news-header {
    margin-bottom: 2em;
  }

  #gallery {
    margin-top: 0;
  }
}


