.btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  height: min-content;
  width: min-content;
  color: #F6F6EE;
  background-color: rgba(246, 246, 238, 0.2);
  border: 3px solid #F6F6EE;
  text-decoration: none;
  border-radius: 0.5em;
  padding: 0.25rem 0.5rem;
  transition: transform 0.1s;
}
.btn:not([disabled]):hover {
  background-color: rgba(246, 246, 238, 0.3);
  transform: translateY(-0.25rem);
}

.toggle {
  height: 0.75em;
  width: 1.75em;
  border-radius: 999999px;
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 3px solid #F6F6EE;
  background-color: rgba(246, 246, 238, 0.2);
  padding: 0.25rem;
}
.toggle.off {
  justify-content: start;
}
.toggle.on {
  justify-content: end;
}
.toggle:not([disabled]):hover.off::after {
  transform: translateX(0.25rem);
}
.toggle:not([disabled]):hover.on::after {
  transform: translateX(-0.25rem);
}
.toggle::after {
  content: "";
  width: 0.75em;
  height: 0.75em;
  border-radius: 100%;
  background-color: #F6F6EE;
  transition: transform 0.1s;
}

.avatar {
  margin-right: 1rem;
  position: relative;
  transform-style: preserve-3d;
  float: left;
  border-radius: 5px;
  width: 100px;
  height: 100px;
}
.avatar::before {
  content: "";
  position: absolute;
  inset: -3px;
  transform: translate3d(5px, 5px, -1px);
  background: linear-gradient(to top, #9C64FE 0%, #57D1EA 20%, #97E023 40%, #DFD561 60%, #FA8419 80%, #F3005F 100%);
  filter: blur(5px);
}
.avatar::after {
  content: "";
  background-image: url(/static/imgs/aleod_logo.png);
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

nav > a {
  margin: 0;
  font-size: inherit;
  position: relative;
}
nav > a.active::before {
  height: 0.25rem;
}
nav > a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 0;
  background-color: #30204D;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  transition: height 0.1s;
}
nav > a:hover::before {
  height: 0.25rem;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.header .ilink {
  color: #191919;
}

#page-content {
  display: flex;
  flex-direction: column;
  padding-left: 10%;
  padding-right: 10%;
  row-gap: 1rem;
  height: 100%;
}

#page {
  display: grid;
}
