div.body {
    position: fixed;
    width: 100%;
    z-index: 2;
    display: block;
    height: 100%;
    overflow-y: auto;
    scroll-behavior: auto;
    text-align: center;
}

canvas {
    /* */
}

div.body > div {
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    position: relative;
}

div.body #content {
    padding-bottom: 128px;
}

div.active-background > span.image-container > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0;
    -o-object-position: center 0;
}

ul {
    display: block;
    margin: 0 1em 1em 1em;
    border-radius: 24px;
}

ul > li {
    padding: 0;
    display: block;
    font-size: 1.2em;
    margin-bottom: 1em;
}

/* Screens smaller than 290px */
@media screen and (max-width: 290px) {
    body,
    ul > li {
        font-size: 5vw;
    }
}

ul > li:last-child { 
    margin-bottom: 0;
}

ul > li > a { 
    display: flex;
    width: 100%;
    padding: 0.75em;
    text-decoration: none;
    border-radius: 8px;
    align-items: center;
    gap: 12px;
}

ul > li > a > span.content { 
    display: inline-block;
    white-space: nowrap;
    width: auto;
}

.main.body {
    
}

.main > .section, .main > section {
    
}

.main > .section > .profile-photo {
    text-align: center;
    padding-top: 2em;
}

.section > .profile-photo:empty {
    display: none;
}

.section > .profile-photo:empty + .info > .profile-headline {
    margin-bottom: 128px;
}

.section > .info {
    text-align: center;
    margin-bottom: 0;
    padding: 1em;
}

.section > .info > h1 { 
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 10vw;
    text-shadow: 1px 1px 8px black;
}

@media screen and (min-width: 600px) {
    .section > .info > h1 {
        font-size: 2em;
    }
}

.qr-body .profile-photo img {
    width: 20vw;
    height: 20vw;
    margin: auto;
    object-fit: cover;

    /*max-width: 256px;*/
    /*max-height: 256px;*/

    border-radius: 50%;
    border-color: #FFFFFF33;
    border-style: solid;
    
    border-width: 6px;
    box-shadow: 0 0 8px 8px #00000044;
}

.profile-info > h1,
.profile-info > h1 + div {
    text-shadow: 0 0 8px var(--background-color, #00000044);
}

#links {
    overflow: auto;
}

.no-links { 
    display: none;
}

ul.links {
    box-shadow: 0 0 10px 10px var(--background-color-faded, #00000044);
    background-color: var(--background-color-faded, #00000044);
    padding: 1px;
    display: block;
    overflow: visible;
    margin-top: 16px;
}

ul.links.social { 
    display: flex;
    gap: 24px;
    justify-content: space-between;
    flex-wrap: wrap;
}

ul.links.social > li > a > svg {
    font-size: 2rem;
}

ul.links.social > li > a > span:last-child { 
    display: none;
}

ul.links li img:first-child {
    height: 1em;
}

ul > li > a > img {
    opacity: 0.5;
}

ul > li > a:hover > img {
    opacity: 1.0;
}

/* Logo */
#qr-blocks-logo {
    text-align: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    width: 100%;
    z-index: 12;
}

#qr-blocks-logo > a {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin: auto;
    opacity: 0.7;
}

#qr-blocks-logo > a:hover { 
    opacity: 1.0;
}

#qr-blocks-logo > a > img {
    max-width: 128px;
    margin: auto;
    filter: drop-shadow(0 0 6px #000000);
    opacity: 0.6;
}

/* Mobile Properties */
@media only screen and (max-width: 600px) {
    ul.links.social > li { 
        margin: 0 !important;
    }
    
    ul.links.social > li > a > svg { 
        font-size: 1rem;
    }
    
    .main > .section > .profile-photo img {
        width: 50vw;
        height: 50vw;
    }

    .qr-body .profile-photo img {
        width: 20vw;
        height: 20vw;
    }    
}
