* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

html, body, .app {
	height: 100vh;
}

.sides {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

body {
	background: url("img/bg.png");
	background-size: 1em;
	background-repeat: repeat;
	background-color: #4585ff;
	color: #000;
	margin: 1em;

	font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

h1 {
	font-size: 3em;
}

h2 {
	margin-top: 0.3em;
}

a:link, a:visited {
	color: #fff;
}

.about-me a:link, .about-me a:visited {
    color: #000;
}

.text-1 {
	filter: url("#outline-1");
	/* text-shadow: 1px 1px 0px #fff, 0px 1px 0px #fff, -1px 0px 0px #fff, 0px -1px 0px #fff, 1px 0px 0px #fff, -1px -1px 0px #fff, -1px 1px 0px #fff, 1px -1px 0px #fff; */
}
.text-1-5 {
	filter: url("#outline-1-5");
	/* text-shadow: 1.5px 1.5px 0px #fff, 0px 1.5px 0px #fff, -1.5px 0px 0px #fff, 0px -1.5px 0px #fff, 1.5px 0px 0px #fff, -1.5px -1.5px 0px #fff, -1.5px 1.5px 0px #fff, 1.5px -1.5px 0px #fff; */
}
.text-2 {
	filter: url("#outline-2");
	/* text-shadow: 2px 2px 0px #fff, 0px 2px 0px #fff, -2px 0px 0px #fff, 0px -2px 0px #fff, 2px 0px 0px #fff, -2px -2px 0px #fff, -2px 2px 0px #fff, 2px -2px 0px #fff; */
}
.text-3 {
	filter: url("#outline-3");
	/* text-shadow: 3px 3px 0px #fff, 0px 3px 0px #fff, -3px 0px 0px #fff, 0px -3px 0px #fff, 3px 0px 0px #fff, -3px -3px 0px #fff, -3px 3px 0px #fff, 3px -3px 0px #fff; */
}
.text-4 {
	filter: url("#outline-4");
	/* text-shadow: 4px 4px 0px #fff, 0px 4px 0px #fff, -4px 0px 0px #fff, 0px -4px 0px #fff, 4px 0px 0px #fff, -4px -4px 0px #fff, -4px 4px 0px #fff, 4px -4px 0px #fff; */
}
.text-5 {
	filter: url("#outline-5");
	/* text-shadow: 5px 5px 0px #fff, 0px 5px 0px #fff, -5px 0px 0px #fff, 0px -5px 0px #fff, 5px 0px 0px #fff, -5px -5px 0px #fff, -5px 5px 0px #fff, 5px -5px 0px #fff; */
}

.goober {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: left;
}

.socials {
	display: flex;
	align-items: center;
}

.social {
	margin: 0 0.2em;
}

.rows {
	display: flex;
	flex-direction: column;
}

.h2-padding {
	margin-top: 1em;
}

.h3-padding {
	margin-top: 0.5em;
}

.side-left {
	/* display: flex;
	flex-direction: column;
	justify-content: center; */
	align-items: center;
	text-align: center;
	width: 45%;
}

.side-right {
	width: 45%;
	/* display: flex;
	flex-direction: column;
	justify-content: center; */
	margin-right: 1em;
}

.blog {
	width: 100%;
	height: auto;
	background-color: #6714f0;
	padding: 1em;

	position: relative;

	margin-bottom: 1.5em;

	/* filter: url("#outline-3-box"); */

	color: #fff;
}


.blog h1 {
	font-family: comic, sans-serif;
	font-size: 1.5em;
	margin-bottom: 0.5em;
}

.blog p {
	font-size: 1em;
}


.blog::after {
	filter:unset;
	content: "";
	position: absolute;
	z-index: -2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #6714f0;

	box-shadow: -3px -3px 0px #fff, 3px 3px 0px #fff, -3px 3px 0px #fff, 3px -3px 0px #fff;
}
.blog::before {
	filter: none;
	content: "";
	position: absolute;
	z-index: -1;
	top: 0.5em;
	left: 0.5em;
	width: 100%;
	height: 100%;

	box-shadow: -3px -3px 0px #fff, 3px 3px 0px #fff, -3px 3px 0px #fff, 3px -3px 0px #fff;

	background: url("img/drop-bg.png");
	background-size: 0.5em;
	background-repeat: repeat;
	background-color: #00d9a0;
	animation: anim-bg 1s linear infinite;
	animation-play-state: paused;
}

.blog:hover::before {
	animation-play-state: running;
}

.blog-header {
	display: flex;
	justify-content: space-between;
}

/* mobile */

@media (max-width: 800px) {
	.app {
		flex-direction: column;
		/* align-items: center;
		justify-content: center; */
		flex-wrap: nowrap;
	}
	.side-left {
		width: 100%;
		margin-bottom: 1em;

		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.side-left h1 {
		text-align: center;
	}
	.side-right {
		width: 100%;
		margin-bottom: 1em;
	}

	.goober {
		flex-direction: column;
		text-align: center;
	}
}

.gay-arts {
	margin: 1em;

	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	align-items: flex-start;
}

.art {
	background-color:#6714f0;
	position: relative;

	/* filter: url("#outline-3-box"); */
	/* box-shadow: -3px -3px 0px #fff, -3px 0px 0px #fff, 0px -3px 0px #fff; */

	padding: 5px;
	margin: 16px;

	color: #fff;
}


.art::after {
	filter:unset;
	content: "";
	position: absolute;
	z-index: -2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #6714f0;

	box-shadow: -3px -3px 0px #fff, 3px 3px 0px #fff, -3px 3px 0px #fff, 3px -3px 0px #fff;
}
.art::before {
	filter: none;
	content: "";
	position: absolute;
	z-index: -1;
	top: 0.5em;
	left: 0.5em;
	width: 100%;
	height: 100%;

	box-shadow: -3px -3px 0px #fff, 3px 3px 0px #fff, -3px 3px 0px #fff, 3px -3px 0px #fff;

	background: url("img/drop-bg.png");
	background-size: 8px;
	background-repeat: repeat;
	background-color: #00d9a0;
	animation: anim-bg 1s linear infinite;
	animation-play-state: paused;
}

.art:hover::before {
	animation-play-state: running;
}

@keyframes anim-bg {
	0% {
		background-position: 0 0;
	}
	100% {
		background-position: 8px 8px;
	}
}

.art-details {
	padding: 8px;
}

.art img {
	width: 150px;
	height: auto;
}

.art.wide {
	width: 100%;
	max-width: 600px;
}

.art.wide img {
	width: 100%;
	max-width: 600px;
}

.pixel {
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

.art.medium img {
	width: auto;
	height: 204px;
}

.art.tall img {
	width: auto;
	height: 272px;
}

.art.taller img {
	width: 172px;
	height: auto;
}


.first-part {
	text-align: center;
}

.below {
	text-align: center;
}



model-viewer {
	height: 200px;
	width: 200px;
}
model-viewer#camashred-model-1 {
	height: 200px;
	width: 300px;
}


.progress-bar {
	display: block;
	width: 33%;
	height: 10%;
	max-height: 2%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate3d(-50%, -50%, 0);
	border-radius: 25px;
	box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.9);
	background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
	visibility: hidden;
	transition: visibility 0.3s;
}

.update-bar {
	background-color: rgba(255, 255, 255, 0.9);
	width: 0%;
	height: 100%;
	border-radius: 25px;
	float: left;
	transition: width 0.3s;
}

#ar-button {
	background-image: url(3d/ar_icon.png);
	background-repeat: no-repeat;
	background-size: 20px 20px;
	background-position: 12px 50%;
	background-color: #fff;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	bottom: 16px;
	padding: 0px 16px 0px 40px;
	font-family: Roboto Regular, Helvetica Neue, sans-serif;
	font-size: 14px;
	color:#4285f4;
	height: 36px;
	line-height: 36px;
	border-radius: 18px;
	border: 1px solid #DADCE0;
}

#ar-button:active {
	background-color: #E8EAED;
}

#ar-button:focus {
	outline: none;
}

#ar-button:focus-visible {
	outline: 1px solid #4285f4;
}

@keyframes circle {
	from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
	to   { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
	from { transform: translateX(100px); }
	to   { transform: translateX(-100px); }
}

model-viewer > #ar-prompt {
	position: absolute;
	left: 50%;
	bottom: 60px;
	animation: elongate 2s infinite ease-in-out alternate;
	display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
	display: block;
}

model-viewer > #ar-prompt > img {
	animation: circle 4s linear infinite;
}

.tpose-button {
	position: relative;
	display: inline-block;
	width: 2em;
	height: 2em;
	cursor: pointer;
}

.tpose-button > img {
	position: absolute;
	top: -0.3em;
	left: -0.3em;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.tpose-button > img.on {
	opacity: 1;
}

.tpose-button > img.off {
	opacity: 0;
}

.tpose-button.on > img.on {
	opacity: 0;
}

.tpose-button.on > img.off {
	opacity: 1;
}

.right-controls {
	position: absolute;
	right: 0;
	bottom: 0;
}

/* Balatro Easter Egg */
.card-container {
	perspective: 35rem;
	transition: scale 0.2s;
}

.card-container:hover {
	scale: 1.05;
}

.card {
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease-out;
	transform-style: preserve-3d;
	transform: rotate3d(0, 0, 0, 0deg);
}