* {
    text-align: center;
}

ul * {
    text-align: left;
}

html, p {
    margin: 0;
    font-family: realist;
    font-size: 14pt;
}

body {
    margin: 0px auto;
}

body.no-scroll {
    overflow-y: hidden;
}

li#banner {
    text-align: left; 
    padding: 20px 10px 20px 0px; 
    border-bottom: 1px solid #ccc;
}

li#banner span:first-child {
    background-color: #333344; 
    color: white;
    font-weight: 600;
    border-radius: 10px;
    padding: 3px 10px 3px 10px;
}

li#banner span:last-child {
    font-size: 9pt; 
    float: right; 
    padding-top: 5pt
}

.section li:last-child {
    padding-bottom: 70px;
    border-bottom: 1px solid #ccc;

}

@keyframes fill-screen {
    from {
        top: -50vh;
        bottom: 0vh;
        opacity: 0;
    }
    to {
        top: 0px;
        bottom: 0px;
        opacity: 1;
    }
}

#trace-overlay {
    display: none;
    background-color: #f8faff;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    position: fixed;
    padding: 0;
    margin: 0;
    z-index: 1000;
    overflow-y: auto;
}

    #trace-overlay .xml h2 {
        margin: 10px 0;
    }

    #trace-overlay .switch {
        border-radius: 12px;
        border: 1px solid #ccc;
        border-bottom: 1.5px solid #bbb;
        margin-right: 50px;
        padding: 15px;
        font-size: 11pt;
        text-wrap: wrap;
    }

    #trace-overlay .switch a, #trace-overlay .switch a:visited {
        color: #0d6efd;
        border: 1px solid #fff0;
        border-radius: 6px;
        display: inline-block;
        font-family: realistwide;
        margin-right: 4px;
        padding: 6px 15px;
    }

    #trace-overlay .switch a:hover, #trace-overlay .switch a:active {
        border: 1px solid #0d6efd;
        text-decoration: none;
    }

    #trace-overlay .switch span {
        background-color: #0d6efd;
        border-radius: 6px;
        color: #fff;
        display: inline-block;
        font-family: realistwide;
        margin-right: 4px;
        padding: 6px 15px;
    }

    #trace-overlay .xml {
        padding: 10px 20px;
        display: none;
    }

    #trace-overlay.shown {
        display: block;
        animation: fill-screen 0.5s ease-out forwards;
        visibility: visible;
    }

    #trace-overlay.hidden {
        display: block;
        animation: fadeOut ease-in-out 1s;
        animation-fill-mode: forwards;
    }

    #trace-overlay * {
        text-align: left;
    }

    #trace-overlay .close {
        position: fixed;
        top: 14px;
        right: 0px;
        padding: 0px 10px;
    }

    #trace-overlay .download {
        position: fixed;
        top: 70px;
        right: 9px;
        padding: 0px 10px;
        opacity: 0.3;
    }

    #trace-overlay .xml-block {
        font-size: 13px;
        font-family: "dico-code-two", monospace;
        line-height: 1.5em;
        overflow-x: auto;
    }

    #trace-overlay .xml-block span.tag>span {
        padding-left: 10px;
    }

    #trace-overlay .xml-block span.tag>span.tag-name {
        padding-left: 0px;
        color: #116329;
    }

    #trace-overlay .xml-block div.line {
        display: block;
        
    }

    #trace-overlay .xml-block div.indent {
        margin-left: 20px;
    }
    
    #trace-overlay .xml-block div.text div {
        display: inline;
    }

    #trace-overlay .xml-block .tag {
        color: rgb(136,18,128);
    }

    #trace-overlay .xml .attribute-name {
        color: rgb(153,69,0);
    }

    #trace-overlay .xml .attribute-value {
        color: rgb(26,26,166);
    }

    #trace-overlay .xml h3 {
        font-family: realistwide;
        font-size: 16pt;
        margin-bottom: 0px;
        display: none;
    }

    #trace-overlay .xml .intro {
        font-family: realist;
        font-family: freight-sans-pro, sans-serif;
        font-size: 14pt;
        margin-bottom: 20px;
    }

    #trace-overlay .xml .intro::after {
        content: " ...";
    }

#resume-overlay {
    display: none;
    position: fixed;
    background-color: #ccc;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    /* transform: rotate(-60deg); */
}

    @keyframes fadeOut {
        0% {
            opacity: 1;
            transform: scale(1.0,1.0);
            background-color: #ccc;
        }

        100% {
            opacity: 0;
            transform: scale(0,0) rotate3d(0, 1, 1, -180deg);
            background-color: #fff;
        }
    }

    #resume-overlay.shown {
        display: block;
        animation: fill-screen 0.5s ease-out forwards;
        visibility: visible;
    }

    #resume-overlay.hidden {
        display: block;
        animation: fadeOut ease-in-out 1s;
        animation-fill-mode: forwards;
    }

    #resume-overlay img {
        max-width: 1000px;
        margin: 0 auto;
    }

    #resume-overlay .close {
        position: fixed;
        top: 14px;
        right: 0px;
        padding: 0px 10px;
    }

    #resume-overlay .download {
        position: fixed;
        top: 14px;
        left: 0px;
        padding: 0px 10px;
        opacity: 0.3;
    }

    #resume-overlay .close:hover, #resume-overlay .download:hover, #trace-overlay .close:hover, #trace-overlay .download:hover {
        opacity: 1.0;
    }

#resume-pages {
    position: relative;
}

.container-s {
    margin: 0px auto;
    width: 400px;
}

p.screenshots {
    display: flex; 
    margin-top: 30px !important;
    gap: 40px; 
}

p.screenshots img {
    width: 45%;
    opacity: 0;
    animation: ease-in 2s forwards fadeIn;
}

p.screenshots img.s1 {
    animation-delay: 300ms;
}

p.screenshots img.s2 {
    animation-delay: 1000ms;
}

img {
    box-shadow: 0px 30px 40px #ccc;
    position: relative;
    z-index: -1;
}

img.no-shadow {
    box-shadow: none
}

a.app-icon {
    float: left;
    margin-right: 20px; 
}

img.app-icon {
    width: 75px; 
    border-radius: 10px;
}

h1 {
    font-family: realistwide;
    font-weight: 600;
    font-size: 1.5em;
    color: #334;
    font-style: normal;
}

h1 span {
    background-color: #333344;
    color: #fff;
    padding: 5px 30px 10px 30px;
    border-radius: 20px;
}

h2 {
    margin-top: 60px;
    font-family: realistwide;
    font-size: 1.2em;
    font-weight: 300;
}

p.footer {
    opacity: 0;
    animation: ease-in 2s forwards fadeIn;
    animation-delay: 2300ms;
}

div.gallery {
    opacity: 0;
    animation: ease-in 1.5s forwards fadeIn;
    animation-delay: 2100ms;
    width: 400px;
}

ul.gallery {
    display: inline-flex;
    padding: 0px;
    flex-wrap: wrap;
    list-style-type: none;
    text-align: left;
    justify-content: space-evenly;
    justify-items: start;
}

    ul.gallery li {
        width: 30%;
        margin: 20px;
        display: inline-block;
        min-width: 360px;
        text-align: left;
        font-family: realist;
        opacity: 0;
        animation: ease-in 1.5s forwards fadeIn;
    }

    ul.gallery li a {
        padding: 5px 0;
        display: block;
    }
    ul.gallery iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

.light {
    font-family: realist;
    font-weight: 300;
    font-style: normal;
}

.medium {
    font-family: realist;
    font-weight: 500;
    font-style: normal;
}

.xlight {
    font-family: freight-sans-pro-lights, sans-serif;
    font-weight: 300;
    font-style: normal;
}

#bio {
    color: #667;
}

#bio * {
	margin: 0px;
	padding: 5px 0px;
}

.linkset {
    font-family: realist, sans-serif;
    font-weight: 200;
    font-size: 11pt;
    color: #999;
    line-height: 1em;
    height: 30px;
    overflow-y:hidden;
}

.linkset a, .linkset a:visited {
	font-family: realistwide, sans-serif;
    font-weight: 400;
    color: #369;
    cursor: pointer;
}

a:link, a:visited {
    text-decoration: none;
    font-weight: 400;
    color: #369;
}

a:hover, a:active {
    text-decoration: underline;
    font-weight: 400;
    color: #369;
}

blockquote {
	font-family: realist, sans-serif;
	font-weight: 200;
	font-style: italic;
	font-size: 11pt;
	margin: 0px 10px;
	background-color: #f0f4f8;
	padding: 10px 20px;
	display: inline-block;
	line-height: 1.5;
	box-shadow: 0 2px 3px #ddd;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

blockquote p {
    font-family: realist, sans-serif;
    opacity: 0;
    animation: ease-in 1.5s forwards fadeIn;
}

ul.faq {
    padding: 0px;
    list-style-type: none;
    font-family: realist;
    text-align: left;
    margin: 0px auto;
    width: 380px;
}

    ul.faq li {
        text-align: left;
        width: 380px;
        opacity: 0;
        animation: ease-in 2s forwards fadeIn;
    }

    ul.faq.no-fade li {
        opacity: 1;
        animation: none;
    }

    ul.faq li.right {
        margin-left: 0;
    }

    ul.faq li h4 {
        padding: 0px;
        margin: 30pt 0px 0px 0px;
    }

    ul.faq li p {
        line-height: 20pt;
        font-weight: 300;
        font-size: 90%;
        padding: 0px;
        margin: 0px 0px 10pt 0px;
        text-align: justify;
    }

    ul.faq li b {
        font-weight: 400;
    }

.close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
}

.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}
#player {
    display: none;
}

.pg404 h1 span {
    background-color: #803040;
}

.pg404 a, .pg404 a:visited {
    color: #803040;
    border: 1px solid #803040;
    padding: 3px 15px;
    border-radius: 10px;
}

.pg404 a:hover {
    color: #fff;
    background-color: #803040;
    text-decoration: none;
}

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

@media (min-width: 700px) {
    html {
        font-size: 14pt;
    }

    h1 {
        font-size: 2em;
    }
        
    h2 {
        font-size: 1.5em;
    }

    #trace-overlay .xml-block {
        font-size: 13px;
    }

    #trace-overlay .xml-block * {
        font-size: 13px;
    }

    blockquote {
        width: 680px;
        margin: 0px auto;
    }

    div.gallery {
        width: 100%;
    }

    ul.faq {
        width: 700px;
    }

    ul.faq li {
        width: 650px;
    }

    ul.faq li.right {
        margin-left: 50px;
    }

    .linkset {
        font-size: 12pt;
    }
}

.spinnable {
    display: inline-block;
}

.spinnable.spin {
    animation: rotation 2s infinite linear;
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }
