* {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
}

::selection {
    background: transparent;
}

p::selection,
b::selection,
i::selection,
span::selection,
a::selection,
h1::selection, h2::selection, h3::selection, h4::selection,
li::selection,
input::selection,
label::selection,
textarea::selection,
.selectable::selection {
    background-color: var(--theme) !important;
    color: var(--dark1);
}

:root {
    --dark1: #0e0e0e;
    --dark2: #252525;
    --dark3: #0a0a0a;
    --accent: #C39432;
    --accent-button: #a87601e0;
    --accent-button2: #c29221bd;
    --theme: #D8B45C;
    --accent-invert: #3C6BCD;
    --theme-invert: #274BA3;
    --light: #F2F2F0;
    --white: #FFFFFF;
    --black: #000000;
    --muted: #f2f2f083;

    --header-height: 80px;
    --modal-height: 70px;
    --side-margin: 100px;
    --font-size: 1.4rem;
}
body {
    margin: 0;
    background-color: var(--dark1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: var(--font-size);
    color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
a:hover {
    color: var(--theme);
}
a:active {
    text-decoration: none;
}
i {
    color: var(--muted);
}
.background {
    width: 100vw;
    height: 0;
    z-index: -999;
}
.background img {
    width: 100vw;
    height: 100lvh;
    object-fit: cover;
    object-position: 30% center;
    position: fixed;
    inset: 0;
    z-index: -999;
}

header {
    position: fixed;
    z-index: 999;
    display: flex;
    width: 100vw;
    justify-content: stretch;
    top: 0;
    left: 0;
    transition: top none;
}
header .hbox {
    display: flex;
    flex-direction: row;
    height: var(--header-height);
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 40px;
    padding: 0 10px 0 0;
    margin: 20px 55px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background:
    linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 20px,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) calc(100% - 20px),
        rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 20px,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) calc(100% - 20px),
        rgba(0, 0, 0, 0) 100%
    );
    transition: all 0.2s ease-out;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: hidden;
    view-transition-name: hdr;
}
header .darken-effect-header {
    width: 100%;
    height: 100%;
    background: var(--black);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -5;
    transition: all 0.3 ease;
}
header .hbox:hover .darken-effect-header {
    opacity: 0.35;
}
header hr {
    display: none;
}
header .logo {
    max-height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}
header .logo a {
    display: flex;
    align-items: center;
}
header .logo img {
    height: var(--header-height);
}
header .navigation {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-right: 10px;
    transition: none;
}
header button,
header .navigation a {
    background: transparent;
    border-radius: 10px;
    border: none;
    font-size: var(--font-size);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 15px;
    white-space: nowrap;
    border: 1px solid transparent;
}
header .navigation a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: start;
    font-family: Arial, Helvetica, sans-serif;
}
header button:hover,
header .navigation a:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
header button:active,
header .navigation a:active {
    color: var(--theme);
    background: rgba(255, 255, 255, 0.2);
}
header .picked {
    color: var(--accent) !important;
}
header .burger {
    display: none;
}
header .navigation a::selection {
    background: transparent !important;
    color: inherit !important;
}

@media (max-width: 950px) {
    header {
        width: 100%;
        box-sizing: border-box;
    }
    header .hbox {
        margin: 10px;
        display: grid;
        padding: 0;
        grid-template-columns: 1fr auto;
        height: var(--header-height);
        width: 100%;
        grid-template-areas:
            "title burger"
            "nav nav";
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    @supports (interpolate-size: allow-keywords) {
        .hbox {
            interpolate-size: allow-keywords;
        }
        .expand .hbox {
            height: auto !important;
        }
    }
    @supports not (interpolate-size: allow-keywords) {
        .hbox {
            max-height: var(--header-height);
            height: var(--header-height);
        }
        .expand .hbox {
            height: auto;
            max-height: 500px;
        }
    }
    header hr {
        display: flex;
        height: 1px;
        width: calc(100% - 20px);
        outline: none;
        border: none;
        background-color: #ffffff2d;
        margin: 0 0 0 10px;
    }
    header .logo {
        grid-area: title;
        padding: 0;
    }
    header .navigation {
        grid-area: nav;
        flex-direction: column;
        align-items: stretch;
        justify-content: start;
        background-color: #00000099;
        padding: 10px;
        margin-right: 0;
        text-align: start !important;
        justify-content: start;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    header .navigation button {
        text-align: start;
    }
    header .burger {
        grid-area: burger;
        display: flex;
        justify-content: end;
        padding: 0px 20px;
    }
}

.fullscreen {
    width: 100%;
    height: 100%;
    position: absolute;
}

.icon-burger {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    aspect-ratio: 1 / 1;
    height: 50px;
    position: relative;
    gap: 8px;
    padding: 8px;
    transition: gap 0.3s ease;
}
.expand .icon-burger {
    gap: 10px;
}
.icon-burger:active {
    gap: 4px;
    transition: gap 0.1s ease;
}
.icon-burger * {
    background: var(--white);
    height: 2px;
    transition: all 0.3s ease;
    border-radius: 3px;
}
.icon-burger:active * {
    background: var(--theme);
    
    transform: scaleX(90%);
}

main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
}
main section {
    display: flex;
    flex-direction: column;
    position: relative;
}
main section.spacer {
    flex: 1;
}
main h1 {
    font-family: "Archivo Black", sans-serif;
    color: var(--white);
    font-size: 4.5rem;
    font-weight: 600;
    margin: 0;
}
main h2 {
    font-family: "Archivo Black", sans-serif;
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0;
}
main h3 {
    font-family: "Archivo Black", sans-serif;
    color: var(--white);
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
}
main h4 {
    color: var(--white);
    text-align: start;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}
main .flexify {
    display: flex;
    gap: 10px;
    align-items: center;
}

main button,
.modal button {
    width: auto;
    height: auto;
    padding: 16px 26px;
    font-size: var(--font-size);
    font-weight: 500;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.25s ease;
}
main button:hover,
.modal button:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow:
        0 7px 22px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
main button:active,
.modal button:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.08);
}
.modal button:hover,
.modal button:active {
    transform: none;
}
main button.bright,
.modal button.bright {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            rgba(216, 180, 92, 0.72),
            rgba(168, 118, 1, 0.72)
        );
    border: 1px solid rgba(216, 180, 92, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 18px rgba(168, 118, 1, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}
main button.bright:hover,
.modal button.bright:hover {
    background:
        linear-gradient(
            135deg,
            rgba(216, 180, 92, 0.86),
            rgba(194, 146, 33, 0.82)
        );
    border-color: rgba(216, 180, 92, 0.75);
    transform: translateY(-2px);
    box-shadow:
        0 8px 26px rgba(168, 118, 1, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
main button.bright:active,
.modal button.bright:active {
    transform: translateY(0);
    background:
        linear-gradient(
            135deg,
            rgba(194, 146, 33, 0.78),
            rgba(168, 118, 1, 0.78)
        );
    box-shadow:
        0 3px 10px rgba(168, 118, 1, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.12);
}
main button.bright.beauty {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
main button.bright.beauty::after {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        linear-gradient(
            110deg,
            transparent 35%,
            rgba(255, 255, 255, 0.38) 50%,
            transparent 65%
        );
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 1s ease;
    pointer-events: none;
    z-index: -1;
}
main button.bright.beauty:hover::after {
    transform: translateX(100%) skewX(-15deg);
}

.modal {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 10px;
    display: flex;
    width: 100%;
    min-height: var(--modal-height);
    height: auto;
    max-height: 300px;
    max-width: 500px;
    z-index: 99999;
    flex-direction: row;
    padding: 10px 10px 10px 20px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: #030303f6;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 1;
}
.modal.closed {
    transform: translateY(calc(30px + var(--modal-height)));
    opacity: 0;
}
.modal .text {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
}
.modal .buttons {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: end;
}
.modal .buttons button {
    padding: 10px 15px;
    font-size: var(--font-size);
    border-radius: 12px;
}
.modal:has(.fail) {
    border-color: #be0000a1;
}

.darkbg {
    background: var(--dark1);
}
.darkbg2 {
    background: var(--dark3);
}
.gapbg {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0) 100%
        );
    height: 100px;
}
.content {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 20px var(--side-margin);
    align-items: start;
}
.split {
    width: 50px;
    height: 5px;
    background-color: var(--accent);
    margin: 20px 0px 30px 0px;
    border-radius: 5px;
}
.split2 {
    width: 50px;
    height: 2px;
    background-color: var(--accent);
    margin: 10px 0px 0px 0px;
}
.ico {
    aspect-ratio: 1 / 1;
    height: 2rem;
}
.fail {
    border-color: #be0000a1;
    scroll-margin-top: calc(var(--header-height) + 50px);
}
img.fail {
    background-color: #be0000a1;
    filter: invert(0);
}
.boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}
.boxes .box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid color-mix(in srgb, var(--dark2) 60%, transparent);
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.boxes .box:hover {
    border-color: color-mix(in srgb, var(--white) 20%, transparent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.w3perline {
    grid-template-columns: repeat(3, 1fr);
}
.w4perline {
    grid-template-columns: repeat(4, 1fr);
}
.thick2 {
    grid-column: span 2;
}
.thick3 {
    grid-column: span 3;
}
.ul2cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.boxes .numbox {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}
.boxes .enhancedbg {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.397);
    border-color: rgba(255, 255, 255, 0.397)
}
.boxes .numbox .info {
    display: flex;
    flex-direction: column;
}
.boxes .numbox .foto {
    display: flex;
    flex-direction: column;
    max-width: 70px;
    width: 100%;
}
.boxes .enhancedbg:hover {
    border-color: rgba(255, 255, 255, 0.658)
}
.num {
    font-size: 3rem;
    font-weight: 600;
}

.circled {
    background: var(--accent-invert);
    border-radius: 20px;
    padding: 5px;
    filter: invert(1);
}
.circled.beauty {
    box-shadow: var(--theme-invert) 0 0 10px 3px;
}

#title {
    margin: 0;
    height: 100vh;
    min-height: 85vh;
    text-shadow: var(--black) 0px 0px 10px;
    gap: 10px;
}
#top {
    margin: 0;
    height: 300px;
    text-shadow: var(--black) 0px 0px 10px;
    gap: 10px;
}
.main-bg-grad-title {
    isolation: isolate;
    transition: none !important;
    background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0) 100%
    );
    z-index: -1;
}
.main-content-title {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 100px var(--side-margin) 20px var(--side-margin);
    justify-content: center;
    height: 100%;
    gap: 20px;
    align-items: start;
    overflow: hidden;
}
.include-everything {
    height: auto !important;
    justify-content: center;
}
.mini {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 3px 10px !important;
    vertical-align: middle;
    box-shadow: none !important;
}
.btnbar {
    display: flex;
    margin: 10px 5px;
    flex-direction: row;
    width: calc(100% - 10px);
    justify-content: end;
}

footer {
    background-color: var(--black);
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: start;
    align-items: stretch;
    position: relative;
}
footer .head {
    padding: 20px var(--side-margin) 0px var(--side-margin);
}
footer .links {
    display: flex;
    gap: 20px;
    justify-content: stretch;
    align-items: stretch;
    padding: 0px var(--side-margin);
}
footer .links > ul {
    flex: 1;
}
footer .links ul {
    list-style: none;
    padding: 0px;
}
footer .links ul li {
    list-style: none;
    margin-bottom: 3px;
}
footer .credit {
    font-size: 1rem;
    color: #949494;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 30px;
    background-color: #cecece04;
}
footer .credit p {
    margin: 0;
}
.nojs {
    animation: modal-anim 6s forwards;
}

@media (max-width: 850px) {
    .boxes {
        grid-template-columns: 1fr !important;
    }
    .box {
        grid-column: span 1 !important;
    }
    .main-bg-grad-title {
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
    }
    .main-content-title {
        margin: 40px 20px 80px 20px;
        justify-content: end;
        height: 85vh;
        margin-top: calc(var(--header-height) + 30px);
    }
    #title {
        margin: 0;
        height: 85vh;
        text-shadow: var(--black) 0px 0px 10px;
        gap: 10px;
    }
    main h1 {
        font-size: 3.4rem;
        font-weight: 600;
    }
    main h2 {
        font-size: 1.8rem;
        font-weight: 400;
    }
    .content {
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 20px 20px;
        align-items: start;
    }
    footer .links {
        flex-direction: column;
        flex: 0;
        align-items: start;
        gap: 0;
        justify-content: start;
        padding: 0px 20px;
    }
    footer .head {
        padding: 20px 20px 0px 20px;
    }

    .main-content-title {
        height: auto;
    }
    #title {
        height: auto;
        display: flex;
        justify-content: center;
    }

    .modal {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}

@media (max-width: 1300px) {
    .w3perline {
        grid-template-columns: repeat(2, 1fr);
    }
    .w4perline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes modal-anim {
    0% {
        transform: translateY(calc(30px + var(--modal-height)));
        opacity: 0;
    }

    10% {
        transform: translateY(0);
        opacity: 1;
    }

    90% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(calc(30px + var(--modal-height)));
        opacity: 0;
    }
}