body {
  background-color: #2b2b2b;
  color: #f1f1f1;
  font-family: "Courier New", Courier, monospace;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Titel */
.title,
.ownership,
.copyright {
  margin: 0;
  position: absolute;
  color: #5a5a5a;
  font-size: 25px;
}
.title {
  top: 25px;
  left: 25px;
}
.ownership {
  bottom: 25px;
  left: 25px;
}
.copyright {
  bottom: 25px;
  right: 25px;
}
/* Eingabeaufforderung */
.cmd-container {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.cmd-line {
  display: flex;
  align-items: center;
}
.prompt {
  margin-right: 10px;
  color: #00ff00;
}
.input {
  flex: 1;
  border: none;
  background: transparent;
  color: #f1f1f1;
  font-family: inherit;
  font-size: 1em;
  outline: none;
}
/* Blinker */
.input::after {
  content: "|";
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* Ausgabe-Styling */
.output {
  margin: 5px 0;
  white-space: pre-wrap;
}
.command {
  display: flex;
  align-items: center;
}
/* Notification Styling */
.notification {
  position: fixed;
  top: -100px;
  right: 20px;
  background-color: #333;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: top 0.5s ease, opacity 0.5s ease;
  z-index: 1000;
}
.notification.show {
  top: 20px;
  opacity: 1;
}
/* Minesweeper Modal Styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1001; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}
.modal-content {
  background-color: #2b2b2b;
  margin: 10% auto; /* 10% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 5px;
  color: #f1f1f1;
  position: relative;
}
.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
/* Minesweeper Styling */
#minesweeper {
  display: grid;
  grid-template-columns: repeat(10, 30px);
  grid-gap: 2px;
  justify-content: center;
  margin-top: 20px;
}
.cell {
  width: 30px;
  height: 30px;
  background-color: #444;
  border: 1px solid #222;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}
.cell.revealed {
  background-color: #888;
  cursor: default;
}
.cell.flagged {
  background-color: #ff0;
  color: #000;
}
