*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 16px;
	--color-text: #fff;
	--color-text-alt: #302c31;
	--color-bg: #1e1b1f;
	--color-link: #fff;
	--color-link-hover: #fff;
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: area-normal,-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	overflow-x: hidden;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	/* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
	background: transparent;
}

a:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid red;
	background: transparent;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
}

.unbutton:focus {
	outline: none;
}

.frame {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	color: var(--color-title);
	padding: 1rem;
	font-size: 13px;
	font-weight: 600;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: 'title credits';
	justify-content: start;
	align-content: space-between;
	align-items: start;
	z-index: 100;
	pointer-events: none;
	grid-gap: 0.5rem;
}

.frame a {
	pointer-events: auto;
}

.frame a:not(.frame__demo) {
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}

.frame a:not(.frame__demo)::before {
	content: '';
	height: 1px;
	width: 100%;
	background: currentColor;
	position: absolute;
	top: 90%;
	transition: transform 0.3s;
	transform-origin: 0% 50%;
}

.frame a:not(.frame__demo):hover::before {
	transform: scaleX(0);
	transform-origin: 100% 50%;
}

.frame__title {
	grid-area: title;
	display: flex;
	align-items: flex-end;
}

.frame strong {
	font-weight: 800;
}

.frame__title-main {
	font-size: inherit;
	margin: 0;
	font-weight: inherit;
}

.frame__credits {
	grid-area: credits;
}

main {
	counter-reset: section;
}

.content {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	justify-content: center;
	position: relative;
	align-items: center;
}

.content::before {
	counter-increment: section; 
	content: "Effect No. " counter(section);
	font-weight: 800;
	font-size: 1rem;
	margin-bottom: 10vh;
	text-transform: uppercase;
	color: var(--color-text-alt);
	z-index: -1;
}

.linetype {
	position: relative;
	display: grid;
	place-items: center;	
	margin: 0;
	cursor: default;
}

.linetype__text {
	line-height: 1;
	font-size: 10vw;
	grid-area: 1 / -1;
	font-weight: 400;
	pointer-events: none;
}

.linetype__line {
	width: 100%;
	height: var(--thickness-line);
	background: var(--color-line);
	grid-area: 1 / -1;
	transform-origin: 0% 50%;
	transform: scale3d(0,1,1);
	pointer-events: none;
}

.linetype--1 {
	--thickness-line: 10px;
	--color-line: #5714bd;
}

.linetype--2 {
	--thickness-line: 18px;
	--color-line: #ee8120;
}

.linetype--3 {
	--thickness-line: 2px;
	--color-line: #7f6cba;
}

.linetype--4 {
	--thickness-line: 5px;
	--color-line: linear-gradient(to right, #8415e2, blue);
}

.linetype--5 {
	--thickness-line: 2px;
	--color-line: #f1f1f1;
}

.linetype--6 {
	overflow: hidden;
	--thickness-line: 11vh;
	--color-line: #de4010;
	--color-line: linear-gradient(to left, #de4010, #10debe);
}

.linetype--7 {
	--thickness-line: 18px;
	--color-line: hsl(321deg 82% 50% / 88%);
}

.linetype--8 {
	--thickness-line: 30px;
	--color-line: #e9b563;
}

.char-wrap {
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.font-1 {
	color: #463ba0;
	text-transform: uppercase;
	font-family: "owners-xxwide", sans-serif;
	font-weight: 700;
	font-size: 8vw;
}

.font-2 {
	font-size: 15vw;
	color: #f7d859;
	font-family: "jetlab-variable", sans-serif;
	font-variation-settings: "LIFT" 0, "HORZ" 0, "VERT" 34, "THRU" 50;
	text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.font-3 {
	font-size: 14vw;
	color: #bc77cf;
	font-family: "zuume-edge", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-transform: uppercase;
}

.font-4 {
	color: #b5a1ed;
	font-family: "goldich", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.font-5 {
	text-transform: uppercase;
	font-family: "cc-deadline-open-variable", sans-serif;
	font-variation-settings: "slnt" 0, "wdth" 50;
}

.font-6 {
	font-family: "lulo-outline", sans-serif;
	color: #c54c26;
	font-weight: 700;
	font-style: normal;
	font-size: 6vw;
	letter-spacing: -0.15em;
	line-height: 0.7;
    padding-top: 0.2em;
}

.font-7 {
	padding: 0 0.25em;
	font-family: "magno-sans-variable", sans-serif;
	font-variation-settings: "wght" 775;
}

.font-8 {
	font-family: "owners-xxwide", sans-serif;
	color: beige;
	font-weight: 700;
	font-size: 8vw;
}

@media screen and (min-width: 53em) {
	
}
