.root {
  position: fixed;
  z-index: 10000;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title {
  color: var(--palette-text-500);

  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-semi-bold);
  font-size: var(--font-size-4);

  word-break: break-word;

  margin-top: calc(-1 * var(--spacing-1));
}

.button {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;

  height: 48px;

  background-color: #f5f7f7;

  border-style: none;
  border-left-style: solid;
  border-left-color: #cbd1d2;
  border-bottom-style: solid;
  border-bottom-color: #cbd1d2;
  border-right-style: solid;
  border-right-color: #cbd1d2;

  &:hover {
    cursor: pointer;
  }
}

.buttonText {
  padding-right: var(--spacing-2);
}

.buttonClosed {
  width: 68px;

  background-color: #f5f7f7;

  border-style: none;
  border-left-style: solid;
  border-left-color: #cbd1d2;
  border-bottom-style: solid;
  border-bottom-color: #cbd1d2;
  border-right-style: solid;
  border-right-color: #cbd1d2;
}

.buttonOpen {
  width: calc(80px + 2 * var(--spacing-2));

  background-color: white;

  border-style: none;
  border-left-style: none;
  border-bottom-style: none;
  border-right-style: none;
}

.feedRoot {
  position: relative;
  z-index: 10001;
}

.feedPanel {
  position: absolute;
  padding: var(--spacing-4);

  overflow: hidden;

  background-color: white;
  border-radius: var(--round-corners);
  box-shadow: -2px 4px 4px rgba(35, 35, 35, 0.25);
}

.feed {
  margin-top: var(--spacing-5);

  overflow-x: hidden;
  overflow-y: scroll;

  scrollbar-color: var(--palette-grey-400) white;
}

@media only screen and (min-width: 601px) {
  .feedPanel {
    right: 0px;
    top: -48px;

    width: 400px;
    height: 650px;
  }

  .feed {
    height: calc(650px - var(--spacing-5) - var(--spacing-4));
  }
}

@media only screen and (max-width: 600px) {
  .feedPanel {
    top: -48px;
    right: 0px;

    width: 80vw;
    height: 400px;
  }

  .feed {
    height: calc(400px - var(--spacing-5) - var(--spacing-4));
  }
}
