html {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    background-color: #f4f4f4;
}
header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 4rem;
    background-color: #70a7f3;
    z-index: 10;
}
.menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.wrapper {
    margin: 0;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 20px 5px;
    background-color: #70a7f3;
    background-image: url('images/apfelbaum.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 37.5rem;
    border-bottom: #fff outset 0.2rem;
}
.slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5rem;
}
.slogan p {
    font-family: "satisfy", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2.2rem;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 2px;
    letter-spacing: .2rem;
    text-align: center; 
    backdrop-filter: blur(5px); 
    border-radius: 1.2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    
}
.top-wrapper {
    margin-top: 0;
    padding-top: 0;
    filter: drop-shadow(0px 3px 0px #fdad54);
}
.top {
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-top: 0;
    width: 100%;
    height: 18.75rem;
    background-color: #70a7f3;
    clip-path: polygon(100% 0, 100% 40%, 50% 100%, 0 40%, 0 0);
}
.logo {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    margin-bottom: 1.2rem;
}
.logo img  {
    width: 120px;
    height: auto;
}
.container {
    width: 80%;
    max-width: 75rem;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0;
	display: flex;
}
nav ul{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
    text-align: center;
}

nav ul li {
	margin: 0;
	font-size: 1.6rem;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
	list-style-type: none;
    text-align: center;
    
}
nav ul a {
    text-decoration: none;
    color: #fdad54;
    text-shadow: rgba(0, 0, 0, 0.7) 2px 2px 2px;
}
nav ul a:hover {
    text-shadow: rgba(0, 0, 0, 0.8) 4px 4px 3px;
    text-decoration: underline;
}
.presence {
    color: #fdad54;
    text-decoration: underline !important;
}
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.3rem;
}
.burger span {
    width: 1.5rem;
    height: 0.2rem;
    background-color: #fdad54;
    margin: 0.2rem;
    transition: 0.3s;
}
.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4.375rem;
    color: #fdad54;
    font-size: 1.5rem;
    text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 1px;
    font-family: "Barlow Condensed", sans-serif;
}
.daten {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.daten a {
    text-decoration: none;
    color: #fdad54;
    font-size: 1.5rem;
    font-family: "Barlow Condensed", sans-serif;
}
.link a {
    text-decoration: none;
    color: #043575;
    text-shadow: rgba(0, 0, 0, 0.2) 2px 2px 2px;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: "Barlow Condensed", sans-serif;
}
nav#main{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav#main #nav-main {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
    color: #fdad54;
    padding: 0.5rem;
    border: 0;
    border-radius: 50%;
    z-index: 400;
    background-color: transparent;
}
nav#main #nav-main::before, nav #main #nav-main::after {
    content: "";
    display: block;
    position: absolute;
    width: 1.5rem;
    height: 0.125rem;
    top: 1.1875rem;
    left: 0.5rem;
    background-color: currentColor;
    transition: 0.4s, box-shadow 0.2s;
}
nav#main #nav-main::before {
    box-shadow: 0px 0.75rem 0px 0px currentColor;
}
nav #main #nav-main::after {
    box-shadow: 0px -0.75rem 0px 0px currentColor;
}
nav #main ul {
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 1300px) {
    
}

@media (max-width: 1000px) {
    .footer {
        font-size: 1.2rem;
    }
    .daten a {
        font-size: 1.2rem;
    }
}
@media (max-width: 850px) {
    .footer {
        flex-direction: column;
    }
    .footer p {
        text-align: center;
    }
    .daten {
        margin-bottom: 1.25rem;
    }
    .social {
        margin-bottom: 1.25rem;
    }
    .slogan p {
        font-size: 1.5rem;
    }
    nav ul li {
        font-size: 1.3rem;
    }
    .logo img {
        margin-bottom: 2.2rem;
    }
}

@media (max-width: 800px) {
    .menu {
        position: absolute;
        width: 100%;
        height: calc(100vh - 3rem);
        max-height: 0;
        top: 3rem;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        /*opacity: 0;*/
        transition: all 0.3s;
        background-color: #70a7f3;
    }
    #burger.active ~ .menu {
        max-height: 5000px;
        opacity: 1;
    }
    /*nav ul {
        width: 70%;
        height: 100vh;
    }*/
    nav #main #nav-main {
        display: flex;
    }
    .menu nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 50vh;
    }
    .burger {
    height: 1.5rem;
    width: 2rem;
    position: relative;
    display: block;
    margin: 0.5rem auto;
    padding: 0;
    }
    .burger span {
        font-size: 0.125rem;
        width: 2rem;
        height: 1em;
        position: absolute;
        background-color: #fdad54;
        z-index: 5;
    }
    .burger span:nth-child(1) {
        top: 0;
    }
    .burger span:nth-child(2) {
        top: calc(50% - 0.5em);
    }
    .burger span:nth-child(3) {
        top: calc(100% - 1em);
    }
    .burger.active span:nth-child(1) {
        rotate: 45deg;
        transform-origin: top left;
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        rotate: -45deg;
        transform-origin: bottom left;
    }
}

@media (max-width: 600px) {

    .logo img {
        margin-bottom: 3rem;
    }
}