@import "normal.css";
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100;200;300;400;500;600;700;800;900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --backgroundC:white;
    --darkBackground:#303B5B;
    --textC:#303b5b;
    --textCs:#d8f2f3;
    --purple: #9c6fd8;
    --pink: #eac6f2;
    scroll-behavior: smooth;
}

::selection {
    color: --textC;
    background: var(--textCs);
  }

body{
    background-color:var(--backgroundC);
    color: var(--textC);
    font-size: 1.25rem;
    font-family: 'Raleway', sans-serif;
    margin: auto;
}

.container{
    margin: auto;
    padding-bottom: 2rem;
    width: 80%;
}

h1,h2,h3,h4,h5,h6{
    font-family: "Heebo", sans-serif;
    text-align: center;
}

.back-to-top-link {
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    line-height: 3rem;
    text-align: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--darkBackground);
    /* emoji don't behave like regular fonts
       so this helped position it correctly */
    padding: .5rem .25rem 0 0.25rem;
    color: white;
    position: absolute;
    right: 0;
    bottom: 5%;
  }
.back-to-top-link:hover{
    background-color: #d8f2f3;
    color: var(--textC);
}
.back-to-top-wrapper {
    position: sticky;
    bottom: 5%;

}


p{
    max-width: 75ch;
    margin: auto;
    padding-bottom: 1rem;
    line-height: 1.5;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

figcaption{
    text-align: center;
}

a{
    color: var(--purple);
    text-decoration: none;
}

a:hover{
    color: var(--textCs);
}

ul, li{
    margin: auto;
    max-width: 65ch;
    line-height: 1.5;
}

@media (max-width: 775px){
    pre{
        font-size: 75%;
    }
}

pre{
    background-color: var(--purple);
    color: white;
    padding: 2.5rem;
    border-radius: 25px;
    width: fit-content;
    margin: auto;
}

.ul-hide{
    list-style: none;
    padding: 0;
}


footer{
    text-align: center;
    color: var(--textC);
    margin: auto;
    padding-bottom: 2rem;
}

button{
    background-color: var(--textC);
    border: none;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 25px;
    color: var(--textCs);
}

button:hover{
    background-color: var(--textCs);
    color: var(--textC);
    cursor: pointer;
}

.className h1{
    text-align: left;
    margin-left: 10%;
    margin-bottom: .25rem;
}

.anButton{
    padding: 1rem 2rem;
    margin: 0;
}

.button, .links{
    width: fit-content;
}

.buttonCenter{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 1rem;
}

img, video{
    width: 100%;
    max-width: 50rem;
    display: inline-block;
    text-align: center;
    margin: auto;
    display: block;
    padding-top: .5rem;
    padding-bottom: 1rem;
}

.smallerIMG{
    width: 10rem;
}

.flexItem{
    flex: 1 0 25%;
    margin: 5px;
}
.flexIMG{
    display: flex;
    flex-flow: wrap;
}


.section{
    padding-top: 1rem;
}

.section li{
    padding-top: .5rem;
}

iframe{
    display: block;
    margin: auto;
}

.center{
    margin: auto;
    text-align: center;
}

/* .webgl-img-sec{
} */

.cardboard-img-sec{
    width: 45%;
    margin: auto;
}

/*Hover Image*/

.vrGallery1-L, .vrGallery2-L, .vrGallery1-S, .vrGallery2-S{
    position: relative;
}

.vrGallery1-L .after, .vrGallery2-L .after, .vrGallery1-S .after, .vrGallery2-S .after{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    margin: auto;
}

.vrGallery1-L:hover .after, .vrGallery2-L:hover .after, .vrGallery1-S:hover .after, .vrGallery2-S:hover .after{
    display: block;
}

/* Menu */


.toggleButton{
    position: relative;
    left: 1rem;
}
.menu-sidebar{
    display: flex;
    flex-direction: column;
    width: 25%;
    background: var(--darkBackground);
    height:100%;
    position:fixed!important;
    top: 0;
    justify-content: start;
    color: var(--textCs);
    z-index: 1000;
}

@media (max-width: 1080px) {
    .menu-sidebar{
        width: 40%;
    }
}

.menu-button:hover{
    background: white;
    color: var(--textC);
    cursor: pointer;
}

.menu-bar-item li{
    margin-bottom: .5rem;
    list-style: none;
    position: relative;
    left: -10%;
    margin-left: 20%;
    padding: .5rem;
    color: var(--textCs);
    text-decoration: none;
}
.menuButton_toggle{
    margin: 0 auto;
}

/*WebGL*/
#unity-container{
    width: fit-content;
    margin: auto;
    padding-bottom: 2rem;
}
body { padding: 0; margin: 0 }
/* #unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) } */
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #231F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
/* #unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none } */
#unity-logo { width: 154px; height: 130px; background: url('../img/unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; background: url('../img/progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('../img/progress-bar-full-dark.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('../img/webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('../img/fullscreen-button.png') no-repeat center }
#unity-mobile-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }