/* general */

* {
  box-sizing: border-box;
}

body {
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.4;
  font-size: 1.1rem;
  font-weight: 400;
}

h1 {
  font-size: 1.8em;
}
h2 {
  font-size: 1.4em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: black;
  text-decoration: none;
}
a:hover,
a:active {
  text-decoration: underline;
}

@media (min-width: 992px) {
  body {
    font-size: 1.2rem;
  }
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.5em;
  }
}

/* grid */

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -1.5rem;
}
.col {
  padding: 0 1.5rem;
  flex: 1 0 auto;
  max-width: 100%;
}
.indent {
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .col-3 {
    max-width: 50%;
  }
}
@media (min-width: 992px) {
  .container {
    padding: 0 3rem;
  }
  .col-3 {
    max-width: 33.33%;
  }
}

/* pageheader */

#pageheader {
  padding: 0 .5rem;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}
#pageheader img {
  max-height: 60svh;
  margin: 0 auto;
  transform: scale(0.9);

  animation-name: scaleAnimation;
  animation-duration: 1ms; /* Firefox requires this to apply the animation */
  animation-direction: alternate;
  animation-fill-mode: forwards;
  animation-timeline: view(0% 100%);
}

@media (min-width: 992px) {
  #pageheader {
    padding: 0 3rem;
  }
}

/* content */

.hint {
  position: absolute;
  top: -10px;
  left: calc(45% + 10vw);
  font-weight: bold;
  font-size: 1.2rem;
  padding: 5px;
  border: 3px solid #000;
  rotate: 20deg;
  white-space: nowrap;
}
.intro {
  position: relative;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 6rem;
}
.date {
  margin-bottom: 3rem;
}
.intro h2,
.intro p {
  opacity: 0;
  animation: fadeAnimation 1ms alternate forwards;
  animation-timeline: view(40% 0);
}

.sp-h {
  display: inline-block;
  background: -webkit-linear-gradient(180deg, #f8d33a, #d94248);
  background-position-x: 0%;
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientAnimation 3s linear 0ms alternate infinite;
}

.location {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(70px);

  animation: fadeUpAnimation 1ms alternate forwards;
  animation-timeline: view(50% 0);
}
.location p {
  margin: 0 0 .5rem 0;
}
.location h2 {
  margin: 0;
}

details {
  border-top: 1px solid black;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUpAnimation 1ms alternate forwards;
  animation-timeline: view(50% 0);
}
details:last-child {
  border-bottom: 1px solid black;
}
summary {
  padding: 1rem 0;
  user-select: none;
}

@media (min-width: 992px) {
  .intro {
    font-size: 1.3rem;
  }
}

/* animations */

@keyframes scaleAnimation {
  to {
    transform: scale(1);
  }
}
@keyframes fadeAnimation {
  to {
    opacity: 1;
  }
}
@keyframes fadeUpAnimation {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes gradientAnimation {
  from {
    background-position-x: 0%;
  }
  to {
    background-position-x: 100%;
  }
}

/* pagefooter */

#pagefooter {
  background-color: black;
  color: white;
  padding-block: 3rem;
  margin-top: 6rem;
}
#pagefooter a {
  color: white;
}