.sr-only-list {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 1px !important;
  white-space: nowrap !important;
  display: inline-block !important;
  margin-left: 2px !important;
}

div#lisio-list-div {
  position: fixed;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  padding-block: 6vh;
}

div#lisio-list-div.lisio-right {
  align-items: end;
}

div#lisio-list-div.lisio-left {
  align-items: start;
}

button#lisio-list-button {
  background-color: var(--theme-primary);
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  position: relative;
  border-radius: 1000px;
  border: none;
  cursor: pointer;
}

button#lisio-list-button:before,
button#lisio-list-button:after {
  background-color: white;
}

button#lisio-list-button:after {
  content: "";
  position: absolute;
  height: 80%;
  width: 4px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 10px;
  top: 50%;
  left: 50%;
}

button#lisio-list-button:before {
  content: "";
  position: absolute;
  height: 80%;
  width: 4px;
  transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 10px;
  top: 50%;
  left: 50%;
}

.lisio-closed button#lisio-list-button:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lisio-closed button#lisio-list-button:before {
  transform: translate(-50%, -50%) rotate(0deg);
}

section#lisio-list-section {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  max-width: 30vw;
  border: 1px solid #e4e4e4;
  height: calc(88vh - 40px); 
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

section#lisio-list-section a {
  text-decoration: none;
  color: black;
}
section#lisio-list-section a:hover {
  text-decoration: underline;
  color: black;
}

nav#lisio-list-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid #000;
}

nav#lisio-list-nav > div.lisio-nav-div {
  width: 50%;
  text-align: center;
  cursor: pointer;
  font-size: 25px;
  padding-block: 2px;
}

nav#lisio-list-nav > div.lisio-nav-div.lisio-list-active {
  background-color: var(--theme-primary);
  color: white;
}

nav#lisio-list-nav #lisio-list-title,
nav#lisio-list-nav #lisio-list-link {
  pointer-events: none;
  margin-block: 5px;
}

#lisio-list-links > li::before {
  content: "🔗";
  font-size: 20px;
}

nav#lisio-list-nav > div.lisio-nav-div:first-child {
  border-right: 1px solid #000;
}

section#lisio-list-section ul {
  list-style-type: none;
  padding: 10px;
}

section#lisio-list-section > article > ul > li > a {
  display: block;
  width: 15vw;
}

section#lisio-list-section > article > ul > li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

section#lisio-list-section > article > ul > li > span {
  background-color: var(--theme-primary);
  color: white;
  padding: 0 2px 0 4px;
  border-radius: 4px;
  font-size: 15px;
}

.lisio-list-h1 {
  font-size: 1.5em;
  line-height: 1.5;
}

.lisio-list-h2 {
  font-size: 1.4em;
  line-height: 1.5;
}

.lisio-list-h3 {
  font-size: 1.3em;
  line-height: 1.5;
}

.lisio-list-h4 {
  font-size: 1.2em;
  line-height: 1.5;
}

.lisio-list-h5 {
  font-size: 1.1em;
  line-height: 1.5;
}

.lisio-list-h6 {
  font-size: 1em;
  line-height: 1.5;
}

.lisio-list-link {
  font-size: 1.5em;
  line-height: 1.5;
}

.lisio-overflow-auto {
  overflow: auto;
}

@supports(height:1dvh){
  div#lisio-list-div{
    height: 100dvh;
    padding-block: 6dvh;
  }
  section#lisio-list-section{
    height: calc(88dvh - 40px);
  }
}
