@media (min-width: 280px) {
  .responsive-test {
    color: red;
  }
}
@media (min-width: 370px) {
  .responsive-test {
    color: blue;
  }
}
@media (min-width: 720px) {
  .responsive-test {
    color: green;
  }
}
@media (min-width: 960px) {
  .responsive-test {
    color: purple;
  }
}
@media (min-width: 1200px) {
  .responsive-test {
    color: orange;
  }
}
@media (min-width: 1400px) {
  .responsive-test {
    color: pink;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  font-family: "Fira Sans", sans-serif;
}

a {
  text-decoration: none;
}

ul {
  padding: 0;
  list-style: none;
}

hr {
  border: 0;
  border-top: 1px dotted #efefef;
}

img {
  max-width: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
  min-height: 150vh;
  background-color: #111829;
  color: white;
}

header {
  padding: 0.75rem 0.75rem;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}
header h1 {
  font-weight: 300;
  color: #6B7280;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 70px) {
  header h1 {
    font-size: 2rem;
  }
}
@media (min-width: 280px) {
  header h1 {
    font-size: 3rem;
  }
}
@media (min-width: 370px) {
  header h1 {
    font-size: 3rem;
  }
}
@media (min-width: 720px) {
  header h1 {
    font-size: 3rem;
  }
}
@media (min-width: 1200px) {
  header h1 {
    font-size: 3rem;
  }
}
@media (min-width: 280px) {
  header #new-task-form {
    display: inline;
  }
}
@media (min-width: 370px) {
  header #new-task-form {
    display: flex;
  }
}
@media (min-width: 720px) {
  header #new-task-form {
    display: flex;
  }
}
@media (min-width: 1200px) {
  header #new-task-form {
    display: flex;
  }
}
header .input-group {
  position: relative;
  flex: 1 1 0%;
  margin-right: 1rem;
}
header .input-group input {
  background-color: #111829;
  align-items: center;
  border-radius: 1rem;
  width: 100%;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 70px) {
  header .input-group input {
    padding: 1rem;
  }
}
@media (min-width: 720px) {
  header .input-group input {
    padding: 1rem;
  }
}
@media (min-width: 960px) {
  header .input-group input {
    padding: 1rem;
  }
}
@media (min-width: 1200px) {
  header .input-group input {
    padding: 1rem;
  }
}
header .input-group .task-label {
  position: absolute;
  left: 15px;
  color: #6B7280;
  pointer-events: none;
  transform: translateY(1rem);
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 70px) {
  header .input-group .task-label {
    font-size: 1rem;
  }
}
@media (min-width: 280px) {
  header .input-group .task-label {
    font-size: 1.5rem;
  }
}
@media (min-width: 370px) {
  header .input-group .task-label {
    font-size: 1.2rem;
  }
}
@media (min-width: 720px) {
  header .input-group .task-label {
    font-size: 1.5rem;
  }
}
@media (min-width: 1200px) {
  header .input-group .task-label {
    font-size: 2rem;
  }
}
header .input-group #new-task-input:focus, header .input-group input:valid {
  outline: none;
  border: 1.5px solid #EEE;
  font-size: 1.5rem;
  color: #EEE;
}
header .input-group #new-task-input:focus ~ label, header .input-group input:valid ~ label {
  transform: translateY(-50%) scale(0.8);
  background-color: #111829;
  padding: 0.2rem;
  color: #EEE;
}
@media (min-width: 70px) {
  header .input-group #new-task-input:focus ~ label, header .input-group input:valid ~ label {
    font-size: 1rem;
  }
}
@media (min-width: 280px) {
  header .input-group #new-task-input:focus ~ label, header .input-group input:valid ~ label {
    transform: translateY(-50%) scale(0.7);
    font-size: 1.5rem;
  }
}
@media (min-width: 370px) {
  header .input-group #new-task-input:focus ~ label, header .input-group input:valid ~ label {
    font-size: 1rem;
  }
}
@media (min-width: 720px) {
  header .input-group #new-task-input:focus ~ label, header .input-group input:valid ~ label {
    font-size: 1.5rem;
  }
}
@media (min-width: 1200px) {
  header .input-group #new-task-input:focus ~ label, header .input-group input:valid ~ label {
    font-size: 2rem;
  }
}
header .header-actions {
  margin-right: 1rem;
  margin-top: 0.7rem;
}
header .header-actions #new-task-submit {
  color: #EC4899;
  font-weight: 700;
  margin-right: 0.3rem;
  color: crimson;
  cursor: pointer;
  transition: 0.4s;
}
header .header-actions #new-task-submit:hover {
  opacity: 0.8;
}
header .header-actions #new-task-submit:active {
  opacity: 0.6;
}
@media (min-width: 70px) {
  header .header-actions #new-task-submit {
    font-size: 1rem;
    margin-top: 0.3rem;
  }
}
@media (min-width: 280px) {
  header .header-actions #new-task-submit {
    font-size: 1rem;
  }
}
@media (min-width: 370px) {
  header .header-actions #new-task-submit {
    font-size: 1rem;
  }
}
@media (min-width: 720px) {
  header .header-actions #new-task-submit {
    font-size: 1.5rem;
  }
}
@media (min-width: 1200px) {
  header .header-actions #new-task-submit {
    font-size: 2rem;
  }
}
header .header-actions #fontCancel {
  font-size: 1.2rem;
  color: #EC4899;
  font-weight: 700;
  align-items: center;
  background-image: -webkit-linear-gradient(right, #EC4899, #885CF6);
  -webkit-background-clip: text;
  color: transparent;
  cursor: pointer;
  transition: 0.4s;
}
@media (min-width: 70px) {
  header .header-actions #fontCancel {
    margin: 0px;
    font-size: 0.5rem;
  }
}
@media (min-width: 280px) {
  header .header-actions #fontCancel {
    margin: 0px;
    font-size: 0.8rem;
  }
}
header .header-actions #fontCancel:hover {
  opacity: 0.8;
}
header .header-actions #fontCancel:active {
  opacity: 0.6;
}
header .header-actions #fontSave {
  font-size: 1.2rem;
  color: #EC4899;
  font-weight: 700;
  align-items: center;
  margin: 1rem 1.5rem;
  color: crimson;
  cursor: pointer;
  transition: 0.4s;
}
@media (min-width: 70px) {
  header .header-actions #fontSave {
    margin: 0 0.7rem;
    font-size: 0.5rem;
  }
}
@media (min-width: 280px) {
  header .header-actions #fontSave {
    margin: 0 0.7rem;
    font-size: 0.8rem;
  }
}
header .header-actions #fontSave:hover {
  opacity: 0.8;
}
header .header-actions #fontSave:active {
  opacity: 0.6;
}

main {
  flex: 1 1 0%;
  padding: 2.25rem 0.75rem;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}
main h2 {
  font-weight: 300;
  color: #6B7280;
  margin-bottom: 1rem;
}
@media (min-width: 70px) {
  main h2 {
    font-size: 1.5rem;
  }
}
@media (min-width: 280px) {
  main h2 {
    font-size: 2rem;
  }
}
@media (min-width: 370px) {
  main h2 {
    font-size: 2rem;
  }
}
@media (min-width: 720px) {
  main h2 {
    font-size: 2rem;
  }
}
@media (min-width: 1200px) {
  main h2 {
    font-size: 2rem;
  }
}
main #tasks .task {
  display: flex;
  justify-content: space-between;
  background-color: #111;
  padding: 1.5rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  -webkit-animation: task 500ms ease-in 100ms both;
  animation: task 500ms ease-in 100ms both;
}
@-webkit-keyframes task {
  0% {
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
@keyframes task {
  0% {
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
@media (min-width: 70px) {
  main #tasks .task {
    padding: 0.5rem;
  }
}
@media (min-width: 280px) {
  main #tasks .task {
    padding: 0.8rem;
  }
}
main #tasks .task .content .text {
  color: #EEE;
  width: 100%;
  display: block;
  transition: 0.4s;
}
@media (min-width: 70px) {
  main #tasks .task .content .text {
    font-size: 0.5rem;
  }
}
@media (min-width: 280px) {
  main #tasks .task .content .text {
    font-size: 0.8rem;
  }
}
@media (min-width: 370px) {
  main #tasks .task .content .text {
    font-size: 1rem;
  }
}
@media (min-width: 720px) {
  main #tasks .task .content .text {
    font-size: 1.5rem;
  }
}
main #tasks .task:not(:-moz-read-only) {
  color: #EC4899;
}
main #tasks .task:not(:read-only) {
  color: #EC4899;
}
main #tasks .task .actions {
  display: flex;
  margin: 0 -0.5rem;
}
main #tasks .task button {
  cursor: pointer;
  margin: 0 -0.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}
main #tasks .task:hover {
  opacity: 0.8s;
}
main #tasks .task:active {
  opacity: 0.6s;
}
main #tasks .task .edit {
  color: crimson;
  padding-right: 1.8rem;
  font-size: 1.2rem;
}
@media (min-width: 70px) {
  main #tasks .task .edit {
    font-size: 0.6rem;
  }
}
@media (min-width: 280px) {
  main #tasks .task .edit {
    padding-right: 2rem;
    font-size: 0.9rem;
  }
}
main #tasks .task .delete {
  color: crimson;
  padding-right: 1.5rem;
  font-size: 1.2rem;
}
@media (min-width: 70px) {
  main #tasks .task .delete {
    font-size: 0.6rem;
  }
}
@media (min-width: 280px) {
  main #tasks .task .delete {
    padding-right: 2rem;
    font-size: 0.9rem;
  }
}
main #tasks .task .delete:focus-within {
  -webkit-animation: text-blur-out 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  animation: text-blur-out 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
@-webkit-keyframes text-blur-out {
  0% {
    -webkit-filter: blur(0.01);
    filter: blur(0.01);
  }
  100% {
    -webkit-filter: blur(12px) opacity(0%);
    filter: blur(12px) opacity(0%);
  }
}
@keyframes text-blur-out {
  0% {
    -webkit-filter: blur(0.01);
    filter: blur(0.01);
  }
  100% {
    -webkit-filter: blur(12px) opacity(0%);
    filter: blur(12px) opacity(0%);
  }
}

input, button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: none;
}
