.info {
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project {
  position: relative;
  padding: 0;

  .graph {
    height: 14rem;
    margin: 0;
    margin-top: -1rem;
  }

  .projectHeader {
    padding: 0.7rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;

    --pico-card-background-color: var(--pico-form-element-border-color);

    .projectTitle {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      position: relative;
      z-index: 0;
      margin-bottom: 0.4rem;
    }
  }

  .stats,
  .graph {
    opacity: 1;
    transition: opacity 0.2s ease;
  }

  .error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;

  h1,
  details {
    margin: 0;
  }

  a {
    cursor: pointer;
  }

  h1 {
    @media (max-width: 500px) {
      display: none;
    }
  }

  @media (max-width: 500px) {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    > div {
      justify-content: right;
      width: 100%;
    }
  }
}

.AccordionTrigger {
  all: unset;
  display: flex;
  cursor: pointer;
  padding: 0.9rem;
  margin: -1.1rem;
  transition: transform 300ms cubic-bezier(0.87, 0, 0.13, 1);
}
.AccordionTrigger[data-state="open"] {
  transform: rotate(180deg);
}

.AccordionContent {
  overflow: hidden;
}
.AccordionContent[data-state="open"] {
  animation: slideDown 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.AccordionContent[data-state="closed"] {
  animation: slideUp 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideDown {
  from {
    height: 0;
  }
  to {
    height: var(--radix-accordion-content-height);
  }
}

@keyframes slideUp {
  from {
    height: var(--radix-accordion-content-height);
  }
  to {
    height: 0;
  }
}
