@import url("https://fonts.cdnfonts.com/css/dubai");

/* 
font size:
*/
html {
  font-size: 62.5%;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  min-height: 100vh;
  font-family: "Dubai", sans-serif;
  line-height: 1;
  background-color: rgba(112, 216, 238, 0.21);
  padding-top: 5rem;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 7rem;
}

.table {
  display: flex;
  flex-direction: column;
  width: 30rem;
}
#title {
  font-size: 2.8rem;
  color: rgb(246, 143, 49);
  font-weight: 450;
  text-align: center;
  padding: 1.2rem 2rem;
  border: 3.5px solid rgba(112, 216, 238, 0.63);
  border-radius: 100px;
}

h2 {
  font-size: 2.2rem;
  color: rgb(246, 143, 49);
  font-weight: 450;
  text-align: center;
  margin-bottom: 0.4rem;
}

.task-list {
  display: flex;
  flex-direction: column;
  border: 3.5px solid rgba(112, 216, 238, 0.63);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  list-style: none;
  cursor: pointer;
  max-height: none;
  transition: all 0.3s;
}
.task-list.dragover {
  box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset,
    rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;

  height: 5rem;
  transition: all 0.15s;
}
.task {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #333;
  background-color: rgba(112, 216, 238, 0.21);
  border-radius: 12px;
  font-size: 1.6rem;
  padding: 0.65rem 0.8rem;
  transition: all 0.2s;
  margin-bottom: 1.2rem;
}
.task:last-child {
  margin-bottom: 0;
}
.task.droppedover {
  box-shadow: 0 1.9rem 0 0 rgba(246, 144, 49, 0.21);
  margin-bottom: 2rem;
}

.task.focused {
  /* font-size: 1.4rem; */
  transition: all 0.2s;
  transform: translate(0, -0.4rem);
  box-shadow: rgba(246, 144, 49, 0.507) 2px 5px;
}
.task input,
.task input:disabled {
  font-family: inherit;
  font-size: inherit;
  font-weight: 450;
  background-color: transparent;
  margin-right: auto;
  border: none;
  outline: none;
  width: 80%;
}
.task input:disabled {
  cursor: pointer;
}

.icon:hover,
.icon:hover {
  color: #f69031c4;
  transition: all 0.2s;
}
.add {
  border: none;
  border-radius: 12px;
  padding: 0.4rem 0;
  color: #fff;
  background-color: rgba(246, 143, 49, 0.63);
  font-family: inherit;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.add:hover {
  background-color: #f69031c4;
}
.add:active {
  color: rgba(246, 143, 49, 0.21);
  background-color: transparent;
  box-shadow: inset 0 0 0 3.5px rgba(246, 144, 49, 0.21);
}

/* -------- MEDIA QUERIES -------- */
/* ------------------------------- */

/* -------- BELOW (1024px) -------- */
@media (max-width: 64em) {
  .container {
    grid-template-columns: 1fr 1fr;
    row-gap: 4rem;
  }

  #completed {
    grid-column: span 2;
    justify-self: center;
  }
}

@media (max-width: 38em) {
  .container {
    grid-template-columns: 1fr;
    row-gap: 5rem;
    width: 75%;
  }
  .container div {
    justify-self: center;
    width: 100%;
  }

  #completed {
    grid-column: span 1;
    justify-self: center;
  }
} ;
