@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    margin: 0;  /* Entfernt den Standardrand */
    text-align: center;
}
.entry {
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 10px;
    margin: 10px auto;
    width: 50%;
    border-radius: 5px;
}
main {
    margin-top: 70px; /* Platz für den Header schaffen */
    padding: 20px;
}

h1, h2, h3, h4 {
    color: #ffffff;
    
}

a {
    color: #03DAC6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    background: #03DAC6;
    color: black;
    border: none;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #018786;
}

.admin-controls a {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 5px;
}

.admin-controls a:nth-child(1) {
    background: blue;
}

.admin-controls a:nth-child(2) {
    background: red;
}

/* Popup allgemeine Styles */
.popup {
    display: none; /* Wird nur angezeigt, wenn die Popup-Funktion aufgerufen wird */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.popup-content {
    position: relative;
    background: #1e1e1e;
    padding: 20px;
    width: 400px;
    margin: 5% auto;
    color: white;
    border-radius: 5px;
}


/* Close-Button */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* Input-Felder */
input[type="text"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Textarea spezifische Anpassungen */
textarea {
    resize: vertical;
    height: 120px;
}

/* Formularelemente bei Fokussierung */
input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Optional: Vertikale Zentrierung des Popups */
.popup-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


header {
    background-color: #343434;
    color: #fff;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998; /* Stellt sicher, dass der Header über allem liegt */
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
  
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
nav ul form{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
  
nav ul li {
    position: relative;
    margin-right: 15px;
}
  
nav ul li:last-child {
    margin-right: 0;
}
  
nav ul li a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
}
  
nav ul li:hover {
    background-color: #555;
}