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

body{
	font-family: "Courier new", monospace;
	flex-direction: column;
	justify-content: space-between;
	margin-top: 20px;
	height: auto;
	display: flex;
}

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;
}

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: 0;
}
.absatz1{
	font-size: 16px;
	line-height: 1.5;
	margin-top: 20px;
	padding: 10px;
}
/*####Footer####*/

footer{
	margin-top: auto;
	align-items: center;
	width: 100%;
	position: fixed;
	bottom: 0;
	
	
}
.ende{
	margin-top: 10px;
	background-color: #1b3b8a;
	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;
}

 


/*####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: relative;
display: flex; 
justify-content: flex-end;
width: 100%;
align-items: center;
z-index: 3;


}

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

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



.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);
}



/* 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;
}

/*####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;
    }
	
}

@media (max-width: 600px) {

 
	  h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 10px;
    }
	
	h4 {
		font-size: 10px;
	}
	
	.ende i{
		font-size: 7px;
	}
	.ende a{
		font-size: 7px;
	}
}


.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;
}

