@import "../common/layout/pageLayout.css";
@import "../common/transitions/transitions.css";

.mdw-overview {
  display: grid;
  gap: 2rem;
  min-height: 70vh;
  align-content: center;
}

.mdw-overview-slide {
  display: grid;
  gap: 1rem;
}

.mdw-overview-progress {
  opacity: 0.6;
  font-size: 0.85rem;
}

.mdw-overview-controls {
  display: flex;
  justify-content: space-between;
}

.mdw-overview-side-nav {
  position: fixed;
  inset: 0;

  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-inline: max(3vw, 48px);

  z-index: 100;
}

.mdw-overview-chevron {
  pointer-events: auto;

  width: 64px;
  height: 64px;

  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);

  background: rgba(120,120,120,0.92);

  backdrop-filter: blur(14px);

  color: rgba(255,255,255,0.96);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2.4rem;
  line-height: 1;
  font-weight: 300;

  cursor: pointer;

  box-shadow:
    0 10px 32px rgba(0,0,0,0.18);

  transition:
    transform .2s ease,
    background .2s ease,
    opacity .2s ease,
    border-color .2s ease;
}

.mdw-overview-chevron:hover {
  transform: scale(1.08);

  background: rgba(80,80,80,0.96);

  border-color: rgba(0,0,0,0.16);
}

.mdw-overview-chevron:disabled {
  opacity: 0.18;

  cursor: default;

  transform: none;
}

.mdw-overview-chevron:disabled:hover {
  background: rgba(255,255,255,0.08);

  border-color: rgba(255,255,255,0.08);
}

.mdw-overview-mobile-nav {
  display: none;

  margin-top: 2rem;

  justify-content: center;
  gap: 1rem;
}

@media (max-width: 820px) {

  .mdw-overview-side-nav {
    padding: 1rem;
  }

  .mdw-overview-chevron {
    width: 52px;
    height: 52px;

    font-size: 2rem;
  }

  .mdw-overview-side-nav {
    display: none;
  }

  .mdw-overview-mobile-nav {
    display: flex;

    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}
