h1,
h3,
h5 {
  font-family: "Courier New", Courier, monospace;
  font-size: 160%;
  text-align: center;
}

.mybody {
  width: 900px;
  margin: auto;
  font-size: 75%;
}

canvas {
  border: 2px solid red;
  background-color: black;
  /*width: 505px;*/
  /*height: 358px;*/
}

.rahmen {
  border: 2px solid grey;
  margin: 5px;
  padding: 10px;
}

.rahmen2 {
  border: 2px solid rgb(221, 21, 21);
  border-radius: 8px;
  margin: 5px;
  padding: 10px;
}

.color1 {
  background-color: #e6cfcf;
}

.color2 {
  background-color: #d0e60b;
}

.container {
  display: flex;
  height: 350px;
}

.left {
  flex: 1;
}

.right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e6cfcf;
}

.right2 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #1a1a1a;
}

form {
  width: 80%;
  max-width: 350px;
}

label {
  vertical-align: middle;
  width: 30%;
  padding: 4px;
  margin-bottom: 10px;
  border: 1px solid #e24040;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
}


input,
select {
  display: inline-block;
  width: 100%;
  padding: 4px;
  margin-bottom: 4px;
  border: 1px solid #760fec;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  gap: 30px;
}

.mybutton {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #ff0000;
  color: #ffffff;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #cccccc;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #cccccc;
}

button {
  padding: 5px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-calc {
  background: #27ae60;
  color: white;
}

.msgf {
  background-color: black;
  color: white;
  font-family: "Arial", sans-serif;
  text-align: center;
  border-radius: 6px;
  font-size: 14px;
  border-radius: 6px;
  padding: 15px;
}

.msg_style0 {
    color: white;
    font-size: 14px;
}

.msg_style1 {
    color: white;
    font-size: 60px;
}

.msg_style2 {
    color: yellow;
    font-size: 30px;
}

.msg_style3 {
    color: yellow;
    font-size: 60px;
}

.msg_style4 {
    color: yellow;
    font-size: 14px;
}

.pic1{
	margin-left: 40px;
    max-width: 90%;
    height: auto;
}

.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); 
  gap: 12px; 
  margin-top: 10px; 
}

.subtitle {
  font-size: 1.0rem;
  color: #666;
  margin: 0 0 1.5rem;
  text-align: center;
}

.knob {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #444, #222);
    border-radius: 50%;
    border: 4px solid #555;
    position: relative;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.indicator {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background-color: #ff3d00;
}

.temp-display {
    position: absolute;
    bottom: -10px;
    font-size: 2.5rem;
}


/* --- style.css Korrekturen --- */
.knob-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center; /* Zentriert alles horizontal und vertikal */
}

.scale {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Skala stört das Klicken auf den Knopf nicht */
}

.tick {
    position: absolute;
    width: 2px;
    height: 10px;
    background-color: #777;
    /* Der Tick startet im Zentrum und wird durch JS per translateY nach außen geschoben */
}

.tick.major {
    width: 4px;
    height: 18px;
    background-color: #fff;
}

.tick-label {
    position: absolute;
    top: -25px; /* Abstand der Zahl zum Strich */
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #aaa;
}

footer {
  border-radius: 4px;
  text-align: center;
  padding: 0px;
  background-color: rgb(167, 164, 0);
  color: white;
  font-size: 14px;
}
