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

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

.detail.open {
  left: 0;
}

.container {
  height: 100%;
  background-color: hsla(0, 0%, 100%, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 30px 0 #ffffff54;
  backdrop-filter: blur(20px);
  @include utils.noise-bg;
  padding: 15px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.btn-close {
  position: absolute;
  right: 5px;
  top: 5px;
}

.card {
  --width: 160px;
  width: var(--width);
  height: calc(var(--width) / var(--card-ratio));
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0px 14px 20px -5px rgba(0, 0, 0, 0.3);
  transition: 0.2s;
  &:hover {
    --width: 220px;
    box-shadow: 0px 20px 20px -5px rgb(0 0 0 / 60%);
  }
}

.title {
  font-size: 16px;
  font-family: var(--theme-font);
  margin: 20px 0 15px;
  display: flex;
  justify-content: space-between;
  // color: rgba(255, 255, 255, 0.45);
}

.content {
  // font-size: ;
  color: white;
}
