@import url('https://fonts.googleapis.com/css?family=Advent+Pro|Dancing+Script&display=swap');

html {
  scroll-behavior: smooth;
}



.ober {
  position: fixed;
  width: 100%;

}

/* Navbar container */
.navbar {
  overflow: hidden;
  background-color: #FFFAE1;
  width: 100%;
  opacity: 0.9;
Z-index:1000;

}

/* Rechts inside the navbar */
.navbar a {

  font-size: 1.2em;
  text-align: center;

  padding: 14px 16px;
  text-decoration: none;


}

.aMarker a {
  float: right;
 z-index: 1000;

}

/* The dropdown container */
.dropdown {
  float: right;
  overflow: hidden;
 z-index: 1000;
}

#logo {
  font-family: 'Dancing Script', cursive;
  font-weight: bold;
  float: left;
  left: 20px;
  position: relative;
}

.imgLogo {
  height: 40%;
  position: absolute;
  border-radius: 10px;
  background: no-repeat;

}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 1.2em;
  border: none;
  outline: none;

  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  /* Important for vertical align on mobile phones */
  margin: 0;
 z-index: 1000;
  /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.aMarker a:hover,
.dropdown:hover {
  color: rgb(227, 24, 51);
}

.dropbtn:hover {
  transform: scale(1.05);
  color: rgb(227, 24, 51);
}

a:hover {
  transform: scale(1.05);
  color: rgb(227, 24, 51);
}

/*text-shadow: 2px 2px blue;
 background-color: red;
    transform: scale(1.05);*/

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/****************************Bild vom Mitglied******************************************/
.mietgliedBild {
  width: 100px;
  height: auto;

}

.bild {
  width: 120;
  height: 120;
  border-radius: 50%;
  margin-left: 5x;
}

.langue {
  position: relative;
  left: -100px;
}

.language1 {
  display: none;

}

/*****************************************************/
@media(max-width: 850px) {
  .navLi {
    display: none;
  }

  .imgLogo {
    display: block;
  }

  header h1 {
    font-size: 1.5em;
  }

  header h3 {
    font-size: 1.2em;
  }

  header h4 {
    font-size: 1em;
  }

  .language1 {
    display: none;

  }



  .langue {
    position: relative;
    left: -1px;
  }

  .mitglieder {
    margin-right: 30px;
  }

  .menu {
    margin-right: 40px;

  }

  .ober {
    font-size: 0.8rem;
  }
}



@media(max-width: 505px) {
  .navLi {
    display: none;
  }

 

  .laufbahner {
    font-size: 1rem;
  }



  .imgLogo {
    display: block;
  }

  #prestations {
    padding-left: 25%;
    padding-right: 25%;
  }

  ul li {
    font-size: 0.7em;
  }

  .rechner {
    display: none;
  }

  .ober {
    font-size: 0.8rem;
  }

  .langue {
    display: none;

  }

  .language1 {
    display: flex;
    margin-bottom: -15px;

  }

  .mitglieder {
    margin-right: 20px;
  }

  .menu {
    margin-right: 30px;
  }
}