*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 14px;
	--color-text: #fff;
	--color-bg: #5f79ea;
	--color-link: #fff;
	--color-link-hover: #fff;
	--padding-page: 2rem;
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: "forma-djr-micro",-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-transform: uppercase;
	overflow-x: hidden;
}

.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;
	opacity: 0.4;
	background-image: url('/assets/img/pre.png');
	background-size: cover;
	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;
}

a:focus {
	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 {
	z-index: 1000;
	position: fixed;
	width: 100%;
	padding: var(--padding-page);
	display: grid;
	grid-template-columns: 100%;
	grid-template-areas: 'title';
	grid-gap: 0.5rem;
	justify-items: start;
	align-self: start;
	justify-self: start;
	pointer-events: none;
	align-items: center;
}

.loading .frame {
	opacity: 0;
}

.frame a {
	pointer-events: auto;
}

.frame a:not(.frame__title-back) {
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}

.frame a:not(.frame__title-back)::before {
	content: '';
	height: 1px;
	width: 100%;
	background: currentColor;
	position: absolute;
	top: 90%;
	transition: transform 0.3s;
	transform-origin: 0% 50%;
}

.frame a:not(.frame__title-back):hover::before {
	transform: scaleX(0);
	transform-origin: 100% 50%;
}

.frame__title {
	grid-area: title;
	display: flex;
	background-color: var(--color-bg);
	padding: 15px;
}

.frame__title-main {
	font-size: inherit;
	margin: 0;
	font-weight: inherit;
}

.btw {
	position: fixed;
	top: var(--padding-page);
	right: var(--padding-page);
	z-index: 900;
	pointer-events: none;
	height: 100px;
	width: 100px;
}

.content {
	display: grid;
	grid-template-rows: 100vh 1fr auto;
	grid-template-columns: 100%;
	width: 100vw;
	--imgRatio: 2880 / 1920;
	height: calc(var(--imgRatio) * 100vw);
	padding: 0 var(--padding-page);
	position: relative;
}

.canvas-wrap {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-position: 50% 50%;
	background-size: cover;
	opacity: 0;
}

.no-js .canvas-wrap {
	opacity: 1;
}

.content__inner {
	position: relative;
	justify-self: start;
	align-self: center;
	padding-bottom: var(--padding-page);
	transition: transform 0.4s ease;
	overflow-x: hidden;
}

.content__inner:hover {
    transform: translateY(-5px);
}

h2 {
	position: relative;
	font-size: 10vw;
	font-weight: 400;
	margin: 0;
	line-height: 0.8;
}

h2 span:nth-child(even) {
	font-size: 10.5vw;
	font-family: "lores-9-plus-wide", sans-serif;
}

p {
	position: relative;
	grid-area: content;
	margin: 1rem 0 0 0;
	max-width: 900px;
	justify-self: start;
	text-transform: none;
}

.list-unstyled {
	font-size: 12px;
	list-style: none;
	text-transform: none;
	padding-left: 20px;
}

.list-unstyled li {
	position: relative;
}

.list-unstyled li::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background: url('/assets/img/arrow.svg') no-repeat center;
	background-size: contain;
	position: absolute;
	margin-left: -20px;
}

@media screen and (min-width: 53em) {
	.frame {
		height: 100vh;
		grid-template-columns: auto auto 1fr;
		grid-template-rows: auto auto;
		align-content: space-between;
		justify-items: start;
		grid-gap: 2rem;
	}
	.btw {
		height: 150px;
		width: 150px;
	}
	.content__inner {
		align-self: end;
	}
	p {
		font-size: 22px;
		margin: 1rem 0 0 auto;
	}
	.list-unstyled {
		font-size: 14px;
	}
	.list-unstyled li::before {
		width: 14px;
		height: 14px;
	}
	.content {
		height: calc(var(--imgRatio) * 60vw);
	}
}
.btw-btn {
    position: relative;
    display: inline-block;
    padding: 12px 28px;
    color: #ffffff;
    border: 1px solid #ffffff;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.3s ease;
}
.btw-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}
.btw-btn:hover::before {
    transform: translateX(0);
}
.btw-btn:hover {
    color: #5f79ea;
}

.cookie-notice {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	max-width: 420px;
	margin-left: auto;
	background: rgba(0,0,0,0.8);
	color: #fff;
	padding: 16px 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	transform: translateY(20px);
	opacity: 0;
	pointer-events: none;
	transition: all .4s ease;
	z-index: 9999;
}

.cookie-notice.show {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.cookie-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cookie-content p {
	font-size: 13px;
	margin: 0;
	line-height: 1.4;
}

.cookie-content button {
	background: #5f79ea;
	border: none;
	color: #fff;
	padding: 8px 14px;
	cursor: pointer;
	transition: .2s;
}

.cookie-content button:hover {
	opacity: .85;
}

.parallax-svg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.float-item {
	position: absolute;
	width: 80px;
	height: auto;
	opacity: 0.5;
	will-change: transform;
	user-select: none;
}

.float-item.blur {
	filter: blur(6px);
	opacity: 0.3;
}

.float-item.small {
	width: 100px;
}

.float-item.big {
	width: 150px;
}

@media (max-width: 768px) {
	.float-item.small {
		width: 50px;
	}
	.float-item.big {
		width: 75px;
	}
}