html, body {
	background: silver;
	height: auto;
	scroll-behavior: smooth;
}

#header{
	position: fixed;
	width:100%;	
	text-align:center;
	background-color: #3a3a3a;
	padding-top: 5px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:x-large;
	font-weight:bold;
	font-style:italic;
	color: white;
}

#content{
	padding: 65px;
	width:100%;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-style:italic;
}

.center {
	text-align: center;
}

.block {
    text-align: justify;
}

#footer {
position: fixed;
bottom: 0;
width: 98%;
height: 65px;
}

#show {
	width: 700px;
	margin: 0px auto;
	text-align: justify;
	align-items: center;
	justify-content: center;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-style:italic;
}

#nichtmarkieren {
 -ms-user-select: None;
 -moz-user-select: None;
 -webkit-user-select: None;
 user-select: None;
}

* {
	margin: 0;
	padding: 0;
	font-family:Arial, Helvetica, sans-serif;
	box-sizing: border-box;
}

nav {
	position:fixed;
	top:32px;
  float: left;
  width: 100%;
  background: #3a3a3a;
  font-size: 16px;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav a {
  display: block;
  color: #fff;
  text-decoration: none;
}

nav ul li {
  position: relative;
  float: left;
  list-style: none;
  color: #fff;
  transition: 0.5s;
}

nav ul li a {
  padding: 10px;
}

nav ul > li.submenu > a:after {
  position: relative;
  float: right;
  content: '';
  margin-left: 10px;
  margin-top: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  border-bottom: 5px solid transparent;
}

nav ul ul li.submenu > a:after {
  margin-left: auto;
  margin-right: -10px;
  border-left: 5px solid #fff;
  border-right: 5px solid transparent;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

nav ul li:hover {
  background: #4096ee;
}

nav ul ul {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: #333;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

nav ul ul li {
  float: none;
  width: 200px;
  border-bottom: 1px solid #555;
}

nav ul ul li a {
  padding: 10px 20px;
}

nav ul ul li:last-child {
  border-bottom: none;
}

nav ul li:hover > ul {
  top: 100%;
  left: 0;
}

nav ul ul li:hover > ul {
  top: 0;
  left: 200px;
}

.gross {
font-family: Arial, Helvetica, sans-serif;
font-size: 22px;
}

.HeadLine {
	color: #800000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: x-large;
	font-weight: bold;
}

.HeadLine2 {
	color: #800000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: xx-large;
	font-weight: bold;
}

.klein {
text-align: center;
font-size: small;
}


.button {
background-color: #006666;
border: medium;
padding: 6px 6px 6px;
width: 120px;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}

.button:hover{
background-color: #339966;
}

.button2 {
background-color: #44336;
border: medium;
padding: 6px 6px 6px;
width: 200px;
color: black;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}

.button3 {
background-color: #0066CC;
border: medium;
padding: 6px 6px 6px;
width: 200px;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}

.button2:hover{
background-color: red;
}


.button3:hover{
background-color: #006464;
}

.button4 {
background-color: #0066CC;
border: medium;
padding: 6px 6px 6px;
width: 160px;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}

.button4:hover{
background-color: #006464;
}

.fehler{
	color:red;
	font-size: x-large;
	font-weight: bold;

}

.csvTable{
	padding-left: 5px;
	padding-right: 5px;
	border-top: 0px solid #ccc;
    border-left: 0px solid #ccc;
    border-right: 0px solid #ccc;
}    

.csvTable th{
	font-size: x-large;
    text-align:left;
    border-bottom: 0px solid #ccc;
}

.form-container {
    background-color: grey;
    padding: 50px;
    border-radius: 4px;
    max-width: 950px;
    margin: auto;
    margin-bottom: 100px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 4px 0 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.buttons button {
	padding: 10px 20px;
	margin-right: 10px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	width: 200px; /* Feste Breite */
	text-align: center;
}

.buttons button:hover {
	background-color: #FF8C00;
}

.buttons button[name="login"] {
    background-color: #4CAF50;
    color: white;
}

.buttons button[name="login"]:hover {
	background-color: #45a049; /* etwas dunkleres Grün */
}

.buttons button[name="register"] {
    background-color: #2196F3;
    color: white;
}

.buttons button[name="register"]:hover {
	background-color: #1976D2; /* etwas dunkleres Blau */
}

.buttons button[name="reset_password"] {
    background-color: #f44336;
    color: white;
}

.buttons button[name="reset_password"]:hover {
	background-color: #d32f2f; /* etwas dunkleres Rot */
}

.buttons button[name="save_new_password"] {
    background-color: #4CAF50;
    color: white;
}

.buttons button[name="save_new_password"]:hover {
	background-color: #388E3C; /* etwas dunkleres Grün */
}

.message {
    margin-top: 20px;
    font-weight: bold;
    color: green;
}
.floating-nav {
    position: fixed;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 950px;
    width: 100%;
    background-color: lightgrey;
    padding: 5px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floating-nav .nav-left,
.floating-nav .nav-center,
.floating-nav .nav-right {
    flex: 1;
    text-align: center;
}

.floating-nav .nav-left {
    text-align: left;
}

.floating-nav .nav-right {
    text-align: right;
}

.floating-sidebar {
    position: fixed;
    top: 100px;
    left: calc(50% - 440px); /* 300 Pixel rechts von der Mitte */
    width: 240px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .floating-sidebar {
        top: 20px;
        left: 10px;
        width: 90vw;
        max-height: 50vh; /* Nur halbe Bildschirmhöhe */
        overflow-y: auto;  /* Scrollbar, falls Inhalt zu lang */
        font-size: 14px;   /* Optional: kleinere Schrift */
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .floating-sidebar {
        font-size: 13px;
        padding: 6px;
    }
}

.entry-list {
    display: flex;
    flex-direction: column;
    align-items: center; /* zentriert die Beiträge */
    gap: 5px;
}

.entry-container {
    width: 800px; /* feste Breite */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    transition: background-color 0.3s ease
}

.entry-list .entry-container:nth-of-type(odd) {
    background-color: #A0A0A0;
}

.entry-list .entry-container:nth-of-type(even) {
    background-color: lightgrey;
}

.entry-container:hover {
    background-color: #e0f0ff;
}