body {
  padding: 0px;
  margin: 0px;
}

.topnav {
  background-color: #333;
  overflow: hidden;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
}

.topnav a:hover {
  background-color: #878787;
  color: white;
}

.hometext {
  padding: 14px 16px;
}

.calculator {
  padding: 10px;
  border-radius: 1em;
  height: 200;
  width: 220;
  margin: 65px;
  background-color: #dcdcdc;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.display-box {
  background-color: #dcdbe1;
  border: solid black 0.5px;
  color: black;
  border-radius: 5px;
  width: 100%;
  height: 65%;
}

.calculator input {
  background-color: #333;
  color: white;
  outline: none;
}

.calculator input[name="cbutton"] {
  background-color: #d0e300;
}

.calculator input[type="button"] {
  height: 30px;
  width: 50px;
}

.calculator input:hover {
  background-color: #878787;
}

.login {
  margin: 40px;
}

#name {
  position: absolute;
  top: 160;
}
#password {
  position: absolute;
  top: 190;
}
#login {
  position: absolute;
  top: 220;
}

#gradeList {
  font-size: 1.2em;
  font-weight: bold;
  list-style-type: none;
  padding-left: 0;
}

button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin: 5px 5px 10px 0;
  border-radius: 0; /* Rechteckig */
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #555;
}

input[type="number"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 0; /* Rechteckig */
  outline: none;
  margin: 5px 10px 10px 0;
  width: 150px;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
  transition: border-color 0.2s ease;
}

input[type="number"]:focus {
  border-color: #666;
}
