/* RESET */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  } */

select,
input {
  border: none;
  font: inherit;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

button {
  border: none;
  cursor: pointer;
  padding: 15px 25px;
  font: inherit;
  background: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* KEYFRAMES */
/* @keyframes fade-in {
    0% {
      opacity: 0;
      transform: translateY(15px) scale(0.8);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  } */

.container-task {
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 80px 1fr 1fr;
  grid-gap: 20px;
}


.header {
  grid-column: 1/-1;
  grid-row: 1/2;

  position: absolute;
  top: 0;
  background: #00321B;
  width: 100%;
  min-height: 80px;
  text-align: center;
  display: flex;
  justify-content: space-between;

}

.logo {
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  line-height: 80px;
  font-size: 25px;
  opacity: 0.95;
  width: 95%;
  text-align: center;
}

.img-logo {
  height: 75px;
  width: 75px;
  cursor: pointer;
}


.logo>span {
  font-weight: 400;
  font-style: italic;
  color: #C2FF70;
}

.top {
  background: #f2f2f2;
  height: 100px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.first-heading {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 3px;
}


.balance-number {
  font-size: 30px;
  font-weight: 700;
}

.balance-number--special {
  color: red;
  /* font-size: 50px; */
  font-weight: 800;
}

.overview {
  width: 80%;
  margin: 0 auto;
  margin-top: 30px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
}

.section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.overview>.section:nth-child(2) {
  border-left: 1px solid rgba(0, 0, 0, 0.144);
}

.second-heading {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.form {
  width: 80%;
  margin: 0 auto;
  margin-top: auto;
}

.label {
  display: block;
  margin-bottom: 5px;
}

.input {
  width: 100%;
  margin-bottom: 10px;
}

.btn-task {
  border-radius: 4000px;
  text-transform: uppercase;
  width: 100%;
  color: #000;
  background-color: #C2FF70;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-task:hover {
  background-color: #00321B;
  color: #fff;
}

.app-section {
  grid-column: 1/2;
  grid-row: 2/3;

  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding-bottom: 35px;
}

.task-sections {

  grid-column: 2/-1;
  grid-row: 2/-1;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background: #eae9e9;
  height: 100%;
  padding: 10px;
  border-radius: 10px;

}

.tasks {
  padding: 10px;
}

.to-dos-section {
  border: #2FBFBE 2px solid;

}

.inprogress-section {
  border: #FED600 2px solid;
}

.done-section {
  border: #00ABFE 2px solid;
}

.to-dos-section,
.inprogress-section,
.done-section {
  width: 31%;
  height: 95%;
}

.to-dos-section>h2,
.inprogress-section>h2,
.done-section>h2 {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.to-dos-section>h2 {
  background-color: #2FBFBE;
}

.inprogress-section>h2 {
  background-color: #FED600;
}

.done-section>h2 {
  background-color: #00ABFE;
}



.third-heading {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.task {
  position: relative;
  font-size: 15px;
  background: #fff;
  border-radius: 3px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 8px;
  animation: fade-in 0.3s;
  cursor: pointer;
}

.task__id,
.modal-task-id {
  display: none;
}

.Low {
  border-top: blue 5px solid;
}

.Medium {
  border-top: green 5px solid;
}

.High {
  border-top: red 5px solid;
}


.task__amount {
  margin-left: auto;
}

.task__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -170%);
  transition: all 0.3s;
  background: rgb(0, 61, 17);
  width: 100%;
  height: 100%;
  z-index: 100;
  color: #ffffffdb;
}

.task:hover .task__btn {
  transform: translate(-50%, -50%);
}

.footer {
  grid-column: 1/-1;
  grid-row: 4/-1;
  width: 100%;
  height: 40px;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-btn-delete{
  color: salmon;
}

@media (max-width: 950px) {
  .container-task {
    grid-template-columns: 1fr;
    grid-template-rows: 80px repeat(3, 1fr);
  }

  .header,
  .app-section,
  .task-sections,
  .footer {
    grid-column: 1/-1;
  }

  .header {
    position: fixed;
  }

  .task-sections {
    grid-row: 3/4;
  }



}