/* main theme css sheet */
@font-face{ font-family: 'ars-maquette'; src: url('/css/fonts/ars-maquette.ttf'); font-display: swap; }
/* variables */
:root{
	--bg-color: #fafafa;
	--bg-color-trans: rgba(250,250,250,0.75);
	--bg-color-ltrans: rgba(250,250,250,0.9);
	--sec-bg-color: #cfcfcf;
	--text-color: #111;
	--text-color-trans: rgba(17,17,17,0.75);
	--theme-color: #FF642E;
	--theme-color-trans: rgba(255,51,0,0.75);
	--theme-color-ltrans: rgba(255,51,0,0.9);
	--font: 'ars-maquette',"Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif !important;
	--sec-color: #00aaff;
	--mid-gray-color: rgba(119,119,119,0.25);
}
[data-dark]{
	--bg-color: #111;
	--bg-color-trans: rgba(34,34,34,0.75);
	--bg-color-ltrans: rgba(34,34,34,0.9);
	--sec-bg-color: #444;
	--text-color: #fff;
	--text-color-trans: rgba(255,255,255,0.75);
	--theme-color: #FF642E;
	--theme-color-trans: rgba(255,51,0,0.75);
	--theme-color-ltrans: rgba(255,51,0,0.9);
	--sec-color: #00aaff;
}
[data-dark] .icon.moon::before{ content: "\e905"; }
/* main styles */
html{
	background: var(--bg-color);
	height: 100%;
}
html.mobile-menu{ overflow: hidden; }
body{
	/*background: url('../img/bg.png') var(--bg-color) fixed center 0 repeat;*/
	background: var(--bg-color);
	color: var(--text-color);
	font-family: var(--font);
	margin: 0;
	overflow-x: hidden;
	transition: color 500ms ease-out;
}
h1, h2, h3, h4{
	color: var(--theme-color);
	margin: 0 0 20px;
}
h1{ font-size: 48px; }
h2{ font-size: 36px; }
h3{ font-size: 28px; }
h4{ font-size: 22px; }
p{
	font-size: 18px;
	line-height: 1.4;
	margin: 0 0 20px;
}
p.intro{ font-size: 28px; }
p:last-child{ margin-bottom: 0; }
p > a{ text-decoration: underline; }
p > a:hover{ text-decoration: none; }
a{
	color: var(--theme-color);
	cursor: pointer;
}
img{
	aspect-ratio: auto 50 / 50;
	display: block;
	height: auto;
	max-width: 100%;
}
label{
	color: var(--theme-color);
	cursor: pointer;
	font-size: 24px;
}
input, textarea{
	background-color: var(--sec-bg-color);
	border: 1px solid var(--theme-color);
	color: var(--text-color);
	font-family: var(--font);
	font-size: 18px;
	max-width: 100%;
	padding: 15px 20px;
	width: 100%;
}
textarea{ resize: vertical; }
input::placeholder, textarea::placeholder{ color: var(--text-color-trans); }
input:focus-visible, textarea:focus-visible{
	appearance: none;
	outline: none;
}
button{ cursor: pointer; }
a{
	text-decoration: none;	
}
a:hover{
	text-decoration: underline;
}

.lessonListWrap{}
.lessonListWrap li{ margin: 0; }
.movesItem{ margin: 0; }
.icon.youtube.empty{ color: #999; }

/* testing a background idea */
.bg-wrap{
	aspect-ratio: 640 / 358;
	display: grid;
	margin-top: -50px;
	overflow: hidden;
}
.background{
	grid-column: 1;
	grid-row: 1;
	z-index: 1;
}
.background.one{ transform: translateY(calc(var(--scroll)/1.5)); opacity: 0.15; }
.background.two{ transform: translateY(calc(var(--scroll)/3)); }
.background.three{ transform: translateY(calc(var(--scroll)/4)); }
.background.four{ transform: translateY(calc(var(--scroll)/5)); }
.background.five{ transform: translateY(calc(var(--scroll)/6)); }
.background.six{ transform: translateY(calc(var(--scroll)/7)); }
.background.seven{ position: relative; }
.background::before{
	display: block;
	position: relative;
	z-index: 1;
}
.background.one::before{ content: url('../img/lay2.svg'); z-index: 1; }
.background.two::before{ content: url('../img/lay3.svg'); z-index: 2; }
.background.three::before{ content: url('../img/lay4.svg'); z-index: 3; }
.background.four::before{ content: url('../img/lay5.svg'); z-index: 4; }
.background.five::before{ content: url('../img/lay6.svg'); z-index: 5; }
.background.six::before{ content: url('../img/lay7.svg'); z-index: 6; }
.background.seven::before{ content: url('../img/lay8.svg'); top: 5px; z-index: 7; }
[data-dark] .background.one::before{ content: url('../img/lay2-d.svg'); }
[data-dark] .background.two::before{ content: url('../img/lay3-d.svg'); }
[data-dark] .background.three::before{ content: url('../img/lay4-d.svg'); }
[data-dark] .background.four::before{ content: url('../img/lay5-d.svg'); }
[data-dark] .background.five::before{ content: url('../img/lay6-d.svg'); }
[data-dark] .background.six::before{ content: url('../img/lay7-d.svg'); }
[data-dark] .background.seven::before{ content: url('../img/lay8-d.svg'); }

.home-wrap{ }
.home-wrap > h1{
	color: var(--bg-color);
	font-size: 5.5vw;
	left: 0;
	margin-top: 25%;
	position: absolute;
	text-align: center;
	transform: translateY(calc(var(--scroll)/2));
	top: 50px;
	width: 100%;
	z-index: 5;
}
.home-wrap > h2{
	font-size: 5.5vw;
	position: relative;
	text-align: center;
	transform: translateX(-100%);
	z-index: 5;
}
.home-wrap > h3{
	color: var(--text-color-trans);
	opacity: 0;
	text-align: center;
	transition: opacity 500ms ease-out;
}

.home-buttons > a{
	opacity: 0;
	transform: translateY(10px);
	transition-property: background-color, opacity, transform;
	transition-duration: 500ms;
}
.home-buttons > a:hover{ background-color: var(--theme-color-trans); }

.home-buttons.show > a{
	opacity: 1;
	transform: translateY(0px);
}

.home-buttons.show > a:nth-child(1){ transition-delay: 0s, 100ms, 100ms; }
.home-buttons.show > a:nth-child(2){ transition-delay: 0s, 200ms, 200ms; }
.home-buttons.show > a:nth-child(3){ transition-delay: 0s, 300ms, 300ms; }
.home-buttons.show > a:nth-child(4){ transition-delay: 0s, 400ms, 400ms; }
.home-buttons.show > a:nth-child(5){ transition-delay: 0s, 500ms, 500ms; }
.home-buttons.show > a:nth-child(6){ transition-delay: 0s, 600ms, 600ms; }

/* header */
header li, footer li{ margin: 0; }
#topBar{
	backdrop-filter: blur(5px);
	background-color: var(--theme-color);
	height: 50px;
	position: fixed;
	transition: all 500ms ease-out;
	width: 100%;
	z-index: 100;
}
#topBar:hover{ background-color: var(--theme-color); }
#topBar > nav{
	background-color: var(--theme-color);
	position: relative;
	z-index: 10;
}
#topBar .icon{
	font-size: 24px;
	padding: 0;
	text-decoration: none;
}
#topBar .icon:hover{
	background: unset;
}

#topBar div{ min-height: 100%; }

.tbll-li{
	align-items: center;
	display: flex;
	position: relative;
}
.tbll-li > a, .tbll-li > span, .topBarLink{
	align-items: center;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 16px;
	gap: 5px;
	height: 100%;
	line-height: 1;
	padding: 0 10px;
	text-decoration: none;
	transition: all 500ms ease-out;
	white-space: nowrap;
}
.tbll-li > a:hover, .topBarLink:hover{
	background: var(--bg-color-trans);
}



[data-dark] .tbll-li > a, [data-dark] .tbll-li > span, [data-dark] .topBarLink{ color: #000; }

#topBar[data-rev='hover'] .tbll-li > a, #topBar[data-rev='hover'] .tbll-li > span, #topBar[data-rev='hover'] .topBarLink{ opacity: 0.5; }
#topBar[data-rev='hover'] .tbll-li > a:hover, #topBar[data-rev='hover'] .tbll-li > span:hover, #topBar[data-rev='hover'] .topBarLink:hover{ opacity: 1; }

.tbll-li ul a{
	display: block;
	min-width: 150px;
	padding: 5px 7px;
	text-align: right;
	text-decoration: none;
	white-space: nowrap;
}
.tbll-li ul a:hover, .tbll-li ul a.cur{
	background: var(--theme-color);
	color: #fff;
}
[data-dark] .tbll-li ul a:hover, [data-dark] .tbll-li ul a.cur{ color: var(--bg-color); }


.tbll-li a img{
	border-radius: 100%;
	height: 30px;
}

.topBarIcon.search{
	cursor: pointer;
	display: block;
	height: 100%;
	position: relative;
	width: 24px;
}
.searchy{
	position: absolute;
	transition: all 500ms ease-out;
}
.searchy:nth-child(1){
	border: 4px solid var(--bg-color);
	border-radius: 100%;
	height: 20px;
	left: 0px;
	top: 12px;
	width: 20px;
}
.searchy:nth-child(2){
	background: var(--bg-color);
	border-radius: 3px;
	bottom: 15px;
	height: 5px;
	right: 0;
	transform: rotate(45deg);
	width: 10px;
}
[data-clicked="true"] .searchy:nth-child(1){
	background: var(--bg-color);
	border-width: 0px;
	border-radius: 3px;
	height: 5px;
	left: -3px;
	top: 22px;
	transform: rotate(-45deg);
	width: 30px;
}
[data-clicked="true"] .searchy:nth-child(2){
	bottom: 23px;
	right: -3px;
	width: 30px;
}


/* drop down link */
.dd-link{
	padding-right: 22px;
	position: relative;
}
.dd-link::before, .dd-link::after{
	background-color: #fff;
	content: '';
	display: block;
	height: 3px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.5s ease-out, background-color 0.5s ease-out;
	width: 10px;
}
.dd-link::after{
	right: 2px;
	transform: rotate(-45deg) translateY(-50%);
}
.dd-link::before{
	right: 9px;
	transform: rotate(45deg) translateY(-50%);
}
.dd-link[data-clicked="true"]::after{ right: 3px; transform: rotate(45deg); }
.dd-link[data-clicked="true"]::before{ right: 8px; transform: rotate(-45deg); }

[data-dark] .dd-link::before, [data-dark] .dd-link::after{ background-color: #000; }

.topBarUserLi{
	position: relative;
}
.topBarUserSlide{
	opacity: 0;
	position: absolute;
	pointer-events: none;
}

/* drop-down box */
.dd{
	overflow: hidden;
	right: 0;
	min-width: 200px;
	pointer-events: none;
	position: absolute;
	top: 100%;
}
.dd > ul, .dd > div, .dd > form{
	background-color: var(--bg-color);
	border: 2px solid var(--theme-color);
	right: 0;
	margin: 0;
	position: relative;
	transform: translateY(-100%);
	transition: transform 0.5s ease-out;
	z-index: 10;
}
.dd > form{ padding: 20px; }
.dd[data-show="true"]{ pointer-events: auto; }
.dd[data-show="true"] > ul, .dd[data-show="true"] > div, .dd[data-show="true"] > form{
	transform: translateY(calc(0% - 2px));
	z-index: 15;
}
#tbd-alert{ position: absolute; }
#tb-searchForm, #topBarDrop{ min-width: 300px; }

/* mobile menu button (burger) */
.mobile-menu-button{
	cursor: pointer;
	position: relative;
	width: 33px;
}
.mobile-menu-button > span{
	background: var(--bg-color);
	border-radius: 3px;
	height: 7px;
	position: absolute;
	transition: all 500ms ease-out;
	width: 100%;
}
.mobile-menu-button > span:nth-child(1){
	top: 10px;
}
.mobile-menu-button > span:nth-child(2){
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.mobile-menu-button > span:nth-child(3){
	bottom: 10px;
}
.mobile-menu .mobile-menu-button > span:nth-child(1){
	transform: rotate(-45deg);
	top: 21px;
}
.mobile-menu .mobile-menu-button > span:nth-child(2){
	width: 0;
}
.mobile-menu .mobile-menu-button > span:nth-child(3){
	bottom: 22px;
	transform: rotate(45deg);
}

/* mobile menu itself */
.mobile-menu-wrap{
	align-items: center;
	background: rgba(0,0,0,0.9);
	display: flex;
	flex-direction: column;
	justify-content: center;
	opacity: 0;
	height: 100vh;
	left: 0;
	padding: 50px 0 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	transition: all 500ms ease-out;
	width: 100vw;
	z-index: 5;
}
.mobile-menu-wrap li{
	width: 100%;
}
.mobile-menu-wrap a{
	display: block;
	font-size: 8vw;
	opacity: 0;
	padding: 10px;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 0 5px var(--bg-color);
	transform: translateY(10px);
	transition-property: background, color, opacity, transform;
	transition-duration: 500ms, 500ms, 500ms, 500ms;
	transition-delay: 0, 0, 100ms, 100ms;
}
.mobile-menu-wrap a:hover{
	background: var(--theme-color);
	color: var(--bg-color);
	text-shadow: 0 0 5px transparent;
}

.mobile-menu .mobile-menu-wrap{
	opacity: 1;
	pointer-events: auto;
}
.mobile-menu .mobile-menu-wrap a{
	opacity: 1;
	transform: translateY(0);
}

.mobile-menu .mobile-menu-wrap li:nth-child(1) a{ transition-delay: 0s, 0s, 100ms, 100ms; }
.mobile-menu .mobile-menu-wrap li:nth-child(2) a{ transition-delay: 0s, 0s, 200ms, 200ms; }
.mobile-menu .mobile-menu-wrap li:nth-child(3) a{ transition-delay: 0s, 0s, 300ms, 300ms; }
.mobile-menu .mobile-menu-wrap li:nth-child(4) a{ transition-delay: 0s, 0s, 400ms, 400ms; }
.mobile-menu .mobile-menu-wrap li:nth-child(5) a{ transition-delay: 0s, 0s, 500ms, 500ms; }
.mobile-menu .mobile-menu-wrap li:nth-child(6) a{ transition-delay: 0s, 0s, 600ms, 600ms; }
.mobile-menu .mobile-menu-wrap li:nth-child(7) a{ transition-delay: 0s, 0s, 700ms, 700ms; }
.mobile-menu .mobile-menu-wrap li:nth-child(8) a{ transition-delay: 0s, 0s, 800ms, 800ms; }
.mobile-menu .mobile-menu-wrap li:nth-child(9) a{ transition-delay: 0s, 0s, 900ms, 900ms; }

/* inside body */
#bodyWrap{ padding: 100px 0 50px; }

/* on lots of pages */
.button{
	background-color: var(--theme-color);
	border: 1px solid var(--bg-color-trans);
	color: #fff;
	display: block;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.4;
	max-width: 100%;
	padding: 15px 30px;
	text-align: center;
	text-decoration: none;
}
[data-dark] .button{ color: #000; }
.button:hover{
	background-color: var(--theme-color-trans);
	text-decoration: none;
}
.button.prev::after, .button.next::after{
	font-family: 'kbfyre';
}
.button.prev::after{
	content: var(--left);
}
.button.next::after{
	content: var(--right);
}

/* hex to rgb to filter styles */
.pixel {
  display: inline-block;
  background-color: #000;
  border: 1px solid #fff;
  width: 50px;
  height: 50px;
}

/* nojquery styles */
.nojquery-wrap{ background-color: var(--bg-color-ltrans); }
.nojquery-wrap > div{
	align-items: center;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nojquery-wrap > div:nth-child(odd){
	background: var(--mid-gray-color);
}
.nojquery-wrap code{
	font-size: 16px;
	padding: 20px;
}
.nojquery-wrap pre{
	margin: 0;
	tab-size: 20px;
	white-space: pre-wrap;
}
.search-overlay-wrap{ position: relative; }
.search-overlay-wrap > input{ padding-right: 45px; }
.search-overlay-wrap::after{
	color: var(--text-color-trans);
	content: '\e906';
	font-family: 'spark';
	font-size: 24px;
	pointer-events: none;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}

/* footer */
footer{
	backdrop-filter: blur(5px);
	background-color: var(--theme-color);
	color: var(--bg-color);
	padding: 50px 0;
	position: relative;
	transition: background-color 500ms ease-out;
	z-index: 10;
}
footer a{
	color: inherit;
	text-decoration: none;
	transition: opacity 500ms ease-out;
}
footer[data-rev='hover'] a{ opacity: 0.5; }
footer[data-rev='hover'] a:hover{ opacity: 1; }
footer ul{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.breadcrumbs{
	display: flex;
}
.breadcrumbs li{
	margin: 0;
	padding: 0;
}
.breadcrumbs li::before{
	content: var(--right);
	font-family: 'kbfyre';
	font-size: 10px;
	margin: 0 5px;
}
.breadcrumbs li:first-child::before{ display: none; }

.aspect-video{ aspect-ratio: 16 / 9; }
.aspect-video iframe{
	height: 100%;
	width: 100%;
}
.aspect-video img{
	filter: invert(35%) sepia(146%) saturate(105%) hue-rotate(-19deg) brightness(101%) contrast(225%);
}
.aspect-video img:hover{ filter: unset; }
.post-name{
	display: block;
	font-size: 24px;
	font-weight: bold;
	margin: 0 0 10px;
	text-decoration: none;
}
.post-name:hover{ text-decoration: underline; }
.post-snip{
	font-size: 18px;
	margin: 0 0 10px;
}
.post-tags{
	font-size: 14px;
	margin: 0;
}

.lessonDesc, .situationDescription{ margin: 0 0 20px; }
.lessonName{ font-size: 36px; }

.movesTag{ color: var(--text-color-trans); }
.movesTag::after{ content: '\a0\b7'; }
.movesTag:last-child::after{ display: none; }
.moveName{
	font-size: 30px;
	margin: 0 0 10px;
}
.moveSubName{
	font-size: 22px;
}

/* tablet */
@media(max-width: 1000px){
	
}

/* mobile */
@media(max-width: 600px){
	body .pw{ padding: 0 20px; }
}