:root {
  --background-color-body: rgb(228, 225, 214);
  --font-color-body: black;
  --font-color-title: black;
  --font-color-hover: red;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/Fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-display: swap;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 10px;
  background-color: #f5f5f5; /* colore di sfondo chiaro */
  color: #666;               /* colore testo */
  text-align: center;
  padding: 10px 0;
  font-size: 0.9em;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* leggero ombreggiamento sopra */
  z-index: 1000; /* sempre sopra gli altri elementi */
}

body,
html {
  height: 100vh;
  width: 100vw;
  margin: 0;
}

html {
scroll-behavior: smooth;
}

hr {
  width: 50%;
}

body {
  background-color: var(--background-color-body);
  font-family: 'Open Sans', sans-serif;
  color: var(--font-color-body);
  font-size: .9em;
}

.only-desktop {
    display: none;
}

#close-button {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

#close-button:hover,
#close-button:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

#thumbnail * {
  display: none;
}

#popup-image {
  display: none;
}

#container {
  position: relative;
  left: 0;
  overflow-y: auto;
}

#fff {
  display: flex;
  justify-content: space-between;
}

#foto {
  max-width: 100%;
}

#foto.hidden {
  display: none;
}

#logo {
  padding-top: 20px;
  padding-bottom: 20px;
  height: 60px;
}

#logoCell {
  display: flex;
  justify-content: left;
  padding-left: 20px;
}

#hamburgerCell {
  position: fixed;
  top: 30px;
  right: 10px;
}

#hamburger {
  font-size: 180%;
  margin-right: 10px;
  padding-top: 100%;
}

#flyer-preview {
  box-shadow: 10px 10px 10px gray;
}

#image-container {
  position: relative;
  height: 200px;
  width: 100%;
}

#image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: auto;
  max-height: 100%;
  max-width: 100%;
  width: 100vw;
  object-fit: cover;
  transition: opacity 3s ease;
  transform: translate(-50%, -50%);
}

.fade-in {
  opacity: 1;
  z-index: -1;
}

.fade-out {
  opacity: 0;
  z-index: -2;
}

nav {
  position: fixed;
  left: 0;
  width: 100vw;
  height: 100vh;
  top: 0;
  transition: left .5s;
  background-color: #000;
  background-color: rgba(0, 0, 0, .9);
  z-index: 2;
}

#menu.closed {
  left: 100%;
}

#menu-content {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#menu,
nav ul {
  list-style: none;
  padding: 0;
}

#menu-content a {
  text-decoration: none;
  color: #818181 !important;
  font-size: 25px;
}

.collapsible li {
  background-color: #575757;
  padding-top: 5px;
  padding-bottom: 5px;
}

.collapsible a {
  font-size: 20px !important;
}

.rounded-corners {
  border-radius: 10px;
}

.center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.center-map {
  margin-bottom: 30px;
  margin-top: 30px;
  max-width: 100vw;
}

.center-text {
  text-align: center;
}

.no-decoration {
  text-decoration: none;
  color: #000;
}

.collapsible {
  overflow: hidden;
  transition: all .5s ease-in-out;
  height: auto;
}

.collapsible.collapsed {
  height: 0;
}

#infoBox {
  background-color: var(--background-color-body);
  padding: 10px;
  border-radius: 4px;
}

#infoBox.hidden {
  display: none;
}

#mainBox {
  color: #000;
  border-radius: 4px;
  transition: background-color 1s;
  
  padding-bottom: 30px;
}

nav .closebtn {
  position: absolute;
  top: 20px;
  left: 45px;
  font-size: 50px;
  text-decoration: none;
  color: #818181;
}

.kontakt-adresse {
  padding-left: 40px;
  transition: height .5s linear;
}

.titleTableAdresse {
  display: flex;
  align-items: center;
  max-width: 22em;
}

.plusminus {
  padding-right: 5px;
  cursor: pointer;
}

#headerPP {
  display: none;
}

.colPP {
  display: block;
}

.rowPP {
  display: block;
  margin-bottom: 20px;
}

.rowPP .colPP:first-child {
  font-weight: 700;
}

#gallery {
  width: 100%;
  height: 100%;
}

audio {
  margin-bottom: 30px;
  z-index: 1;
}

#hoerprobenContent {
  display: flex;
  flex-direction: column;
}
