@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;800&display=swap');

html {
    --box-color: black;
    --color1: #6a65ee;
    --color2: #654a99;
    --color3: #F0F3F6;
    --color4: #DAD8F6;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Nunito", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    -moz-osx-font-smoothing : grayscale;
}

header {
    background: var( --color1 );
}

div.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1ex;
}

header > div.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    padding: 1ex;
}
div.title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    gap: 0 2em;
    position: relative;
}
img {
    max-width: 100%;
}
img.logo {
    position: relative;
    top: 5px;
    max-width: 20vw;
}
div.title h1 {
    margin: 0;
    padding: 0;
    font-size: calc( min( 300%, 7vw ));
    font-weight: 800;
    color: #fff;
}
div.title h1 span + span {
    font-weight: 400;
}
div.title h1 span + span + span {
    font-size: 10px;
    font-weight: 300;
    line-height: 10px;
}
div.summary > p {
    text-align: right;
    margin: 0.2ex 0;
    font-weight: 700;
    color: #fff;
}

nav.sections {
    text-align: center;
    margin-bottom: 3em;
}
nav.sections ul li {
    font-style: italics;
    display: inline;
    margin: 0 0 0 2ex;
    padding: 0;
    list-style: none;
}

main {
    min-height: 60vh;
    margin-top: 2em;
}

p {
    margin: 1em 0;
}
a {
    color: inherit;
}
blockquote {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 5px solid #a0a0a0;
}
table {
    border-collapse: collapse;
}

ul {
    margin: 0;
}

dl {
    margin: 0;
}
dt {
    font-weight: 700;
    margin-top: 1em;
}
dd {
    margin: 0 0 1ex 2em;
}
pre,
code {
    font-family: Menlo, "Courier New";
    font-variant-ligatures: none;
    white-space: pre-wrap;
    font-size: 14px;
}

h1 {
    text-align: center;
}
h1 > a {
    text-decoration: none;
}

p.source {
    display: none;
}

footer {
    margin-top: 5em;
    padding: 1ex 0;
}
footer > div.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}
footer > div.container > div:nth-child(1) {
    display: flex;
    color: #808080;
    justify-content: flex-start;
    gap: 1em;
}

footer p {
    font-size: 70%;
    margin: 0;
    padding: 0;
}
footer ul {
}
footer li {
    display: inline;
    font-size: 70%;
    margin: 0 1em;
    padding: 0;
    list-style: none;
}

footer img {
    float: left;
}

div.follow-head {
    float: right;
    font-size: 70%;
    font-weight: 700;
}
div.register,
div.preregister {
    padding: 1ex;
    text-align: center;
    margin: 0 auto;
    width: 180px;
    color: #fff;
    background: var( --color2 );
    border-radius: 5px;
}
div.register {
    text-transform: uppercase;
    font-weight: 700;
}
div.box {
    border: 1px solid;
    border-color: var( --box-color );
    border-radius: 5px;
    padding: 1em;
    margin: 3px 0;
}

div.sessionwhen {
    font-weight: 700;
}
div.note {
    margin: 2em 0;
    padding: 1ex:
}
div.note > .admonition-title {
    font-weight: 700;
}
div.note > p {
    margin: 0;
    padding: 0;
}

@media (max-width: 600px) {
    header > div.container {
        display: block;
    }
    div.title {
        max-width: 100%;
        justify-content: center;
    }
    div.summary > p {
        text-align: center;
    }
    nav.sections ul li {
        margin: 0 1ex;
    }
}

div.scroll-container {
    overflow: hidden;
    margin: 2ex 0 2em 0;
    background: linear-gradient( 90deg, rgba(0,0,128,0.02), rgba(0,0,128,0.05));
}
div.scroll {
    width: fit-content;
    transform: translateX( 70vw );
    animation: scroll 18s linear infinite;
}
div.scroll ul {
    display: inline-block;
    margin: 1ex 0;
    padding: 0;
    width: max-content;
}
div.scroll ul li {
    display: inline;
    margin: 0;
    padding: 0;
}
div.scroll ul li + li:before {
    content: "\22EF ";
    margin: 0 1ex;
}
.center {
    text-align: center;
}

table {
    width: 100%;
}
table.schedule th,
table.schedule td {
    vertical-align: top;
    padding: 1ex 1.5ex;
    border: 1px solid #a0a0a0;
}
table.schedule th:first-child:not([colspan]) {
    width: 160px;
}
table.schedule td.session ul {
    margin: 0;
    padding: 0;
}
table.schedule td.session li {
    list-style: none;
    margin: 0;
    padding: 0;
}
table.schedule td.session li ~ li {
    margin-top: 1ex;
}
table.schedule td.session p {
    margin: 0;
    padding: 0;
}
table.schedule td.session a {
    font-weight: 700;
}

div.demo > iframe.ptdemo {
    float: right;
    margin: 5px 0 2em 2em;
    width: 280px;
    height: 150px;
}
div.demo,
div.demo + h3 {
    clear: both;
}
div.demo p {
    margin: 0 0 1ex 0;
}

div.events {
    display: grid;
    grid-template-columns: 300px auto;
    margin: 3em 0;
    row-gap: 3em;
}
div.events h3 {
    margin: 0;
}
div.events p {
    margin: 0;
}
div.events + p + h1 {
    margin-top: 2em;
}

.title {
    font-weight: 700;
}

div.warning {
    margin-top: 1em;
    text-align: center;
}
.warning {
    font-weight: 700;
    color: #c04040;
}

@keyframes scroll {
    0% {
        transform: translateX( 70vw );
    }
    100% {
        transform: translateX( calc( 70vw - 100% ));
    }
}

@media (min-width: 980px) {
    div.scroll {
        transform: translateX( 700px );
    }

    @keyframes scroll {
        0% {
            transform: translateX( 700px );
    }
    100% {
        transform: translateX( calc( 700px - 100% ));
    }
}
