*:where(:not(iframe, canvas, img, svg, video, input):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

ol,
ul {
    list-style: none;
}

img {
    max-width: 100%;
}

table {
    border-collapse: collapse;
}

textarea {
    white-space: revert;
}

body,
html {
    overscroll-behavior: none;
    min-height: 100vh;
    font-size: 10px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans,
        Helvetica Neue, sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
}

a[href] {
    cursor: pointer;
}

.theme {
    --zhmjwh0: #a4a4a4;
    --card-bg-color: 255, 255, 255;
    --card-bg-color-alt: 240, 240, 240, 0.85;
    --zhmjwh5: #ffffff;
    --zhmjwh6: 255, 255, 255;
    --zhmjwh7: #5a5a64;
    --action-color: #000000;
    --avatar-border-color: 0, 0, 0;
    --zhmjwh4: #080808;
    --zhmjwh8: #001428;
    --zhmjwh9: 0, 10, 20;
    --text-color: #000000;
    --zhmjwhb: 0, 0, 0;
    --zhmjwhc: 0.5rem;
    --zhmjwhd: 1rem;
    --zhmjwhe: 2rem;
    --banner-bg-color: rgb(220, 220, 220, 0.85);
}

/* @media (prefers-color-scheme: dark) {
    .theme {
        --zhmjwh0: #404040;
        --card-bg-color: 40, 40, 40;
        --card-bg-color-alt: 80, 80, 80, 0.85;
        --action-color: #ffffff;
        --avatar-border-color: 255, 255, 255;
        --zhmjwh4: #5a5a64;
        --zhmjwh5: #000000;
        --zhmjwh6: 0, 0, 0;
        --zhmjwh7: #080808;
        --zhmjwh8: #001428;
        --zhmjwh9: 0, 10, 20;
        --text-color: #ffffff;
        --zhmjwhb: 255, 255, 255;
        --zhmjwhc: 0.5rem;
        --zhmjwhd: 1rem;
        --zhmjwhe: 2rem;
        --banner-bg-color: rgb(var(--zhmjwh6), 0.1);
    }
} */

.wrapper {
    height: 100vh;
    width: 100vw;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: var(--page-bg-url, none), -webkit-radial-gradient(top, var(--zhmjwh4), var(--zhmjwh7));
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 30rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 1921px) {
    .wrapper {
        --page-bg-url: url('/assets/background.jpg');
    }
}

@media screen and (max-width: 1920px) {
    .wrapper {
        --page-bg-url: url('/assets/background_1920.jpg');
    }
}

@media screen and (max-width: 1024px) {
    .wrapper {
        --page-bg-url: url('/assets/background_1024.jpg');
    }
}

@media screen and (max-width: 768px) {
    .wrapper {
        --page-bg-url: url('/assets/background_768_p.jpg');
    }
}

@media screen and (max-width: 768px) and (max-height: 768px) {
    .wrapper {
        --page-bg-url: url('/assets/background_768.jpg');
    }
}

@media screen and (max-width: 480px) {
    .wrapper {
        --page-bg-url: url('/assets/background_480_p.jpg');
    }
}

.card-body {
    display: flex;
    flex-wrap: wrap;
}

address {
    flex: 1;
    padding: var(--zhmjwhd);
    padding-bottom: var(--zhmjwhe);
    max-width: 100%;
}

.banner {
    flex: 1 0 100%;
    margin: calc(var(--zhmjwhe) * -1);
    margin-top: 0;
    padding: 0.5em 4rem;
    background-color: var(--banner-bg-color);
    color: var(--text-color);
    min-height: 8rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.banner .banner-logo {
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    flex: 1 1 0%;
    min-width: 18rem;
    margin: 0.5em 0;
}

@media (max-width: 530px) {
    .banner .social-buttons {
        width: 100%;
    }
    
    .banner .banner-logo {
        background-position: center center;
    }
}

.banner ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0.5em 0;
    gap: 1.5em;
}

.banner li {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

a:hover,
label:hover {
    color: #f0881a;
}

.avatar-wrapper {
    margin: 0 auto;
    padding: 1.5rem;
    padding-top: 0;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    /* box-shadow: 0 0 0 1.5rem rgb(var(--avatar-border-color), 0.1); */
    margin: 1.5rem;
    position: relative;
}

.avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

address ul {
    transition: color 1s;
    color: var(--text-color);
    line-height: 2;
}

.name {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-bottom: 0.75em;
}

.name.with-title {
    padding-bottom: 0.15em;
}

.title {
    padding-bottom: 0.75em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.attribute {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(100vw - 8rem);
    min-width: calc(30rem - var(--zhmjwhe) - var(--zhmjwhe) - var(--zhmjwhd));
}

.attribute a[href] {
    text-decoration: underline dotted;
    text-decoration-thickness: from-font;
    text-underline-offset: 4px;
    display: inline-block;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    max-width: calc(100% - 24px - 0.5em);
}

.attribute .button {
    display: inline;
    margin-left: 0.5em;
    position: relative;
}

.button input[type='checkbox'] {
    display: none;
}

.address-label {
    cursor: pointer;
    text-decoration: underline dotted;
    text-underline-offset: 4px;
    text-decoration-thickness: from-font;
}

.button input[type='checkbox'] + label + .address {
    overflow: hidden;
    max-height: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 300ms ease-in-out;
    margin-left: 24px;
    padding-left: 0.5em;
    white-space: pre;
    line-height: 1.25;
}

.button input[type='checkbox']:hover + label {
    color: #f0881a;
}

.button input[type='checkbox']:checked + label + .address {
    max-height: 100%;
    transform: scaleY(1);
}

.button input[type='checkbox'] + label {
    position: relative;
    top: 6px;
    line-height: 24px;
    height: 24px;
    cursor: pointer;
}

.button input[type='checkbox'] + label svg.expanded {
    display: none;
}

.button input[type='checkbox']:checked + label svg {
    display: none;
}
.button input[type='checkbox']:checked + label svg.expanded {
    display: inline-block;
}

.icon {
    vertical-align: -25%;
    margin-right: 0.5em;
}

.card {
    background-color: rgb(var(--card-bg-color), 0.55);
    -webkit-backdrop-filter: blur(0.4rem);
    backdrop-filter: blur(0.4rem);
    transition: background 1s, box-shadow 1s;
    flex: 1;
    border-radius: var(--zhmjwhe);
    padding: var(--zhmjwhe);
    box-shadow: 0.6px 0.7px 1px rgb(var(--zhmjwh9), 0.2), 3.2px 3.7px 5.3px -0.3px rgb(var(--zhmjwh9), 0.2),
        5.9px 6.8px 9.8px -0.7px rgb(var(--zhmjwh9), 0.2), 9.4px 10.9px 15.7px -1px rgb(var(--zhmjwh9), 0.2),
        14.6px 16.9px 24.3px -1.4px rgb(var(--zhmjwh9), 0.2), 22.1px 25.7px 36.9px -1.7px rgb(var(--zhmjwh9), 0.15),
        32.9px 38.2px 54.8px -2.1px rgb(var(--zhmjwh9), 0.15), 47.7px 55.3px 79.4px -2.4px rgb(var(--zhmjwh9), 0.15),
        67.2px 77.9px 111.9px -2.7px rgb(var(--zhmjwh9), 0.15);
    overflow: hidden;
}

@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    .card {
        background-color: rgba(var(--card-bg-color-alt));
    }
}

.footer-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action {
    color: var(--action-color);
}

.scroll-part {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    max-width: 60rem;
    min-width: 20rem;
    margin: auto 0;
    padding: var(--zhmjwhe);
}
