@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --color-primary: #5a78ff;
  --color-secondary: #0957ff;
}

body {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-text {
  position: absolute;
  bottom: 0;
  left: 0;
  /* margin-top: 6rem; */
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  text-align: center;
}
.author-text p {
  margin-right: 60px;
}
.errorModal {
  color: rgb(233, 47, 84);
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  margin: 5px;
}
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 400px;
  min-width: 640px;
  max-width: 1000px;
  /* background: rgba(255, 255, 255, 0.15); */
  /* box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3); */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  /* border-radius: 10px; */
  /* border: 1px solid rgba(255, 255, 255, 0.18); */
  padding: 20px;
}

.container header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}

header h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-bottom: 40px;
}

.alert-message {
  width: 100%;
  transition: all 0.3s ease;
  transform: scale(0.9);
}

.alert-message.show {
  display: block;
  transform: scale(1);
}

.alert-message.hide {
  display: none;
}

header .input-section {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}
.inpt {
  margin: 5px 5px 5px 5px;
  margin-right: 4px !important;
}
.input-section input {
  margin-right: 10px;
  max-width: 100%;
}

.todos-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
}

.todos-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100%;
  max-height: 54vh;
  overflow-y: auto;
  width: 100%;
}

.todos-list .todo-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.todo-item p {
  margin-right: 10px;
}

.todo-item .todo-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  width: 100%;
  height: 100%;
}

.todo-actions button:not(:last-child) {
  margin-right: 10px;
}

.theme-switcher {
  position: absolute;
  top: 16px;
  right: 16px;
}
.todos {
  background-color: #5a78ff;
  padding: 20px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  position: absolute;
  top: -560px;
  transition: all 1s;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.onemodal {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.secmodal {
  min-width: 300px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.inp1,
.inp2 {
  margin: 5px;
  min-width: 260px;
}
.add-task-button {
  cursor: pointer;
}

/* Responsive */
@media only screen and (max-width: 530px) {
  .container {
    margin: 0 20px;
    max-width: 96%;
    min-width: 96%;
  }
}
tr th {
  border-radius: 0 !important;
}
