@import "../../../../responsive";

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1000;
  cursor: pointer;
}

.backdrop--open {
  visibility: visible;
}

.panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 25rem;
  background-image: url("/assets/images/background-40.jpg");
  z-index: 1001;
  padding: 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
  border-right: var(--gold-3);
  box-shadow: var(--shadow-right);
}

.panel--open {
  transform: translateX(0);
}

ul {
  padding: 0;
  list-style: none;
}

.navigation-entry {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding: 0.25rem 0 0.25rem 2rem;
  @include height-small {
    padding: 0.5rem 0 0.5rem 2rem;
  }

  border: var(--gold-3);
  box-shadow: var(--shadow);
  border-radius: 10px;
  cursor: pointer;
  background-image: url("/assets/images/texture-10.jpg");
  &:hover {
    background-image: url("/assets/images/texture-20.jpg");
  }
  &.active {
    background-image: url("/assets/images/texture-30.jpg");
  }
}

.settings-container {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 2rem;
  width: 22rem;
}

.settings-button {
  font-size: 1.25rem;
  width: 9rem;
  font-weight: 500;
  padding: 0.5rem;
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 10px;
  border: var(--gold-3);
  background-image: url("/assets/images/texture-10.jpg");
  &:hover {
    background-image: url("/assets/images/texture-20.jpg");
  }
  &.active {
    background-image: url("/assets/images/texture-30.jpg");
  }
}
