/*
Theme Name: HDTarot
Theme URI: https://harmonicdesign.ca
Author: Harmonic Design
Author URI: https://harmonicdesign.ca
Description: This theme is for use on *** <strong>only</strong>
*/

:root {
	--primary-colour: #8871f3;
	--secondary-colour: aqua;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html,
body {
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.6;
	color: #fefefe;
	font-family: sans-serif;
	background: #0d0d0d;
	scroll-behavior: smooth;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5 {
	line-height: 1.2;
	font-family: "Delicious Handrawn", serif;
	font-weight: normal;
}

h1 {
	font-size: 6rem;
	margin: 0;
	color: var(--primary-colour);
	line-height: 1;
	letter-spacing: 1px;
}

h2 {
	font-size: 3rem;
}

h3 {
	font-size: 2.2rem;
}

.wrap {
	max-width: 1000px;
	margin: 0 auto;
}

.button {
	text-decoration: none;
	color: #000;
	line-height: 1.2;
	display: inline-block;
	text-align: center;
	border: 1px solid #000;
	padding: 1rem 2rem;
	border-radius: 0.2em;
	font-weight: bold;
	text-transform: uppercase;
	background-color: var(--primary-colour);
	background: linear-gradient(-45deg, var(--secondary-colour), var(--primary-colour));
	box-shadow: 0 2px 3px 0 black;
	cursor: pointer;
	font-size: 1.2rem;
	position: relative;
	top: 0;
	box-shadow: 0 0 0 0 black;
	transition: all 300ms ease-in-out;
}

.button:hover {
	top: -3px;
	box-shadow: 0 2px 20px 0 black;
}

.button > small {
	font-weight: normal;
	text-transform: initial;
}

.col {
	display: grid;
	column-gap: 2rem;
}

.col-1-1 {
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr);
}

.col-1-1-1 {
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr) minmax(1px, 1fr);
}

header {
	position: relative;
	background-color: #222222;
	opacity: 0.8;
	background-image: radial-gradient(#463009 2px, #111111 2px);
	background-size: 34px 34px;
	animation-iteration-count: infinite;
	animation-duration: 200000ms;
	animation-name: overlay;
	animation-timing-function: linear;
}

#content {
	padding: 4rem 0;
}

#top_bar {
	padding: 1rem 0;
	line-height: 1;
	position: relative;
	z-index: 9;
	transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 300ms;
	background-color: rgba(17, 17, 17, 0.6);
}

#top_bar.sticky {
	position: sticky;
	top: 0;
	background-color: #111;
	box-shadow: 0 2px 12px 0 #000;
}

#top_bar > .wrap {
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 2rem;
	align-items: center;
}

#navigation {
	justify-self: end;
}

.nav_item {
	display: inline-block;
	line-height: 1;
	margin: 0 1rem;
	text-decoration: none;
	color: #fff;
	position: relative;
}

.nav_item:not(.nav_callout)::before {
	content: "";
	width: 0;
	height: 8px;
	position: absolute;
	background: linear-gradient(-45deg, var(--secondary-colour), var(--primary-colour));
	border-radius: 12px;
	margin-top: 20px;
	margin-left: -10%;
	transition: all 350ms ease-in-out;
	opacity: 0.3;
}

.nav_item:not(.nav_callout):hover::before {
	width: 120%;
}

.nav_callout {
	border: 1px solid #3c3c3c;
	border-radius: 0.2em;
	padding: 0.6em;
	position: relative;
}

.nav_callout:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	height: 0;
	width: 100%;
	background: linear-gradient(-45deg, var(--secondary-colour), var(--primary-colour));
	transition: all ease-in-out 350ms;
}

.nav_callout:hover:before {
	height: 100%;
}

.nav_callout > span {
	position: relative;
}

#home_hero {
	padding: 4rem 0;
	box-shadow: 0 12px 12px -8px #111;
}

#hero {
	text-align: center;
	padding: 4rem 0;
	box-shadow: 0 12px 12px -8px #111;
}

#home_hero > .wrap {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 2rem;
	align-items: center;
	position: relative;
	z-index: 2;
}

.heading_highlight {
	color: aqua;
}

#home_steps {
	padding: 4rem 0;
	text-align: center;
	position: relative;
}

#home_steps > .wrap {
	position: relative;
	z-index: 1;
}

#home_steps h2 {
	margin: 0;
}

#home_steps h3 {
	margin-bottom: 0;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 0;
}

#steps {
	padding: 2rem 0;
	max-width: 1000px;
	margin: 0 auto;
	font-size: 18px;
	position: relative;
}

.step_item {
	padding: 2rem 2rem 0 2rem;
	transition: all ease-in-out 1000ms;
	border-radius: 13px;
}

.step_icon {
	line-height: 1;
}

.step_icon > img {
	max-height: 100px;
	transition: all ease-in-out 1000ms;
}

.step_item:hover {
	box-shadow: 0 17px 34px #010101, 0 -17px 34px #000;
	background-color: rgba(0, 0, 0, 0.4);
}

.step_item:hover .step_icon > img {
	transition: all ease-in-out 1000ms;
	transform: scale(1.1);
}

@keyframes overlay {
	0% {
		background-position: 0%;
	}
	50% {
		background-position: 50% 100%;
	}
	100% {
		background-position: 0%;
	}
}

/* Candle CSS - https://codepen.io/kh-mamun */
#home_candle {
	display: flex;
	justify-self: center;
	position: relative;
	z-index: 2;
}

#home_candle:hover .flame,
#home_candle.active .flame {
	background: rgba(0, 0, 0, 1);
	background: -moz-linear-gradient(black 80%, transparent);
	background: -webkit-linear-gradient(black 80%, transparent);
	background: -o-linear-gradient(black 80%, transparent);
	background: -ms-linear-gradient(black 80%, transparent);
	background: linear-gradient(black 80%, transparent);
}

.holder {
	margin: 12rem auto 0;
	width: 150px;
	height: 400px;
	position: relative;
	top: -4rem;
}

.holder *,
.holder *:before,
.holder *:after {
	position: absolute;
	content: "";
}

.candle {
	bottom: 0;
	width: 150px;
	height: 300px;
	border-radius: 150px / 40px;
	box-shadow: inset 20px -30px 50px 0 rgb(0 0 0 / 40%), inset -20px 0 50px 0 rgb(0 0 0 / 40%), 0 6px 28px 3px #000;
	background: #190f02;
	background: -moz-linear-gradient(#e48825, #e78e0e, #833c03, #4c1a03 50%, #1c0900);
	background: -webkit-linear-gradient(#e48825, #e78e0e, #833c03, #4c1a03 50%, #1c0900);
	background: -o-linear-gradient(#e48825, #e78e0e, #833c03, #4c1a03 50%, #1c0900);
	background: -ms-linear-gradient(#e48825, #e78e0e, #833c03, #4c1a03 50%, #1c0900);
	background: linear-gradient(#e48825, #e78e0e, #833c03, #4c1a03 50%, #1c0900);
}

.candle:before {
	width: 100%;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #d47401;
	background: #b86409;
	background: -moz-radial-gradient(#eaa121, #8e4901 45%, #b86409 80%);
	background: -webkit-radial-gradient(#eaa121, #8e4901 45%, #b86409 80%);
	background: -o-radial-gradient(#eaa121, #8e4901 45%, #b86409 80%);
	background: -ms-radial-gradient(#eaa121, #8e4901 45%, #b86409 80%);
	background: radial-gradient(#ffef80, #b86409 60%);
	background: radial-gradient(#eaa121, #8e4901 45%, #b86409 80%);
}

.candle:after {
	width: 34px;
	height: 10px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 50%;
	top: 14px;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
	background: -moz-radial-gradient(rgba(0, 0, 0, 0.6), transparent 45%);
	background: -webkit-radial-gradient(rgba(0, 0, 0, 0.6), transparent 45%);
	background: -o-radial-gradient(rgba(0, 0, 0, 0.6), transparent 45%);
	background: -ms-radial-gradient(rgba(0, 0, 0, 0.6), transparent 45%);
	background: radial-gradient(rgba(0, 0, 0, 0.6), transparent 45%);
}

.thread {
	width: 6px;
	height: 36px;
	top: -17px;
	left: 50%;
	z-index: 1;
	border-radius: 40% 40% 0 0;
	transform: translateX(-50%);
	background: #121212;
	background: -moz-linear-gradient(#d6994a, #4b232c, #121212, black, #e8bb31 90%);
	background: -webkit-linear-gradient(#d6994a, #4b232c, #121212, black, #e8bb31 90%);
	background: -o-linear-gradient(#d6994a, #4b232c, #121212, black, #e8bb31 90%);
	background: -ms-linear-gradient(#d6994a, #4b232c, #121212, black, #e8bb31 90%);
	background: linear-gradient(#d6994a, #4b232c, #121212, black, #e8bb31 90%);
}

.flame {
	width: 24px;
	height: 120px;
	left: 50%;
	transform-origin: 50% 100%;
	transform: translateX(-50%);
	bottom: 100%;
	border-radius: 50% 50% 20% 20%;

	background: #ffffff;
	background: -moz-linear-gradient(#ffffff 80%, transparent);
	background: -webkit-linear-gradient(#ffffff 80%, transparent);
	background: -o-linear-gradient(#ffffff 80%, transparent);
	background: -ms-linear-gradient(#ffffff 80%, transparent);
	background: linear-gradient(#ffffff 80%, transparent);

	animation: moveFlame 6s linear infinite, enlargeFlame 5s linear infinite;
}

.flame:before {
	width: 100%;
	height: 100%;
	border-radius: 50% 50% 20% 20%;
	box-shadow: 0 0 15px 0 rgba(247, 93, 0, 0.4), 0 -6px 4px 0 rgba(247, 247, 200, 0.7);
}

@keyframes moveFlame {
	0%,
	100% {
		transform: translateX(-50%) rotate(-2deg);
	}
	50% {
		transform: translateX(-50%) rotate(2deg);
	}
}

@keyframes enlargeFlame {
	0%,
	100% {
		height: 120px;
	}
	50% {
		height: 140px;
	}
}

.glow {
	width: 26px;
	height: 60px;
	border-radius: 50% 50% 35% 35%;
	left: 50%;
	top: -48px;
	transform: translateX(-50%);
	background: rgba(0, 133, 255, 0.7);
	box-shadow: 0 -40px 30px 0 #dc8a0c, 0 40px 50px 0 #dc8a0c, inset 3px 0 2px 0 rgba(0, 133, 255, 0.6), inset -3px 0 2px 0 rgba(0, 133, 255, 0.6);
}

.glow:before {
	width: 70%;
	height: 60%;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
}

.blinking-glow {
	width: 100px;
	height: 180px;
	left: 50%;
	top: -55%;
	transform: translateX(-50%);
	border-radius: 50%;
	background: #ff6000;
	-webkit-filter: blur(50px);
	-moz-filter: blur(60px);
	-o-filter: blur(60px);
	-ms-filter: blur(60px);
	filter: blur(60px);
	animation: blinkIt 0.1s infinite;
}

@keyframes blinkIt {
	50% {
		opacity: 0.8;
	}
}
