/* START: Global tags */
@view-transition {
    navigation: auto
}

::view-transition-group(*) {
    animation-duration: .6s
}

@media (prefers-reduced-motion:reduce) {
    ::view-transition-group(*) {
        animation: none!important
    }
}


html {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	height:100%;
	font-size: var(--font-size);
}

body {
	position: relative;
	width: 100%;
	height: fit-content;
	font-size: 1rem;
    background-color: var(--beige-white);
}

* {
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

*:focus {
	outline: none;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

::selection {
	background: black;
	color: white;
}

::-moz-selection {
	background: black;
	color: white;
}

a, a:hover, a:link {
	text-decoration: none;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	-o-transition: all .4s ease;
}

.transition {
	transition: all .8s ease;
	-webkit-transition: all .8s ease;
	-moz-transition: all .8s ease;
	-o-transition: all .8s ease;
}

.slowTransition {
	transition: all .8s cubic-bezier(0.645, 0.045, 0.355, 1);
	-webkit-transition: all .8s cubic-bezier(0.645, 0.045, 0.355, 1);
	-moz-transition: all .8s cubic-bezier(0.645, 0.045, 0.355, 1);
	-o-transition: all .8s cubic-bezier(0.645, 0.045, 0.355, 1);
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
}


/* CTA */
.ctas {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	height: fit-content;
	width: 100%;
	gap: .462vw; /*8px*/
}

.cta {
	position: relative;
	display: flex;
	height: fit-content;
	width: fit-content;
	padding: 1.38vw 2.31vw; /*24px 40px*/
	color: var(--font_color);
    background-color: var(--background_color);
    border: 1px solid var(--boder_color);
	cursor: pointer;
	text-align: center;
}

.ctas .cta {
	max-width: calc(100vw - (var(--lateralMargin)*2));
}

.cta:hover {
	color: var(--font_color);
    background-color: transparent;
    border: 1px solid var(--font_color);
}


/* DIVIDER */
.page-section.has_divider {
    margin-top: var(--margin-top);
}

.divider {
    position: absolute;
    display: block;
    width: 100%;
    height: fit-content;
    top: 0;
    z-index: 2;
    transform: translate(0,-99%);
}

.divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}


/* PAGE TRANSITION */
#pageTransition {
	z-index: 20;
	background: white;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	transition-duration: .6s;
}

#pageTransition.opened {
	opacity: 1;
	pointer-events: initial;
}

#pageTransition.closed {
	pointer-events: none;
	opacity: 0 !important;
}

#pageTransition.show {
	opacity: 1 !important;
	pointer-events: initial;
}


/* LAZY */
video.lazy {
	display: block;
	overflow: hidden;
	transition: filter .4s ease-in-out, opacity .4s ease-in-out;
	opacity: 1;
	filter: blur(.9rem);
}

video.lazy.lazyloaded {
	opacity: 1;
	filter: blur(0px);
}

picture.lazy {
	display: block;
	overflow: hidden;
	transition: filter .4s ease-in-out, opacity .4s ease-in-out;
	transition-property: opacity;
	opacity: 1;
}

picture.lazy.lazyloaded {
	opacity: 1;
}

picture.lazy img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	filter: blur(.9rem);
	transition: filter .4s ease-in-out;
}

picture.lazy.lazyloaded img {
	filter: blur(0px);
}

.aspect-container {
	position: relative;
	width: 100%;
}

.aspect-container picture {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.aspect-container picture img,
.aspect-container video {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
}


/* Reveal */
.reveal {
	opacity: 0;
}

.reveal.revealMove {
	opacity: 0;
	transform: translate(0, 2.5vw);
}

.reveal.revealed {
	opacity: 1;
}

.reveal.revealMove.revealed {
	opacity: 1;
	transform: translate(0,0);
}


/* Overlay */
.overlay {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none !important;
	z-index: 100;
	background-image: url(../../assets/svgs/texture.svg);
	background-position: top center;
}


@media only screen and (max-width: 1728px) {
	.cta {
		padding: 24px 40px;
	}
}


@media only screen and (max-width: 740px) {
	/* DIVIDER */
	.page-section.has_divider {
		margin-top: var(--margin-top-sm);
	}

	.divider {
		transform: translate(0,-98%);
	}


	/* CTA */
	.ctas {
		flex-flow: column;
		gap: 2.05vw; /*8px*/
	}

	.cta {
		padding: 4.1vw 8.2vw 4vw; /*16px 32px*/
		font-size: .916rem;
		line-height: 1;
	}

	.cta:hover {
		color: var(--font_color);
		background-color: var(--background_color);
		border: 1px solid var(--boder_color);
	}
}

@media only screen and (max-width: 550px) {
	/* CTA */
	.ctas {
		gap: 8px;
	}

	.cta {
		padding: 24px 32px 23px;
		font-size: .916rem;
	}
}