* {
    font-family: "neue-haas-unica", sans-serif;
    text-align: center;
}

*:not(button) {
    color: white;
    
    text-shadow: 0rem 0rem 5px black;
}

html {
    font-size: clamp(1rem, 1.875vh, 2.5rem);

    scrollbar-color: white black;
}

html, body {
    height: 100%;
}

body {
    box-sizing: border-box;

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

    background: #da291d;

    padding-left: 2rem;
    padding-right: 2rem;

    margin: 0;
}

.gradient {
    position: fixed;

    z-index: -1;

    width: 100%;
    height: 100%;

    background: linear-gradient(#fa3c94, #da291d);
}

.tree {
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 100%;

    max-width: calc(24vw + 240px);
    min-height: 100%;

    padding: 1rem;
    padding-bottom: 0.125rem;

    animation: fadein 1s ease-out;
}

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

.avi {
    margin: auto;

    padding-top: 1rem;
}

.avi img {
    width: 100%;
    height: 100%;

    max-width: calc(16vh + 64px);

    border-radius: 100%;

    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.0625));
}

.name {
    margin-top: 0.125rem;
    margin-bottom: 0;
}

.bio {
    margin: 0rem;
}

.tree-links {
    display: flex;
    flex-direction: column;

    gap: 0.75rem;

    margin-top: 1.5rem;
}

button {
    font-weight: bold;
    font-size: 125%;

    word-wrap: break-word;
    
    width: 90%;

    background-color: whitesmoke;

    padding: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;

    border: none;
    border-radius: 0.5rem;

    box-shadow: 0rem 0rem 5px rgba(0, 0, 0, 0.25);
}

button:hover {
    color: white;
    background-color: rgba(245, 245, 245, 0.5);

    text-shadow: 0rem 0rem 5px rgba(0, 0, 0, 0.5);
}

button:focus {
    color: white;
    background-color: rgba(245, 245, 245, 0.25);

    text-shadow: 0rem 0rem 5px rgba(0, 0, 0, 0.2);
}

.share-button, .share-button:hover, .share-button:focus {
    color: white;
    background-color: black;

    width: inherit;
    
    max-width: 66.666%;

    cursor: pointer;
}

.share-button:hover {
    color: silver;
}

.share-button:focus {
    opacity: 50%;
}

footer {
    padding-top: 2rem;
}

footer p {
    opacity: 80%;

    color: gainsboro;
}

.copyright {
    margin-bottom: 0.125rem;
}

a:hover, a:focus {
    text-decoration: none;
}

.disclaimer {
    opacity: 60%;
    
    padding-bottom: 1.75rem;

    margin: 0;
}

/* Add-on: CSS transforms */

.avi img:hover {
    transform: scale(1.0625);

    transition: transform .2s;
}

.avi img:not(hover) {
    transform: scale(1);

    transition: transform .2s;
}

button:hover {
    transform: scale(1.0625);

    transition: transform .2s;
}

button:not(hover) {
    transform: scale(1);

    transition: transform .2s;
}

/* Add-on: optical corrections on the fly (smaller text) */

html {
    font-size: clamp(0.875rem, 1.875vh, 2.5rem) !important;
}

.avi img {
    max-width: calc(8vh + 48px) !important;
}

.name {

    font-size: 1.5rem !important;
}

button {
    font-size: 112.5% !important;
}

footer {
    font-size: 0.875rem !important;
}

