@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 0.9em/1.3em Arial, "Segoe UI", Calibri, sans-serif;
    color: #000;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 1000px;
    border: solid 1px #000;
    background: #fff url('bg.jpg') no-repeat bottom;
}

p {
    padding-bottom: 1rem;
}

h1 {
  margin: 0;
  font-size: 2.8em;
  line-height: 1;
  font-family: Arial Black, sans-serif;
}

h2 {
 background: #FBB70C;
  font-size: 1.313em;
  line-height: 1.3;
  padding: 0.2rem 0.5rem;
  width: fit-content;
  position: absolute;
  left: -16px;
  top: -2.5rem;
}
.aufgaben{

	left: 0;
	top: -1rem;
}
.deine{
	left: 0;
}
h3 {
    font-size: 1.250em;
    line-height: 1.3;
    padding-bottom: 1rem;
}
h3,h2{
    color: #0D2235;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

ul {
    padding: 0;
    list-style: none;
}

li {
    padding: 0 0 0.3rem 25px;
}

ul li:before {
    content: "\2022";
    font-size: 1em;
    margin: 0 0 0 -25px;
    float: left;
}

header {

    position: relative;
}
header img{
	display: block;
}

.title {
  left: 1.5rem;
  top: 7.5rem;
  position: absolute;
}

.title :is(p, h1 span) {
   color: #fff;
  width: fit-content;
  padding: 0.3rem;
  background: rgba(90, 90, 91, 0.8);
  display: block;
}

.title p {
    font-size: 1.5em;
    line-height: 1.1;
}

.title p span {
    color: #FBB70C;
}

.buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 0.7rem;
}

.buttons p {
    font-size: 1.188em;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
    width: 49%;
    background: #839391;
    padding: 0.2rem 1rem;
    text-align: center;
}

.buttons .blue {
    background: #0D2436;
}

.box {
    background: #D3D7D6;
    position: relative;
    padding: 1.5rem 1rem 1rem;
    margin: 0 0 1.7rem;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.left,
.right {
    width: 47%;
    position: relative;
}

.qrcode {
  position: absolute;
  background: #FBB70C;
  padding: 0.4rem;
  right: 21%;
  bottom: 20rem;

}
.qrcode figure{
	display: flex;
	justify-content: center;
}
.qrcode p {
    text-align: center;
    font-size: 1.063em;
    line-height: 1;
    padding-bottom: 0;

}

.link {
    background: #51646D;
    padding: 0.5rem 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    width: fit-content;
}

.link p {
    color: #fff;
    padding: 0;
}

.bold {
    font-size: 1.125em;

}

.big span {
    color: #B0BCC3;
}

.big {
   font-size: 2.5em;
  line-height: 1.3;
  font-weight: 700;
}

.big small {
    font-size: 0.6em;
}

article {
    padding: 1.5rem 1.5rem 1rem;
}

footer {
  position: absolute;
  right: 57px;
  bottom: 51px;
}

img {
    max-width: 100%;
    height: auto;

}

@media only screen and (max-width:999px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }

    p a{
        display: inline-block;
    }

    .title {
        position: static;
        margin-bottom: 1rem;
    }

    .hide_m,.qrcode br {
        display: none;
    }


    footer {
        position: static;
        display: flex;
        justify-content: end;
    }

    .qrcode {
        position: static;
        width: fit-content;
        margin: 0 auto 1rem;
    }
}
@media only screen and (max-width:780px){
	    .left,
    .right {
        width: 100%;
    }
    h2{
    	position: static;
    	margin-bottom: 0.5rem;
    }
    ul{
    	padding-bottom: 1rem;
    }

}
@media only screen and (max-width:570px){
	.link{
		width: 100%;
		padding: 0.5rem;
	}
	.title p{
		font-size: 1.375em;
	}
}
@media only screen and (max-width:525px){
	h1{
		font-size: 2em;
		hyphens: auto;
	}
}
@media only screen and (max-width:300px){
	h1{
		font-size: 1.5em;
	}
}