* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* background-color: #f4f4f4; */
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  color: #202933;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.appName {
  position: relative;
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 11px;
  padding: 5px 0;
  opacity: 0.6;
  color: transparent;
  background: #666666;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  text-shadow: 0px 3px 3px rgba(255, 255, 255, 0.5);
}
.appName p {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 1.4rem;
  color: #202933;
  opacity: 0.7;
  border: 2px solid #202933;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 100%;
  text-align: center;
  padding-left: 0.7rem;
}
.appName:hover {
  cursor: pointer;
}

h4 {
  opacity: 0.8;
}
#section4 h4 {
  text-align: center;
  letter-spacing: 1px;
  border-bottom: 1px solid #3e4750;
  padding-bottom: 10px;
  margin: 10px;
}

#today {
  /* background-color: #fff; */
  /* background-color: rgba(0, 0, 0, 0.5); */
  /* background-color: rgba(255, 255, 255, 0.5); */
  /* background-color: rgba(255, 255, 255, 0.2); */
  background-color: rgba(169, 169, 169, 0.3);
  border-radius: 8px;
  margin: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.today-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
  flex-direction: row;
  height: 9vh;
  position: relative;
}
#today-progress {
  position: absolute;
  left: 3px;
  top: 1.2rem;
}
#today-preview {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 56vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  right: 2rem;
  font-size: larger;
}

#today-tasks {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #3e4750;
}

/* Delete-Button Style */
.delete-button {
  color: rgb(255, 51, 51);
  cursor: pointer;
  font-size: 1.2rem;
}
.messageTodo,
.messageShop,
.messageDate,
.messageSaved {
  width: 90vw;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* rotate: -5deg; */
  letter-spacing: 2px;
  font-size: 1.2rem;
  color: rgb(44, 57, 71, 0.8);
}

.today-body {
  margin-top: 10px;
}

#today-date {
  position: absolute;
  font-size: 0.8rem;
  height: 3rem;
  top: 1px;
  font-weight: bold;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  background-color: rgba(0, 0, 0, 0.5);
  /* background-color: #e9e9e9; */
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  color: white;
  letter-spacing: 0.5px;
  font-weight: bold;
}
ul li:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.3);
}
section {
  /* background-color: #fff; */
  /* background-color: rgba(0, 0, 0, 0.5); */
  /* background-color: rgba(255, 255, 255, 0.5); */
  background-color: rgba(169, 169, 169, 0.3);
  margin: 10px;
  padding: 10px;
  border-radius: 8px;

  display: flex;
  justify-content: space-between;
  align-items: left;
  flex-direction: column;
}
.general-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-direction: row-reverse;
}

#general-input,
#shopping-input,
#dateTodo-input {
  width: 65%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 0.3rem;
}
#shopping-input,
#dateTodo-input {
  margin-left: 3.6rem;
}
.calPart {
  padding: 10px;
  margin: 10px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.calPart h4 {
  width: 65vw;
  font-size: smaller;
  margin-left: -1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
#datePicker {
  width: 42vw;
  background-color: #81c792;
  padding: 0 0.5rem;
  font-size: 1.2rem;
  border-radius: 20px;
}

input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.savedTasks {
  height: fit-content;
  width: 90vw;
  margin: 0;
  padding: 7px;
}

#general-tasks,
#shopItems,
#date-tasks,
#saved-tasks {
  max-height: 65vh;
  overflow-x: hidden;
  overflow-y: auto;
}

#today-progress,
#general-progress {
  padding: 0.3rem 0;
  border-radius: 100%;
  border: 3px solid #81c792;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  font-size: larger;
  font-weight: 600;

  text-shadow: 0 2px 5px #000000b3;
}
.copyRight {
  position: fixed;
  font-size: 0.8rem;
  bottom: 2px;
  left: 5px;
  letter-spacing: 0.3px;
  color: transparent;
  background: #666666;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  text-shadow: 0px 2px 1px rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}
button {
  padding: 10px;
  background-color: #81c792;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 0.4rem;
}
.nav {
  height: 3.5rem;
}

button:hover {
  background-color: #5e7a98;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer button {
  background-color: #81c792;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 33%;
}

footer button:hover {
  background-color: #5e7a98;
}

/* Extra Section (für Shopping List und Kalender) */
#extra-section {
  margin-top: 20px;
}

.confirm,
.info {
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  width: 100vw;
  height: 98vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirmMsg {
  border-radius: 5px;
  position: relative;
  width: 80%;
  height: 40%;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.confirmMsg p {
  position: absolute;
  width: 80%;
  height: 60%;
  margin: 1rem 2rem 2rem;
  font-size: 1.6rem;
  padding: 1rem 1.5rem;
  text-align: center;
}
.confirmAnsw {
  position: absolute;
  bottom: 3px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.confirmAnsw div {
  font-weight: bold;
  border-radius: 5px;
  width: 49%;
  height: 30%;
  background-color: #81c792;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.confirmAnsw div:hover {
  background-color: #5e7a98;
}

.infoText {
  position: relative;
  width: 80vw;
  height: 90vh;
  background-image: url("background.png");
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 2rem 2.1rem;
  opacity: 0.7;
  text-align: justify;
  border-radius: 5px;
}
.infoText p {
  margin-top: 6rem;
}
.fixedHeader {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  right: 0;
  left: 0;
  margin-top: -1rem;
  margin: -2.2rem;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: sticky;
  top: 0;
  align-items: center;
}

.infoText h3 {
  margin: 2rem 0;
}
.close {
  color: red;
  margin-top: -0.5rem;
  font-size: 1.7rem;
  border: 1px solid red;
  border-radius: 100%;
  padding: 3px 10px;
  opacity: 0.5;
}
.close:hover {
  opacity: 0.9;
}
.hidden {
  display: none;
}
