/* Index CSS */

* {
  box-sizing: border-box;
}

body {
 background: #ffbc75;
 color: black;
 font-family: Roboto;
 margin: 0px;
}

header {
 display: flex;
 background: #7200b2;
 background-image: url("Bilder/Streifen3.png");
 justify-content: space-between;
 max-height: 125px;
 padding: 10px 0px;
 margin-bottom: 50px;
}

header span {
 color: orange;
}

header h2 {
 margin: 0px;
 width: fit-content;
 align-self: center;
}

header a {
 width: fit-content;
 height: fit-content;
 color: white;
 text-decoration: none;
 align-self: center;
 margin-left: 20%;
}

header img {
 max-width: 18%;
 position: relative;
 top: 0;
 right: 0;
 object-fit: cover;
 object-position: 0% 75%;
 opacity: 25%;
}

img {
 max-width: 100%;
 height: auto;
}

.main-row {
 display: flex;
 width: 100%;
 flex-direction: row;
 justify-content: center;
 background: #ffbc75;
}

.col-mitte {
 display: flex;
 flex-direction: column;
 align-items: center;
 width: 70%;
 padding: 0px 15px 15px 15px;
}

.content-row {
 display: flex;
 flex-direction: row;
 width: 60%;
 column-gap: 10px;
}

.sidebar {
 display: flex;
 flex-direction: column;
 padding: 10px;
 background: #ffdc88;
 width: 20%;
 border: solid 1px black;
}

.sidebar ul {
 margin: 0px;
 list-style: none;
 padding: 0px;
}

.neuigkeiten {
 display: flex;
 flex-direction: column;
 padding: 10px;
 background: #ffdc88;
 width: 80%;
 border: solid 1px black;
}

#neuigkeiten {
 color: black;
 border-bottom: 3px solid #7200b2;
 padding: 5px 0px;
 margin: 0px 0px 10px 0px;
}

.beitrag {
 width: 100%;
 display: flex;
 flex-direction: column;
 margin-bottom: 10px;
 padding-bottom: 10px;
}

.beitrag h2 {
 margin: 0px;
 padding: 10px 0px;
}

.beitrag-kategorien {
 display: flex;
}

.beitrag-kategorien a {
 color: white;
 text-decoration: none;
 background: #7200b2;
 margin-right: 5px;
 padding: 2px 5px;
 border-radius: 2px;
}

.beitrag span {
 color: black;
 margin: 0px 0px 10px 0px;
}

.beitrag p {
 color: black;
 margin: 10px 0px;
}

.beitrag ul {
 margin: 0px;
}

table {
  border-collapse: collapse;
}

table td {
 padding: 5px;
}

tr:nth-child(odd) {
 background-color: #383838;
}

footer {
 display: flex;
 background: #ffdc88;
 padding: 40px 20px;
 justify-content: space-between;
 align-items: center;
}

footer p {
 margin: 0px;
}

footer a {
 background: #383838;
 border: 3px solid #c0006c;
 padding: 10px 20px;
 color: white;
 position: fixed;
 bottom: 15px;
 right: 15px;
 text-decoration: none;
}

footer a:hover {
 background: #c0006c;
}