html, body {
    margin: 0;
    height: 100%;
    font-family: "Eagle Lake", serif;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

hr {
    border: 1px solid black;
}

.separator {
    width: 70%;
    color: black;
    margin-top: 5vh;
    margin-bottom: 5vh;
    border: 1px solid grey;
}

h1 {
    font-size: 7vh;
    font-weight: normal;
}

h2 {
    font-size: 5vh;
    font-weight: normal;
}

.text {
    text-align: center;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50vh;
    background-image: url('../images/filler.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: hsl(0, 0%, 5%);
}

.time {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 18vh;
}

#timer {
    font-size: 7vh;
    text-shadow: 4px 4px #9fb09a;
}

main {
    background-image: linear-gradient(90deg, #9fb09a 0%, #ffffff 50%, #9fb09a 100%);
}

.program {
    display: flex;
    flex-flow: column;
    height: max-content;
    text-align: center;
}

.program h1 {
    align-self: center;
    margin-bottom: 60px;
    margin-top: 60px;
    border-left: 1px solid hsl(0, 0%, 42%);
    border-right: 1px solid hsl(0, 0%, 42%);
    padding: 10px;
    text-shadow: 4px 4px #9fb09a;
}

#altenkamp {
    background-image: url(../images/GutAltenkamp.jpg);
    background-position-y: bottom;
}

#halte {
    background-image: url(../images/gut-halte.jpg);
    background-position-y: 80%;
}

.point {
    height: 74vh;
    background-blend-mode: darken;
    background-size: cover;
    box-shadow: 0px 2px 4px black;
    border-top: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-text {
    background-color: hsla(0, 0%, 0%, 0.6);
    color: hsl(0, 0%, 90%);
    height: 100%;
    width: 38vw;
    font-size: 1.5vw;
    display: flex;
    justify-content: center;
    flex-flow: column;
    min-height: inherit;
}

.point-text h3 {
    font-size: 1.5em;
}

.list {
    display: flex;
    flex-flow: column;
    width: 50%;
    align-self: center;
    justify-items: flex-start;
    border-left: 2px solid white;
    padding-left: 2vw;
}

.program-1,
.program-2,
.intro {
  opacity: 0;
  transform: translateY(40px);
  background-size: 110%;
  transition: 
    opacity 1.5s ease,
    transform 1.5s ease,
    background-size 1.5s ease;
  scroll-snap-align: start;
  min-height: 60vh;
}

.program-1.visible,
.program-2.visible,
.intro.visible {
  opacity: 1;
  transform: translateY(0);
  background-size: 100%;
}

@media only screen and (max-width: 600px), (orientation: portrait) {
  .point {
    height: 88vh;
  }

  .point-text {
    width: 80%;
    font-size: 22px;
  }

  #altenkamp {
    background-position-x: center;
  }

  #halte {
    background-position-x: center;
  }

  .list {
    width: 70%;
    padding-left: 1px;
  }

  .intro {
    height: 60vh;
    min-height: 60vh;
  }

  .time {
    height: 15vh;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  #timer {
    font-size: 25px;
    text-shadow: 2px 2px #9fb09a;
  }

  .program h1 {
    margin-top: 15px;
    margin-bottom: 15px;
    text-shadow: 2px 2px #9fb09a;
  }

  .program-1,
  .program-2,
  .intro {
    opacity: 0;
    transform: translateY(40px);
    background-size: 110%;
    transition: 
      opacity 1.5s ease,
      transform 1.5s ease,
      background-size 1.5s ease;
    scroll-snap-align: start;
    min-height: 60vh;
  }

  .program-1.visible,
  .program-2.visible,
  .intro.visible {
    opacity: 1;
    transform: translateY(0);
    background-size: 180%;
  }
}