html {
  font-family: Nunito, sans-serif;
  font-size: 16px;
}

body {
  background-color: #160829;
  color: #fff;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.fancy-link {
  background-image: linear-gradient(90deg, currentColor 50%, transparent 50%);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 200% 1px;
  transition: background-position-x 0.2s ease;
}
.fancy-link:hover {
  background-position: 0 100%;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  width: calc(100% - 30px);
}

.btn {
  background: #33adff linear-gradient(90deg, rgba(0, 0, 0, 0.2) 50%, transparent 50%) center no-repeat;
  background-size: 200%;
  background-position-x: 100%;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  padding: 17px 25px;
  text-align: center;
  transition: background-position 0.2s ease;
}
.btn:hover {
  background-position-x: 0;
}

.collection {
  padding: 80px 0;
}
.collection--alt .collection__img-container {
  mask-image: linear-gradient(180deg, #000 4.43%, transparent 100%);
  -webkit-mask-image: linear-gradient(270deg, #000 4.43%, transparent 100%);
}
.collection__title {
  font-size: 2rem;
  margin: 0 0 40px;
  text-align: center;
}
.collection__list {
  display: grid;
  grid-gap: 24px;
  grid-template-columns: repeat(auto-fill, 384px);
  grid-template-rows: repeat(auto-fit, 100px);
  justify-content: center;
}
.collection__item {
  border-radius: 8px;
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.collection__item:hover .collection__name {
  background-position-x: 0;
}
.collection__item:hover .collection__img {
  transform: scale(1.05);
}
.collection__name {
  background: linear-gradient(90deg, #33adff 50%, #160829 50%) 100% 50%;
  background-size: 205% 100%;
  border-radius: 0 8px 8px 0;
  font-size: 1.125rem;
  font-weight: 700;
  left: 0;
  padding: 6px 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-position-x 0.2s ease;
  z-index: 3;
}
.collection__img-container {
  height: 100%;
  width: 100%;
  z-index: 1;
}
.collection__img {
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.2s ease;
  width: 100%;
}

.products {
  margin-bottom: 60px;
}
.products__list-name {
  font-size: 2rem;
  margin: 40px 0;
  text-align: center;
}
.products__list {
  margin: 0 -15px;
  position: relative;
}
@media (min-width: 810px) {
  .products__list {
    margin: 0 auto;
    max-width: 710px;
  }
}
@media (min-width: 1052px) {
  .products__list {
    max-width: 952px;
  }
}
@media (min-width: 1297px) {
  .products__list {
    max-width: 1197px;
  }
}
@media (min-width: 1540px) {
  .products__list {
    max-width: 1440px;
  }
}
.products__btn {
  aspect-ratio: 1/1;
  backdrop-filter: blur(100px);
  background: rgba(0, 0, 0, 0.2) url(assets/img/chevron.24a15657.svg) center no-repeat;
  background-size: 28px 28px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 1;
  position: absolute;
  top: 110px;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  visibility: visible;
  width: 46px;
  z-index: 2;
}
.products__btn:disabled {
  opacity: 0;
  visibility: hidden;
}
.products__btn:hover {
  transform: translateY(-50%) scale(1.15);
}
.products__btn--prev {
  left: 15px;
  transform: translateY(-50%) scale(-1);
}
.products__btn--prev:hover {
  transform: translateY(-50%) scale(-1.15);
}
.products__btn--next {
  right: 15px;
}
@media (min-width: 810px) {
  .products__btn--prev {
    left: -23px;
  }
  .products__btn--next {
    right: -23px;
  }
}
.products__list-wrapper {
  column-gap: 24px;
  display: flex;
  flex-wrap: nowrap;
  height: 325px;
  overflow: auto visible;
  padding: 0 15px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  z-index: 1;
}
.products__list-wrapper::-webkit-scrollbar {
  height: 0;
  width: 0;
}
@media (min-width: 810px) {
  .products__list-wrapper {
    padding: 0;
  }
}
.products__item {
  display: block;
  flex-shrink: 0;
  font-size: 0;
  scroll-snap-align: center;
  width: 220px;
}
.products__item:hover .products__cover-img {
  transform: scale(1.05);
}
.products__item:hover .products__title {
  background-position-x: 0;
}
@media (min-width: 810px) {
  .products__item {
    scroll-snap-align: start;
  }
}
.products__cover {
  aspect-ratio: 1/1;
  border-radius: 4px;
  display: block;
  overflow: hidden;
  width: 100%;
}
.products__cover-img {
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.2s ease;
  width: 100%;
}
.products__title {
  background: linear-gradient(90deg, currentColor 50%, transparent 50%) 100% 100% no-repeat;
  background-size: 200% 1px;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-position-x 0.2s ease;
  white-space: nowrap;
  width: fit-content;
}
.products__author {
  display: block;
  font-size: 0.875rem;
  margin: 4px 0 10px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.products__rating {
  align-items: center;
  color: #bbb7c5;
  column-gap: 4px;
  display: flex;
  font-size: 0.875rem;
}
.products__rating::before {
  content: url(assets/img/star.c5b0fa92.svg);
  height: 18px;
  width: 18px;
}

@keyframes accordion-reveal {
  from {
    height: 0;
    overflow: hidden;
  }
  to {
    height: var(--accordion-body-height, auto);
    overflow: hidden;
  }
}
@keyframes accordion-hide {
  from {
    height: var(--accordion-body-height, auto);
    overflow: hidden;
  }
  to {
    height: 0;
    overflow: hidden;
  }
}
.accordion {
  background: #fff;
  border-radius: 8px;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.08);
}
.accordion__title {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000;
  column-gap: 15px;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  justify-content: space-between;
  margin: 0;
  padding: 9px 16px;
  text-align: left;
  width: 100%;
}
.accordion__arrow {
  fill: #000;
  flex-shrink: 0;
  height: 24px;
  transition: fill 0.2s ease, transform 0.2s ease;
  width: 24px;
}
.accordion__body {
  animation-duration: 0.2s;
  animation-timing-function: ease;
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease;
}
.accordion__content {
  font-size: 16px;
  padding: 0 16px 9px;
}
.accordion__content a {
  color: #33adff;
}
.accordion__content > *:first-child {
  margin-top: 0 !important;
}
.accordion__content > *:last-child {
  margin-bottom: 0 !important;
}
.accordion[data-state=open] .accordion__arrow {
  fill: #33adff;
  transform: rotateZ(180deg);
}
.accordion[data-state=open] .accordion__body {
  animation-name: accordion-reveal;
  height: auto;
  overflow: visible;
}
.accordion[data-state=closed] .accordion__body {
  animation-name: accordion-hide;
}
@media (min-width: 992px) {
  .accordion__title {
    font-size: 22px;
    padding: 20px 24px;
  }
  .accordion__content {
    padding: 0 24px 20px;
  }
}

body {
  background: #fff;
  color: #000;
}

.card {
  background-color: hsl(265, 100%, 11%);
  border-radius: 16px;
  box-shadow: 0 0 20px hsla(0, 0%, 0%, 0.1);
  color: #fff;
  padding: 16px;
}

.footer {
  background: #f5f5f5;
  color: #999;
  padding: 30px 0;
  text-align: center;
}