/*
Fonts
font-family: 'Edu TAS Beginner', cursive;
font-family: 'Montserrat', sans-serif;
font-family: 'Poppins', sans-serif;
*/

* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: "Edu TAS Beginner", cursive;
}
.content-container {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 4fr;
  grid-template-rows: 1fr auto;
}
/* ASIDE Section */
.aside-container {
  border: solid black 1px;
  display: grid;
  grid-template-rows: auto 1fr 2fr;
  background-color: rgb(211, 211, 211);
}
.greet-div {
  display: flex;
  justify-content: center;
  text-decoration: underline;
  padding: 2rem;
  gap: 1rem;
}
.aside-inner-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.aside-task-title {
  font-size: 3rem;
  text-decoration: underline;
}
.btn-create-todo {
  font-weight: 600;
  border: solid 2px black;
  outline: 0;
  padding: 1rem 4rem;
  font-size: 1rem;
  letter-spacing: 0.08rem;
  background-color: white;
  border-radius: 0.35rem;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.btn-create-todo:hover {
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
    0 17px 50px 0 rgba(0, 0, 0, 0.19);
}
.aside-inner-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.projects-title {
  font-family: "Edu TAS Beginner";
  font-size: 2rem;
}
.project-list {
  list-style: circle;
}
.select-filter {
  width: 90%;
  cursor: pointer;
}

/* MAIN Section */
.main-container {
  border: solid orange 1px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  background-image: linear-gradient(120deg, #e2c35d, #d88771);
}
.main-header {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 2.5rem;
  text-decoration: underline;
}
.main-content {
  border: solid #c44536 5px;
  min-height: 50vh;
  min-width: 50vw;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: #d3d3d3;
}
.todo-list {
  list-style: none;
  min-width: 100%;
}
.todo {
  margin: 0.5rem;
  background: white;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1px;
}
.todo-line {
  text-decoration: line-through;
  text-decoration-color: black;
  color: white;
  background-color: lightcoral;
}
.todo li {
  flex: 1;
}
.todo-item {
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.5rem;
}
.todo-item > span {
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
}
.complete-btn,
.remove-btn {
  background: #ff6f47;
  color: white;
  border: none;
  padding: 1rem;
  transition: ease-in 0.2s;
}
.complete-btn:hover {
  background-color: rgb(63, 224, 63);
  color: black;
}
.remove-btn:hover {
  background-color: rgb(226, 5, 5);
  color: black;
}

/* Popup Form */
.popup {
  border: solid black 1px;
  width: 400px;
  background-color: #e7e7e7;
  border-radius: 6px;
  position: absolute;
  top: 0;
  left: 55%;
  transform: translate(-50%, -50%) scale(0.1);
  text-align: center;
  padding: 0 30px 30px;
  color: #333;
  visibility: hidden;
  transition: transform 0.4s, top 0.4s;
}
.open-popup {
  visibility: visible;
  top: 45%;
  transform: translate(-50%, -50%) scale(1);
}
.popup-title {
  font-size: 34px;
  font-weight: 500;
  margin: 30px 0 10px;
  margin-bottom: 1rem;
}
form label {
  font-family: montserrat;
  font-weight: 500;
  letter-spacing: 3px;
}
input[type="text"],
input[type="date"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  text-align: center;
  font-family: "Poppins", sans-serif;
}
select {
  text-transform: uppercase;
}
.form-btns {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.form-btns > button {
  color: #fff;
  padding: 15px 50px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.popup-btn-add {
  background-color: rgb(45, 163, 45);
}
.popup-btn-exit {
  background-color: rgb(218, 3, 3);
}
.todo-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Footer */
.footer-container {
  font-family: "Montserrat", sans-serif;
  background-color: black;
  grid-column: 1/3;
  padding: 1rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
a {
  text-decoration: none;
  color: white;
  font-size: 1.12em;
}
