body {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: white;
    height: 98dvh;
}

#fehlendeZahlen {
    width: 25dvw;
    font-size: x-large;
}
.nichtGetippt {
    background-color: rgb(255, 225, 225);
}

#liste {
    width:fit-content;
    text-align: left;
    padding-right: 20px;
    border: 1px solid black;
    border-radius: 2%;
}

h1 {
    width: 100vw;
}

tr,
#deinTipp {
    font-size: 5vmin;
}

.kugel {
    width: 5vmin;
    height: 5vmin;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #686c9a 80%, #fbc02d);
    color: #000;
    font-weight: bold;
    font-size: 4vmin;
    text-align: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin: 4px;
    display: inline-block;
    border: 2px solid #e0e0e0;
}

table,
td {
    border: 1px solid black;
    padding: 5px;
    cursor: pointer;
}

table {
    background-color: lightgray;
}

td {
    background-color: white;
}

.red {
    background-color: tomato;
    font-weight: bold;
}

#tippSpeichern {
    background-color: #d3d3d3;
}

.kugel-x {
    width: 2vmin;
    height: 2vmin;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #686c9a 80%, #fbc02d);
    color: #000;
    font-weight: bold;
    font-size: 2vmin;
    text-align: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin: 4px;
    display: inline-block;
    border: 2px solid #e0e0e0;
}



.kugel-x:hover {
    background: radial-gradient(circle at 30% 30%, #ffffff, #ff5252 80%, #e53935);
    color: #fff;
    transform: scale(1.1);
}

#links,
#rechts,
#intro {
    justify-items: center;
    margin: 15px;
}

h2 {
    margin: 0;
}

#links {
    align-content: center;
}

.greenButton {
    box-shadow: inset 0px 1px 0px 0px #caefab;
    background: linear-gradient(to bottom, #77d42a 5%, #5cb811 100%);
    background-color: #77d42a;
    border-radius: 6px;
    border: 1px solid #268a16;
    display: inline-block;
    cursor: pointer;
    color: #306108;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #aade7c;
}

.greenButton:hover {
    background: linear-gradient(to bottom, #5cb811 5%, #77d42a 100%);
    background-color: #5cb811;
}

.greenButton:active {
    position: relative;
    top: 1px;
}

.redButton {
    box-shadow: inset 0px 1px 0px 0px #f29c93;
    background: linear-gradient(to bottom, #fe1a00 5%, #ce0100 100%);
    background-color: #fe1a00;
    border-radius: 6px;
    border: 1px solid #d83526;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #b23e35;
}

.redButton:hover {
    background: linear-gradient(to bottom, #ce0100 5%, #fe1a00 100%);
    background-color: #ce0100;
}

.redButton:active {
    position: relative;
    top: 1px;
}

.green {
    background: radial-gradient(circle at 30% 30%, #ffffff, #a5d6a7 80%, #66bb6a) !important;
    color: #1b5e20 !important;
    font-weight: bold;
}

#modusContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px;
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Schieberfläche */
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

/* Griff im Schieber */
.slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Wenn aktiviert (nach rechts geschoben) */
input:checked + .slider {
  background-color: #66bb6a;
}

input:checked + .slider::before {
  transform: translateX(26px);
}

.buttonreihe {
    display: flex;
}

.lightgray {
    background-color: lightgray;
    border-radius: 10px;
}

/* HAMBURGER MENU
/* style.css */
.hamburger-menu {
  width: 35px;
  height: 30px;
  cursor: pointer;
  position: absolute;
  display: inline-block;
  top: 10px;
  left: 10px;

}

.bar1, .bar2, .bar3 {
  width: 100%;
  height: 4px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(45deg) translate(-8px, -8px);
}

.nav-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    top: 50px;
    left: 10px;
    opacity: 0.9;
    border-radius: 20px;
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

#letzteZiehung:hover {
    cursor: pointer;
    color: blue;
    font-weight: bolder;
}
#vorletzteZiehung:hover {
    cursor: pointer;
    color: blue;
    font-weight: bolder;
}


.nav-menu li {
    padding: 8px 0;
}

.nav-menu a {
    color: black;
    text-decoration: none;
    display: block;
}

.nav-menu a:hover {
    background-color: #ddd;
}

.show {
  display: block;
}
.hoverBlue:hover {
    color: blue;
    font-weight: bolder;
}

/* ENDE Hamburger Menu

/* begin DARK MODE
/* DARK MODE STYLES */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode table {
    background-color: #1e1e1e;
}

body.dark-mode td {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

body.dark-mode #liste {
    border-color: #444;
}

body.dark-mode .kugel,
body.dark-mode .kugel-x {
    background: radial-gradient(circle at 30% 30%, #333, #444 80%, #999);
    color: #fff;
    border-color: #666;
}

body.dark-mode .greenButton {
    background: linear-gradient(to bottom, #4caf50 5%, #388e3c 100%);
    color: #e8f5e9;
    border-color: #2e7d32;
    text-shadow: none;
}

body.dark-mode .redButton {
    background: linear-gradient(to bottom, #e53935 5%, #b71c1c 100%);
    color: #ffebee;
    border-color: #c62828;
    text-shadow: none;
}

body.dark-mode .nav-menu {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

body.dark-mode .nav-menu a {
    color: #e0e0e0;
}

body.dark-mode .nav-menu a:hover {
    background-color: #444;
}

body.dark-mode .slider {
    background-color: #555;
}

body.dark-mode input:checked + .slider {
    background-color: #81c784;
}

body.dark-mode .nichtGetippt {
    background-color: rgb(79, 26, 26);
}
body.dark-mode .red {
    background-color: rgb(196, 0, 0);
    font-weight: bold;
}

body.dark-mode #startseiteButton,
body.dark-mode #homepageButton{
    color:#000;
}



/* ENDE DARK MODE