﻿*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
} 

/* ******************************** Grundlayout **************** */

header,
footer{
   display: block;
}

body{
    *height: 100vh;
    background-color: #f0e115;
}


#wrapper{
  /*  width: 600px;    /*  360px;    98%;    360px 
    height: auto;
    margin: 0 auto;*/
}

h1 {
    color: #220ac2;
    margin-bottom: 20px;
    font-size: calc(12px + (28 - 12) * ((100vw - 320px) / (1600 - 320)));
    text-align: center;
}

h2 {
    color: #4736e4;
    padding-left: 20px;
    padding-top: 20px;
    font-size: 16pt;
}

h3 {
    color: #0d0d7e;
    margin-left: 20px;
    margin-top: 30px;
    font-size: 20pt;
}

h4 {
    color: #0d0d7e;
    margin-top: 10px;
    font-size: calc(12px + (18 - 12) * ((100vw - 320px) / (1600 - 320)));
}

h5 {
    color: #c0141d;
    padding-left: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 16pt;
    text-align: center;
}

h6 {
    color: #129423;
    padding-left: 0px;
    padding-top: 5px;
    font-size: 12pt;
    text-align: center;
}

.chart{
    width: 800px;
    height: 650px;
    padding: 20px;
    margin: 0 auto;;
}



header{
    padding: 20px 2rem;
    height: auto;
}

.navbar{
    height: 30px;
    width: 100%;
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
}

li{
    list-style: none;
}

.navbar a {
    text-decoration: none;
    color: #b30e0e;
    font-size: 1rem;
    background-color: #f0e115;
} 

.navbar a:hover{
    color: #000;
}

.navbar .links{
    display: flex;
    gap: 1rem; 
    align-items: first baseline;
}

.dropdown-content {
    display: none;
    position: absolute;
}

.dropdown-content li {
    display: block; /* Untermenüpunkte vertikal */
    /*margin-top: 10px;*/
    margin-bottom: 10px;
}

.dropdown-content li a {
    color: rgb(13, 16, 197);
    padding-left: 12px;
    font-size: 12px;
}

/* Untermenü beim Hovern anzeigen */
.dropdown:hover .dropdown-content {
    display: block;
    padding-top: 5px;
}

/* Hover-Effekt für Links */
.dropdown:hover .dropdown-content li a:hover {

 background-color: rgb(241, 233, 233);
 margin-top: 10px;
}

.links li a:hover{
  color: rgb(8, 8, 8);
 }

/* **************** Menü ***********************/
#signup-form{
    height: 150px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-box{
    margin-top: 20px;
    height: 30px;
}

.label_login{
    float: left;
    width: 400px;
    margin-bottom:20px;
}

.select_login{
    margin-right: 20px;
    float: left;
    width: 100px;
    color: #000;
}

.li-btn{
    margin-top: 35px;
    width: 100px;
    height: 35px;
    background: #c0141d;
    border: none;
    outline: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
 }
 

/* **************** Chart ***********************/

 .chart{
    width: 800px;
    height: 650px;
    padding: 20px;
    margin: 0 auto;;
}

/* **************** Werte eintragen ***********************/

.cont_g{    /*Erfassung von Produktionen */
    background-color: #991616;
    width: 30%;
    padding: 10px;   /*Innenabstand des Containers */
    border: 3px solid rgb(209, 136, 136);
    margin: 0px auto;
    margin-top: 50px;
    color: white;
    border-radius: 10px;
}


.form_wt{
    display: flex;
    flex-direction: column;
}

.cajaH{
    display: flex;
    margin: 5px 0px;
}    

.cajaH textarea{
    font-size: 12px;
}

.cajaH label{
    flex-basis: 100px;  /* Für die vertikale Ausrichtung von Label und input */
}

.cajaH input{
    flex: .5;
}

.cajaH #Bem{
    width: 200px;
    height: 20px;
}

.Einheit{
    margin-left: 20px;
}


.SendeKnopf{
    background-color: #f1e289;
    margin-top: 10px;
    padding: 5px;
    margin-left: 100px;
    margin-right: 100px;
    color: #000000; 
    border-color: #020000;
    font-size: 16px;
    border-radius: 10px;
}

.SendeKnopf:hover{
    cursor: pointer;
    background-color: #978310;
}

.SeitenKopf {
    color: #f5f5f8;
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
}

.chartUES{
    background-color: #0d0d7e;
    color: #fff;
    width: 30%;
    line-height: 2em;
    text-align: center;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
}

.KontrollH{
    width: 400px;
    height: 80px;
    background-color: #28c023;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    line-height: 2em;

}

