/* start scene rules */

@font-face {
    font-family: MontserratExtraBold;
    src: url("../css/fonts/Montserrat-ExtraBold.woff2") format("woff2");
}

@font-face {
    font-family: MontserratRegular;
    src: url("../css/fonts/Montserrat-Regular.woff2") format("woff2");
}

*,
*::before,
*::after {
    font-family: MontserratExtraBold;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

:root {
    --navMargins: 5px;
    --navPadding: 30px;
    --textColor: #3268b6;
    --perspective: 800px;
    --glow-color: hsl(186 100% 69%);
	--contentHeaderHeight: 25px;
	--contentBorder: 1px solid white;
}

body {
    overflow: hidden;     
}

.element_hidden {
   display: none;
}

#interfaceBlocker {
    display: none;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background: black;
    color:white;
    position: fixed;
    z-index: 9999999;
	opacity: 0;
}

.container {
    font-family: 'Open Sans', sans-serif;
    background-color: #000;
    color: #fff;
    height: 100vh;
    height: 100svh;    
    width: 100vw;
    display: grid;
    place-items: center; 
}

.contentContainer {
    position: relative;
    background-color: black;
    height: 500px;
    width: 100%;
    overflow: clip;
    display: flex;
    align-items: center;
    justify-content:center;
}


/* start transitions styling */
.transitionContainer {
    position: absolute;
    width: 100%;
	height: 100vh;
    height: 100svh;
    overflow: hidden;
    overflow: clip;
    z-index: 995;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
	display: none;
}

.transitionElement {
    position: relative;
    width: 120%;
    background-color: black;
    border: 1px solid gray;
    border-left: 50px solid var(--textColor);
    border-right: 50px solid var(--textColor);
    transform: translateX(110%);
    z-index: 9999;
	height: 34%;
}
/* end transition styling */


/* begin intro elements styling */
.introScreen {
    position: relative;
    width: 100vw;
    height: 100%;
    transform-origin: center;
    display: flex;
    align-items: center;
    transform: perspective(var(--perspective)) rotateX(180deg);
    transform-style: preserve-3d; 
}
.titleContainer {
    position: fixed;
    width: 98vw;
    height: 98%;
    margin-left: 1vw;
    overflow: clip;
}

.wall {
    position: absolute;
    text-align: center;
    color: white;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    backface-visibility: hidden;
}

.wall > p {
    width: 100%;
}

.intro_wall {
    text-align: center;
    font-size: 2vw;
    transform: rotateZ(180deg) rotateY(180deg);
    opacity: 0;
}

.intro_wall_img_container {
    height: 100%;
    text-align: center;
}
.intro_wall_img_container img {
    object-fit: contain;
    width: 100%;
    width: 10%;
}
/* end into elements styling */

/* begin content area */
.externalContentElement {
	display: none;
	opacity: 0;
	position: absolute;
	background-color: black;
	width: 100%;
/*    max-width: 1400px;    */
	height: 100%;
    max-height: 800px;
	border-radius: 5px;
}

.externalContentInfo { 	
    backface-visibility: hidden; 
	z-index: 998;
}

.externalContentContainer{
    transform-style: preserve-3d; 	
	background-color: black;
    backface-visibility: hidden; 
	z-index: 999;
}

.lessonContentHeader {
	height: var(--contentHeaderHeight);
	line-height: var(--contentHeaderHeight);
	background-color: rgb(0, 0, 0);
	text-align: right;
/*	
    border: var(--contentBorder);
	border-bottom: none;
	border-radius: 10px 10px 0 0;
*/
}
.lessonContentHeaderBtn {
	color: white;
	cursor: pointer;
	display: inline-block;
	margin-right: 10px;
}

#lessonContentIframe {
	width: 100%;
	height: calc(100% - var(--contentHeaderHeight));
/*    
	border-radius: 0 0 10px 10px;
	border: var(--contentBorder);
	border-top: none;
*/
}
/* end content area */

/* begin lesson selection containers */
.lessonTitle {
    color: white;
}
.navLessons {
    
}
.lessonContainer {
    margin: var(--navPadding) 0;
}

.lessonChapterContainer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
}

.icon-container {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 30px 10px;
    height: 100%;
    width: 100%;
    max-width: calc(100% - 100px);    
}
.navLessonsScrollInactive {    
	scrollbar-color: transparent transparent;
}
/* end lesson selection containers */

/* begin chapter selection buttons */
.navContainer {
	position: fixed;
	margin: var(--navMargins);
    width: 100%;
    max-width: calc(100% - var(--navMargins) * 2);
    max-height: calc(100% - var(--navMargins) * 2);
    overflow-y: scroll;
	z-index: 994;
}

.navScrollInactive {
	scrollbar-color: transparent transparent;
}

.navScrollActive {
	scrollbar-color: #ddd transparent;
	scrollbar-width: thin;
}

.navBtn {
	border: 3px solid white;
	color: white;
	min-width: 350px;
    width: 350px;
    height: 100%;
	text-align: center;
    margin: 0 15px 0 15px;
}

.nav_item_foreground,
.nav_item_title,
.nav_item_subtitle {
    position: fixed;
}

.nav_item_title {
    bottom: 0px;
    z-index: 999;
    padding: 4px;
    width: 100%;
    font-size: 16px;
    text-shadow: 2px 2px 4px black;
}

.nav_item_subtitle {
    width: 100%;
    bottom: 0px;
    z-index: 999;
    font-size: 12px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
}

.nav_item_background {
    z-index: 997;
    border: 1px solid gray;
    height: 100%;
    overflow: hidden;
}

.nav_item_background img {    
    object-fit: contain;
    width: 100%;
    filter: blur(1px);
    transition: all 1s;
}

.nav_item_foreground {
    width: 100%;
    z-index: 998;
    height: 100%;
    top: 12px;
    transform-origin: center bottom;
    transform: scale(.85) translate(0px, -32px);
}

.nav_item_foreground img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav_item {
    position: relative;
    scale: 0.75;
}

.nav_item_disabled:not(.nav_item_active) img {
    filter: grayscale(90%) brightness(50%);
}

.nav_item_active:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(1.2, 0.8);
    -webkit-filter: blur(65px);
    -moz-filter: blur(65px);
    -ms-filter: blur(65px);
    filter: blur(65px);
    background: linear-gradient(270deg, #ed8cf7, #BFDC7A, #60f3ce, rgb(197, 150, 223));
    background-size: 200% 200%;
    animation: animateGlow 3s ease infinite;
}

.nav_item_visited_gfx {
    z-index: 999;
    width: 85px;
    height: 88px;
    overflow: hidden;
    position: absolute;
    top: -3px;
    left: -3px;
    opacity: 0;
}

.nav_item_visited_text {
    font: bold 15px Sans-Serif;
    color: #333;
    text-align: center;
    text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: relative;
    padding: 7px 0;
    left: -30px;
    top: 15px;
    width: 120px;
    background-color: #BFDC7A;
    color: #6a6340;
    -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease-in-out;
}

.nav_item_visited_text:before,
.nav_item_visited_text:after {
    content: "";
    border-top: 3px solid #6e8900;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    position: absolute;
    bottom: -3px;
}

.nav_item_visited_text:before {
    left: 0;
}

.nav_item_visited_text:after {
    right: 0;
}

.nav_item_hoverable > * {
    transition: all 1s;
}

.nav_item_hoverable:hover {
    cursor: pointer;
}

.nav_item_hoverable:hover .nav_item_title {
    color: yellow;
    padding-bottom: 9%;
    text-shadow: 2px 2px 10px black;
}

.nav_item_hoverable:hover .nav_item_background>img {
    scale: 1.12;
    filter: blur(10px);
}

.nav_item_hoverable:hover .nav_item_foreground {
    transform: scale(1.1) translate(-5px, -25px);
}

.nav_item_hoverable:hover .nav_item_title {    
    transition-delay: 200ms;
}

.nav_item_hoverable:hover .nav_item_subtitle {
    transition-delay: 350ms;
    opacity: 1;
}

.nav_item_hoverable:hover .nav_item_visited_text {
    opacity: 0.4;
}
/* end chapter selection buttons */


/* begin lesson intro text */
.wall-graphic {    
    position: relative;
    height: 50%;
    width: 100%;
    border-width: 3px;
    border-style: solid;
    border-image: linear-gradient(90deg,black, gray, gray, black) 1;
    border-bottom: black;
    background-image: linear-gradient(to left, black 0%, #151823 25%, #151823 75%, black 100%);
}
    
.lesson_title_wall {
    text-align: left;
    font-size: 2vw;
}
.lesson_text {    
    width: 60%;
    margin-left: 20%;
}
.title_text1 {
    top: 5%;
}
.title_text2 {
    font-size: 1.5vw;
    transform: translateZ(20px);
    top: 10%;
    left: -7%
}
.title_text3 {
    font-size: 1.8vw;
    top: 20%;
    left: -6%;
    transform: translateZ(50px);
}
.title_text4 {
    color: var(--textColor);
    font-size: 2vw;
    transform: translateZ(100px);
    top: 35%;
    left: -5%;
}
.title_text5{
    font-size: 2vw;
    transform: translateZ(50px);
    top: 70%;
    left: -6%
}
.title_text6 {
    font-size: 1.5vw;
    transform: translateZ(10px);
    top: 87%;
    left: -7%
}
/* end lesson intro text */


.scroll-arrow {
    position: absolute;
    height: 80px;
    width: 40px;
    background-color: rgb(88, 88, 88);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: none; 
    transition: opacity 0.3s;
  }
  
  .scroll-arrow:hover {
    opacity: 0.5;
  }
  
  .left-arrow {
    left: 0;
  }
  
  .right-arrow {
    right: 0;
  }