body {
  margin: 0;
  font-family: Manrope, Manrope-Fallback, Arial, sans-serif;
}

a {
  text-decoration: none;
  color: #000;
}

#app {
  margin: 3rem 6rem;
}

.title {
  display: block;
  color: #787878;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-top: 1rem;
  cursor: pointer;
  user-select: none
}

.shadow {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.rounded-md {
  border-radius: 0.375rem;
}

.collapse {
  display: grid;
  grid-template-rows: 1fr;
  
  &__checkbox {
    display: none;
    &:checked + .collapse {
      grid-template-rows: 0fr;
    }
  }
}

.service {
  &__content {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    overflow: hidden;
  }

  &__item {
    display: flex;
    box-sizing: border-box;
    background-color: #f5f5f5;
    &:hover {
      background-color: #fafafa;
    }
  }

  &__icon {
    width: 94px;
    height: 94px;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      width: 64px;
      height: 64px;
      object-fit: contain;
    }
  }

  &__text {
    line-height: 94px;
    font-size: 1.25rem;
  }
}

.bookmark {
  &__content {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.6rem;
    overflow: hidden;
  }

  &__item {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    line-height: 2.75rem;
    background-color: #f5f5f5;
    &:hover {
      background-color: #fafafa;
    }
  }
}

@media screen and (max-width: 1440px) {
  #app {
    margin: 3rem 3rem;
  }
}

@media screen and (max-width: 1080px) {
  #app {
    margin: 3rem 6rem;
  }

  .service {
    &__content {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .bookmark {
    &__content {
      grid-template-columns: repeat(4, 1fr);
    }
  }
}

@media screen and (max-width: 768px) {
  #app {
    margin: 1.5rem;
  }

  .service {
    &__content {
      grid-template-columns: repeat(1, 1fr);
    }
  }

  .bookmark {
    &__content {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
