* {
  margin: 0;
  padding: 0;
  font-family: "Dosis", sans-serif;
  font-size: 16px;
}

main {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mainCard {
  width: 80%;
  background-color: #fff;
  padding: 25px;
}

form {
  width: 100%;
  display: flex;
  margin-bottom: 15px;
  justify-content: space-around;
}

.icon {
  display: flex;
  justify-content: center;
  align-content: center;
  margin: 1%;
  cursor: pointer;
}

.inputForm {
  border: none;
  outline: none;
  width: 35%;
  font-size: 22px;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.inputDate {
  border: none;
  outline: none;
  font-size: 22px;
  margin-top: 1%;
}

.btnCreate {
  padding: 10px 15px;
  background-color: #3cb371;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.btnCreate:hover {
  background-color: #2e8b57;
}

.cardsList {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 60vh;
  height: 60vh;
}

.card {
  width: 90%;
  padding: 15px;
  box-shadow: 2px 4px 4px 4px rgba(71, 71, 71, 0.16);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  margin: 5px 0px;
  position: relative;
}

.icons {
  display: flex;
}

.icons i {
  margin: 10%;
}

.task {
  padding: 10px;
}

.icon:hover {
  color: rgba(62, 161, 219, 1);
}

.completeIcon {
  color: rgba(62, 161, 219, 1);
}

.trashIcon {
  color: #f00;
}

.trashIcon:hover {
  color: crimson;
}

.date {
  width: 100%;
  padding: 15px;
}

@media screen and (max-width: 768px) {
  form {
    display: inline-flex;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .icon {
    margin-bottom: 5%;
  }

  .inputForm {
    width: 80%;
    margin-bottom: 5%;
    font-size: larger;
  }

  .inputDate {
    width: 69%;
  }

  .btnCreate {
    width: 29%;
  }
}

@media screen and (max-width: 480px) {
  .mainCard {
    height: 85%;
  }

  .inputDate {
    width: 40%;
  }

  .btnCreate {
    width: 40%;
  }

  .inputForm {
    width: 70%;
    margin-bottom: 5%;
    font-size: larger;
  }
}
