:root {
    font-family: "Instrument Sans", sans-serif;
    --try-color: #DFF8FF;
    --link-color: #0761e8;
    --link-hover-color: #6EA8FF;
    --nav-width: 15rem;
}
p, li {
    font-size: 1.2rem;
}
p {
    margin-top: 1.3rem;
    margin-bottom: 1.3rem;
}
li {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}
.footnote {
    position: relative;
}
.footnote > span {
    display: none;
}
.footnote:hover > span {
    font-size: 1.2rem;
    font-style: normal;
    background-color: var(--try-color);
    border-radius: 0.7rem;
    display: block;
    position: absolute;
    margin-left: 2rem;
    padding: 0.5rem;
}
math {
    font-size: 1.3rem;
    /* color: #FF62CD; */
}
p.indented > math {
    font-size: 1.8rem;
}
div.blocks-video {
    margin: 0 auto;
    text-align: center;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}
div.blocks-gallery-wrapper {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 5rem;
}
div.blocks-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    width: 100%;
    gap: 2rem;
}
div.scrollmask {
    position: absolute;
    background-image: linear-gradient(to right, transparent, white);
    right: 0;
    width: 5rem;
    top: 0;
    bottom: 0;
}
div.scrollend {
    min-width: 3rem;
    height: 100%;
}
div.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}
div.blocks-img {
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 2rem;
}
blockquote {
    font-size: 1.4rem;
    font-style: italic;
}
h1 {
    margin-top: 1rem;
}
h3 {
    font-size: 1.5rem;
}
h2 {
    font-size:1.5rem;
    margin: 0;
}
html {
    padding: 0;
    margin: 0;
}
body {
    margin: 0;
    padding: 0;
}
nav {
    position: fixed;
    box-sizing: border-box;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    width: var(--nav-width);
    max-width: var(--nav-width);
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    height: 100dvh;
    flex-direction: column;
    background-color: var(--try-color);
    font-size: 1.5rem;
    transition: ease-out 0.5s max-width;
}
nav.closed {
    max-width: 0;
    transition: ease-out 0.5s max-width;
}
nav a {
    margin: 1rem 1rem;
}
#menu {
    display: block;
    position: fixed;
    top: 1rem;
    left: calc(var(--nav-width) + 1rem);
    height: 2rem;
    width: 2rem;
    mask: url(img/menu.svg);
    background-color: var(--link-hover-color);
    /* background-color: black; */
    transition: ease-out 0.5s left;
}
#menu:hover {
    background-color: var(--link-color);
}
#menu.closed {
    left: 1rem;
    transition: ease-out 0.5s left;
}
h1 {
    font-size: 3rem;
    text-align: center;
}
a {
    color: var(--link-color);
    text-decoration: none;
}
a:hover {
    color: var(--link-hover-color);
    cursor: pointer;
}
main {
    border-radius: 1.5rem;
    background-color: white;
    position: relative;
    height: fit-content;
    max-width: 40rem;
    min-width: 20rem;
    padding: 1rem 0;
    margin: 1rem auto;
    padding-left: var(--nav-width);
    transition: ease-out 0.5s padding-left;
}
main.closed {
    padding-left: 0;
    transition: ease-out 0.5s padding-left;
}
h2 {
    font-size: 2rem;
    text-align: center;
}
.mainQuestion {
    text-align: center;
    font-style: italic;
}
section {
    display: block;
    padding: 1rem;
    position: relative;
}
.centered { text-align: center; }
.highlight { background-color: lightgreen;}
.indented { margin-inline-start: 40px; } /* Copy blockquote's indentation */
img.row2 { height: 8rem; width:auto; }
img.row3 { height: 12rem; width:auto; }
img.row4 { height: 16rem; width:auto; }
table {
    text-align: center;
    border-collapse: collapse;
}
table, th, td {
    border: 1px solid;
    padding: 0.2rem 1rem;
}
div.matches {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
div.try-it-out {
    position: relative;
    display: block;
    background-color: var(--try-color);
    border-radius: 1rem;
    width: 90%;
    box-sizing: border-box;
    margin-top: 3rem;
    margin-bottom: 2rem;
    margin-left: 5%;
    padding: 0.2rem 1rem 1rem 1rem;
    max-height: 2.3rem;
    overflow-y: hidden;
    transition: max-height 1s, width 1s, margin-left 1s;
}
.try-it-out h3 {
    font-size: 1.5rem;
    margin: 0;
    vertical-align: middle;
}
div.try-it-out.expand {
    max-height: 150dvh;
    width: calc(min(90dvw, 150%));
    margin-left: calc(max(50% - 45dvw, -25%));
    transition: max-height 1s, width 1s, margin-left 1s;
}
iframe {
    width: 100%;
    margin: 0 auto;
    min-height: 20rem;
    border-width: 0;
}
iframe.eq1 {
    height: 50dvh;
}
iframe.eq2 {
    height: 95dvh;
}
#groupPicture {
    width: 90%;
    margin-left: 5%;
    height: 27rem;
    object-fit: cover;
    object-position: 20% 20%;
    transform: scaleX(-1);
}
.socials {
    display: flex;
    flex-direction: row;
    margin-left: 12%;
    gap: 12%;
}
.social {
    display: inline-flex;
    flex-direction: row;
    gap: 0.5rem;
    margin: 0 0.5rem;
    justify-items: end;
    align-items: center;
}
.social a {
    height: 1em;
    width: 1em;
    flex-grow: 0;
    flex-shrink: 0;
}
.social a > img {
    height: 100%;
}
.inline-social > p {
    display: inline;
}
.inline-social > h3 {
    display: inline;
    margin-right: 0.2rem;
}
.inline-social > h3 > div {
    margin-right: 0.2rem;
}
#logo {
    width: 80%;
    margin-left: 10%;
    margin-bottom: 2rem;
    font-size: 26px;
}
.index-link {
    background-color: var(--try-color);
    border-radius: 1rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    margin-left: 20%;
    width: 60%;
    height: 2.3rem;
    text-align: center;
    overflow: hidden;
}
.index-link > h3 {
    margin-top: 0.2rem;
}
.popup {
    height: 1rem;
}
.mobile-warning {
    text-align: center;
    color: var(--link-hover-color);
    margin-top: 0.5rem;
    margin-bottom: 0;
}
