@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
h1 {
  font-size: 40px;
  line-height: 56px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

p, .page .modal__description #description, .page .modal__header h2 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

body {
  position: relative;
}

.page {
  padding: 64px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 32px;
}
.page__new-task {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  min-height: 240px;
  background-color: #ffffff;
  border-radius: 10px;
  transition-property: background-color, box-shadow;
  transition-duration: 0.2s;
  box-shadow: inset 2px -2px 2px 2px #000000;
  cursor: pointer;
}
.page__new-task .new-task__state {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 10px;
}
.page__new-task:hover {
  background-color: #f4f2de;
  box-shadow: inset 4px -4px 3px 3px #000000;
}
.page__add-task {
  min-height: 240px;
  font-size: 200px;
  background-color: #ffffff;
  border-radius: 10px;
  transition-property: background-color, box-shadow;
  transition-duration: 0.2s;
  box-shadow: inset 2px -2px 1.5px 1.5px #000000;
}
.page__add-task:hover {
  background-color: #f4f2de;
  box-shadow: inset 4px -4px 3px 3px #000000;
}
.page .modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  display: none;
  width: 100%;
  max-width: 600px;
  padding: 16px;
  border-radius: 10px;
  background-color: #f4f2de;
  box-shadow: inset 0 0 0 2px #000000;
}
.page .modal__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.page .modal__header .close-button {
  width: 36px;
  background-color: #f4f2de;
  transition-duration: 0.2s;
}
.page .modal__header .close-button:hover {
  background-color: #ffffff;
}
.page .modal__name {
  display: flex;
}
.page .modal__name #name {
  width: 100%;
  margin: 0 0 15px 15px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #000000;
}
.page .modal__description {
  min-height: 100px;
  display: flex;
  margin: 20px 0;
}
.page .modal__description #description {
  width: 100%;
  margin: 0 0 0 5px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #000000;
}
.page .modal__date {
  display: flex;
  margin: 0 0 20px 0;
}
.page .modal__date #date {
  width: 100%;
  padding: 5px 10px;
  margin: 0 0 0 5px;
  border-radius: 8px;
  border: 1px solid #000000;
}
.page .modal__footer {
  display: flex;
  justify-content: space-between;
}
.page .modal__footer .state-box {
  display: flex;
  align-items: center;
}
.page .modal__footer .state-box > label {
  margin-right: 12px;
}
.page .modal__footer .buttons-box {
  display: flex;
}
.page .modal__footer .buttons-box > .button-delete {
  margin-right: 12px;
}
.page .hide {
  display: none;
}

@media screen and (max-width: 1279px) {
  .page {
    padding: 64px 36px;
    grid-gap: 24px;
  }
}
@media screen and (max-width: 763px) {
  .page {
    margin: 0 10px;
    padding: 48px 16px;
    flex-direction: column;
  }
  .page .modal {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
  }
  .page .modal > :not(:last-child) {
    margin-bottom: 16px;
  }
  .page .modal__name {
    flex-direction: column;
    text-align: center;
  }
  .page .modal__name #name {
    margin-left: 5px;
  }
  .page .modal__date {
    flex-direction: column;
    text-align: center;
  }
  .page .modal__description {
    flex-direction: column;
    text-align: center;
  }
  .page .modal__description #description {
    min-height: 100px;
    height: 100%;
  }
  .page .modal__footer {
    flex-direction: column;
  }
  .page .modal__footer .state-box {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
  }
  .page .modal__footer .state-box__state-new {
    width: 100%;
    margin: 0;
  }
  .page .modal__footer .buttons-box .button-save,
  .page .modal__footer .buttons-box .button-delete {
    width: 50%;
  }
}/*# sourceMappingURL=page.css.map */