@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Silkscreen:wght@400;700&display=swap");

body {
  padding: 0;
  margin: 0;
}

.header {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #bef8f4;
}

.header .head {
  height: 70%;
  width: 75%;
  background-color: #687eff;
  border-radius: 2rem;
  border: solid #80b3ff 5px;
  display: flex;
  text-align: center;
  align-items: center;
}

.header .head .text-Input-Wrap {
  font-family: "Roboto", sans-serif;
  width: 30%;
  height: 100%;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header .head .text-Input-Wrap .button-Input-Wrap {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 15px;
  width: 50%;
}

.header .head .text-Input-Wrap .button-Input-Wrap .text-Input {
  padding: 5px 10px;
  border-radius: 1rem;
  background-color: #80b3ff;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  border: solid #98e4ff 5px;
  color: white;
  outline: none;
}

.header .head .text-Input-Wrap .button-Input-Wrap .text-Input::placeholder {
  color: white;
}

.header .head .text-Input-Wrap .button-Input-Wrap .add-Todo-Btn {
  padding: 10px 35px;
  border-radius: 1rem;
  border: solid #98e4ff 5px;
  color: black;
  font-size: 15px;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
  transition: all 100ms;
}

.header .head .text-Input-Wrap .button-Input-Wrap .add-Todo-Btn:hover {
  border: solid #98e4ff 5px;
  color: white;
  transform: scale(1.1);
  background-color: #80b3ff;
}

.header .head .text-Input-Wrap .button-Input-Wrap .add-Todo-Btn:active {
  transform: scale(0.9);
}

.header .head .todo-List {
  width: 70%;
  display: flex;
  text-align: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  border: solid #bef8f4 5px;
  border-right: none;
  border-bottom: none;
  border-top: none;
}

.header .head .todo-List .todo-Title {
  font-size: 25px;
  font-family: "Roboto", sans-serif;
  color: #bef8f4;
  border: solid #80b3ff 4px;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  height: 10%;
}

.header .head .todo-List .todos-Cards-Wrap {
  display: flex;
  justify-content: start;
  text-align: start;
  align-items: start;
  flex-direction: column;
  height: 90%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.header .head .todo-List .todos-Cards-Wrap .todo-Card {
  width: 98%;
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  justify-content: space-between;
  padding-left: 5px;
  padding-right: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  border-left: none;
  border-right: none;
  gap: 5px;
}

.header .head .todo-List .todos-Cards-Wrap .todo-Card .text-Todo {
  overflow-x: auto;
  height: 100px;
  width: 80%;
  background-color: white;
}

.header .head .todo-List .todos-Cards-Wrap .todo-Card .delete-Todo-Btn {
  width: 100px;
  height: 50px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: white;
  background-color: red;
  border: solid white 4px;
  transition: all 100ms;
}

.header .head .todo-List .todos-Cards-Wrap .todo-Card .delete-Todo-Btn:hover {
  margin: 5px;
  transform: scale(1.1);
  color: white;
  background-color: rgb(116, 111, 111);
}

.header .head .todo-List .todos-Cards-Wrap .todo-Card .delete-Todo-Btn:active {
  margin: 2px;
  transform: scale(0.9);
  color: white;
  background-color: red;
}

@media screen and (max-width: 1000px) {
  .header .head {
    height: 90%;
    width: 90%;
    overflow-x: hidden;
    flex-direction: column;
  }

  .header .head .text-Input-Wrap {
    font-family: "Roboto", sans-serif;
    width: 100%;
    height: 40%;
  }

  .header .head .todo-List {
    width: 100%;
    border-left: none;
  }
}
