* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
	height: 100%;
}

body{
	font-family: "Courier new", monospace;
	display: flex;
	flex-direction: column;
	margin: 0;
	min-height: 100%;
	max-width: 100%;
}



header {
    top: 0;
	left: 0;
	background-color: rgba(175, 200, 220, 0.8); 
	color: rgb(0, 0, 0);
	padding: 20px;
	width: 100%;
	max-height: 150px;
	display: flex;
	align-items: center;
	white-space: nowrap;
	position: absolute;
	left: 0;
right: 0;
width: auto;
}


hr{
	border-color:black;
	border-width: 2px;
}

h1{
	color: rgb(168, 51, 28);
	margin-left: 10px;
	font-family: "Courier new", monospace;
}
h2{
	font-size: 20px;
	margin-left: 10px;
}
.start{	
	display: flex;
	align-items: center; 
	height: 85px;
	min-width: 780px;
}
.text{
	display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    flex-wrap: wrap; 
    gap: 20px; 
	margin-top: 10px;
}

.ende{
	margin-top: 10px;
	background-color: #aaaaaa;
	min-width: 780px;
	
}

.endtext{
		display: flex;
		align-items: center; 
		height: 70px;
		margin-left: 10px;
}

h4{
	margin-left: 10px;
	margin-top: 20px;
}

h3{
	margin-top: 10px;
}

h5{
	font-size: 32px;
	margin: 20px;
}

.element{
	width: 45%;
	text-align: left;
	margin-left: 20px;
}

.L1 {
        width: 100%;
        height: auto;
		display: block;
		max-height: 400px;
        
    }

.L2 {
        width: 100%;
        height: auto;
		display: block;
		max-height: 400px;
        
    }
	
/*####Navigation:############*/
nav a {
	color: rgb(0, 0, 0);
	text-decoration: none;
	font-size: 17px;
	padding: 10px 15px;
		display: block;
	 font-weight: bold;

	
}
nav a:hover{
	text-decoration: underline;
}
.navh {
position: absolute;
display: flex; 
justify-content: flex-end;
width: auto;
z-index: 3;
align-items: center;
	right:0;
}

.navh ul {
list-style: none; 
display: flex; 
margin: 0;
padding: 0;
	flex-shrink: 1;
}

.navh li {
margin-right: 75px; 
position: relative;
}

/*####Footer####*/

footer{
	margin-top: auto;
	align-items: center;
	width: 100%;
	position: relative;
	
	
}
.ende{
	margin-top: 10px;
	background-color: #1b3b8a;
	min-width: 100%;
	color: white;
	
}

.endtext{
		display: block;
		margin-left: 10px;
		margin-top: 5px;
}

h4{
	margin-left: 15px;
	padding: 5px;
}

.ende i{
	margin-left: 10px;
	 display: block;
}


	/* Styling für das Dropdown-Menü */
	.dropdown-menu {
	
	position: absolute;
	top: 100%;
	left: 0;
	background-color: rgba(161, 160, 160, 0.8);
	list-style: none;
	padding: 10px 0;
	min-width: 150px; 
	
	border-radius: 5px; 
	box-shadow: 0px 4px 6px rgb(161, 160, 160); 
	}
	
	.dropdown-menu li {
	margin: 0;
	}
	
	.dropdown-menu a {
	padding: 10px 15px;
	color: rgb(0, 0, 0);
	text-decoration: none;
	display: block;
	}
	
	.dropdown-menu a:hover {
	background-color: #8a8888;
	}
	
	.navh ul li:hover .dropdown-menu{
	display: block;
	position: absolute;
	}
	
	.navh .dropdown-menu{
	display: none;
	}

.menu-button {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s ease;
}

.menu-button.open {
    transform: rotate(90deg);
}



/*####Mobile Menu ######*/


@media (max-width: 1500px) {
       .navh {
        display: none;
    }

    .menu-button {
        display: block;
        margin-left: auto;
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 5;
    }

    .mobile-menu {
        display: flex;
    }

    .image1 {
        width: 50px;
        height: 50px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 20px;
    }
	
	   .zitat-text {
        width: calc(100% - 200px);
        max-width: none;
        margin: 0 auto;
    }
	
	 .zitat-text {
        width: calc(100% - 40px);
        max-width: none;
        margin: 10px auto 0;
    }
	
  .element:nth-child(2) {
        transform: translateX(-10px);
    }
}

@media (max-width: 600px) {

	  h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 10px;
    }
	
	h4 {
		font-size: 10px;
	}
	
	h5 {
		font-size: 25px;
	}
	
	.ende i{
		font-size: 7px;
	}
	.ende a{
		font-size: 7px;
	}
	
	html, body {
    max-width: 100%;
    overflow-x: hidden;
	}
	
	.text {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
		
    }

    .element {
        width: 100%;
        margin-left: 0;
    }
	
	  header {
        position: static;
		width: 100%;
    }
	 .start {
        min-width: 0;
        width: auto;
        flex: 1;
    }
	
	.menu-button {
    display: block;
    flex-shrink: 0;
	}
	
}


.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 300px;
    background-color: rgba(175, 200, 220, 0.95);
    z-index: 4;

    display: flex;
    flex-direction: column;
    padding-top: 100px;

    transition: right 0.3s ease;
}

.mobile-menu a {
    color: black;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    padding: 15px 25px;
}

.mobile-menu a:hover {
    background-color: #8a8888;
}

.mobile-menu.open {
    right: 0;
}

/*####Darkmode####*/
#darkmode-toggle {
    position: absolute;
    right: 20px;
    bottom: 20px;

    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

body.darkmode header{
	background-color: #1b3b8a;
}

body.darkmode h2{
	color: white;
}

body.darkmode {
    background-color: #121212;
    color: white;
}

body.darkmode .endtext{
	background-color: #070738;
}

body.darkmode .ende{
	background-color: #070738;
}

body.darkmode .navh a{
	color: white;
}

body.darkmode .dropdown-menu{
	background-color: #274AB3;
}

body.darkmode .dropdown-menu a:hover {
    background-color: #182E6F;
}

body.darkmode .mobile-menu{
	background-color: #274AB3;
}

body.darkmode .mobile-menu a:hover {
    background-color: #182E6F;
}

body.darkmode .menu-button {
	color: white;
}

body.darkmode .mobile-menu a {
    color: white;
}

}

