@use "/src/styles/utils.scss";

.detail {
  z-index: 10;
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0 0.625rem 1.25rem 0.625rem;
  transition: 0.2s;
}

.detail.open {
  left: 0;
}

.container {
  height: 100%;
  background: linear-gradient(
    to bottom right,
    hsla(0, 0%, 100%, 0.2),
    hsla(0, 0%, 100%, 0)
  );
  box-shadow:
    -1px 0 0 2px rgba(255, 255, 255, 0.15),
    0 0 30px 0 #ffffff54;
  backdrop-filter: blur(1.25rem);
  @include utils.noise-bg;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 0.5rem;
}

.btn-close {
  position: absolute;
  right: 0.3rem;
  top: 0.3rem;
}

.card {
  --width: 10rem;
  width: var(--width);
  height: calc(var(--width) / var(--card-ratio));
  flex-shrink: 0;
  border: 1px solid #ffffff52;
  overflow: hidden;
  box-shadow: 0 0 0.375rem 0.125rem #ffffff2b;
  transition: 0.3s;
  cursor: pointer;
  &:hover {
    --width: 13.75rem;
    filter: contrast(1.1);
  }
}

.title {
  font-size: 1.25rem;
  font-family: var(--nato-serif-font);
  margin: 1.25rem 0 1rem;
  display: flex;
  justify-content: space-between;
  // color: rgba(255, 255, 255, 0.45);
}

.content {
  color: white;
}
