/* @override 
	http://localhost/mantra-poe/css/main.css
	http://getyourmantra.com/css/main.css
	http://localhost:8888/mantra-poe/lib/css/main.css */

/* You can add global styles to this file, and also import other style files */

@font-face {
	font-family: 'Beatrice Display';
	src: url('fonts/BeatriceDisplay-Medium.woff2') format('woff2'),
	        url('fonts/BeatriceDisplay-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

html, body {
	height: 100%;
	width: 100%;
	font: 16px 'Lato', sans-serif;
	font-weight: 400;
	background-color: #fff;
}

body {
	margin: 0;
	background-color: #efeeeb;
	color: #fff;
}

a, a:link, a:visited, a:active {
	color: #fff;
	text-decoration: none;
	outline: none;
}

ul {
	margin: 0;
	padding: 0;
}

ul li {
	list-style: none;
}

canvas {
	/*	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;*/
	background-color: #fff;
}

#canvas-wrapper {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: 2;
	/*clip-path: circle(15vw at center);
	-webkit-clip-path: circle(15vw at center);*/
	clip-path: circle(0vw at center);	
	-webkit-clip-path: circle(0vw at center);
	transition: all 2s;
	overflow: hidden;
	mix-blend-mode: screen;
	background-color: #fff;
}

#thecanvas {
	opacity: 0;
}

#overlay-gradient {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
	background-color: #ff0000;
	top: 0;
	left: 0;
	pointer-events: none;
	background: linear-gradient(226deg, #e0c3b1, #e8b7bb, #8a9ca7, #e6c192);
	background-size: 800% 800%;
	-webkit-animation: AnimationName 27s ease infinite;
	-moz-animation: AnimationName 27s ease infinite;
	animation: AnimationName 27s ease infinite;
}

@-webkit-keyframes AnimationName {
0% {
	background-position: 83% 0%
}

50% {
	background-position: 18% 100%
}

100% {
	background-position: 83% 0%
}
}
@-moz-keyframes AnimationName {
0% {
	background-position: 83% 0%
}

50% {
	background-position: 18% 100%
}

100% {
	background-position: 83% 0%
}
}
@keyframes AnimationName {
0% {
	background-position: 83% 0%
}

50% {
	background-position: 18% 100%
}

100% {
	background-position: 83% 0%
}
}


#wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 10;
}

.container {
	max-width: 1270px;
	margin: 0 auto;
}

.hidden {
	visibility: hidden;
}

.animate {
	visibility: hidden;
}

.active {
	/*	opacity: 1;*/
	z-index: 10;
}

h1 {
	font-weight: normal;
	font-style: normal;
	font-size: 3rem;
	margin-top: 0;
	margin-bottom: 20px;
	line-height: 3.7rem;
}

h1, h2 {
	font-family: 'Montserrat', sans-serif;
}

#step1 #btn-generate {
	z-index: 10;
	width: 15vw;
	height: 15vw;
	/*	background-color: #000;*/
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 50%;
	margin: 0 auto;
	font-size: 5vmin;
	line-height: 5vmin;
	font-family: 'Beatrice Display', sans-serif;
	/*	font-weight: 300 !important;*/
	letter-spacing: -1px;
	cursor: pointer;
	color: #333;
}

#step2 {
	z-index: 9;
	/*	background-color: #fff;*/
}

.step-bg {
	background-color: rgba(255, 255, 255, 0.8);
	/*	width: 100%;
		height: 100%;*/
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.step-wrapper {
	z-index: 10;
	width: 750px;
	max-width: 100%;
	text-align: center;
	position: absolute;
}

.step-inner {
	padding: 40px;
	display: inline-block;
}

#step2.step-wrapper {
	padding: 0;
}

#step2-2 {
	display: none;
}

/* NAVIGATION */

#navigation {
	position: absolute;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	padding-top: 40px;
	padding-bottom: 80px;
	background-image: -webkit-linear-gradient(bottom, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
	background-image: -moz-linear-gradient(bottom, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
	background-image: -ms-linear-gradient(bottom, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
	background-image: linear-gradient(to top, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
	-webkit-transition: all 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

#navigation .container {
	max-width: 1270px;
	margin: 0 auto;
	display: flex; /* or inline-flex */
	flex-direction: row;
	justify-content: space-around;
}

.navigation-item {
	transform: translate3d(0,-300%,0);
}

.navigation-item a {
	font: 0.8rem/1.6rem 'Lato', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
	transition: all 1s;
	color: #000;
}

.navigation-item a:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	height: 2px;
	background-color: #000;
	pointer-events: none;
	width: 0;
	transition: all .3s;
}

.navigation-item.current-page-item a:before, .navigation-item a:hover:before {
	width: 100%;
}

#navigation.light {
	background-image: -webkit-linear-gradient(bottom, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
	background-image: -moz-linear-gradient(bottom, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
	background-image: -ms-linear-gradient(bottom, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
	background-image: linear-gradient(to top, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}

#navigation.light .navigation-item a {
	color: #fff;
}

#navigation.light .navigation-item a:before {
	background-color: #fff;
}

.mantra-intro {
	font: 1rem/1.4rem 'Lato', sans-serif;
	font-weight: 400;
	margin: 0 auto;
}

#step2 .mantra-intro {
	
}

.btn-wrapper {
	margin-top: 30px;
	margin-bottom: 20px;
	/*	display: block;
		float: left;
		width: 100%;*/
}

.btn, input#mc-embedded-subscribe {
	padding: 10px;
	cursor: pointer;
	transition: all .3s;
	font-weight: 900 !;
	font-size: 1.2rem;
	color: #000 !important;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	position: relative;
}

.btn:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	height: 2px;
	background-color: #000;
	pointer-events: none;
	width: 0;
	transition: all .3s;
}

.btn:hover:before {
	width: 100%;
}


/* STEP1 */


/* STEP2 */

#step2 {
	color: #000;
}

#step2 h2 {
	font: 1rem/1.6rem 'Lato', sans-serif;
	text-transform: uppercase;
	margin: 0;
}

/* STEP3 */

#mantra-result {
	margin-top: 10px;
	margin-bottom: 10px;
}

#step3 h2 {
	font-size: 1.2rem;
	font-weight: 400;
	margin: 0 0 10px;
}

#mantra {
	font-family: 'Beatrice Display', sans-serif;
	font-size: 10vmax;
	line-height: 10vmax;
	/*	font-weight: 200;*/
	/*	text-transform: uppercase;*/
	margin-bottom: 30px;
	text-transform: capitalize;
}

#step3 .btn-wrapper {
	margin-top: 20px;
}

.optin-wrapper {
	margin-bottom: 20px;
}

.optin-wrapper input {
	margin-right: 5px;
}

#form-wrapper {
	margin: 20px auto 0;
	text-align: center;
}

#sib-form, .sib-form {
	margin: 0 auto;
	background-color: transparent !important;
}

#form-response {
	margin-top: 10px;
}

#form-response a {
	display: block;
	color: #000;
	text-decoration: underline;
}

#form-response a:hover {
	text-decoration: none;
}

.form-error {
	color: #ff0000;
}

.form-success {
	color: #60ff00;
}

.sib-form, .sib-form-block {
	padding: 0 !important;
	text-align: center !important;
}

#sib-form {
	text-align: center;
}

.sib-form div {
	padding: 0 !important;
}

.sib-form-message-panel {
	margin-bottom: 5px !important;
}

#sib-form button {
	margin: 0 auto !important;
	background-color: #000 !important;
	transition: all .3s;
}

.sib-form-block svg {
	fill: #ffffff;
}

label {
	background-color: transparent !important;
}

.entry__error {
	/*	padding: 10px;*/
}

#sib-form button:hover {
	opacity: .7;
}

#sib-container {
	background-color: transparent !important;
	border: none !important;
	padding: 0 !important;
}

input::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #333;
	opacity: .7; /* Firefox */
	font-weight: 200;
}

#sib-form input#mc-embedded-subscribe {
	width: 30%;
	min-width: inherit;
	color: #fff !important;
	font-weight: 400;
	transition: all .3s;
	background: rgb(0, 0, 0);
	border: none;
	padding: 12px;
	font-size: 1rem;
	display: inline-block;
	box-sizing: border-box;
	outline: none !important;
}

#sib-form input#mc-embedded-subscribe:hover {
	background-color: rgba(255, 255, 255, 0.7);
	color: #000 !important;
}

.div-or {
	margin: 20px;
	display: block;
}

#btn-new-mantra {
	position: relative;
}
/*#btn-new-mantra:after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -5px;
	height: 2px;
	background-color: #fff;
	pointer-events: none;
	width: 100%;
	transition: all .3s;
}
#btn-new-mantra:hover {
	text-decoration: none;
}

#btn-new-mantra:hover:after {
	width: 0;
}*/

#step2 .btn-wrapper {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	margin-bottom: 0;
}

#step2 .btn {
	text-align: center !important;
	font-weight: 800;
}

.div-line {
	background-color: #bbb;
	width: 1px;
	height: 30px;
}
/* LOADING */

#loading-icon {
	display: inline-block;
	position: absolute;
	width: 64px;
	height: 64px;
	z-index: 1000;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	visibility: hidden;
	opacity: 0;
}

#loading-icon div {
	position: absolute;
	border: 4px solid #fff;
	opacity: 1;
	border-radius: 50%;
	animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#loading-icon div:nth-child(2) {
	animation-delay: -0.5s;
}
@keyframes lds-ripple {
0% {
	top: 28px;
	left: 28px;
	width: 0;
	height: 0;
	opacity: 1;
}

100% {
	top: -1px;
	left: -1px;
	width: 58px;
	height: 58px;
	opacity: 0;
}
}


/* MODAL */

.modal {
	position: absolute;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	background-color: rgba(255, 255, 255, 0.8);
	max-width: 1200px;
	visibility: hidden;
	transform: translate3d(0, 200px, 0);
	opacity: 0;
	color: #000;
	font-weight: 400;
	margin: 20px;
	/*	-webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
		  transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
		  visibility: hidden;
		  opacity: 0;
		  transform: translate3d(0, 100px, 0);*/
		/*display: none;*/
}

#modal-share.modal {
	background-color: transparent;
}

#modal-share .btn-close {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	right: inherit;
	top: 0;
}

h1.modal-title {
	text-align: center;
	margin-bottom: 20px;
}

.modal.active {
	/*	visibility: visible;
	opacity: 1;
	transform: translate3d(0,0, 0);*/
}

.modal .container {
	max-width: 1100px;
	padding: 40px;
	padding-bottom: 20px;
}

.modal-footer {
	font-size: 16px;
	line-height: 1.4;
	margin-top: 20px;
	text-align: center;
	/*	border: 1px solid #333;*/
	padding: 16px;
	background-color: #fff;
}

.modal .row {
	display: flex;
	flex-direction: row;
	/*	flex-wrap: wrap;*/
	justify-content: space-evenly;
	align-items: flex-start;
	margin-top: 40px;
}

.modal-content {
	font: 1rem/1.4rem 'Lato', sans-serif;
	font-weight: 400;
}

.modal .item {
	padding: 10px;
	text-align: center;
	flex: 1 1 0;
}

.modal .item p {
	margin: 0;
}

.modal .icon {
	margin-bottom: 20px;
	/*	opacity: .3;*/
	-webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.modal .icon:hover {
	opacity: 1;
}

.modal .icon img, .modal .icon svg {
	width: 80px;
}

.modal .icon svg path {
	fill: #000;
	-webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.share-row {
	max-width: 400px;
	margin: 0 auto;
	margin-top: 0 !important;
}

.share-row .icon svg {
	width: 60px;
}

.share-row #facebook-icon .icon a:hover svg path {
	fill: #3B5998;
}

.share-row #twitter-icon .icon a:hover svg path {
	fill: #1DA1F2;
}

.share-row #instagram-icon .icon a:hover svg path {
	fill: #E4405F;
}

.btn-close {
	display: block;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 32px;
	height: 32px;
	-webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.btn-close:hover {
	transform: scale(.9);
}

.btn-close:before {
	content: "";
	position: absolute;
	display: block;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 32px;
	height: 0;
	border-top: 1px solid #000;
	transform: rotate(45deg);
	transform-origin: center;
}

.btn-close:after {
	content: "";
	position: absolute;
	display: block;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 32px;
	height: 0;
	border-top: 1px solid #000;
	transform: rotate(-45deg);
	transform-origin: center;
}

@media (min-width:768px) {
	#shadow {
		display: none;
	}
}

canvas {
	opacity: .2;
}

@media (max-width:768px) {
	/*html{
		font-size: 12px;
	}*/
	
	body, html {
		height: 100%;
		width: 100%;
		overflow: hidden;
		min-height: -webkit-fill-available;
	}
	
	canvas {
		width: 100vw;
		height: 100vh;
		min-height: -webkit-fill-available;
	}
	
	#canvas-wrapper {
		width: 100%;
		height: 100%;
		min-height: -webkit-fill-available;
		/*		clip-path: circle(48vw at center) !important;
				-webkit-clip-path: circle(48vw at center) !important;*/
	}
	
	#step1 #btn-generate {
		width: 80%;
		height: 20vw;
		font-size: 40px;
		line-height: 40px;
	}
	
	#wrapper {
		height: 100%;
		width: 100%;
		min-height: -webkit-fill-available;
	}
	
	h1 {
		font-size: 2rem;
		line-height: 2rem;
	}
	
	.btn {
		width: 100%;
		padding: 15px 20px;
		font-size: 1.1rem;
		box-sizing: border-box;
	}
	
	#step2 h2 {
		font-size: 1rem;
	}
	
	.mantra-intro {
		font-size: 1rem;
		font-weight: 400;
	}
	
	.step-wrapper {
		z-index: 10;
		width: 100%;
		padding: 0;
		box-sizing: border-box;
	}
	
	#step2.step-wrapper {
		width: 100vw;
		height: 100vh;
		box-sizing: border-box;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		background-color: transparent;
		padding-bottom: 50px;
	}
	
	.step-inner {
		padding: 0 20px;
		background: transparent !important;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		box-sizing: border-box;
	}
	/*#step2.step-wrapper .step-inner {
		padding-top: 50px;
		padding-bottom: 50px;
		
	}*/
	
	input {
		border-radius: 0 !important;
	}
	
	.step-bg {
		background-color: transparent !important;
		/*		width: 100vw;
				height: 100vh;
				min-height: -webkit-fill-available;*/
	}
	
	#shadow {
		background-color: rgba(255, 255, 255, 0.2) !important;
		width: 100vw;
		height: 100vh;
		z-index: 2;
		filter: none;
		top: 0;
		left: 0;
		border-radius: 0;
		min-height: -webkit-fill-available;
	}
	
	#navigation {
		position: absolute;
		left: 0;
		width: 100%;
		text-align: center;
		padding-top: 30px;
		padding-bottom: 20px;
		top: auto;
		bottom: 0;
		z-index: 10000000000000000000000;
	}
	
	#navigation.light {
		background-image: -webkit-linear-gradient(top, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
		background-image: -moz-linear-gradient(top, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
		background-image: -ms-linear-gradient(top, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
		background-image: linear-gradient(to bottom, white 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
	}
	
	.navigation-item {
		transform: translate3d(0,300%,0);
	}
	
	.modal {
		display: block;
		top: 0;
		padding: 40px 20px 60px;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		height: 100%;
		box-sizing: border-box;
		margin: 0;
		/*		background-color: transparent;*/
		/*		background: transparent;*/
	}
	
	#modal-howto.modal .row {
		display: block;
	}
	
	.btn-close {
		position: fixed;
		right: 10px;
		top: 10px;
	}
	
	.div-or {
		margin: 10px;
	}
	
	#navigation.active {
		background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
		background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
		background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
		background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
	}
	
	#navigation.active .navigation-item a {
		color: #000;
	}
	
	#navigation.active .navigation-item a:before {
		background-color: #000;
	}
	
	.modal .container {
		padding-bottom: 20px;
		padding-left: 0;
		padding-right: 0;
	}
	
	.modal-footer {
		background-color: transparent;
		padding: 0;
	}
}

