/* ===== Zusammengeführte Styles =====
   Quelle: mystyle.css + style.css + mystyle2.css
*/

/* ===== Font ===== */
@font-face {
  font-family: 'quicksand-medium';
  src: url('quicksand-medium.ttf');
  src: local('quicksand-medium'), local('quicksand-medium'),
       url('quicksand-medium.ttf') format('truetype');
}

/* ===== Theme Variablen ===== */
:root{
  color-scheme: light dark;

  --bg: #ffffff;
  --bga: #f1f2f6;
  --bgp: #45aaf2;
  --bgi: #f1f2f6;
  --bgc: #ffffff;

  --text: #0b1b3a;

  --brand: #4b7bec;
  --bar: #45aaf2;
  --barc: #e5e5e5;

  --blauText: #4b7bec;
  --swText: #ffffff;
  --barText: #ffffff;

  --bwText: #000000;
  --bwbg: #ffffff;

  --bgTextBox: #e5e5e5;
  --bgbox: var(--bgTextBox);

  --bgMenu: lightgrey;
}

html.dark{
  --bg: #080808;
  --bga: #080808;
  --bgp: #080808;
  --bgi: #1B1464;
  --bgc: #5758BB;

  --text: #e6e6e6;

  --brand: #1B1464;
  --bar: #5758BB;
  --barc: #5758BB;

  --blauText: #e6e6e6;
  --swText: #e6e6e6;
  --barText: #e6e6e6;

  --bwText: #ffffff;
  --bwbg: #000000;

  --bgTextBox: #1B1464;
  --bgbox: var(--bgTextBox);

  --bgMenu: #747d8c;
}

body{
  background: var(--bg);
  color: var(--text);
}

a { color: #ffffff; text-decoration: none; }
a:hover { color: orange; }

/* ===== Menu-Buttons ===== */
#men_aktiv_dia {
  height: 60px;
  width: 240px;
  display: inline-block;
  float: left;
  border-top: solid 20px var(--brand);
  font-weight: bold;
  color: orange;
  text-decoration: none;
  text-align: center;
  background: var(--brand);
  font-family: 'quicksand-medium', Arial, sans-serif;
  font-size: x-large;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

#men_inaktiv_dia {
  height: 60px;
  width: 239px;
  display: inline-block;
  float: left;
  border-top: solid 20px var(--bgMenu);
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  background: var(--bar);
  font-family: 'quicksand-medium', Arial, sans-serif;
  font-size: x-large;
}

#men_inaktiv_dark {
  height: 60px;
  width: 239px;
  display: inline-block;
  float: left;
  border-top: solid 20px #666666;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  background: var(--bar);
  font-family: 'quicksand-medium', Arial, sans-serif;
  font-size: x-large;
}

#men_aktiv {
  height: 60px;
  width: 25%;
  display: inline-block;
  float: left;
  border-top: solid 10px var(--brand);
  font-weight: bold;
  color: #dddddd;
  text-decoration: none;
  text-align: center;
  background: var(--brand);
  font-family: 'quicksand-medium', Arial, sans-serif;
  font-size: large;
}

#men_inaktiv {
  height: 60px;
  width: 24%;
  display: inline-block;
  float: left;
  border-top: solid 20px var(--bgMenu);
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  background: var(--bar);
  font-family: 'quicksand-medium', Arial, sans-serif;
  font-size: xx-large;
}

/* ===== Positioning / Layout (IDs) ===== */
#titel{position: absolute; top: 0px; left: 10px; width: 960px; z-index: 20;}
#menu{position: absolute; top: 150px; left: 10px; width: 960px; z-index: 20; background: var(--bgMenu);}
#menudark{position: absolute; top: 150px; left: 10px; width: 960px; z-index: 20; background: #666666;}
#linie{position: absolute; top: 320px; left: 10px; width: 960px; z-index: 20;}
#header1{position: absolute; top: 320px; left: 10px; z-index: 10; font-family: 'quicksand-medium', Arial, sans-serif; color: var(--blauText); width: 100% !important; max-width: none !important;}
#header2{position: absolute; top: 180px; left: 10px; width: 960px; z-index: 10; font-family: 'quicksand-medium', Arial, sans-serif;}
#webcam_aktualisieren{position: absolute; top: 400px; left: 10px; z-index: 1;}
#webcam1{position: absolute; top: 400px; left: 10px; z-index: 10;}
#webcam2{position: absolute; top: 590px; left: 10px; z-index: 10;}
#webcam3{position: absolute; top: 878px; left: 10px; z-index: 10;}
#text1{position: absolute; top: 1010px; left: 10px; width: 960px; z-index: 10;}

#begruessung_1{position: absolute; top: 20px; height: 500px; left: 50px; width: 860px; z-index: 20;}
#begruessung_2{position: absolute; top: 220px; left: 50px; width: 860px; z-index: 20;}
#begruessung_3{position: absolute; top: 900px; left: 50px; width: 860px; z-index: 20;}
#begruessung_4{position: absolute; top: 1000px; left: 50px; width: 860px; z-index: 20;}
#begruessung_wetterphp{position: absolute; top: 1070px; left: 50px; width: 860px; z-index: 22;}
#begruessung_rss{position: absolute; top: 1300px; left: 10px; width: 960px; z-index: 20; background: var(--bar);}
#begruessung_privat{position: absolute; top: 1400px; left: 10px; width: 960px; z-index: 20;}
#begruessung_counter{position: absolute; top: 1450px; left: 10px; width: 960px; z-index: 20;}

#w_titel { margin-left: 0px; position: absolute; top: 30px; left: 0px; }
#maintable { margin-left: 0px; position: relative; top: 30px; left: 0px; }
#tux { position: relative; left: 0px; }
#raspi { position: relative; left: 30px; }
#rss1, #rss2 {
  position: relative;
  left: 30px;
  font-family: 'quicksand-medium', Arial, sans-serif;
  font-size: large;
  text-decoration: none;
}

/* ===== Typo / Headlines ===== */
h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
}

/* ===== 3D Text ===== */
.text-3d {
  font-family: 'quicksand-medium', Arial, sans-serif;
  width: 920px;
  font-size: xxx-large;
  font-style: italic;
  font-weight: bolder;
  color: orange;
  text-align: center;
  text-shadow:
    0 1px 1px orange,
    0 2px 2px hsl(15,20%,56%),
    0 3px 3px hsl(15,20%,54%),
    0 4px 4px hsl(15,20%,52%),
    0 6px 6px hsl(15,20%,50%);
}

/* ===== Trapez ===== */
.trapezoid {
  font-family: 'quicksand-medium', Arial, sans-serif;
  color: #ffffff;
  font-size: x-large;
  font-weight: 300;
  height: 0;
  width: 839px;
  text-align: right;
  text-decoration: none;
  margin-top: 8px;
  margin-bottom: 30px;
  vertical-align: text-bottom;
  border-left: 60px solid transparent;
  border-right: 60px solid var(--brand);
  border-bottom: 60px solid var(--brand);
}

/* ===== Flex / Kamera UI ===== */
.flex-container {
  display: flex;
  flex-direction: column;
  width: 960px;
  padding: 0;
  background: var(--bg);
  border-radius: 18px;
  margin: 0;
  list-style: none;
  position: absolute;
  top: 410px;
}

.Kamera-info {
  width: 960px;
  top: 600px;
  height: 340px;
  border-style: none;
  background-color: transparent;
  overflow: hidden;
  padding-left: 10px;
  padding-top: 3px;
  margin-top: 0px;
  font-size: x-large;
  font-family: 'quicksand-medium', Arial, sans-serif;
  color: var(--blauText);
  text-align: center;
  display: flex;
  border-radius: 20px;
  position: absolute;
}

.kamera-text-box {
  width: 400px;
  padding: 5px 5px 5px 10px;
  margin-right: 20px;
  color: var(--blauText);
  background-color: transparent;
  font-size: x-large;
  font-family: 'quicksand-medium', Arial, sans-serif;
  text-align: left;
  float: left;
}

.sicht-header {
  width: 900px;
  height: 30px;
  border-radius: 18px;
  background-color: transparent;
  overflow: hidden;
  padding-left: 0px;
  padding-top: 3px;
  margin-bottom: 20px;
  float: left;
  display: flex;
  font-size: x-large;
  font-family: 'quicksand-medium', Arial, sans-serif;
  color: var(--blauText);
}

.header-tage {
  width: 97%;
  height: 30px;
  border-style: solid;
  border-width: thin;
  border-radius: 18px;
  background-color: var(--bar);
  border-color: var(--bar);
  overflow: hidden;
  padding-left: 30px;
  padding-top: 3px;
  margin-bottom: 0px;
  float: left;
  display: flex;
  font-size: x-large;
  font-family: 'quicksand-medium', Arial, sans-serif;
  color: #ffffff;
}

.tag-body-container{
  background: var(--bgbox);
  color: var(--text);
}

.seitentitel{ color: var(--brand); }
.meintitel{ color: var(--text); }

/* Quelle / Footer */
.quelle {
  width: 80%;
  height: 40px;
  border-style: none;
  background-color: var(--bwbg);
  overflow: hidden;
  padding-left: 30px;
  padding-top: 3px;
  margin-top: 20px;
  margin-left: 100px;
  float: left;
  font-size: x-small;
  font-family: 'quicksand-medium', Arial, sans-serif;
  color: var(--bwText);
  text-align: center;
}

.footer {
  width: 80%;
  height: 40px;
  border-style: none;
  background-color: var(--brand);
  overflow: hidden;
  padding-left: 30px;
  padding-top: 3px;
  margin-left: 100px;
  float: left;
  font-size: x-small;
  font-family: 'quicksand-medium', Arial, sans-serif;
  color: #ffffff;
  text-align: center;
}

/* Footer-Leiste + Button */
.sicht-footer{
  background-color: var(--bar);
  border-color: var(--bar);
  color: var(--barText);
}

#themeToggle{
  margin-left: auto;
  background: rgba(255,255,255,0.15);
  color: var(--barText);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
}

#themeToggle:hover{ border-color: orange; }

/* Kamera-Container */
.kamera {
  box-shadow: 12px 12px 12px #d1d8e0;
  height: 585px;
  width: 960px;
  border-radius: 40px;
  overflow: hidden;
  top: 0px;
  position: absolute;
  left: 10px;
  z-index: 100;
  display: flex;
  isolation: isolate;

  animation-name: fadein;
  animation-duration: 1s;
  animation-timing-function: ease-out;

  -webkit-animation-name: fadein;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: ease-out;
}

.ladekamera {
  height: 585px;
  width: 960px;
  left: 10px;
  border-radius: 40px;
  overflow: hidden;
  top: 0px;
  position: absolute;
  z-index: 10;
  display: flex;
}

/* Button */
.mybutton {
  display: inline-block;
  outline: none;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  background-color: var(--bar);
  font-family: 'quicksand-medium', Arial, sans-serif;
  border-radius: 500px;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
  border: 1px solid transparent;
  letter-spacing: 2px;
  min-width: 120px;
  padding: 10px 0;
  white-space: normal;
  font-weight: 700;
  text-align: center;
  color: var(--barText);
  box-shadow: rgba(0, 0, 0, 0.25) 4px 4px 3px;
  height: 60px;
  width: 240px;
  position: absolute;
  top: 1250px;
  left: 300px;
  z-index: 200;
}

.mybutton:hover{
  color: var(--barText);
  background-color: var(--bar);
  border: 1px solid orange;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 0px;
  transform: translate(1px, 3px);
}

/* === Layout für Warnboxen === */
.warn-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 20px 0;
}

.warn-center {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* Optional: FadeIn Animation (falls genutzt) */
@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
