:root {
  --bgr-color-dark: #313030;
  --bgr-color-light: white;

  --checkbox-color-dark: white;
  --checkbox-color-light: #ffd465;

  --text-color-dark: white;
  --text-color-light: #313030;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
}

body.dark,
body.dark .content {
  background-color: var(--bgr-color-dark);
  color: var(--bgr-color-light);
}

* {
  box-sizing: border-box;
}

.noscroll {
  overflow: hidden;
}

/*
    THEME TOGGLE
*/

.checkbox__input {
  width: 0;
  height: 0;
  opacity: 0;
  border: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  visibility: hidden;
  position: absolute;
}

.checkbox__label {
  position: fixed;
  top: 80px;
  right: 46px;
  display: block;
  -webkit-appearence: none;
  -moz-appearence: none;
  appearence: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  background-color: var(--text-color-light);
  transition: 0.3s;
}

.checkbox__label::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-color: var(--bgr-color-light);
  border-radius: 50%;
  transform: translate(120%, -120%);
  transition: 0.3s;
}

.checkbox__label::before {
  content: "";
  display: block;
  position: absolute;
  top: -10px;
  left: -10px;
  width: 34px;
  height: 34px;
  background: url(/assets/sun-rays.svg) center no-repeat;
  background-size: contain;
  border-radius: 50%;
  transition: 0.3s;
}

.checkbox__input:checked~.checkbox__label {
  background-color: var(--checkbox-color-dark);
  transform: scale(1.4);
}

.checkbox__input:checked~.checkbox__label::after {
  transform: translate(30%, -30%);
  background-color: var(--bgr-color-dark);
}

.checkbox__input:checked~.checkbox__label::before {
  opacity: 0;
}

@media (max-width: 1100px) {
  .checkbox__label {
    top: 34px;
    right: 96px;
  }
}

@media (max-width: 940px) {
  .checkbox__label {
    display: none;
  }
}

/*
    LOGO
*/

.logo {
  display: flex;
  align-items: center;
  text-decoration: inherit;
  color: inherit;
  width: 200px;
  padding: 0 !important;
}

.logo span {
  margin-left: 10px;
  line-height: 24px;
  font-size: 20px;
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 2px;
  font-weight: 300;
}

/*
    CONTENT
*/

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--bgr-color-light);
  transition: 0.3s;
  min-height: calc(100vh - 220px);
}

.content--blurred {
  filter: blur(8px);
}

.content__header {
  user-select: none;
  margin: 20px 0 50px;
  padding: 70px 20px 30px;
  display: flex;
  justify-content: flex-start;
  max-width: 1220px;
  width: 100%;
}

@media (max-width: 940px) {
  .content__header {
    width: 100%;
    margin: 0;
    justify-content: space-between;
    padding: 50px 20px;
  }

  .content__header .logo {
    max-width: 1220px;
  }
}

@media (min-width: 940px) and (max-width: 1400px) {
  .content__header {
    max-width: 980px;
    padding: 70px 20px 30px;
    margin: 0;
    margin-bottom: 40px;
  }

  .content__header .logo {
    width: 160px;
  }

  .content__header .logo span {
    font-size: 16px;
    line-height: 18px;
  }

  .navigation {
    font-size: 14px;
  }
}

.navigation {
  display: flex;
  align-items: center;
  margin-left: 60px;
  flex: 100px;
}

.navigation>ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  font-size: 1.2em;
  line-height: 1.55em;
  letter-spacing: 1px;
}

.navigation>ul li {
  position: relative;
}

.navigation>ul>li~li {
  margin-left: 40px;
}

.navigation>ul li a {
  color: var(--bgr-color-dark);
}

.dark .navigation>ul li a {
  color: var(--bgr-color-light);
}

.navigation__dropdown {
  position: absolute;
  top: 40px;
  left: 0;
  background-color: var(--checkbox-color-light);
  border-radius: 12px;
  padding: 20px 24px;
  min-width: 340px;
  z-index: 100;
}

.navigation__dropdown>ul {
  padding: 0;
  list-style-type: none;
}

.navigation__dropdown>ul>li~li {
  margin-top: 4px;
}

.navigation__dropdown>ul>li>a {
  color: var(--text-color-light) !important;
  font-size: 1rem;
  text-decoration: underline;
  opacity: 0.85;
  padding: 4px;
  transition: 0.2s opacity cubic-bezier(0.6, -0.28, 0.735, 0.045)
}

.navigation__dropdown>ul li svg {
  margin-bottom: -3px;
}

.navigation__dropdown>ul li a:hover {
  opacity: 1;
}

.join-the-community {
  justify-content: flex-end;
  flex: 140px 0 0;
  display: flex;
  align-items: center;
  position: relative;
}

.burger-menu {
  justify-content: flex-end;
  flex: auto 0 0;
  align-items: center;
  display: none;
}

.burger-menu .open-button {
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  margin-right: 16px;
  cursor: pointer;
  color: var(--text-color-light);
}

body.dark .burger-menu .open-button {
  color: var(--text-color-dark);
}

.burger-menu__dropdown {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--checkbox-color-light);
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
}

.burger-menu__dropdown ul {
  list-style-type: none;
  padding: 0;
}

.burger-menu__dropdown ul li {
  font-size: 24px;
  font-weight: bold;
}

.burger-menu__dropdown li~li {
  margin-top: 20px;
}

.burger-menu__dropdown li a {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-color-light);
}

.burger-menu__dropdown .close-button {
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  padding: 36px;
  color: var(--text-color-light);
}

.burger-menu__dropdown ul ul {
  list-style-type: disc;
  padding: 1rem 2rem 0;
  font-size: 24px;
}

@media (max-width: 940px) {
  .burger-menu {
    display: flex;
  }

  .navigation,
  .join-the-community {
    display: none;
  }
}

/*
    ARTICLE
*/

.article {
  max-width: 920px;
  font-weight: 300;
  position: relative;
}

.article h2 {
  max-width: 630px;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 1px;
  margin: 50px auto 0;
  line-height: 32px;
  scroll-margin: 50px;
}

.article h3 {
  max-width: 630px;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 1px;
  margin: 50px auto 0;
  line-height: 28px;
  scroll-margin: 50px;
}

.article h4 {
  max-width: 630px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  margin: 40px auto 0;
  line-height: 24px;
  scroll-margin: 50px;
}

.article p,
.article ul,
.article ol {
  max-width: 630px;
  font-size: 1.1em;
  line-height: 1.55em;
  letter-spacing: 1px;
  margin: 20px auto 0;
}

.article ul li>ul,
.article ol li>ul {
  margin-top: 0;
}

.article img,
.article picture {
  margin: 20px auto 0;
}

.article picture>img {
  margin: 0;
}

.article .main-flow {
  max-width: 630px;
  margin: 20px auto 0;
}

.article .main-flow img {
  width: 100%;
}

.article .spaced {
  margin: 40px auto;
}

.article .article__title {
  text-align: center;
  font-weight: 500;
  letter-spacing: 1px;
  max-width: 630px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0 auto;
}

.article .article__info {
  text-align: center;
  font-size: 14px;
}

article a {
  color: var(--text-color-light);
  font-weight: 500;
}

body.dark .article a {
  color: var(--text-color-dark);
}

.article-list__item {
  padding-left: 46px;
  position: relative;
  counter-increment: section;
}

.article-list__item::before {
  content: counter(section);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  padding: 6px;
  background-color: #ffd465;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 32px;
  color: white;
}

.article-list__item:nth-of-type(9)~.article-list__item::before {
  font-size: 16px;
}

.article-list__item--vertically-centered::before {
  display: flex;
  align-items: center;
}

.article-list__item--unnumbered::before {
  content: "";
}

.article-list__item p {
  margin-top: 6px;
}

.article .table-of-content-container {
  position: absolute;
  height: 100%;
  top: 0;
  left: -350px;
  width: 350px;
  padding-right: 50px;
  padding-top: 100px;
}

.article .table-of-content {
  position: sticky;
  top: 50px;
  line-height: 1.25;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.article .table-of-content:hover {
  opacity: 1;
}

.article .table-of-content ol {
  margin: 0;
}

.article .table-of-content ol li {
  opacity: 0.9;
  transition: opacity 0.3s ease;
  font-size: 0.9em;
  margin-top: 5px;
}

.article .table-of-content ol li:hover {
  opacity: 1;
}

.article .table-of-content ol li.active {
  opacity: 1;
}

.article .table-of-content ol li.active>a {
  font-weight: bold;
}

/*
 * Article blockquote
 */
.article blockquote {
  max-width: 630px;
  margin: 0 auto;
  margin-top: 20px;
  font-style: italic;
  font-size: 1.1em;
  padding: 1.2em 30px 1.2em 60px;
  border-left: 8px solid var(--checkbox-color-light);
  line-height: 1.6;
  position: relative;
}

.article blockquote::before {
  content: "\201C";
  color: var(--checkbox-color-light);
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

.article blockquote span {
  display: block;
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}

.article__audio audio {
  width: 100%;
}

.article__banner {
  max-width: 630px;
  margin: 0 auto;
}

.article__banner--top {
  margin-top: 20px;
}

.article__image--small picture {
  float: right;
  margin: 8px 8px 8px 20px;
}

.article__image--small-left picture {
  float: left;
  margin: 8px 20px 8px 8px;
}

/*
  Article frame
*/

.article-frame {
  color: var(--text-color-light);
  text-decoration: none;
  position: relative;
  border: var(--checkbox-color-light) 8px solid;
  border-radius: 16px;
  padding: 16px;
  margin: 0;
}

.article-frame--centered {
  text-align: center;
}

.article-frame h2,
.article-frame h3,
.article-frame h4 {
  margin: 0;
}

.article-frame p {
  margin: 0;
  margin-top: 8px;
}

body.dark .article-frame {
  color: var(--text-color-dark);
}

/*
  Article alert
*/

.article-alert {
  background-color: var(--checkbox-color-light);
  color: var(--text-color-light);
  padding: 26px;
  text-decoration: none;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
}

.article-alert--centered {
  text-align: center;
}

.article-alert h3 {
  margin: 0;
}

.article-alert p {
  margin: 0;
  margin-top: 10px;
}

.article-alert a,
.article-alert a.underlined,
body.dark .article-alert a,
body.dark .article-alert a.underlined {
  color: var(--text-color-light);
  text-decoration: underline;
}

.divider {
  height: 24px;
  margin: 20px auto 0;
  position: relative;
  color: var(--text-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .divider {
  color: var(--text-color-dark);
}

.divider svg {
  margin: 0 20px;
}

.divider::before,
.divider::after {
  content: "";
  display: block;
  flex: 1 1 100%;
  height: 1px;
  background-color: var(--text-color-light);
}

body.dark .divider::before,
body.dark .divider::after {
  background-color: var(--text-color-dark);
}

.highlighted-link {
  color: var(--text-color-light);
  background-color: var(--checkbox-color-light);
  padding: 4px 6px;
  text-decoration: none;
  border-radius: 6px;
}

.highlighted-link:hover {
  text-decoration: underline;
}

body.dark .highlighted-link {
  color: var(--text-color-light) !important;
}

.article .comments {
  padding: 20px;
}

body.dark .article .comments {
  background-color: var(--checkbox-color-light);
}

@media (max-width: 1099px) {

  .article img,
  .article picture {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .article {
    padding: 0 20px;
  }
}

@media (max-width: 780px) {
  .article picture.placeholder {
    display: block;
    min-height: calc(100vw / 1.5);
  }
}

@media (min-width: 780px) and (max-width: 1099px) {
  .article picture.placeholder {
    display: block;
    min-height: 400px;
  }
}

@media (min-width: 1099px) {
  .article picture.placeholder {
    display: block;
    min-height: 520px;
  }

  .article picture.placeholder.main-flow {
    min-height: 400px;
  }
}

@media (max-width: 1640px) {
  .article .table-of-content-container {
    display: none;
  }
}

/*
    PAGE
*/

.page {
  max-width: 920px;
  font-weight: 300;
  margin-top: 50px;
  position: relative;
}

.page h2 {
  max-width: 630px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 50px auto 0;
  line-height: 32px;
  scroll-margin: 50px;
}

.page h3 {
  max-width: 630px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 50px auto 0;
  line-height: 28px;
  scroll-margin: 50px;
}

.page h4 {
  max-width: 630px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 40px auto 0;
  line-height: 24px;
  scroll-margin: 50px;
}

.page p,
.page ul,
.page ol {
  max-width: 630px;
  font-size: 1.1em;
  line-height: 1.55em;
  letter-spacing: 1px;
  margin: 20px auto 0;
}

.page ul li>ul,
.page ol li>ul {
  margin-top: 0;
}

.page img,
.page picture {
  margin: 20px auto 0;
}

.page picture>img {
  margin: 20px auto 0;
}

.page .main-flow {
  max-width: 630px;
  margin: 20px auto 0;
}

.page .main-flow img {
  width: 100%;
}

.page .spaced {
  margin: 40px auto;
}

.page .article__title {
  text-align: center;
  font-weight: 500;
  letter-spacing: 1px;
  max-width: 630px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0 auto;
}

/*
*  MAINPAGE
*/

@media (min-width: 1100px) {
  .mainpage {
    display: flex;
    flex-direction: row-reverse;
    padding: 0 70px 0 20px;
  }

  .mainpage .divider {
    display: none;
  }
}


/*
*   TOPICS
* * */

@media (max-width: 1100px) {
  .topics {
    margin-bottom: 40px;
  }
}

@media (min-width: 1100px) {
  .topics {
    margin-left: 60px;
    margin-top: 30px;
  }
}

a.underlined,
span.underlined {
  display: inline !important;
  cursor: pointer;
  background-image: linear-gradient(transparent 0%,
      transparent calc(50% - 8px),
      rgba(255, 212, 101, 0.8) calc(50% - 8px),
      rgba(255, 212, 101, 0.8) 100%) !important;
  transition: background-position 0.1s ease-in-out 0s,
    padding 0.1s ease-in-out 0s;
  background-size: 100% 200% !important;
  background-position: 0 0 !important;
  word-break: break-word;
  text-decoration: none;
}

a.underlined:hover,
span.underlined:hover {
  background-image: linear-gradient(transparent 0%,
      transparent calc(50% - 8px),
      rgb(255, 212, 101) calc(50% - 8px),
      rgb(255, 212, 101) 100%) !important;
  background-position: 0 100% !important;
}

body.dark a.underlined:hover,
body.dark span.underlined:hover {
  color: var(--text-color-light) !important;
}

.topic-banner {
  margin: 0 auto;
  margin-bottom: 30px;
  max-width: 580px;
}

.topic {
  position: relative;
  width: 615px;
}

.topic~.topic {
  margin-top: 20px;
}

.topic__header {
  padding: 0 20px;
}

.topic__link {
  display: inline-block;
  color: var(--text-color-light);
  text-decoration: none;
}

body.dark .topic__link {
  color: var(--text-color-dark);
}

.topic__title {
  margin: 0;
  font-weight: 500;
  letter-spacing: 1px;
}

.topic__description {
  font-size: 1.1em;
  line-height: 1.55em;
  letter-spacing: 1px;
  margin: 12px 0 4px;
}

.topic__articles {
  display: flex;
  margin: 0 auto;
  padding: 0 0 16px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

@media (min-width: 721px) {
  .topic__articles {
    overflow: hidden;
  }
}

@media (min-width: 1100px) and (max-width: 1400px) {
  #productivity-list .article-card:nth-of-type(4),
  #learning-list .article-card:nth-of-type(4),
  #mindfulness-list .article-card:nth-of-type(4) {
    display: none;
  }
}

.topic__scroll {
  position: absolute;
  bottom: 110px;
  font-size: 32px;
  color: var(--text-color-light);
  cursor: pointer;
  user-select: none;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  border: 0;
  background: none;
  text-decoration: none;
}

.dark .topic__scroll {
  color: var(--text-color-dark);
}

.topic__scroll--right {
  right: -40px;
}

.topic__pages.max-right~.topic__scroll--right {
  display: none;
}

.topic__scroll--left {
  left: -40px;
}

.topic__articles.max-left~.topic__scroll--left {
  display: none;
}

.topic__scroll--bounce {
  animation-name: topic-scroll-bounce;
  animation-timing-function: linear;
}

@keyframes topic-scroll-bounce {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(12px);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 720px) {
  .topic {
    width: 100vw;
  }

  .topic__articles {
    padding: 0 40px;
    scroll-padding: 0 32px;
  }

  .topic__scroll {
    display: none;
  }
}

@media (min-width: 721px) {
  .topic-banner {
    max-width: 580px;
  }
}

@media (min-width: 1100px) and (max-width: 1400px) {
  .topic {
    width: 460px;
  }

  .topic-banner {
    width: 420px;
  }
}

@media (min-width: 600px) and (max-width: 1099px) {
  .topic-banner {
    max-width: 624px;
    padding-right: 46px;
  }
}

@media (max-width: 600px) {
  .topic-banner {
    padding: 0 20px;
  }
}

/* 
*   ARTICLE CARD
* * */

.article-card-container {
  width: 154px;
  height: 220px;
  position: relative;
  flex: 0 0 154px;
  list-style-type: none;
  scroll-snap-align: start;
  transition: transform 0.2s linear, opacity 0.2s linear;
}

.article-card {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #ffd465;
  padding: 0 12px;
  text-decoration: none;
  transform: scale(0.75);
  transition: transform 0.2s linear, opacity 0.2s linear;
  border-radius: 8px;
  border-bottom: 2px solid #d3ac46;
}

.article-card__spacer {
  flex: 1 1 100%;
}

.article-card__image {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  max-height: 50%;
}

.article-card__image svg {
  width: 80px;
  height: auto;
  max-height: 100%;
  color: var(--text-color-light);
}

h3.article-card__title {
  flex: 0 1 auto;
  color: var(--text-color-light);
  text-decoration: none;
  font-weight: 400;
  margin-bottom: 6px;
  margin-top: 0;
}

.article-card__title--prefix {
  opacity: 0.7;
}

.article-card__date {
  color: var(--text-color-light);
  opacity: 0.5;
  margin-bottom: 6px;
  font-size: 16px;
}

.article-card:hover .article-card__title {
  text-decoration: underline;
}

.article-card--more-articles {
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-color-light);
}

body.dark .article-card--more-articles {
  color: var(--text-color-dark);
}

.article-card-container:not(.article-card-container--more-articles)::before {
  content: "";
  display: block;
  position: absolute;
  top: 76px;
  left: 23px;
  background: black;
  box-shadow: 0 0 6px 4px black;
  width: calc(100% - 46px);
  height: calc(100% - 108px);
  transition: transform 0.2s linear, opacity 0.2s linear;
  opacity: 0.3;
}

.article-card-container:hover .article-card {
  transform: scale(0.85);
}

.article-card-container:hover::before {
  transform: translateY(18px);
}

.article-card--highlighted {
  background-color: #ffb30b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.article-card--highlighted .article-card__title {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.article-card--highlighted .article-card__title span:nth-of-type(1) {
  font-size: 2rem;
  font-weight: bold;
}

.article-card--highlighted .article-card__title span+span {
  margin-top: 6px;
  font-size: 1.2rem;
}

/*
*   INTRO
* * */

.intro__title {
  max-width: 630px;
  margin: 28px auto 4px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0 20px;
}

.intro__description {
  max-width: 630px;
  font-size: 1.1em;
  line-height: 1.55em;
  letter-spacing: 1px;
  margin: 20px auto 0;
  padding: 0 20px;
}

.intro__image {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  padding-right: 10px;
}

.intro__image img {
  max-width: 100%;
}

.intro__image {
  transform: scale(0.9);
  min-height: 240px;
}

@media (max-width: 1100px) {
  .intro {
    margin-top: 50px;
  }
}

@media (min-width: 1100px) and (max-width: 1400px) {
  .intro {
    width: 460px;
  }
}

@media (min-width: 720px) {
  .article-card-container--more-articles {
    display: none;
  }
}

/*
*   FOOTER
* * */

.footer {
  padding: 2rem 0 4rem;
  max-width: 640px;
  margin: 0 auto;
}

.footer>*~* {
  margin-top: 1rem;
}

.footer__social-links {
  margin-top: 50px;
}

.footer__social-links,
.footer__terms-links {
  text-align: center;
}

body.dark .footer__social-links {
  color: var(--text-color-dark);
}

@media (max-width: 720px) {
  .footer__terms-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.footer__copyright {
  text-align: center;
}

.footer__link,
.footer__link:visited,
.footer__link:active {
  color: var(--text-color-light);
  font-weight: 500;
  padding: 8px 0 2px 0;
}

.footer__link~.footer__link {
  margin-left: 1rem;
}

@media (max-width: 720px) {
  .footer__terms-links .footer__link~.footer__link {
    margin-top: 0.25rem;
    margin-left: 0;
  }
}

body.dark .footer__link,
body.dark .footer__link:visited,
body.dark .footer__link:active {
  color: var(--text-color-dark);
  font-weight: 500;
}

/*
* ADS
*/

.google-auto-placed {
  margin-top: 20px;
  max-width: 90vw;
}

/*
* COLLAPSIBLE
*/

input#collapsible {
  display: none;
}

.wrap-collapsible {
  color: var(--text-color-light);
  max-width: 630px;
  margin: 20px auto 0;
}

.lbl-toggle {
  display: block;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.7rem;
  cursor: pointer;
  transition: all 0.25s ease-out;
  background-color: #ffd465;
  color: var(--text-color-light);
  opacity: 0.8;
  border-radius: 12px;
}

.lbl-toggle:hover {
  opacity: 1;
}

.wrap-collapsible--toc .table-of-content a,
.wrap-collapsible--toc .table-of-content p {
  color: var(--text-color-light) !important;
}

.lbl-toggle::before {
  content: " ";
  display: inline-block;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid currentColor;
  vertical-align: middle;
  margin-right: 0.7rem;
  transform: translateY(-2px);
  transition: transform 0.2s ease-out;
}

.toggle:checked+.lbl-toggle {
  opacity: 1;
}

.toggle:checked+.lbl-toggle::before {
  transform: rotate(90deg) translateX(-3px);
}

.collapsible-content {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.25s ease-in-out;
}

.toggle:checked+.lbl-toggle+.collapsible-content {
  max-height: 1000px;
}

.toggle:checked+.lbl-toggle {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.collapsible-content .content-inner {
  padding: 0.5rem 1rem;
  background-color: #ffdd86;
  color: var(--text-color-light);
  border-radius: 0 0 12px 12px;
}

.collapsible-content p {
  margin-bottom: 0;
}

@media (min-width: 1640px) {
  .wrap-collapsible--toc {
    display: none;
  }
}

/*
* Toastify
*/

.toastify {
  border-radius: 12px;
  padding: 12px 20px;
  color: #fff;
  display: inline-block;
  box-shadow: 0 3px 6px -1px rgba(0, 0, 0, .12), 0 10px 36px -4px rgba(77, 96, 232, .3);
  background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
  background: linear-gradient(135deg, #73a5ff, #5477f5);
  position: fixed;
  opacity: 0;
  transition: all .4s cubic-bezier(.215, .61, .355, 1);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  max-width: calc(50% - 20px);
  z-index: 2147483647
}

.toastify.on {
  opacity: 1
}

.toast-close {
  background: 0 0;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 1em;
  opacity: .4;
  padding: 0 5px
}

.toastify-right {
  right: 15px
}

.toastify-left {
  left: 15px
}

.toastify-top {
  top: -150px
}

.toastify-bottom {
  bottom: -150px
}

.toastify-rounded {
  border-radius: 25px
}

.toastify-avatar {
  width: 1.5em;
  height: 1.5em;
  margin: -7px 5px;
  border-radius: 2px
}

.toastify-center {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  max-width: fit-content;
  max-width: -moz-fit-content
}

@media only screen and (max-width: 360px) {

  .toastify-left,
  .toastify-right {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content
  }
}

/*
* Toastify override
*/

.toastify {
  background: var(--checkbox-color-light);
  color: var(--text-color-light);
  display: flex;
}

.toastify .toast-close {
  margin-left: 8px;
}

@media (max-width: 820px) {
  .toastify {
    max-width: calc(100% - 30px);
  }

  .toastify br {
    content: '';
  }
}

/*
* Social links
*/

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link {
  color: var(--text-color-light);
}

.social-link~.social-link {
  margin-left: 16px;
}

.dark .social-link {
  color: var(--text-color-dark);
}

/* ALPINE-JS */

[x-cloak] {
  display: none !important;
}

/* FOLD */

.sharp-fold {
  position: relative;
  background: linear-gradient(-150deg, transparent 1.5em, #ffb30b 0);
  border-radius: .5em;
}

.sharp-fold::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(to left bottom, transparent 50%, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .4)) no-repeat 100% 0;
  width: 1.73em;
  height: 3em;
  transform: translateY(-1.3em) rotate(-30deg);
  transform-origin: bottom right;
  border-bottom-left-radius: inherit;
  box-shadow: -.2em .2em .3em -.1em rgba(0, 0, 0, .15);
}