* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }

:root {
    --beige: #E5E3C9;
    --hellgruen: #B4CFB0;
    --gruen: #94B49F;
    --dunkelgruen: #789395;
    --weiss: #fff;
    --grau: rgba(0,0,0,0.8);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--beige);
    color: var(--grau);
    font-family: 'Montserrat-Regular', sans-serif;
    text-align: center;
    line-height: 1.5;
}

p {
    font-size: 1.2rem;
}

h1, h2, h3 {
    color: var(--dunkelgruen);
    font-family: 'MerriweatherReg', serif;
}

h1 {
    font-size: 3.5rem;
    margin: 0 auto;
  }
@media screen and (max-width: 980px) {
    h1 {
        font-size: 2rem;
    }
}

  h1.greeting {
      border-bottom: 1px solid var(--dunkelgruen);
      display: inline-block;
  }

  .greeting-container {
      margin-top: 20vh;
  }

  .medien {
      text-decoration: underline;
  }

  .top-container, .middle-container, .bottom-container {
      width: 80%;
      max-width: 1080px;
      margin: 0 auto;
      padding: 3em 0;
  }

  section.top-section {
      height: 100vh;
      background: url('../images/Head-BG-Forrest.png') no-repeat;
      background-position: bottom;
      background-size: 100%;
  }

  .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  img.avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 2px solid var(--dunkelgruen);
  }
div.nav ul.navi li {
    display: inline-block;
    text-align: right;
    margin-left: 2rem;
}
ul.navi li a {
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--dunkelgruen);
}
ul.navi li a:hover {
    color: var(--gruen);
}

footer {
    background-color: var(--dunkelgruen);
    color: var(--weiss);
    padding: 2rem;
}
.copy {
    font-size: 1rem;
}


#myBtn {
    display: none; /* Hidden by default */
    width: 60px;
    height: 60px;
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: 2px solid var(--weiss); /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--dunkelgruen); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
  }
  
  #myBtn:hover {
    background-color: var(--hellgruen);
  }


  .arrows {
    width: 60px;
    height: 72px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    margin-top: 50px;
  }
  
  .arrows path {
    stroke: var(--grau);
    fill: transparent;
    stroke-width: 1px;  
    animation: arrow 2s infinite;
    -webkit-animation: arrow 2s infinite; 
  }
  
  @keyframes arrow
  {
  0% {opacity:0}
  40% {opacity:1}
  80% {opacity:0}
  100% {opacity:0}
  }
  
  @-webkit-keyframes arrow /*Safari and Chrome*/
  {
  0% {opacity:0}
  40% {opacity:1}
  80% {opacity:0}
  100% {opacity:0}
  }
  
  .arrows path.a1 {
    animation-delay:-1s;
    -webkit-animation-delay:-1s; /* Safari 和 Chrome */
  }
  
  .arrows path.a2 {
    animation-delay:-0.5s;
    -webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
  }
  
  .arrows path.a3 { 
    animation-delay:0s;
    -webkit-animation-delay:0s; /* Safari 和 Chrome */
  }