* {
  box-sizing: border-box;
  font-family: "Courier New", Courier, monospace;
}

:root {
  --spacer: 20px;
}

h1 {
  font-size: clamp(25px, 5vw, 50px);
}

h2 {
  font-size: clamp(10px, 4vw, 21px);
}

p {
  margin: 0px;
  font-size: clamp(10px, 3vw, 21px);
  text-align: justify;
  line-height: 1.5;
}

html,
body {
  margin: 0px;
  padding: 0px;
  background-color: rgb(249, 242, 242);
}

img {
  object-fit: cover;
  width: 100%;
}

.hidden {
  display: none;
}

.language-wrapper {
  position: absolute;
  right: 0;
}

.language-wrapper input[type="submit"] {
  margin: 20px;
  background-color: white; 
  border: none;
  font-size: larger;
  padding: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.language-wrapper input[type="submit"]:hover {
  background-color: #292929;
  color: white;
}

.centered {
  display: flex;
  justify-content: center;
  padding-bottom: var(--spacer);
}

.content-wrapper-size {
  width: 90vw;
  max-width: 1000px;
}

.header-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacer);
}

.title-image {
  width: 40%;
  flex-grow: 1;
}

.title-image > img {
  width: 100%;
  object-fit: cover;
}

.credits {
  font-size: clamp(10px, 3vw, 21px);
}

#header-text {
  font-weight: bold;
  /* font-size: clamp(9px, 4vw, 21px); */
  font-size: clamp(10px, 3vw, 21px);
  flex-grow: 1;
}

#header-text > h1 {
  margin-bottom: 0;
  padding-bottom: 0;
}

#header-text > h1 + h2 {
  margin: 0;
  padding: 0;
}

.jubilee-callout {
  background: #fc5b5b;
  background: linear-gradient(69deg, rgb(255, 225, 179) 0%, rgb(255, 247, 184) 100%);
  font-weight: bold;
}

.jubilee-callout > h2 {
  display: flex;
  justify-content: center;
}

#oeffnungszeiten-wrapper > div {
  display: flex;
}

.spread {
  flex-grow: 1;
}

#aussteller-wrapper {
  font-size: clamp(8px, 2vw, 20px);
}

.aussteller-item {
  display: flex;
  flex-direction: row;
  padding: 3px 0px;
  transition: background-color 100ms;
  transition-timing-function: ease-in-out;
  border-radius: 5px;
}

.aussteller-item:hover {
  background-color: rgba(240, 127, 127, 0.733);
}

.aussteller-name {
  display: flex;
  width: 50%;
  justify-content: end;
  padding-right: 10px;
}

.aussteller-beschreib {
  display: block;
  width: 50%;
  padding-left: 10px;
}

#aussteller-container {
  display: flex;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.aussteller-div {
  width: 40%;
  padding: 10px;
  flex-shrink: 0;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 250px;
}

.aussteller-div > h3 {
  margin: 0px 0px 10px 0px;
  font-size: clamp(10px, 4vw, 21px);
}

.aussteller-div > p {
  margin: 0px 0px 10px 0px;
}

.aussteller-div > img {
  aspect-ratio: 1/1;
  border-radius: 5px;
}

.highlight {
  background-color: #eee8aa;
  transition: background-color 1s;
}

.highlight > img {
  transform: scale(102%);
}

/* phones */
@media screen and (max-width: 600px) {
  .language-wrapper input[type="submit"] {
    margin: 0;
  }
  #aussteller-wrapper {
    display: none;
  }
}
