.side-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 796px;
  height: 100vh;
  background-color: rgb(3, 3, 3);
  z-index: 100;
  color: white;

  &.light {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
  }

  @media (max-width: 768px) {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
  }
}

.side-panel-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}

.side-panel-inner-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;

  &::-webkit-scrollbar {
    width: 0px;
    border-radius: 50%;
  }

  &::-webkit-scrollbar-track {
    background-color: white;
  }

  &::-webkit-scrollbar-thumb {
    background-color: rgb(0, 0, 0);
  }
}

.side-panel-close-button {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  height: 72px;
  width: 72px;
  color: rgb(1, 1, 1);
  border: none;
  outline: none;
  padding: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  transition: all 0.4s;
  border: 2px solid white;

  @media (max-width: 768px) {
    top: auto;
    left: auto;
    right: -4px;
    bottom: -4px;
  }

  &:hover {
    cursor: pointer;
    color: #ffffff;
    background-color: #080808;
  }

  &.light {
    background-color: #060606;
    color: white;
    border: 2px solid #060606;

    &:hover {
      color: #080808;
      background-color: white;
    }
  }
}

.side-panel-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 550px;
  padding-left: 96px;
  margin-top: 64px;
  padding-bottom: 72px;

  @media (max-width: 768px) {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 164px;
  }
}

.side-panel-image-wrapper {
  height: 400px;
  width: 700px;
  margin-left: 96px;
  @media (max-width: 768px) {
    margin-left: 0px;
  }
}

.side-panel-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.panel-header {
  font-size: 36px;
  opacity: 0;
}

.panel-quote {
  margin-top: 6px;
  font-size: 14px;
  color: rgb(185, 185, 185);
  opacity: 0;
}

.panel-content-text {
  padding-top: 24px;
  font-size: 14px;
  line-height: 180%;
  opacity: 0;
}
