:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v20-latin-regular.eot');
  src: url('../fonts/poppins-v20-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v20-latin-regular.woff2') format('woff2'), url('../fonts/poppins-v20-latin-regular.woff') format('woff'), url('../fonts/poppins-v20-latin-regular.ttf') format('truetype'), url('../fonts/poppins-v20-latin-regular.svg#Poppins') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v20-latin-700.eot');
  src: url('../fonts/poppins-v20-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v20-latin-700.woff2') format('woff2'), url('../fonts/poppins-v20-latin-700.woff') format('woff'), url('../fonts/poppins-v20-latin-700.ttf') format('truetype'), url('../fonts/poppins-v20-latin-700.svg#Poppins') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 20px;
  font-family: 'Poppins', Arial, sans-serif;
  color: #000;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 752px;
  margin: 16px auto;
  border: 1px solid #777;
  overflow: hidden;
  background: #fff url('../images/background.jpg') no-repeat 0 0;
}

h1 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 400;
  text-align: center;
  position: absolute;
  top: 6px;
  left: 3px;
  z-index: 1;
}

h1 small {
  display: block;
}

h1 span {
  display: block;
  text-decoration: underline;
  font-size: 29px;
}

h2 {
  margin: 16px 0;
  font-size: 14px;
  line-height: 21px;
  font-weight: 700;
  position: absolute;
  top: 198px;
  left: 26px;
  color: #fff;
}

h3 {
  margin: 0 0 2px 0;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  color: #fff;
  text-align: left;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  margin: 0;
  padding: 0;
}

header .logo {
  position: absolute;
  top: 38px;
  right: 20px;
  z-index: 2;
}

article {
  padding: 0 15px;
  position: relative;
}

.bieten {
  position: absolute;
  top: 217px;
  right: 26px;
  font-size: 12px;
}

.bieten p {
  background: url('../images/iconlist.jpg') no-repeat 0 0;
  width: 178px;
  height: 30px;
  margin-bottom: 3px;
  padding: 6px 4px 0px 31px;
  color: #fff;
}

.foto {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: -13px;
  gap: 12px;
  margin-left: 101px;
}

footer {
  padding: 5px 11px 5px 18px;
  margin: 44px 15px 15px 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  align-items: center;
  color: #fff;
}

.banner {
  opacity: 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

article hr {
  display: none;
}

.social {
  font-size: 15px;
}

figure {
  position: absolute;
  top: 90px;
  left: 0px;
}

@media all and (max-width:750px) {
  #wrapper {
    margin: 0;
    border: none;
    background-image: none;
  }


  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br) {
    display: none;
  }

  header .logo {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  h1 {
    text-align: center;
    position: static;
    margin: 16px;
  }

  .banner {
    opacity: 1;
  }

  .background {
    background-color: #AFCE35;
    padding: 16px;
    position: relative;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
  }

  article {
    margin: 0 16px;
    padding: 0;
  }



  .bieten {
    position: absolute;
    bottom: 16px;
    left: 16px;
    top: auto;
  }

  h2 {
    position: static;
    margin: 0px 0 86px;
  }

  h3 {
    text-align: left;
  }

  article img {
    margin-left: 0 -1px;
    width: auto;
  }

  footer {
    background-color: #AFCE35;
    border-radius: 22px;
    flex-wrap: wrap;
  }

  .foto {
    margin-top: 16px;
  }

  .foto {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 18px;
    gap: 10px 53px;
    margin-left: 184px;
    position: inherit;
  }

  article hr {
    display: block;
    border-top: 2px dashed #6A3863;
    margin: 16px 0;
  }

}

@media all and (max-width:700px) {
  footer {
    flex-direction: column;
    text-align: center;
    gap: 9px;
    margin: 0 16px 16px;
  }

  figure {
    position: static;
    text-align: center;
  }
}

@media all and (max-width:525px) {
  h2 {
    position: static;
    margin: 0px 0 16px;
  }

  .foto {
    flex-direction: column;
    margin-left: 0;
  }

  .bieten {
    position: static;
    bottom: 16px;
    left: 16px;
    top: auto;
  }

}