body{
    --bg-color: white;
    --bg-inverted-color: black;
    --tx-color: black;
    --tx-hover-color: white;
    --tx-inverted-color: white;
    }
.no-scroll{
    overflow-y: hidden;
}
body.darkmode{
    --bg-color: black;
    --bg-inverted-color: white;
    --tx-color: white;
    --tx-hover-color: #AAAAAA;
    --tx-inverted-color: black;
}
@media (prefers-color-scheme: dark) {
    body{
        --bg-color: black;
        --bg-inverted-color: white;
        --tx-color: white;
        --tx-hover-color: #AAAAAA;
        --tx-inverted-color: black;
    }
    body.lightmode{
        --bg-color: white;
        --bg-inverted-color: black;
        --tx-color: black;
        --tx-hover-color: white;
        --tx-inverted-color: white;
    }
}


html{
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE */
}
html::-webkit-scrollbar{
    display:none;
}
body{
    overflow-y: scroll;
    overscroll-behavior-y: none;
    overflow-x: hidden;
    background-color: white;
    background-color: var(--bg-color);
    color: black;
    color: var(--tx-color);
    padding: 0;
    margin: 0;
    font-size: 6em;
    hyphens: auto;
    text-align: justify;
    font-family: helveticaNowDisplay;
    font-weight: 500; /*medium*/
    line-height: 1.1;
}/**
video::-internal-media-controls-overlay-cast-button {
    display: none;
}**/
a{
    text-decoration: inherit;
    color: inherit;
    background-color: transparent;
}
.marquee {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}
.marquee p {
    margin: 0;
    display: block;
    padding-left: 100%;
    line-height: 1;
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    0%   { transform: translate(-100%, 0); }
    100% { transform: translate(-200%, 0); }
}
.marquee.inverted p {
    animation: marquee-inverted 20s linear infinite;
}
@keyframes marquee-inverted {
    0%   { transform: translate(-200%, 0); }
    100% { transform: translate(-100%, 0); }
}
.text-container{
    font-size: 0.333em;
    width: 100%;
    height: auto;
    display: flex;
}
.text-sub-div{
    width: auto;
    padding-left: 2.5em;
    padding-right: 0;
    hyphens: auto;
    text-align: left;
}
.text-sub-div.rightmost{
    padding-right: 2.5em;
}
.chapter{
    text-align: center;
    width: 100%;
    font-size: 0.333em;
}
.title{
    text-align: center;
    width: 100%;
    font-size: 1em;
}
.img-sub-div{
    width: calc(100vw - 5em);
    padding-left: 2.5em;
    padding-right: 0;
    hyphens: auto;
    text-align: left;
}
.img-sub-div.rightmost{
    padding-right: 2.5em;
}
.img-sub-div.quarter{
    width: calc(25vw - 3.125em);
    height: auto;
}
.centered-text{
    box-sizing: border-box;
    padding-left: 2.5em;
    padding-right: 2.5em;
    font-size: 0.333em;
    width: 100%;
    height: auto;
    text-align: center;
}
.left-text{
    box-sizing: border-box;
    padding-left: 4.16em;
    padding-right: 4.16em;
    font-size: 0.2em;
	font-weight: 400;
    width: 100%;
    height: auto;
    text-align: left;
}
.image-grid{
    font-size: 0.333em;
    display: flex;
    flex-wrap: wrap;
    padding-left: 2.5em;
    padding-right: 2.5em;
    height: auto;
    width: calc(100vw - 5em);
    justify-content: space-between;
}
.img-card{
    width: calc(25vw - 3.125em);
    min-width: calc(25vw - 3.125em);
    padding-right: 2.5em;
    margin: 0;
    padding-bottom: 2.5em;
    object-fit: cover;
}
.img-card.rightmost{
    padding-right: 0;
}
.bottom-bar{
    font-size: 0.333em;
    display: flex;
    flex-wrap: wrap;
    padding-left: 2.5em;
    padding-right: 2.5em;
    height: auto;
    justify-content: space-between;
}
.video-youtube{
    font-size: 0.333em;
    padding-left: 2.5em;
    padding-right: 2.5em;
    width: calc(100vw - 5em);
    height: calc(calc(100vw - 5em)*0.5625);
}
.youtube{
    position: relative;
}
iframe{
    border: 0;
}


.thumb-img{
    width: 100%;
    height: auto;
}
.youtube .yt-preference-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #555;
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

@media(max-width: 60em){
    body{
        font-size: 11vw;
    }
    .text-container{
        flex-direction: column;
    }
    .text-sub-div{
        padding-left: 2.5em;
        padding-right: 2.5em;
        padding-bottom: 1em;
        text-align: center;
    }
    .text-sub-div.rightmost{
        padding-bottom: 0;
    }
    .bottom-bar{
        justify-content: space-around;
    }
    .img-card{
        width: calc(25vw - 1.5em);
        min-width: calc(25vw - 1.5em);
        padding-right: 0.333em;
        padding-bottom: 0.333em;
    }
}