.c-textBoard {
  position: relative;
  background-color: var(--clr-secondary);
  text-align: justify;
  font-size: clamp(0.5rem, 1rem, 1.5rem);
  width: 60vw;
  height: fit-content;
  padding: 50px;
  box-shadow: 5px 5px 5px 5px var(--clr-box-shadow);
  border-radius: var(--cfg-border-radius);
  transition: box-shadow 500ms ease-in-out;
}

.c-textBoard:hover {
  box-shadow: var(--cfg-box-shadow);
}

#c-textBoard__switches {
  position: relative;
  display: flex;
  width: fit-content;
  height: fit-content;
  background-color: var(--clr-tertiary);
  margin-bottom: 50px;
  border-radius: var(--cfg-border-radius);
  box-shadow: 5px 5px var(--clr-box-shadow);
}

#c-textBoard__switches::before {
  content: "";
  position: absolute;
  background-color: var(--clr-tertiary-hovered);
  width: 50%;
  height: 100%;
  border-radius: var(--cfg-border-radius);
  translate: var(--js-translateX);
  transition: all 500ms ease-in-out;
}

.c-textBoard__switch {
  z-index: 2;
  display: flex;
  font-size: clamp(1rem, 1.5rem, 2rem);
  cursor: pointer;
  background-color: transparent;
  width: 50%;
  padding: 5px;
  justify-content: center;
  align-items: center;
  word-wrap: break-word;
  border: transparent;
  transition: background-color 500ms;
}

.c-textBoard__text-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.c-textBoard__text {
  min-width: 100%;
  height: 100%;
  text-align: justify;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-right: 15px;
  transition: translate 500ms ease-in-out;
}

.c-textBoard__bookmark {
  position: absolute;
  background-color: var(--clr-tertiary);
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  box-shadow: 2px 2px 2px 2px var(--clr-box-shadow);
  border-radius: var(--cfg-border-radius);
}
