@font-face {
	font-family: "Satoshi";
	src: url(./resources/font/satoshi/Fonts/Variable/Satoshi-Variable.ttf);
}

@font-face {
	font-family: "PJS";
	src: url(./resources/font/plusJakartaSans/PlusJakartaSans-VariableFont_wght.ttf);
}

html,
body {
	font-family: "PJS";
}

.hero {
	margin-top: 100px;
	margin-left: 100px;
}

/* Text */
h1 {
	position: relative;
	z-index: 1;
	margin-top: 200px;
	margin-bottom: 0;
	font-size: 3em;
}
/* 
h1 > * {
    margin-top: auto;
    position: relative;
    bottom: -2px;
    height: .65em;
    width: .65em;
    stroke-width: 3px;
} */

h2 {
	position: relative;
	z-index: 1;
	margin: 20px 0 20px;
	color: #585858;
}

.accent {
	color: #05443d;
}

/* Btn */

.btn {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 10px 20px;
	border-radius: 10px;
	text-decoration: none;
	transition: 0.75s all;
	margin-left: 0;
}

.btn > * {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn svg {
	display: inline;
	height: 18px;
}

.primary {
	background-color: #252525;
	color: #ffffff;
}

.primary:hover {
	filter: drop-shadow(0px 0px 10px #4cc4b5);
}

.secondary {
	color: #252525;
	margin-left: 25px;
}

.secondary:hover {
	background-color: #97979734;
}

/* Img */

.heroImgContainer {
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	pointer-events: none;
}

.heroImg img {
	position: absolute;
	height: 1000px;
	border-radius: 15px;
	margin: 0 auto auto;
}

.heroImgPerspective {
	z-index: 0;
	aspect-ratio: 510/900;
	height: 1000px;
	transform: rotateX(41deg) rotateY(-30deg) rotateZ(19deg);
	margin-left: auto;
	margin-right: 250px;
	border: solid #f2f2f2 2px;
	border-radius: 15px;
	filter: drop-shadow(-30px 10px 4px #f2f2f225);
}

.heroImgContainer {
	width: 100%;
}

.heroImgPerspective > * {
	animation: loadIn 1s ease-in-out forwards;
	opacity: 0;
}

.heroImgPerspective > * > * {
	transform: translateZ(-100px);
}

.active {
	opacity: 1;
}

.l1 {
	animation-delay: 0.7s;
}

.l2 {
	animation-delay: 1.2s;
}

.l3 {
	animation-delay: 1.7s;
}

.show-mobile {
	display: none;
}

@keyframes loadIn {
	from {
		opacity: 0;
		filter: blur(10px);
		transform: translate(-200px, -200px);
	}
	to {
		opacity: 1;
		filter: blur(0px);
		transform: translate(0px);
	}
}

.hero > *:is(:not(.heroImgContainer)) {
	animation: loadInText 1s linear forwards;
	/* animation-delay: 1.5s; */
	opacity: 0;
}

.afterLoadText {
	opacity: 1;
}

@keyframes loadInText {
	from {
		opacity: 0;
		filter: blur(10px);
	}
	to {
		opacity: 1;
		filter: blur(0px);
	}
}

@media only screen and (max-width: 1666px) {
	.heroImg img {
		height: 700px;
	}

	.heroImgPerspective {
		height: 700px;
		margin-right: calc(100vw / 13);
	}
	.heroImgContainer * {
		z-index: 999;
	}

	.heroImgContainer {
		z-index: 999;
	}
}

@media only screen and (max-width: 1500px) {
	.heroImg img {
		height: 500px;
	}

	.heroImgPerspective {
		margin-right: 100px;
		height: 500px;
	}
}

@media only screen and (max-width: 1000px) {
	.heroImgContainer {
		transform: translate(-50%, -100%);
		top: 100%;
		left: 50%;
	}

	.heroImg img {
		height: calc(100vw / 1.5);
		max-height: 500px;
		min-height: 350px;
	}

	.heroImgPerspective {
		top: 100%;
		height: calc(100vw / 1.5);
		max-height: 500px;
		min-height: 350px;
		margin-right: auto;
		z-index: 0;
	}

	h1 {
		margin-top: 10px;
	}

	.hero {
		margin-top: 10px;
		margin-left: 10px;
	}

	.hide-mobile {
		display: none;
	}

	.show-mobile {
		display: inline;
		margin: 0;
		padding: 0;
	}

	.show-mobile > * {
		transform: translateY(2.5px);
	}

	.show-mobile:hover {
		background: transparent !important;
	}
	.heroImgContainer * {
		z-index: 999;
	}

	.heroImgContainer {
		z-index: 999;
	}
}

/** SPECIAL */
.specialAccent {
	color: #ca244c;
}
