:where(audio, canvas, iframe, img, svg, video) {
  /*vertical-align: baseline;*/
  display: block;
}
:root {
    --font-clamp: clamp(0.8rem, 2vw, 1rem);
    --text-shadow: 1px 1px 0 #333;
    --box-shadow: 7px 7px 3px #aaa;
}
html {
    box-sizing: border-box;
}
* {
    box-sizing: border-box;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS','Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
    color: indigo;
}
h1, h2, h3, h4, h5, h6 {
    font-family: lithos-pro, sans-serif;
    font-weight: 300;
    color: #ffae00;
    text-shadow: var(--text-shadow); 
}
a {
    text-decoration: none;
    color: indigo;
}
a:hover {
    color: magenta;
}
a:active {
    color: #ffae00;
}
/* end global styles*/

/*start nav*/
nav {
    width: 100%;
    border-bottom: 1px solid magenta;
    box-sizing: border-box;
    padding: 1.5% 1.5% 1% 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background-color: white;
}
#logo-box {
    max-width: 85%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
#logo-box > img {
    width: 300px;
    margin-top: -10px;
    margin-bottom: -20px;
    margin-left: -14px;
    display: flex;
    display: block;
    object-fit: contain;
    align-self: flex-start;
}
nav p {
    margin: 0 0 0 60px;
    display: inline-block;
    font-size: 0.8em;
    font-style: italic;
    letter-spacing: 0.5px;
}
#nav-box {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
#nav-list {
    font-family: lithos-pro;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
nav ul {
    margin: 0;
    padding: 1vh 0 0 0;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    list-style-type: none;
    font-size: 0.8em;
    gap: 8px;
}
nav ul li {
    text-align: right;
}
nav ul li a {
    margin-bottom: 0;
}
/* end nav */

/* start main */
#main {
    width: 100%;
    max-width: none;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #d4c9c7;
}
section {
    width: 100%;
}
#hero {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column; 
    justify-content: flex-start;
    align-items: center;
}
#pp-marquee {
    margin-top: 0;
    width: 100%;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    background-color: indigo;
    color: white;    
}
#pp-marquee a {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 12s linear infinite;
    text-decoration: none;
    color: white;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
.section-title {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 1px solid white;
    text-align: center;
    background-color: magenta;
    text-shadow: var(--text-shadow);   
}
.section-title h1 {
    margin: 0;
    padding: 0.4em 0;
    font-size: 1em;
    font-weight: bold;
    color: white;    
}

/* Mobile-first container */
.two-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1em;
}
#qq {
    width: 100%;
    gap: 0;
}
#store {
    order: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0.5em 1em;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2.5em;
    background-color: white;
}
#merch {
    max-width: 55%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1em;
}
#merch img {
    width: 75%;
    max-width: 20%;
    height: auto;
    object-fit: contain;
}
#store p {
    margin: 0.25em 0 0 0;
    font-family: lithos-pro;
    flex-shrink: 0;
    font-family:lithos-pro;
}
#gc-logo {
    width: 100%;
}
#gc-logo img {
    width: 50%;
}
#qq-box {
    width: 100%;
    order: 2;
    position: relative;
    width: 100%;
    height: 42vh;               
    max-height: 520;
    margin: 0;
    overflow: hidden;
    background: #000;
}
#qq-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

#deep-dive {
    width: 100%;
    padding:9vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:indigo;
}
#engage {
    width: 100%;
    max-width: none;
    height: 100%;
    /*box-sizing: border-box;*/
    margin: 0;
    padding: 7vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #d4c9c7;
}
#engage-bubble {
    width: 85%;
    /*height: 100%;*/
    border-radius: 1em 1em 0 0;
    padding: 1em 2.5em 0.5em 2em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    background-color: white;
}
#bottom-bubble {
    width: 85%;
    margin: 0 0.5em;
    border-radius: 0 0 1em 1em;
    background-color: white;
}
#engage h2 {
    margin: 0.5em 0;
    padding-left: 0.75em;
    align-self: self-start;
    font-size: 1.1em;
}
#engage ul {
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    line-height: 1.3em;
}
#engage li {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    padding-bottom: 0.5em;
    text-align: left;
    list-style: none;
    overflow-wrap: anywhere;
}
#engage li::marker {
    content: ""; /* hide default */
}
#engage li::before {
    content: "";
    position: absolute;
    top: 0.35em; /* Adjust as needed */
    left: -1.5em;
    width: 0.75em;
    height: 0.75em;
    background-image: url("../media/yin-yang-indigo-small.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.tiny {
    font-size: 0.5em;
}
#engage #button { 
    margin:1.5em auto 1em;
    padding: 0 0 1em 0;
    width: 90px;
}
#engage #button a {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 1rem;
    border: 1px solid magenta;
    background-color: indigo;
    color: white;
}
#engage #button a p {
    margin: 0;
    padding: 0.25em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: var(--text-shadow); 
    font-size: 0.85em;
}
#slide-container {
  width: 55%;
  min-height: 0;
  max-height: 75vh;
  margin: 2em 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75em; 
  overflow-y: auto;             
  overflow-x: hidden;
  scrollbar-width: thin;
}
#slide-container a {
    width: 100%;
    border-radius: 2vh 2vw;
    display: block;
    line-height: 0;
    font-size: 0;
}
#slide-container img {
    width: 100%;
    border-radius: 2vh 2vw;
    border: solid 1px white;
    display: block;
}
/* end hero*/

/* start arts */
#arts {
    padding: 6vh 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #d4c9c7;
}
#arts-wrapper {
    width: 85%;
    padding-bottom: 3vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#teach-sci-arts {
    width: 100%;
}
#teach-sci-arts  a {
    max-width: 100%;
    min-width: 300px;
    border-radius: 1em;      
}
#teach-sci-arts img {
    width: 100%;
    height: 100%;    
    box-sizing: border-box; 
    border-radius: 1em;      
    display: block;
}
#image-box, 
#image-box figure,
#image-box figure img,
#image-box figcaption {
    display: none;
}
#school-tools-wrapper {
    width: 67%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#school-tools {
    padding: 3vh 0 6vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#school-tools a {
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 1em;
    padding: 0;
    display: block;
    overflow: hidden;
}
#apps {
    display: none;
}
#school-tools > a > img,
#school-tools > a > video {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    object-fit: contain;
    border-radius: 1em;
    display: block; 
}
.medium-title {
    width: 100%;
    margin: 0;
    padding: 0.1em 0;
    border: 1px solid white;
    text-align: center;
    font-size: 1.1em;
    background-color:orange;
    color: white;
}
.medium-title  > h2 {
    width: 100%;
    margin: 0;
    font-size: 1.1em;
    text-shadow: var(--text-shadow);
}
#song-box {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 0 10vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    background-color: indigo;
    color: white;
}
#inner-song-box {
    width: 65%;
    margin: 6vh 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 3em;
}
.song-title {
    width: 100%;
    text-align: center;
    color: orange;
    margin-top: 2.5%;
    margin-bottom: 4%;
}
.song {
    width: 55%;
    max-width: 280px;
    padding: 0;
    text-align: left;
}
.song-tag {
    font-style: italic;
    color: magenta;
}
.song-title > a > h3 {
    text-align: center;
    margin: 0;
    padding: 0;
}
.bold-song-title {
    font-weight: bold;
}
.song span {
    display: block; 
    /*text-indent: -1em;  
    padding-left: 1em;  */
}
/* end arts */

/*start about*/
#about {
    width: 100%;
    max-width: none;
    padding-bottom: 6.5vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    background-color: #d4c9c7;
}
#bio {
    width: 85%;
    max-width: 600px;
    margin: 4em 6em;
    border-radius: 1rem;
    padding: 1.5em 1em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2em;
    background-color: white;
}
#avatar-box {
    /*width: 100%;*/
    width: 25%;
    max-width: 100px;  
    min-width: 90px;
    flex: 0 0 20%;        
}
#avatar {
    display: block;        
    width: 100%;             
    height: auto;
    max-width: 100%;    
    aspect-ratio: 1/1;      
    border-radius: 50%;
    object-fit: cover;      
}
#info {
     min-width: 0;
     padding-right: 1em;
 }
 #info p {
    padding-top: 0;
    margin-top: 0;
 }

#soc-link {
    width: 100%;
    max-width: none;
    margin-bottom: 6vh;
    padding: 0.15em 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25em; 
    background-color: white;
}
.social a img {
    width: 25px;
    height: 25px;
    margin: 10px;
}
/* end about*/
/* end main */

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    min-height: 3vh;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: white;
    border-top: 1px solid magenta;
}
#contact {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 1px solid orange;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#contact h1 {
    padding: 0.5em 0 0.5em 0;
    margin: 0;
    font-size: 1em;
}
p.email {
    margin: 0;
    padding: 0.5em 0 1em 0;
    text-align: center;
    font-size: var(--font-clamp);
    font-size: 0.7rem;
    text-transform: uppercase;    
    letter-spacing: 3px;
}
#mc-embedded-subscribe {
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    nav p {
        font-size: 1em;
    }
    nav ul {
        font-size: 0.9em;
    }
    #logo-box > img {
        margin-top: -10px;
        margin-bottom: -20px;
        margin-left: -7px;
    }
    #logo-box p {
        margin-left: 75px;
    }
    .two-panel {
        flex-direction: row;
        padding: 4vh 1em;
        background-color: #d4c9c7;
        gap: 1em;
        align-items: stretch;
    }
    .two-panel#qq,
    .two-panel #qq,
    #qq {
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: row !important;
        justify-content: center;
        align-items: stretch;
        gap: 1em;
        background-color: #d4c9c7;
    }
    #qq-box {
        order: 1;
        min-height: 500px;
        height: auto;
        border-radius: 1em;
        flex: 1 1 auto;      
        /*overflow: hidden;*/
        display: flex;              
    }
    #qq-box iframe {
        width: 100% !important;
        height: 100% !important;
        border: none;
        flex: 1;                        /* Makes iframe fill container */
        display: block;
    }
    #store {
        order: 2;
        flex: 0 0 15%;
        max-width: 200px;
        height: auto;
        margin: 0;
        border-radius: 1em;
        padding: 1em;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-self: stretch;
        gap: 1em;
        background-color: white;
    }
    #gc-logo {
        width: 100%;
        text-align: center;
    }
    #gc-logo img {
        width: 100%;
    }
    #gc-logo p {
        padding: 0.5em 0;
    }
    #merch {
        width: 100%;
        max-width: 100%;
        height: 100%;
        padding: 1em 0;
        gap: 0.25em;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }
    #merch img {
        width: 100%;
        height: auto;
        max-width: 100%
    }

    #deep-dive {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 1.5em;
    }
    #engage {
        width: 22%;
        height: auto;
        max-height: 75vh;
        border-radius: 1em;
        padding: 1em 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    #engage-bubble {
        width: 85%;
        height: 100%;
        border-radius: 1em 1em 0 0;
        padding: 1.5em 1em 0 0.25em;
        overflow: hidden;
        font-size: 0.85em;
    }
    #bottom-bubble {
        width: 85%;
        margin: 0 0.5em;
        border-radius: 0 0 1em 1em;
        background-color: white;
    }
    #engage-bubble {
        font-size: 1em;
    }
    #engage h2 {
        margin: 0;
        padding-left: 0.25em;
        align-self: self-start;
        font-size: 1.1em;
    }
    #engage ul {
        margin-left: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        padding-left: 1em;
    }
    #engage li {
        position: relative;
        box-sizing: border-box;
        margin: 0;
        padding-left: 1em; 
        text-align: left;
        list-style: none;    
        overflow-wrap: anywhere;
    }
    #engage li::marker {
        content: ""; /* hide default */
    }
    #engage li::before {
        content: "";
        position: absolute;
        top: 0.35em; 
        left: -0.6em;
        width: 0.75em;
        height: 0.75em;
        background-image: url("../media/yin-yang-indigo-small.png");
        background-size: contain;
        background-repeat: no-repeat;
    }
    .tiny {
        font-size: 0.5em;
    }
    #slide-container {
        width: 50%;
        margin-top: 0;
        margin-bottom: 0;
        justify-content: flex-start;
    }

    .arts {
        width: 100%;
    }
    #arts-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
    #teach-sci-arts {
        max-width: 65%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #teach-sci-arts a,
    #teach-sci-arts img{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #image-box {
        max-width: 12%;
        box-sizing: border-box;
        border-radius: 1em;  
        padding: 0.75em 0.5em;
        display: flex;
        flex-direction: column;
        justify-content: space-between;  
        align-items: center;
        gap: 1em;
        overflow: hidden;
        background-color: white;
    }
    #image-box figure {
        width: 100%;
        max-width: 240px;
        margin: 0;
        box-sizing: border-box;
        border-radius: 10px;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        overflow: hidden;
        background-color: #d4c9c7;
    }
    #image-box figure img {
        width: 100%;  
        height: auto;
        max-height: 120px;
        margin: 0;
        box-sizing: border-box;
        border-radius: 10px 10px 0 0;
        padding: 0;
        display: block;
        object-fit: contain;
    }
    #image-box figcaption {
        width: 100%;
        box-sizing: border-box;
        padding: 0.6em 0.4em;
        margin-top: auto;
        display: block;
        background-color: indigo;
        color: white;
        line-height: 1.2em;
        font-size: 0.7em;
        font-style: italic;
        text-align: center;
    }

    #school-tools-wrapper {
        width: 67%;
        height: auto;
        margin: 0 0 10vh 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 0.5em;
        overflow: hidden;
    }
    #apps {
        flex: 0 1 117px;
        min-width: 0;
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-self: stretch;
        /*align-items: center;*/
        gap: 0.5em;   
    }
    #apps img {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        max-height: none;  
        border-radius: 0.75em;
        display: block;
        object-fit: contain; 
    }
    #school-tools {
        flex: 2 1 auto;
        height: auto;
        padding: 0;
        margin: 0;
        align-self: stretch;
    }
    #school-tools a {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 1em;  
        overflow: hidden;
    }
    #school-tools img,
    #school-tools video {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0;
        padding: 0;
        display: block;
        border-radius: 1em;  
        object-fit: contain !important;     
    }

    .medium-title {
        width: 100%
    }
    .medium-title h2 {
        width: 100%;
    }
    #song-box {
        width: 100%;
        padding: 0;
        /*padding: 3vh clamp(30px, 5vw, 50px);*/
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        /*gap: clamp(20px, 5vw, 40px);*/
    }
    .song-title {
        width: 100%;
        text-align: center;
        color: orange;
        margin-top: 2.5%;
        margin-bottom: 4%;
    }
    #inner-song-box {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
    #song {
        /*max-width: 350px;*/
        margin: 0;
        padding: 0;
    }
    #song-body {
        margin: 0;
        padding: 0;
    }
}
