#bodyid {
  margin: 0%;
  width: 100%;
}

nav {
  background-color: black;
  padding-top: 15px;
}

.nav-liste {
  display: flex;
  justify-content: space-around;
  width: 100%
}

#titel {
  margin-right: 510px;
  font-size: 30px;
  padding-left: 1px;
}

#titel img {
  width: 100%;
}

@media screen and (max-width: 740px) {
  #titel {
    margin-right: 150px;
  }
}

@media screen and (max-width: 533px) {
  #titel {
    margin-right: 25px;
  }
}

.dropbtn-ueberuns,
.dropbtn-angebot,
.link-admin,
.link-insta,
.nav-liste a {
  background-color: transparent;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  font-family: 'Merriweather', serif;
}

.dropdown-ueberuns,
.dropdown-angebot,
.admin,
.insta {
  position: relative;
  display: inline-block;
}

.dropdown-content-ueberuns,
.dropdown-content-angebot {
  display: none;
  position: absolute;
  background-color: black;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content-ueberuns a,
.dropdown-content-angebot a,
.link-admin a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content-ueberuns a:hover,
.dropdown-content-angebot a:hover {
  background-color: rgb(79, 79, 79);
}

.dropdown-ueberuns:hover .dropdown-content-ueberuns,
.dropdown-angebot:hover .dropdown-content-angebot,
.link-admin,
.link-insta {
  display: block;
}

.admin a,
.insta a,
#titel {
  text-decoration: none;
}

.container {
  margin-top: -15px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 600px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 10px solid #ffffff;
  border-radius: 7px;
  box-shadow: -2px 7px 25px black;
}

.wrapper {
  width: 100%;
  display: flex;
  animation: slide 10s infinite;
}

img {
  width: 100%;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(0);
  }

  30% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(-100%);
  }

  55% {
    transform: translateX(-200%);
  }

  75% {
    transform: translateX(-200%);
  }

  80% {
    transform: translateX(-300%);
  }

  100% {
    transform: translateX(-300%);
  }
}

.infobox {
  display: flex;
  justify-content: space-around;
  margin-top: 45px;
  margin-bottom: 50px;
}

.infobox1 {
  background-color: white;
  width: 350px;
  height: auto;
  border: 1px solid black;
  border-radius: 7px;
  padding: 10px;
  box-shadow: -2px 7px 25px black;
}

.infobox2 {
  display: block;
  background-color: white;
  width: 350px;
  height: auto;
  border: 1px solid black;
  border-radius: 7px;
  padding: 10px;
  box-shadow: -2px 7px 25px black;
}

a:link {
  text-decoration: none;
}

.preise,
.schnuppern {
  display: inline-block;
  text-decoration: none;
  font-family: Arial;
  font-size: 16px;
  border: 1px solid #fff;
  border-radius: 15px;
  color: #fff;
  background-color: #505a64;
  padding: 5px 15px;
  font-weight: bold;
  box-shadow: 3px 3px 4px #54616c;
}

.preise:hover,
.schnuppern:hover {
  background-color: #4f606f;
  cursor: pointer;
}

.infobox3 {
  background-color: white;
  width: 350px;
  height: auto;
  border: 1px solid black;
  border-radius: 7px;
  padding: 10px;
  box-shadow: -2px 7px 25px black;
}

.to-top {
  text-align: center;
  font-size: 180%;
  margin-left: 2em;
  font-family: Calibri, arial, sans-serif;
  float: right;
}

.to-top {
  color: black;
  padding-top: 1.8em;
  display: flex;
  position: relative;
  border-color: black;
  text-decoration: none;
  transition: all .3s ease-out;
  margin-right: 45px;
}

.to-top:before {
  content: '▲';
  font-size: .9em;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -.7em;
  border: solid .13em white;
  border-radius: 10em;
  width: 1.4em;
  height: 1.4em;
  line-height: 1.3em;
  border-color: inherit;
  transition: transform .5s ease-in;
}

@media screen and (max-width: 1117px) {
  .infobox {
    display: flex;
    flex-direction: column;
    padding-left: 50%;
  }

  .infobox1,
  .infobox2,
  .infobox3 {
    background-color: white;
    width: 350px;
    height: auto;
    border: 5px solid black;
    border-radius: 7px;
    padding: 10px;
    box-shadow: -2px 7px 25px black;
    margin-left: -175px;
    font-size: 20px;
    margin-bottom: 15px;
  }
}


@media screen and (max-width: 1012px) {
  #titel {
    margin-right: 350px;
  }
}

@media screen and (max-width: 860px) {
  #titel {
    margin-right: 250px;
  }
}

@media screen and (max-width: 740px) {
  #titel {
    margin-right: 150px;
  }
}

@media screen and (max-width: 640px) {
  .container {
    width: 75%;
  }

  img {
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  #titel {
    margin-right: 20px;
  }

  img {
    width: 100%;
  }
}

@media screen and (max-width: 533px) {
  #titel {
    margin-right: 25px;
  }
}

@media screen and (max-width: 450px) {
  #titel {
    margin-right: 2px;
  }
}

@media screen and (max-width: 435px) {
  #titel {
    margin-right: 0px;
  }
}

@media screen and (max-width: 433px) {
  #titel {
    margin-right: -10px;
  }

  .dropbtn-ueberuns,
  .dropbtn-angebot,
  .link-admin,
  .link-insta,
  .nav-liste a {
    font-size: 14px;
  }

}

@media screen and (max-width: 412px) {
  #titel {
    margin-right: -20px;
  }

  .dropbtn-ueberuns,
  .dropbtn-angebot,
  .link-admin,
  .link-insta,
  .nav-liste a {
    font-size: 12px;
  }
}

@media screen and (max-width: 411px) {
  #titel {
    margin-right: -20px;
  }

  .dropbtn-ueberuns,
  .dropbtn-angebot,
  .link-admin,
  .link-insta,
  .nav-liste a {
    font-size: 10px;
  }
}