.summary-section {
  display: flex;
  padding: 96px 48px;
  background-color: var(--background-color);
  opacity: 1;
  transition: opacity 0.5s ease;
  overflow-y: auto;
  scrollbar-width: none;
}

.summary-content {
  margin: 0 auto;
}

.help-list {
  margin-left: 40px;
}

.help-list li::marker {
  font-weight: 700;
  font-size: 27px;
  margin-left: 40px;
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-subtitle {
  font-family: "Inter Variable", sans-serif;
  font-weight: 400;
  font-size: 27px;
  color: var(--primary-color);
}

.split-line {
  width: 3px;
  height: 59px;
  margin: 0 24px;
  background-color: var(--greeting-name-and-hover);
  border-radius: 1.5px;
}

.bottom-line {
  display: none;
  width: 200px;
  height: 3px;
  background-color: var(--greeting-name-and-hover);
  border-radius: 1.5px;
  margin-top: 8px;
}

.summary-below-section {
  display: flex;
  align-items: center;
}

.summary-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 64px;
  max-width: 560px;
  grid-template-areas:
    "todo   todo   todo   done   done   done"
    "priority priority priority priority priority priority"
    "board  board  progress progress feedback feedback";
}

.icon-wrapper {
  width: 69px;
  height: 69px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-card {
  filter: brightness(10);
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.numbers {
  font-family: "Inter Variable", sans-serif;
  font-weight: 600;
  font-size: 64px;
  color: black;
}

.card-font {
  font-family: "Inter Variable", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--primary-color);
}

.todo {
  grid-area: todo;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.done {
  grid-area: done;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.priority {
  grid-area: priority;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.date-prior {
  font-family: "Inter Variable", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--primary-color);
}

.bg-prio {
  background-color: var(--urgent-icon);
}

.split-line-priority {
  width: 2px;
  height: 100px;
  margin: 0 24px;
  border-radius: 1px;
  background-color: var(--user-icon);
}

.deadline-text {
  margin-top: 8px;
  color: var(--primary-color);
  font-family: "Inter Variable", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.board {
  grid-area: board;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.progress {
  grid-area: progress;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.feedback {
  grid-area: feedback;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.task-text {
  color: var(--primary-color);
  font-family: "Inter Variable", sans-serif;
  font-weight: 400;
  font-size: 20px;
}

.card {
  background: #ffffff;
  padding: 38px;
  border-radius: 30px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  background-color: var(--primary-color);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.card:hover .numbers,
.card:hover .card-font,
.card:hover .task-text,
.card:hover .date-prior,
.card:hover .deadline-text {
  color: white;
}

.card:hover .icon-wrapper {
  background-color: white;
}

.priority:hover .icon-wrapper {
  background-color: var(--urgent-icon);
}

.card:not(.priority):hover .img-card {
  filter: brightness(0);
}

.priority:hover .img-card {
  filter: brightness(10);
}

.welcome-section {
  padding-left: 64px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.user-name {
  font-family: "Inter Variable", sans-serif;
  font-weight: 700;
  font-size: 64px;
  color: var(--greeting-name-and-hover);
}

@media (max-width: 1100px) {
  .card.todo img {
    content: url("../assets/imgs/to-do-icon.svg");
  }

  .card.done img {
    content: url("../assets/imgs/check-icon.svg");
  }

  .card.priority img {
    content: url("../assets/imgs/prio-alta-icon.svg");
  }

  .welcome-section {
    position: fixed;
    top: 80px;
    bottom: 80px;
    left: 0;
    right: 0;
    padding-left: 0;

    background-color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  .summary-below-section {
    justify-content: center;
  }

  .summary-title {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .split-line {
    display: none;
  }

  .bottom-line {
    display: block;
  }

  h1 {
    font-size: 47px;
  }

  .bottom-line {
    width: 90px;
  }

  .summary-subtitle {
    font-size: 20px;
  }

  .summary-section {
    padding: 32px 16px;
  }

  .priority {
    justify-content: center;
    gap: 20px;
  }

  .split-line-priority {
    height: 68px;
  }

  .summary-container {
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 32px;
    width: 100%;
    max-width: 580px;
  }

  .icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .text-wrapper {
    gap: 4px;
    margin-left: 8px;
  }

  .numbers {
    font-size: 47px;
  }

  .card-font {
    font-size: 16px;
  }

  .task-text {
    font-size: 16px;
  }

  .card {
    padding: 16px;
    border-radius: 20px;
  }

  .deadline-text {
    font-size: 16px;
  }

  .date-prior {
    font-size: 16px;
  }
}

@media (max-width: 428px) {
  .card {
    padding: 8px;
  }

  .split-line-priority {
    margin: 0 0;
  }

  .priority {
    gap: 12px;
  }

  .summary-container {
    gap: 8px;
  }
}
