/* Common imports for all CSS modules */
/*
 * This source is generated by bin/gen/licon.py. Run licon.py after changing public/font/lichess.sfd
 *
 * Constant names and values are pulled from private use characters defined in the sfd file.
 *
 * Character names can be edited in fontforge's "glyph info" dialog, or by editing the StartChar: line that
 * begins each character chunk in lichess.sfd
 *
 * To make these characters visible in your editor, install the lichess.ttf font (which is also generated by
 * licon.py) and then add it to your editor's font list.
 */
/* Uniboard: keep the same page layout across pages */
.learn__side-map .stage, .learn-stages .categ > h2 {
  font-family: Roboto, sans-serif;
  font-weight: 300;
}

/* text printed directly on the page background deserves special treatment (transp theme) */
.learn-stages .what_next > p, .learn-stages .categ > h2 {
  text-shadow: 0 1px 0 var(--c-font-shadow);
}

html.transp .learn__screen::before, html.transp .learn__main #promotion-choice .explanation::before, .learn__main #promotion-choice html.transp .explanation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  backdrop-filter: blur(6px);
}
.learn__screen, .learn__main #promotion-choice .explanation {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.learn__screen-overlay {
  position: fixed;
  top: -100vh;
  left: -100vw;
  width: 300vw;
  height: 300vh;
  background: var(--c-page-mask);
  z-index: 110;
}

.learn__side-map .stage, .learn__table .progress a {
  /* extends %flex-wrap */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.learn__table .progress, .learn-stages .stage {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.learn__table .result, .learn__table .goal {
  /* extends %flex-center */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}

.learn__screen, .learn-stages .stage, .learn__side-home, .learn__table .wrap, .learn__table .wrap {
  border-radius: 7px;
}

/* helps with clipping background into border-radius */
.learn__table .wrap {
  overflow: hidden;
}

.learn__side-home, .learn__table .wrap {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.08), 0 3px 1px -2px rgba(0, 0, 0, 0.18), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

html.transp .learn__side-home, html.transp .learn__table .wrap, .learn__table html.transp .wrap {
  backdrop-filter: blur(6px);
}

coords {
  font-size: 8px;
}
@media (min-width: 300px) {
  coords {
    font-size: calc(8px + 4 * (100vw - 300px) / 900);
  }
}
@media (min-width: 1200px) {
  coords {
    font-size: 12px;
  }
}
coords {
  user-select: none;
  /* handle inner coords */
  position: absolute;
  display: flex;
  pointer-events: none;
  color: #fff;
  text-shadow: 0 1px 2px #000;
  font-weight: bold;
  /* handle hidden coords */
}
.coords-no coords {
  display: none;
}
coords.ranks {
  flex-flow: column-reverse;
  top: 1px;
  right: 0;
  height: 100%;
  width: 0.8em;
}
coords.ranks.black {
  flex-flow: column;
}
coords.files {
  bottom: 0;
  left: 0;
  text-align: left;
  flex-flow: row;
  width: 100%;
  height: 1.4em;
}
coords.files.black {
  flex-flow: row-reverse;
}
coords.files coord {
  padding-left: 4px;
}
coords coord {
  flex: 1 1 auto;
}
coords {
  /* negate inner coords colors */
}
coords .is3d .cg-wrap coords coord {
  color: #fff !important;
  text-shadow: 0 1px 2px #000 !important;
}
coords .is3d .cg-wrap coords.files {
  bottom: calc(1px - 2.5%);
}
coords .is3d .cg-wrap coords.files coord {
  padding-left: 3px;
}

coords {
  text-shadow: var(---cg-cs, 0 1px 2px #000);
}

/** Alternating colors in rank/file/square labels */
coords .coord-light {
  color: var(---cg-ccb, #fff);
}

coords .coord-dark {
  color: var(---cg-ccw, #fff);
}

/* handle outer coords */
@media (min-width: 799.3px), (orientation: landscape) {
  .coords-out coords {
    text-shadow: none;
  }
  .coords-out coords.ranks {
    right: -15px;
    top: 0;
    width: 12px;
  }
  .coords-out coords.ranks coord {
    transform: translateY(42%);
  }
  .coords-out coords.files {
    bottom: -15px;
    left: 0;
    text-align: center;
  }
  .coords-out coords.ranks coord,
  .coords-out .is2d coords.files coord {
    color: var(--c-font-page) !important;
  }
}
body {
  ---board-scale: 1;
}
@media (min-width: 799.3px) and (min-height: 499.3px) {
  body {
    ---board-scale: calc((var(---zoom) / 100) * 0.75 + 0.25);
  }
}
body {
  ---col2-uniboard-width: calc(min(calc(100vw - var(---block-gap) - 240px - 2 * var(---main-margin, 0px) - 20px), calc(100vh - calc(var(---site-header-height) + var(---site-header-margin) + var(---sticky-gap)) - 1rem)) * var(---board-scale));
  ---col3-uniboard-width: calc(min(calc(100vw - var(---col3-uniboard-side-min, 250px) - var(---block-gap) - 240px - 2 * var(---main-margin, 0px) - 20px), calc(100vh - calc(var(---site-header-height) + var(---site-header-margin) + var(---sticky-gap)) - 1rem)) * var(---board-scale));
}

@media (max-width: 799.29px) and (orientation: portrait) {
  .main-board cg-board {
    border-radius: 0;
  }
}
#promotion-choice {
  background: var(--m-bg--fade-30);
  z-index: 205;
  position: absolute;
  width: var(---cg-width, 100%);
  height: var(---cg-height, 100%);
}
html:not([dir=rtl]) #promotion-choice {
  right: 0;
}
html[dir=rtl] #promotion-choice {
  left: 0;
}
#promotion-choice square {
  cursor: pointer;
  border-radius: 50%;
  background-color: #b0b0b0;
  box-shadow: inset 0 0 25px 3px #808080;
  pointer-events: all;
  transition: all 150ms ease;
}
#promotion-choice piece {
  pointer-events: none;
  opacity: 1;
}
.is2d #promotion-choice piece {
  transition: all 150ms ease;
  width: 100%;
  height: 100%;
  transform: scale(0.8);
}
#promotion-choice square:hover {
  box-shadow: inset 0 0 48px 8px var(--c-accent);
  border-radius: 0;
}
.is2d #promotion-choice square:hover piece {
  transform: none;
}

#main-wrap {
  ---main-max-width: calc(100vh - calc(var(---site-header-height) + var(---site-header-margin) + var(---sticky-gap)) - 10rem);
}
@media (min-width: 799.3px), (orientation: landscape) {
  #main-wrap {
    ---main-max-width: auto;
  }
}

.learn {
  grid-area: main;
  display: grid;
}
.learn__side {
  grid-area: side;
}
.learn__main {
  grid-area: main;
}
.learn__table {
  grid-area: table;
}
.learn--run {
  grid-template-areas: "main" "table" "side";
}
.learn--map {
  grid-template-areas: "side" "main";
}
.learn {
  gap: var(---block-gap);
}
@media (min-width: 799.3px), (orientation: landscape) {
  .learn--run {
    grid-template-columns: var(---col2-uniboard-width) minmax(240px, 400px);
    grid-template-rows: fit-content(0);
    grid-template-areas: "main table" "side .";
  }
  .learn--map {
    grid-template-areas: "side main";
    grid-template-columns: 240px auto;
  }
}
@media (min-width: 799.3px) and (min-width: 1259.3px), (orientation: landscape) and (min-width: 1259.3px) {
  .learn--map {
    grid-template-columns: 240px 960px;
  }
}
@media (min-width: 1259.3px) {
  .learn--run {
    grid-template-columns: minmax(var(---col3-uniboard-side-min, 250px), 350px) var(---col3-uniboard-width) minmax(240px, 400px);
    grid-template-areas: "side main table";
  }
}

.learn-stages {
  padding-top: 10px;
}
.learn-stages .categ > h2 {
  font-size: 2em;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #999;
  text-align: center;
}
.learn-stages .categ_stages {
  ---min-width: 100vw;
}
@media (width >= 500px) {
  .learn-stages .categ_stages {
    ---min-width: 400px;
  }
}
.learn-stages .categ_stages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(---min-width), 1fr));
  gap: 1em;
  margin: 1.5em 0 3em 0;
}
.learn-stages .stage {
  transition: all 150ms ease;
  position: relative;
  height: 90px;
  color: #fff;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.3), 0 1px 1px 0 rgba(0, 0, 0, 0.2);
  font-size: 1.2em;
}
@media (width < 500px) {
  .learn-stages .stage {
    height: fit-content;
  }
}
.learn-stages .stage img {
  width: 80px;
  height: 80px;
  margin: 0 1em;
  opacity: 0.9;
}
@media (width < 500px) {
  .learn-stages .stage img {
    width: 50px;
    height: 64px;
  }
}
.learn-stages .stage h3 {
  font-size: 1.6em;
  letter-spacing: 2px;
  margin: 0 0 1px -1px;
}
.learn-stages .stage.vvv h3 {
  font-size: 1.4em;
  letter-spacing: 1px;
}
.learn-stages .stage p {
  margin: 0;
}
@keyframes soft-bright {
  50% {
    filter: brightness(0.97);
  }
}
.learn-stages .stage.ongoing {
  background: var(--c-primary);
  filter: brightness(0.9);
  animation: 1.7s soft-bright ease-in-out infinite;
}
.learn-stages .stage.ongoing:hover {
  filter: brightness(1.2);
}
.learn-stages .stage.done {
  background: var(--c-secondary);
}
.learn-stages .stage.future {
  opacity: 0.7;
  background: var(--c-accent);
}
.learn-stages .stage.future img {
  opacity: 0.7;
}
.learn-stages .stage.active, .learn-stages .stage:hover {
  filter: brightness(1.08);
  transform: scale(1.02);
  opacity: 1;
}
.learn-stages .stage .ribbon-wrapper {
  display: block;
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: -3px;
}
html:not([dir=rtl]) .learn-stages .stage .ribbon-wrapper {
  right: -3px;
}
html[dir=rtl] .learn-stages .stage .ribbon-wrapper {
  left: -3px;
}
.learn-stages .ribbon {
  display: block;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
  transform: rotate(45deg);
}
html[dir=rtl] .learn-stages .ribbon {
  transform: rotate(-45deg);
}
.learn-stages .ribbon {
  position: relative;
  padding: 7px 0;
}
html:not([dir=rtl]) .learn-stages .ribbon {
  left: -5px;
}
html[dir=rtl] .learn-stages .ribbon {
  right: -5px;
}
.learn-stages .ribbon {
  top: 15px;
  width: 120px;
  color: #6a6340;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.learn-stages .ribbon i {
  color: var(--c-brag);
  animation: 0.6s soft-hue ease-in-out infinite;
  text-shadow: 0 -0.5px 1px rgba(0, 0, 0, 0.5);
}
.learn-stages .ribbon i:nth-child(2) {
  animation-delay: 0.2s;
}
.learn-stages .ribbon i:nth-child(3) {
  animation-delay: 0.4s;
}
.learn-stages .ribbon::before, .learn-stages .ribbon::after {
  content: "";
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  position: absolute;
  bottom: -3px;
}
html:not([dir=rtl]) .learn-stages .ribbon::before {
  left: 0;
}
html[dir=rtl] .learn-stages .ribbon::before {
  right: 0;
}
html:not([dir=rtl]) .learn-stages .ribbon::after {
  right: 0;
}
html[dir=rtl] .learn-stages .ribbon::after {
  left: 0;
}
.learn-stages .ribbon.done {
  background-color: #bfdc7a;
}
.learn-stages .ribbon.done::before, .learn-stages .ribbon.done::after {
  border-top: 3px solid #6e8900;
}
.learn-stages .ribbon.ongoing {
  background-color: #b3e5fc;
}
.learn-stages .ribbon.ongoing::before, .learn-stages .ribbon.ongoing::after {
  border-top: 3px solid #536dfe;
}
.learn-stages .what_next > p {
  width: 100%;
  text-align: center;
  margin: 0.5em 0 1.5em;
  font-size: 1.2em;
}

.learn__table {
  align-self: center;
}
.learn__table .title {
  display: flex;
  background: var(--c-primary);
  color: var(--c-over);
}
.learn__table .title h2,
.learn__table .title h3 {
  font-size: 2.3em;
  margin: 15px 0 5px -3px;
  white-space: nowrap;
}
.learn__table .title img {
  width: 80px;
  height: 80px;
  margin: 5px 8px 5px 5px;
}
.learn__table .subtitle {
  margin-bottom: 1em;
}
.learn__table .goal {
  background: var(--c-bg-box);
  border: 1px solid var(--c-border);
  border-top: none;
  padding: var(---block-gap);
  text-align: center;
}
.learn__table .result {
  flex-flow: column nowrap;
  border: 1px solid var(--c-border);
  border-top: none;
  text-align: center;
  cursor: pointer;
  transition: all 150ms ease;
  min-height: 135px;
  padding: 0;
  font-size: 1.7em;
}
@keyframes shadow-glow {
  50% {
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
  }
}
@keyframes text-shadow-glow {
  50% {
    text-shadow: 0 0 10px #fff;
    transform: scale(1.05);
  }
}
.learn__table .result h2 {
  animation: text-shadow-glow 1s 1;
}
.learn__table .result.failed h2, .learn__table .result.next h2 {
  margin-top: 15px;
}
.learn__table .result:hover {
  filter: brightness(1.1);
}
.learn__table .result .stars {
  margin-top: 4px;
}
.learn__table .result .stars i {
  margin: 3px;
  animation: text-shadow-glow 1s 1;
}
.learn__table .result button {
  margin: 15px auto 15px auto;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  background: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.5);
  animation: shadow-glow 1s infinite;
}
.learn__table .result.completed {
  background: var(--c-good);
  color: var(--c-over);
}
.learn__table .result.completed button {
  color: var(--c-good);
}
.learn__table .result.failed {
  background: var(--c-bad);
  color: var(--c-over);
}
.learn__table .result.failed button {
  color: var(--c-bad);
}
@keyframes go-home {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.1;
  }
}
.learn__table .result.completed:not(.no-go-home) piece {
  animation: 0.7s ease-in-out 0.7s go-home;
}
.learn__table .progress {
  text-align: center;
  border: 1px solid var(--c-border);
  border-top: 0;
}
.learn__table .progress a {
  align-content: center;
  flex: 1 1 100%;
  text-align: center;
  background: var(--c-bg-high);
  height: 3em;
  font-size: 0.9em;
  border-inline-start: 1px solid var(--c-border);
  opacity: 0.8;
  transition: all 150ms ease;
}
.learn__table .progress a:first-child {
  border-inline-start: 0;
}
.learn__table .progress a:hover {
  opacity: 1;
}
.learn__table .progress a span {
  margin: auto;
}
.learn__table .progress .st3 i:first-child {
  display: block;
}
.learn__table .progress a.done {
  color: var(--c-over);
  background: var(--c-good);
}
.learn__table .progress a.active {
  opacity: 1;
  color: var(--c-over);
  background: var(--c-primary);
}

@keyframes soft-hue {
  50% {
    filter: hue-rotate(-10deg);
  }
}
@keyframes soft-grow {
  0% {
    scale: 1;
  }
  50% {
    scale: 1.08;
  }
}
@keyframes apple-appear {
  0% {
    opacity: 0.5;
    scale: 0;
    rotate: -360deg;
  }
  100% {
    opacity: 1;
    scale: 1;
    rotate: 0;
  }
}
.learn__main .apple {
  animation: 0.6s ease-in-out 0s 1 forwards apple-appear, 1.7s ease-in-out 0.7s infinite none soft-grow, 0.7s ease-in-out 0.7s infinite none soft-hue;
}
.learn__main.apples .cg-wrap piece.pawn.black {
  background-image: none;
}
@keyframes rank-glow {
  50% {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.7);
  }
}
.highlight-2nd-rank .learn__main cg-board::after, .highlight-5th-rank .learn__main cg-board::after, .highlight-7th-rank .learn__main cg-board::after {
  width: 100%;
  height: 12.5%;
  content: "";
  position: absolute;
  bottom: 12.5%;
}
html:not([dir=rtl]) .highlight-2nd-rank .learn__main cg-board::after, html:not([dir=rtl]) .highlight-5th-rank .learn__main cg-board::after, html:not([dir=rtl]) .highlight-7th-rank .learn__main cg-board::after {
  left: 0;
}
html[dir=rtl] .highlight-2nd-rank .learn__main cg-board::after, html[dir=rtl] .highlight-5th-rank .learn__main cg-board::after, html[dir=rtl] .highlight-7th-rank .learn__main cg-board::after {
  right: 0;
}
.highlight-2nd-rank .learn__main cg-board::after, .highlight-5th-rank .learn__main cg-board::after, .highlight-7th-rank .learn__main cg-board::after {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.2);
  animation: 1s rank-glow ease-in-out infinite;
}
.highlight-7th-rank .learn__main cg-board::after {
  top: 12.5%;
}
.highlight-5th-rank .learn__main cg-board::after {
  top: 37.5%;
}
.learn__main #promotion-choice .explanation {
  background: var(--c-bg-popup);
  position: absolute;
  top: 25%;
}
html:not([dir=rtl]) .learn__main #promotion-choice .explanation {
  left: 25%;
}
html[dir=rtl] .learn__main #promotion-choice .explanation {
  right: 25%;
}
.learn__main #promotion-choice .explanation {
  width: 50%;
  height: 50%;
  padding: 20px;
}
.learn__main #promotion-choice .explanation h2 {
  font-size: 2em;
}
.learn__main #promotion-choice .explanation p {
  font-size: 1.3em;
  margin-top: 15px;
}
html:not([dir=rtl]) .learn__main .piece-values cg-board piece::before {
  right: 4px;
}
html[dir=rtl] .learn__main .piece-values cg-board piece::before {
  left: 4px;
}
.learn__main .piece-values cg-board piece::before {
  position: absolute;
  top: 14px;
  color: #fff;
  text-shadow: 0 0 9px rgb(0, 0, 0), 0 0 4px rgb(0, 0, 0);
  font-size: 30px;
  font-weight: bold;
}
.learn__main .piece-values cg-board piece.queen::before {
  content: "9";
}
.learn__main .piece-values cg-board piece.rook::before {
  content: "5";
}
.learn__main .piece-values cg-board piece.bishop::before,
.learn__main .piece-values cg-board piece.knight::before {
  content: "3";
}
.learn__main .piece-values cg-board piece.pawn::before {
  content: "1";
}

.learn__screen-overlay {
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
  display: grid;
}

.learn__screen {
  margin: auto;
  background-color: var(--c-bg-box);
  width: 350px;
  text-align: center;
  padding-top: 36px;
  max-height: 100%;
  overflow: auto;
}
@keyframes slide-in {
  0% {
    opacity: 0;
    filter: blur(15px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
.learn__screen > :nth-child(1) {
  animation: slide-in 1s cubic-bezier(0.37, 0.82, 0.2, 1);
}
.learn__screen > :nth-child(2) {
  animation: slide-in 1.5s cubic-bezier(0.37, 0.82, 0.2, 1);
}
.learn__screen > :nth-child(3) {
  animation: slide-in 2s cubic-bezier(0.37, 0.82, 0.2, 1);
}
.learn__screen > :nth-child(4) {
  animation: slide-in 2.5s cubic-bezier(0.37, 0.82, 0.2, 1);
}
.learn__screen > :nth-child(5) {
  animation: slide-in 3s cubic-bezier(0.37, 0.82, 0.2, 1);
}
.learn__screen .stars {
  margin-bottom: 20px;
}
@keyframes star-appear {
  0% {
    filter: saturate(1);
    opacity: 0.5;
    transform: scale(0) rotate(-360deg);
  }
  85% {
    filter: saturate(1);
    opacity: 1;
    transform: scale(1.3) rotate(10deg);
  }
  100% {
    filter: saturate(1);
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
.learn__screen .stars .star-wrap {
  display: inline-block;
  width: 55px;
  height: 55px;
  margin: 0 5px;
  position: relative;
}
html:not([dir=rtl]) .learn__screen .stars .star-wrap::before {
  left: 5px;
}
html[dir=rtl] .learn__screen .stars .star-wrap::before {
  right: 5px;
}
.learn__screen .stars .star-wrap::before {
  position: absolute;
  top: 5px;
  display: block;
  width: 45px;
  height: 45px;
  content: "";
  background-image: url("../hashed/star.ea2d50a4.png");
  background-size: cover;
  filter: saturate(0);
  opacity: 0.2;
}
.learn__screen .stars .star {
  display: inline-block;
  background-image: url("../hashed/star.ea2d50a4.png");
  background-size: cover;
  width: 55px;
  height: 55px;
  opacity: 0;
  animation: star-appear 2.5s ease-in-out;
  animation-delay: 0.1s;
  animation-fill-mode: forwards;
}
.learn__screen .stars .star-wrap:nth-child(2) .star {
  animation-delay: 0.8s;
}
.learn__screen .stars .star-wrap:nth-child(3) .star {
  animation-delay: 1.6s;
}
.learn__screen .no-square {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 0 auto 22px auto;
}
.is3d .learn__screen .no-square {
  height: 132px;
  margin-bottom: 0;
}
.learn__screen h1 {
  font-weight: bold;
  color: var(--c-font-clear);
  font-size: 24px;
  margin-bottom: 22px;
}
.learn__screen .round-svg {
  display: flex;
  width: 240px;
  height: 240px;
  padding: 0;
  background: #f57c00;
  border-radius: 50%;
  margin: 0 auto 10px auto;
}
.learn__screen .round-svg img {
  width: 180px;
  height: 180px;
  margin: auto;
}
.learn__screen .score {
  text-transform: uppercase;
  color: var(--c-brag);
  font-size: 0.85em;
  display: block;
  letter-spacing: 1px;
  margin-bottom: 17px;
}
.learn__screen .score span {
  font-weight: bold;
  font-family: monospace;
  font-size: 1rem;
}
.learn__screen p {
  padding: 0 15%;
  line-height: 24px;
  margin-bottom: 17px;
}
.learn__screen .buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 10% 24px 10%;
}
.learn__screen .buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
}
.learn__screen piece {
  width: 100%;
  height: 100%;
}

.learn__side-map {
  user-select: none;
}
.learn__side-map .back,
.learn__side-map .categ > h2 {
  display: block;
  font-size: 1.3em;
  height: 50px;
  line-height: 50px;
  text-indent: 15px;
  cursor: pointer;
  opacity: 0.81;
}
.learn__side-map .back {
  display: flex;
  color: var(--c-font);
}
.learn__side-map .back img {
  width: 50px;
  height: 50px;
  opacity: 0.9;
  margin-inline-end: 10px;
  padding: 10px;
  background: rgb(120, 120, 120);
  display: block;
}
.learn__side-map .back:hover {
  background: rgba(120, 120, 120, 0.2);
}
.learn__side-map .categ > h2 {
  border-top: 1px solid var(--c-border);
}
.learn__side-map .categ > h2:hover {
  background: var(--m-primary--fade-80);
}
.learn__side-map .categ.active {
  border: 1px solid var(--c-border);
  border-width: 0 1px;
}
.learn__side-map .categ.active:last-child {
  border-bottom-width: 1px;
}
.learn__side-map .categ.active > h2 {
  cursor: default;
  background: var(--c-primary);
  color: var(--c-over);
}
.learn__side-map .categ:not(.active) .categ_stages {
  display: none;
}
.learn__side-map .stage {
  transition: all 150ms ease;
  font-size: 1.1em;
  opacity: 0.9;
  color: var(--c-font);
}
.learn__side-map .stage img,
.learn__side-map .stage i {
  width: 50px;
  height: 50px;
  opacity: 0.9;
  margin-inline-end: 10px;
  padding: 10px;
}
.learn__side-map .stage i::before {
  font-size: 30px;
}
.learn__side-map .stage.active {
  background: var(--m-primary--fade-80);
}
.learn__side-map .stage.active img {
  background: var(--c-primary);
}
.learn__side-map .stage.done:hover {
  background: var(--m-secondary--fade-80);
}
.learn__side-map .stage.done img {
  background: var(--c-good);
}
.learn__side-map .stage.future:hover {
  background: var(--m-primary--fade-80);
}
.learn__side-map .stage.future img {
  opacity: 0.7;
  background: var(--c-primary);
}
.learn__side-map .stage:hover {
  filter: brightness(0.9);
  color: var(--c-font-clearer);
}

.learn__side-home {
  background: var(--c-primary);
  color: var(--c-over);
  text-align: center;
  padding: 1em 0;
}
.learn__side-home h1 {
  font-size: 2.5em;
  margin: 0;
}
.learn__side-home h2 {
  font-size: 1.8em;
  margin: 0.4em 0 1em 0;
}
@keyframes fat-glide {
  50% {
    transform: translateY(-4px);
  }
}
.learn__side-home i.fat {
  display: block;
  width: 200px;
  height: 200px;
  background: url("../hashed/brutal-helm.92c6d70d.svg");
  margin: auto;
  opacity: 0.8;
}
.learn__side-home:hover i.fat {
  animation: 1.2s fat-glide ease-in-out infinite;
}
.learn__side-home .progress {
  position: relative;
  width: 100%;
  height: 30px;
  /* border-top: 3px solid #1566b2; */
  background: #1a7edb;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
@keyframes animated-background {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 1000%;
  }
}
@keyframes animated-bar {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(0);
  }
}
.learn__side-home .progress .bar {
  height: 100%;
  background: #1566b2;
  border-radius: 0 5px 5px 0;
  background-image: url("../hashed/grain.91560814.png");
  transform: translateX(-100px);
  animation: animated-background 50s linear infinite, animated-bar 1s forwards;
}
.learn__side-home .progress .text {
  position: absolute;
  top: 0;
}
html:not([dir=rtl]) .learn__side-home .progress .text {
  left: 0;
}
html[dir=rtl] .learn__side-home .progress .text {
  right: 0;
}
.learn__side-home .progress .text {
  width: 100%;
  line-height: 30px;
  z-index: 3;
}
.learn__side-home .actions {
  padding: 20px 10px;
}
.learn__side-home a {
  opacity: 0.6;
  color: #fff;
}
.learn__side-home a:hover {
  opacity: 1;
}

/*# sourceMappingURL=learn.css.map */
