.sidebarContainer {
  flex: 0 0 $sidebarWidth;
  overflow: hidden;
  width: $sidebarWidth;
  background-color: var(--sidebarBackgroundColor);
  transition: transform 300ms ease-in-out;
  transform: translateX(0);
}

.sidebarHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: $headerHeight;
}

.logoContainer {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.logoLink {
  line-height: 0;
}

.logo {
  width: 32px;
  height: 32px;
}

.sidebarCloseButton {
  composes: button from '~Components/Link/IconButton.css';

  margin-right: 15px;
  color: #e1e2e3;
  text-align: center;

  &:hover {
    color: var(--sonarrBlue);
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--sidebarBackgroundColor);
  color: var(--white);
}

@media only screen and (max-width: $breakpointSmall) {
  .sidebarContainer {
    position: fixed;
    top: 0;
    z-index: 2;
    height: 100vh;
  }

  .sidebar {
    position: fixed;
    z-index: 2;
    overflow-y: auto;
    width: 100%;
    height: 100%;
  }
}
