@charset "UTF-8";

aside {
  z-index: 200;
  margin-top: var(--gap);
  grid-row: 1 / 2;
  grid-column: 1 / 4;
  width: 100vw;
  display: flex;
}

aside > * {
  margin-right: var(--gap);
}

aside > section {
  position: relative;
	min-width: max(240px, calc(100% / (var(--amount) - 1)));
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--section-background-color);
  -webkit-box-shadow: 0px -3px 18px 2px rgba(0, -3, 0, 0.4);
  -moz-box-shadow: 0px -3px 18px 2px rgba(0, -3, 0, 0.4);
  box-shadow: 0px -3px 18px 2px rgba(0, -3, 0, 0.4);
	transition: 0s !important;
}

aside > section > a.title {
  z-index: 300;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 0.75rem;
  background-color: var(--section-aside-button-background-color);
  backdrop-filter: blur(1px) contrast(1.8);
  -webkit-box-shadow: 0px 0px 24px 2px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 24px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 24px 2px rgba(0, 0, 0, 0.4);
}

aside > section:hover > a.title {
  background-color: var(--section-aside-button-background-color-hover);
}

aside > section > a.title * {
  margin: unset;
  color: var(--section-aside-button-color);
}

aside > section > p.description {
  z-index: 200;
}

aside > section:not(:hover) > p.description {
  display: none;
}

aside > section > img.background {
  z-index: 100;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

aside > section:not(:hover) > img.background {
  filter: blur(0.5px) contrast(0.8) sepia(0.8) brightness(0.4);
}
