@font-face{
  font-family: "Sackers Gothic Std";
  src:
    url("ressources/font.woff2")format("woff2");
  font-weight:normal;
  font-style:normal;
  font-display:swap;
}

/* ===== Grundlegende Layout-Elemente ===== */
body {
  font-family: 'Helvetica Neue', 'Arial', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #D4D8DD;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* ===== Kopfzeile ===== */
header {
  background-color: #1A2D42;
  color: white;
  padding: 1.2rem 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media(max-width:599px;){
  header h1 {
    font-family: 'Sackers Gothic Std', 'Times New Roman', sans-serif;
    margin: 0;
    font-size: 18px;
  }
}
@media(min-width:600px;){
  header h1 {
    font-family: 'Sackers Gothic Std', 'Times New Roman', sans-serif;
    margin: 0;
    font-size: 1.6rem;
  }
}


/* ===== Navigation (optional) ===== */
nav {
  background-color: #e9ecef;
  padding: 0.5rem 2rem;
}

nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: #2E4156;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* ===== Buttons ===== */
button,
.btn {
  background-color: #2E4156;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.btnInline {
  background-color: #2E4156;
  color: white;
  border: none;
  padding: 0.2rem 0.9rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover,
.btn:hover {
  background-color: #003366;
}

button:disabled {
  background-color: #C0C8CA;
  cursor: not-allowed;
}

/* ===== Formulare ===== */
input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

label {
  font-weight: bold;
  margin-top: 0.5rem;
  display: block;
}

/* ===== Tabellen ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  text-align: left;
}

th {
  background-color: #f1f1f1;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #AAB7B7;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #2E4156;
}

/* ===== Weitere Formularfelder: E-Mail, Passwort, Datei-Upload ===== */
input[type="email"],
input[type="password"],
input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fff;
}

/* ===== Radio-Buttons und Checkboxen ===== */
input[type="radio"],
input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: #2E4156; /* modernes Styling für unterstützte Browser */
  transform: scale(1.2);
  vertical-align: middle;
}

/* Etiketten für Radio/Checkbox nebeneinander darstellen */
.radio-group label,
.checkbox-group label {
  display: inline-block;
  margin-right: 1rem;
  font-weight: normal;
}

/* ===== Submit-Buttons ===== */
input[type="submit"] {
  background-color: #2E4156;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

input[type="submit"]:hover {
  background-color: #003366;
}

input[type="submit"]:disabled {
  background-color: #C0C8CA;
  cursor: not-allowed;
}

/* Modal-Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

.hidden {
  display: none;
}

a {
	text-decoration: none;
}