/* ---------------------------------------------------------
   GLOBAL
--------------------------------------------------------- */
body { 
    font-family: Arial; 
    background: #000;
    background-image:url('background.jpg');
    background-position:center;
    background-attachment:fixed;
    background-repeat:no-repeat;
    background-size:cover;
    color:#eee; 
    text-align:center; 
    padding-top: 70px; /* Platz für fixen Header */
}

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: #f2f2f2;
    font-size:12px;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.button {
    width:160px;
    padding:15px;
    margin:10px;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
    color:white;
}

button {
    padding:10px 20px;
    margin-top:20px;
    font-size:18px;
    border:none;
    border-radius:8px;
    cursor:pointer;
}

.on  { background:#2ecc71; }
.off { background:#e74c3c; }
.save { background:#2ecc71; color:white; }
.update { background:#3498db; color:white; }
.back { background:#3498db; color:white; margin-left:10px; }
.delete { background:#e74c3c; color:white; }
.reset { background:grey; color:red; }

/* ---------------------------------------------------------
   LAYOUT
--------------------------------------------------------- */
.container { 
    display:flex; 
    flex-wrap:wrap; 
    justify-content:center; 
}

.label { 
    font-size:14px; 
    opacity:0.8; 
}

.icon { 
    font-size:26px; 
    display:block; 
    margin-bottom:5px; 
}

.box {
    background:rgba(0,0,0,0.6);
    padding:20px;
    margin:20px auto;
    width:320px;
    border-radius:10px;
}

.smallText {
    color: #f2f2f2;
    font-size:12px;
}

label { 
    display:block; 
    margin-top:10px; 
}

/* ---------------------------------------------------------
   INPUTS
--------------------------------------------------------- */
input, select {
    padding:8px;
    margin:5px;
    border-radius:5px;
    border:none;
    font-size:16px;
    width:250px;
}

textarea {
    width: 90%;
    height: 400px;
    margin-top: 20px;
    background: #111;
    color: #0f0;
    border: 1px solid #444;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    border-radius: 6px;
}

/* ---------------------------------------------------------
   HEADER / MENU
--------------------------------------------------------- */
#menu_header_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.servoCB {
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 10px;
  max-width: 30px;
}

/* Might want to wrap a span around your checkbox text */
.servoCBText
{
  /* Checkbox text */
  font-size: 110%;
  display: inline;
}

.top-left-menu {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 14px;
}

.top-left-menu a {
    font-size: 32px !important;
    color: #f2f2f2 !important;
    opacity: 0.85;
    text-decoration: none !important;
}

.top-left-menu a:hover {
    opacity: 1;
}

#wifi_signal {
    position: absolute;
    top: 10px;
    right: 40px;
}

/* ---------------------------------------------------------
   WIFI SIGNAL ARCS
--------------------------------------------------------- */
.wifi-arc {
    position: relative;
    height: 10px;
    margin: -3px auto;
    opacity: 0.25;
}

.wifi-arc::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid transparent;
    border-top-color: #444;
    border-radius: 50%;
}

.wifi-arc.active {
    opacity: 1;
}

.wifi-green  .wifi-arc::before { border-top-color:#00c853; }
.wifi-yellow .wifi-arc::before { border-top-color:#ffd600; }
.wifi-red    .wifi-arc::before { border-top-color:#d50000; }

/* kleinere Bögen */
.arc4::before { width: 32px; height: 16px; }
.arc3::before { width: 26px; height: 13px; }
.arc2::before { width: 20px; height: 10px; }
.arc1::before { width: 14px; height: 7px; }
