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

.detail {
  z-index: 10;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0 0.625rem 1.25rem 0.625rem;
  transition: 0.1s;
  opacity: 0;
  pointer-events: none;
}

.detail.open {
  opacity: 1;
  pointer-events: unset;
}

.container {
  height: 100%;
  // @include utils.noise-bg;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(0.3rem);
}

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

.card {
  --width: 12rem;
  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;
  cursor: pointer;
}

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

.content {
  color: white;
}
