html { 
  box-sizing: border-box; 
} 

*, ::before, ::after { 
  box-sizing: inherit; 
}

body {
    background-color: burlywood;
    padding: 10px 20px;
    width: 70%;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    border-radius: 5px;
}

.container {
    display: flex;
    height: 100vh;
}

top-nav {
    background-color: #333;
    padding: 10px 0;
    text-align: center;
    width: 90%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
 
top-nav li {
    list-style: none;
    display: inline;
    margin-bottom: 0;
}

top-nav a {  
    text-decoration: none;
	margin: 0 15px;
	float: center;
	color: #88a400;
	font-size: 1.2em;
}

top-nav a:hover {
    text-decoration: underline;
}

.top-aktiv {
    font-weight: bold;
    color: #74B10B;
    text-decoration: underline;
}

.side-nav {
    background-color: #808000;
    width: 15%;
    padding-top: 50px; 
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    height: fit-content;
    border-right: 2px solid #ddd;
    overflow-y: auto;
}

.side-nav a {
    display: block;
    color: black;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
}

.side-nav a:hover {
    background-color: #929292;
}

.side-aktiv {
    background-color: #4949496c;
}

.main-content {
    margin-left: 14%;
    margin-top: 50px; 
    padding: 20px;
    width: 75%;
    background-color: burlywood;
}

.main-content h1 {
    font-size: 24px;
}

.main-content h2 {
    font-size: 20px;
    margin-top: 30px;
}

.main-content p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.zitat {
    font-style: italic;
}

.teaser {
    font-weight: bold;
    line-height: 1.6;
    text-align: justify;
    font-size: 16px;
}

.image-container img {
    width: 75%;
    height: auto;
    max-width: 75%;
}

figure { 
  text-align: center; 
}

figcaption {
   display: inline-block;
   text-align: center;
}

txtsmall {
    font-size: smaller;
}