/* Base styles optimized for e-ink display */
body {
  overflow-x: hidden;
  font-family: "Doto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  background-color: #f4f4f4; /* Keeping your light gray background */
  margin: 0;
  padding: 0;
}

/* App container */
/*
#app {
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
*/

/* Login container */
.login-container {
  background-color: white;
  width: 100vw;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

#login-form {
  display: flex;
  flex-direction: column;
  width: 80vw;
}

#login-form h2 {
  margin-top: 0;
  margin-bottom: 0px;
  font-size: 50px;
  font-weight: bold;
  font-family: "Doto", sans-serif;
}

#login-form h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: bold;
  font-family: "Doto", sans-serif;
}

#login-form input {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid black;
  border-radius: 4px;
  font-size: 40px;
  font-family: "Doto", sans-serif;
  font-weight: bold;
  height: 60px;
}

#login-form button {
  margin-top: 60px;
  background-color: white;
  color: black;
  border: 2px solid black;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  height: 80px;
  font-size: 40px;
  font-weight: bold;
  font-family: "Doto", sans-serif;
}

#tasks-container {
  width: 100vw;
  min-height: 150vh;
}

#tasks-list {
  width: 100%;
  overflow: hidden;
}

h1 {
  padding: 5%;
  padding-right: 0%;
  font-size: 40px !important;
  font-weight: bolder;
  text-decoration: underline dotted;
  margin: 0 !important;
  color: black !important;
}
.task-item {
  border-bottom: 4px dotted black;
  min-height: 10vh;
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto;
  padding: 15px;
  background-color: #ffffff;
  overflow: hidden;
}

.task-header {
  grid-column: span 3;
  font-size: 18px;
  font-weight: bold;
  /*
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
    */
}

.task-header > *,
.task-item > p {
  margin: .5rem 0;
}

.task-item p:nth-child(2) {
  grid-column: span 2;
  text-align: center;
}

.task-item p:nth-child(3) {
  grid-column: span 5;
}

.overdue {
  border-bottom: 4px dotted white !important;
  background-color: black;
  color: white;
  padding: 15px;
}

/* Allgemeines p Styling */
p {
  font-size: 17px;
  font-weight: bold;
}

#logout-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 80px;
  height: 80px;
  background-color: black;
  color: white;
  border: none;
  font-family: "Doto", sans-serif;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logout-btn img {
  max-width: 90%;
  max-height: 90%;
}

#fullscreen-btn {
  position: absolute;
  top: 10px;
  right: 110px;
  width: 80px;
  height: 80px;
  background-color: black;
  color: white;
  border: none;
  font-family: "Doto", sans-serif;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fullscreen-btn img {
  max-width: 90%;
  max-height: 90%;
}

#scrolldown {
  max-width: 5vw;
}

.dot {
  max-width: 2vw;
}

.tasks-header {
  background-color: #ffffff;
  border-bottom: 4px dotted white !important;
  display: flex;
  align-items: center;
}
