@import "./common.css";
@import "./ad.css";

.category__header {
  align-items: center;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  background: var(--header-color);
  display: flex;
  justify-content: space-between;
  padding: 15px 15px 8px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.category__header .menu {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category__header h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-black);
  /* cursor: pointer; */
}
.category__header .menu .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  cursor: pointer;
}
.category__header button {
  display: flex;
  padding: 2px;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .category__header button img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(29deg)
      brightness(102%) contrast(105%);
  }
}

.category__content__wrap {
  display: flex;
  flex-direction: column;
  padding: 8px 15px 36px 15px;
}

.list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: calc(100% - 30px);
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0px 2px 8px 0px var(--border-color);
  cursor: pointer;
  z-index: 1;
}

.no_content__wrap {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
  left: 50%;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
}

.no_content__wrap p {
  font-size: 24px;
  font-weight: 600;
  margin: auto;
  opacity: 0.3;
  text-align: center;
}
