@charset "utf-8";

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/pacifico-v23-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/pacifico-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/pacifico-v23-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/pacifico-v23-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/pacifico-v23-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/pacifico-v23-latin-regular.svg#Pacifico') format('svg'); /* Legacy iOS */
}

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/oswald-v57-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/oswald-v57-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/oswald-v57-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/oswald-v57-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/oswald-v57-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/oswald-v57-latin-regular.svg#Oswald') format('svg'); /* Legacy iOS */
}
/* oswald-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/oswald-v57-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/oswald-v57-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/oswald-v57-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/oswald-v57-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/oswald-v57-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/oswald-v57-latin-700.svg#Oswald') format('svg'); /* Legacy iOS */
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
    border: 1px solid #ededed;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h2 {
    font-size: 1.4rem;
    color: #ff19cf;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 1rem;
}
  
header {
    background: url(../images/header-bg3.png) no-repeat;
    background-size: 100%;
    height: 33rem;
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 2; 
}
.logos img {
    width: 15rem;
}

.headline {
    position: absolute;
    left: 30%;
    top: 20%;
    z-index: 2;
    margin: 0 0 30px 20px;
    font-family: 'Pacifico', cursive;
    font-size: 35px;
    line-height: 1.15;
    font-weight: 400;
    color: #ff6ab6;
    transform: rotate(-5deg);
    text-align: center;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 8px #ff6ab6, 0 0 14px #ff3fa5, 2px 2px 0 rgba(185, 0, 115, 0.35);
}
h1 {
    position: absolute;
    left: 19%;
    top: 46.5%;
    z-index: 2;
    text-align: center;
    margin: 0;
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 3.75rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: #009fe3;
    letter-spacing: 1px;
    transform: rotate(-5deg);
}

h1 span {
    font-size: 2.9rem;
}

h1 small  {
    font-size: 2rem;
    display: block;
}  

article {
    display: flex;
    position: relative;
    background: url(../images/pink-bg.png) no-repeat left 60px;
}

.button {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}
a.apply {
    color: #ff19cf;
    font-size: 2rem;
    font-weight: 700;
}
.left {
    width: 45%;
    padding: 1rem;
    border-right: 5px solid #019bdc;
}

.right {
    width: 55%;
    padding: 1rem;
}

.right p span {
    color: #ff19cf;
    font-weight: 700;
}

footer {
    background-color: #ffcb00;
    padding: 1rem;
    position: relative;
}

footer p {
    color: #019bdc;
}
.qr {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.diakonie {
    position: absolute;
    bottom: 0;
    right: 0;
}

.margin {
    margin-bottom: 0.25rem;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {
    header {
        background: url(../images/frau-bg.png) no-repeat bottom left;
        background-color: #ffcb00;
    }

    .logos {
        position: static;
        background-color: #fff;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;    
    }

    .headline {
        position: static;
        transform: rotate(0deg);
        margin-top: 1rem;
    }

    h1 {
        position: static;
        transform: rotate(0deg);
        line-height: 1.2;
        font-size: 2.5rem;
    }

    h1 span {
        font-size: 2rem;
    }

    article {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        background: none;
    }
    .left,
    .right {
        width: 100%;
        padding: 0;
    }

    .left {
        border: none;
    }

    a.apply {
        text-decoration: underline;
    }

    .qr{
        position: static;
    }
    .diakonie {
        position: static;
    }


}

@media only screen and (max-width: 40rem) {
    h1 {
        font-size: 2rem;
    }

    h1 span {
        font-size: 1.5rem;
    }

    h1 small {
        font-size: 1.25rem;
    }
}

