:root {
  --primColor: #5fcbf2;
  --secoColor: #014a7f;
  --cornerRad: 4px;
}

/* #00b1ee */
/* #014a7f */

details {
  margin: 0px;
}

summary {
  writing-mode: vertical-lr;
  text-align: left;
  padding: 7px 10px;
  --width: 20px;
  --height: 20px;
  background-color: var(--primColor);
  border: 3px solid var(--secoColor);
  border-radius: var(--cornerRad);
  color: var(--secoColor);
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: transform 200ms ease-in-out 0s;
}
summary::before,
summary::after {
  position: static;
  top: 0;
  left: 0;
}
summary::before {
  content: "";
}
summary::after {
  content: "III";
  letter-spacing: 1px;
  font-size: 9px;
}
summary:hover {
  transform: scale(1.1);
}
summary::marker {
  font-size: 0;
}
summary::-webkit-details-marker {
  display: none;
}
details[open] .menu {
  animation-name: menuAnim;
}
details[open] summary::before {
  content: "X";
  font-size: 9px;
}
details[open] summary::after {
  content: "";
}
.menu {
  height: 0;
  width: fit-content;
  border-radius: var(--cornerRad);
  background-color: var(--primColor);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
  margin-top: 5px;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: closeMenu 300ms ease-in-out forwards;
}
.menu a {
  padding: 20px 10px;
  margin: 0 px;
  color: var(--secoColor);
  border-bottom: 2px solid rgba(0, 0, 0, 0.#181A8F);
  text-decoration: none;
  text-align: left;
  transition: filter 200ms linear 0s;
background:linear-gradient(#5fcbf2, #5fcbf2);
}
.menu a:nth-of-type(1) {
  padding-top: 24px;
}
.menu a:nth-last-of-type(1) {
  border-bottom: none;
}
.menu a:hover {
  filter: brightness(200%);
  font-weight: bold;
}
details::before {
  content: "";
  color: var(--secoColor);
  position: absolute;
  margin-left: 0px;
  padding: 0px 0px;
  opacity: 0.4;
}
details[open]::before {
  animation: fadeMe 300ms linear forwards;
}
@keyframes menuAnim {
  0% {
    height: 0;
  }
  100% {
    height: 312px;
  }
}
@keyframes fadeMe {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}










