/* static/css/style.css */

/* Navbar */
.navbar {
  background-color: #000000 !important;
}

.navbar .nav-link {
  color: #FFFFFF !important;
}
.navbar .nav-link:hover {
  color: #7C7C7C !important;
}
.navbar-brand {
  font-weight: bold;
  color: #BB1732 !important;
}

/* Logo in der Navbar: ein bisschen Abstand rechts, automatische Höhe */
.navbar-logo {
  /* wenn du Breite via HTML-Attribute setzt, reicht hier oft nur margin */
  margin-right: 2rem;
  /* alternativ max-height: 2rem; */
}

/* in deiner custom.css, die nach bootstrap.css eingebunden wird */
  /* nur den Logout-Link färben – alles andere bleibt 1:1 wie bei Upload */
  .navbar-nav .nav-link.logout-red {
    color: #BB1732 !important;
    font-weight: bold;
  }
  .navbar-nav .nav-link.logout-red:hover {
    color: #7C7C7C !important;
    font-weight: bold;
  }

/* 1. Reset / Basis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  line-height: 1.5;
}

body {
  font-family: 'Barlow', sans-serif;
  color: #333;
  background-color: #f8f9fa;
}

/* 2. Container-Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 3. Kopf- und Fußbereich */
header, footer {
  background-color: #FFFFFF;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
}

footer {
  border-top: 1px solid #FFFFFF;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* 4. Buttons */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* 5. Formulare */
input[type="file"],
input[type="text"],
input[type="email"],
select,
button {
  font-size: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* 6. Responsive Helpers */
@media (min-width: 768px) {
  .d-md-flex {
    display: flex !important;
  }
}

/* 7. Speziell für Map & Chart-Container */
#map {
  margin-bottom: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
}

canvas {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}





/* ==============================
   Barlow Font Family
   ============================== */

/* ==============================
   Barlow Thin
   weight: 100, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow Thin Italic
   weight: 100, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   Barlow ExtraLight
   weight: 200, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow ExtraLight Italic
   weight: 200, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   Barlow Light
   weight: 300, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow Light Italic
   weight: 300, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   Barlow Regular
   weight: 400, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow Italic
   weight: 400, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   Barlow Medium
   weight: 500, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow Medium Italic
   weight: 500, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   Barlow SemiBold
   weight: 600, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow SemiBold Italic
   weight: 600, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   Barlow Bold
   weight: 700, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow Bold Italic
   weight: 700, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   Barlow ExtraBold
   weight: 800, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow ExtraBold Italic
   weight: 800, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* ==============================
   Barlow Black
   weight: 900, style: normal
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Barlow Black Italic
   weight: 900, style: italic
   ============================== */
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/Barlow-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}