@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #EBF0F0;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 1000px;
    margin: 1rem auto;
    overflow: hidden;
    background: transparent;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 1.35rem;
    text-align: center;
    margin: 1rem 0;
}

h2 {
    font-size: 1rem;
    margin: 0 0 0.5rem
}

h3 {
    font-size: 1rem;
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1.5rem 1rem;
}

header {
    border-radius: 10px;
}

main {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

article  {
    background-color: #fff;
}

article {
    width: 60%;
    padding: 1rem;
    height: fit-content
}

.button {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem
}

a.apply {
    background-color: #445566;
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    width: 80%;
    text-align: center;
}

a.apply:hover {
    background-color: #778899;
}
a.apply2 {
    background-color: #445566;
    color: #fff;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-align: center;
}

a.apply2:hover {
    background-color: #778899;
}

aside {
    width: 40%;
}

aside p {
    font-size: 0.9rem;
}

aside section {
    padding: 1rem;
    background-color: #fff;
    margin-bottom: 1rem;
}

.title {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0 0 1rem
}

.title img {
    width: 5rem;
}

.details {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.details p {
    width: 50%;
    display: flex;
    align-items: center;
}

.details i {
    margin-right: 0.5rem;
}

hr {
    border: none;
    height: 1px;
    background-color:#C7C8C9;
    margin: 1rem 0;
}

.kontakt i {
    margin-right: 0.5rem;
}

.informationen p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.informationen span {
    width: 8rem;
    font-weight: 400;
    margin-right: 0.8rem;
}


.iframe-wrapper {    
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}


.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


@keyframes slidy2 { 
  0% { 
      left: 0%;
  }
  47% {
      left: 0%;
  }
  50% { 
      left: -100%;
  }
  97% {
      left: -100%;
  }
  100% {
      left: -200%;
  }
}

.slider2 {
  overflow: hidden;
  margin-bottom: 1rem;
}

.slider2 figure {
  position: relative;
  width: 300%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 12s slidy2 infinite;
}

.slider2 figure img {
  width: 33.333333333333336%;
  float: left;
}
    
    



@keyframes slidy { 
  0% { 
      left: 0%;
  }
  22% {
      left: 0%;
  }
  25% { 
      left: -100%;
  }
  47% {
      left: -100%;
  }
  50% { 
      left: -200%;
  }
  72% {
      left: -200%;
  }
  75% { 
      left: -300%;
  }
  97% {
      left: -300%;
  }
  100% {
      left: -400%;
  }
}

.slider {
  overflow: hidden;
}

.slider figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 24s slidy infinite;
}

figure img {
  width: 20%;
  float: left;
}
    
    

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    main {
        flex-direction: column;
    }

    article, 
    aside {
        width: 100%;
    }

    footer .button {
        margin: 1rem 0 2rem;
    }
}

@media only screen and (max-width: 40rem) {
    .title {
        flex-direction: column;
        gap: 0;
    }

    .title img {
        width: 6rem;
    }

    .details {
        flex-direction: column;
    }

    .details p {
        width: 100%;
    }

    .informationen p {
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
    }
}

