@import '../../styles/breakpoints/index';

:root {
  --Layout-paddingTop: calc(var(--margin) * 2);

  @media (orientation: portrait) {
    --Layout-paddingTop: calc(var(--margin) * 2);
  }
}

.wrapper {
  min-height: 100vh;
  display: grid;
  align-items: flex-start;
  grid-template-rows: 1fr min-content;
}

.searchWrapper {
  display: grid;
}

.main {
  display: none;
  height: 100%;
  align-items: center;
  padding-top: var(--Layout-paddingTop);
}

.main.active {
  display: grid;
}

.search {
  display: none;
  width: 100%;
  padding-top: var(--Layout-paddingTop);
  padding-left: var(--pageMargin);
  padding-right: var(--pageMargin);
}

.search.active {
  display: block;
}
