@charset "utf-8";

:root {
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #613402;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  background: #fff url(../images/hintergrund.jpg) no-repeat top center;
  background-size: cover;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

#wrapper {
  position: relative;
  max-width: 50rem;
  margin: 1rem auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 1.5rem 0 1rem;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 .625rem;
  font-weight: 500;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

a.link {
    text-decoration: underline;
}
a.link:hover {
    text-decoration: none;
}

a.web:hover {
  color: #e3000f;
}

p {
  margin: 0 0 1rem;
}

span {
  white-space: nowrap;
}

ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

ul li {
  padding-left: 1.375rem;
}

ul li:before {
  content: "\25A0";
  float: left;
  margin-left: -1.375rem;
  font-size: .75rem;
  line-height: 1.6;
  font-family: "Arial", sans-serif;
}

header {
  border-bottom: 1rem solid #ac9f9d;
}

article {
  padding: 2rem 3rem;
}

footer {
  background: #ac9f9d;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1rem;
}

footer p {
  color: #fff;
  margin: 0;
}

a.color {
  color: #fff;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer a.link2 {
  color: #fff;
  text-decoration: underline;
}

a.link2:hover {
    color: #666565;
}

.button {
    display: flex;
    margin: 3rem 0 2rem;
}

a.apply {
    border: 1px solid #613402;
    padding: 0.65rem 2rem;
    font-weight: 700;
    background-color: #613402;
    color: #fff;
}
a.apply:hover {
  background-color: #fff;
  color: #613402;
}

  @keyframes slidy { 
    0% { 
        left: 0%;
    }
    30% {
        left: 0%;
    }
    33% { 
        left: -100%;
    }
    64% {
        left: -100%;
    }
    67% { 
        left: -200%;
    }
    97% {
        left: -200%;
    }
    100% {
        left: -300%;
    }
  }
  
  .slider {
    overflow: hidden;
  }
  
  .slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
  }
  
  figure img {
    width: 25%;
    float: left;
  }
    
    

@media only screen and (max-width: 49.937rem) {
  #wrapper {
    border: none;
    margin: 0 auto;
    padding: 1rem;
  }

  p,
  ul {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    margin: 0 0 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h1 + p {
    margin: 0 0 1rem;
  }

  article {
    padding: 1rem;
  }

  footer {
    padding: 1rem;
  }
}

@media only screen and (max-width: 30rem) {
  article {
    padding: 1rem 0 0;
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  footer p {
    text-align: center;
  }
}