/*
 * I believe styling is an art.
 * ~ LifeMinder
 */

@import url("/font/font.css");

:root {
    --font: "Adelle Sans ARM", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --content-width: 80%;
}

::selection {
    color: #fff;
    background-color: #000;
}
::-moz-selection {
    color: #fff;
    background-color: #000;
}
top::selection,
top *::selection {
    color: #000;
    background-color: #fff;
}
top::-moz-selection,
top *::-moz-selection {
    color: #000;
    background-color: #fff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font, "sans-serif");
    font-size: 16px;
    animation: fade .4s;
}

a {
    color: #000;
    text-decoration: none;
} a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
} header .bar {
    display: flex;
    align-items: center;
    gap: .25rem;
}

main {
    width: var(--content-width);
    margin: 2rem auto;
    line-height: 1.5rem;
}

main.center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64%;
    margin: 0;
}

navbar {
    display: flex;
    gap: .25rem;
    margin: .5rem 0 .5rem 0;
}

navbar a, header a {
    display: inline-flex;
    border-bottom: 1px solid transparent;
    transition: border-color .1s;
} navbar a:hover, header a:hover {
    text-decoration: none;
    border-color: #000;
}

navbar a svg, header a svg {
    width: 20px;
    height: 20px;
}

.passive a {
    padding: .5rem;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border-bottom: none !important;
    transition: color .1s, fill .1s, background-color .1s, box-shadow .2s;
} .passive a:hover {
    background-color: #00000020;
} .passive a:active {
    color: #fff;
    fill: #fff;
    background-color: #000;
} .passive a:focus {
    box-shadow: 0 0 0 3px #999;
}

top {
    display: block;
    color: #fff;
    background-color: #000;
} top a {
    color: #fff;
} top .inner {
    width: var(--content-width);
    max-width: 100%;
    margin: 0 auto 2rem;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem .5rem;
} top.is-more-open .inner {
    margin-bottom: 0;
} top .inner button.more-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 1rem .5rem;
    border: none;
    color: #fff;
    background: transparent;
    font: inherit;
    cursor: pointer;
    text-align: left;
    max-width: 100%;
} top .inner button.more-toggle:hover {
    background-color: #333;
} top .inner button.more-toggle strong {
    font-weight: 700;
} top .inner button.more-toggle svg {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform .2s ease;
} top.is-more-open .inner button.more-toggle svg {
    transform: rotate(180deg);
} top .inner > a,
  top .inner .top-actions > a {
    display: inline-block;
    color: #fff;
    padding: 1rem .5rem;
    white-space: nowrap;
} top .inner > a:hover,
  top .inner .top-actions > a:hover {
    text-decoration: none;
    background-color: #333;
} top .inner > a:active,
  top .inner .top-actions > a:active {
    color: #000;
    background-color: #fff;
} top .inner > span {
    flex: 1 1 auto;
    padding: 1rem 0;
    text-align: center;
} top .inner .top-actions {
    display: inline-flex;
    align-items: center;
    gap: .25rem .5rem;
    margin-left: auto;
} top .inner .lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
} top .inner .lang-switch .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 1rem .5rem;
    border: none;
    color: #fff;
    background: transparent;
    font: inherit;
    text-transform: uppercase;
    cursor: pointer;
} top .inner .lang-switch .lang-toggle:hover {
    background-color: #333;
} top .inner .lang-switch .lang-toggle svg {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform .2s ease;
} top .inner .lang-switch.is-lang-open .lang-toggle svg {
    transform: rotate(180deg);
} top .inner .lang-switch .lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 100%;
    background-color: #000;
    border: 1px solid #333;
} top .inner .lang-switch .lang-menu a {
    display: block;
    padding: .75rem 1rem;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
} top .inner .lang-switch .lang-menu a:hover,
  top .inner .lang-switch .lang-menu a[aria-current="page"] {
    text-decoration: none;
    background-color: #333;
} top .inner .lang-switch .lang-native {
    display: none;
    align-items: center;
    gap: .35rem;
    padding: 1rem .5rem;
    cursor: pointer;
} top .inner .lang-switch .lang-native:hover,
  top .inner .lang-switch .lang-native:focus-within {
    background-color: #333;
} top .inner .lang-switch .lang-native select {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    color: #fff;
    background: transparent;
    font: inherit;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
} top .inner .lang-switch .lang-native svg {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: transform .2s ease;
} top .inner .lang-switch .lang-native:focus-within svg,
  top .inner .lang-switch .lang-native select:open + svg {
    transform: rotate(180deg);
} .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
} top .inner span a {
    color: #fff;
    padding: 0;
    white-space: normal;
} top .inner span a:hover {
    text-decoration: underline;
    background-color: transparent;
} top .inner span a:active {
    color: #fff;
    background-color: transparent;
} top .inner button.pause {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: .25rem;
    padding: .5rem;
    min-width: 44px;
    min-height: 44px;
    border: none;
    color: #fff;
    background-color: #000;
    cursor: pointer;
} top .inner button.pause:hover {
    background-color: #333;
} top .inner button.pause .icon-pause,
  top .inner button.pause .icon-play {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
} top .inner button.pause svg {
    display: block;
    width: 24px;
    height: 24px;
} top .inner button.pause .icon-play {
    display: none;
} top .inner button.pause.is-paused .icon-pause {
    display: none;
} top .inner button.pause.is-paused .icon-play {
    display: flex;
}
top .more {
    display: none;
    width: var(--content-width);
    max-width: 100%;
    margin: 0 auto 2rem;
    padding: 0 0 1rem;
} top.is-more-open .more {
    display: block;
} top .more p {
    margin: 0;
}

@media (max-width: 640px) {
    top .inner {
        margin-bottom: 1.25rem;
        gap: .15rem;
    }
    top.is-more-open .inner {
        margin-bottom: 0;
    }
    top .inner button.more-toggle {
        flex: 1 1 100%;
        order: -1;
        margin-right: 0;
        padding: .85rem .35rem;
        font-size: .95rem;
        justify-content: space-between;
    }
    top .inner > a,
    top .inner .top-actions > a {
        flex: 1 1 auto;
        padding: .85rem .35rem;
        font-size: .95rem;
    }
    top .inner button.pause {
        margin-left: 0;
    }
    top .more {
        margin-bottom: 1.25rem;
        font-size: .95rem;
    }
    top .inner .lang-switch .lang-toggle,
    top .inner .lang-switch .lang-menu {
        display: none;
    }
    top .inner .lang-switch .lang-native {
        display: inline-flex;
    }
}

@media (max-width: 380px) {
    top .inner > a,
    top .inner .top-actions > a {
        white-space: normal;
    }
}

.brand {
    display: inline-flex;
    font-size: 24px;
    padding: .25rem;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow .1s, color .1s, background-color .1s;
} .brand:hover {
    color: #fff;
    background-color: #000;
    box-shadow: 4px 4px 0 #ccc;
} .brand:focus {
    color: #fff;
    background-color: #000;
    box-shadow: 2px 2px 0 #999;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.mobile-shown { display: flex !important; }
.mobile-hidden { display: none !important; }
.menu-toggle { font-size: 36px; }

.menu-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: var(--background);
    overflow-x: hidden;
    padding: 60px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, width 0s 0.4s;
}
.menu-nav.open {
    width: 100%;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.menu-nav a {
    margin: 1rem 0;
    padding: 1rem;
    text-decoration: none;
    font-size: 32px;
    color: var(--color);
    display: block;
    border: none;
    opacity: 0;
    transform: translateY(30px);
    transition: .2s;
}
.menu-nav.open a {
    opacity: 1;
    transform: translateY(0);
}

.menu-nav.open a:nth-child(1) { transition-delay: 0.05s; }
.menu-nav.open a:nth-child(2) { transition-delay: 0.10s; }
.menu-nav.open a:nth-child(3) { transition-delay: 0.15s; }
.menu-nav.open a:nth-child(4) { transition-delay: 0.20s; }
.menu-nav.open a:nth-child(5) { transition-delay: 0.25s; }
.menu-nav.open a:nth-child(6) { transition-delay: 0.30s; }

.menu-nav a:hover {
    color: #f1f1f1;
    background-color: rgb(from var(--color) r g b / 0.2);
}
.menu-nav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    transition-delay: 0s !important;
    transform: none !important;
}

@media (max-width: 600px) {
    nav .nav-toggle { display: block; }
    nav .bar .inner:not(.brand) { display: none; flex-direction: column; align-items: flex-start; width: 100%; }
    nav .bar.open .inner:not(.brand) { display: flex; }
}
