body {
  font-family: "Open Sans", sans-serif;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
}
a {
  font-size: 35px;
  text-decoration: none;
  margin: 35px;
  color: black;
  position: relative;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 225ms ease-in;
}

a:hover::after {
  transform: scaleX(1);
}

.Title {
  font-size: 35px;
  padding-left: 25px;
}

.container {
  display: inline-block;
  cursor: pointer;
  visibility: hidden;
  padding: 25px;
}

@media screen and (max-width: 660px) {
  .container {
    visibility: visible;
    padding: 25px;
  }
  .Title {
    padding-left: 25px;
  }
  .links {
    visibility: hidden;
    position: relative;
    top: 100px;
    right: 10px;
    display: block;
  }

  /*.dropdown {
    display: flex;
    flex-direction: column;
    padding-right: 60px;
    padding-left: 90px;
    top: 100px;
    left: 200px;
  }
  .kasten {
    max-height: min-content;
  }
  .container input[type="checkbox"]:checked ~ .links {
    visibility: visible;
  }
  */
}

.bar1 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.bar2 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

.kasten {
  height: min-content;
  box-shadow: 3px 4px 8px 2px rgba(0, 0, 0, 0.67);
}

.change + .links {
  visibility: visible;
}

