/* critical css */


:root {
	--outfit: "Outfit";
	--dmSerifDisplay: "DM Serif Display", Sans-serif;
	--sectionMargin: calc(45px + (75 - 45) * ((100vw - 300px) / (1680 - 300)));
	--sectionMarginSmall: calc(25px + (45 - 25) * ((100vw - 300px) / (1680 - 300)));
	--sectionMarginMedium: calc(33px + (60 - 33) * ((100vw - 300px) / (1680 - 300)));
	--sectionMarginMediumLarge: calc(60px + (100 - 60) * ((100vw - 300px) / (1680 - 300)));
	--sectionMarginLarge: calc(75px + (125 - 75) * ((100vw - 300px) / (1680 - 300)));
	--sectionTitle : calc(28px + (40 - 28) * ((100vw - 300px) / (1680 - 300)));
}

.outfit {
	font-family: var(--outfit)
}

.dmSerifDisplay {
	font-family: var(--dmSerifDisplay)
}

.outfit-span-font-default mark {
	font-family: var(--fontFamily)
}



body, html {
	text-rendering: optimizeLegibility;
}

mark {
	font-weight: normal
}


/* menu */

.mobile-menu>ul[id*="menu-primary-"] {
	display: flex;
    flex-direction: column;
    height: 90.5vh;
	border-top: 0;
}

ul[id*="menu-primary-"] li {
	padding-left: .25em
}

ul[id*="menu-primary-"]  li.last-item {
	margin-top: auto;
    border-top: var(--mobile-menu-divider);
    margin-left: -40px;
    margin-right: -40px;
    padding-left: calc(40px + 0.25em);
    padding-right: calc(40px + 0.25em);
	padding-top: calc(5.5px + (6 - 5.5) * ((100vw - 300px) / (1680 - 300)));
	border-bottom: 0;
}

ul[id*="menu-primary-"]  li.last-item a {
	display: flex;
}

ul[id*="menu-primary-"]  li.last-item a::after {
	content: "→";
	width: 40px;
    height: 40px;
    border: 1px solid #bbb;
    border-radius: 50px;
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    color: var(--linkInitialColor);
	opacity: .8;
    margin-left: auto;
}

ul[id*="menu-primary-"]  li.last-item a:hover::after {
	/* color: var(--paletteColor6); */
	border-color: var(--paletteColor6);
}

/*
#offcanvas.active svg.ct-icon {
	fill: var(--paletteColor2);
	opacity: .25;
}
*/


/* footer */

.footer-hook *,
[data-footer*="type-1"] .ct-footer [data-row*="bottom"] * {
	font-size: 16px;
	text-decoration: none;
	letter-spacing: 0.5px
}

@media (min-width: 768px) {
	
	/* menu-hacks */
	#header [data-device="desktop"] [data-column=end] /* [data-items="primary"] */ {
		position: fixed;
		left: 0;
		height: 100vh;
		align-items: flex-start;
		justify-content: center;
		padding-top: 30px;
		width: calc(94px + (96 - 94) * ((100vw - 300px) / (1680 - 300)));
		border-right: 1px solid #efefef;
		background-color: #fff;
		z-index: 9999999
	}
	
	#header [data-device="desktop"] [data-column=end] [data-items="primary"] {
		/*
		border: 1px solid #efefef;
		width: 44px;
		height: 44px;
		border-radius: 50px;
		justify-content: center;
		*/
		flex-direction: column;
		height: 96%;
		place-content: flex-start;
		justify-content: space-between;
	}
	
	#header [data-device="desktop"] .ct-header-text,
	#header [data-device="desktop"] [data-column=end] [data-items="primary"] button {
		margin: 0
	}
	
	[data-header*="type-1"] #offcanvas {
		/* */ z-index: 49
	}
	
	[data-header*="type-1"] #offcanvas .ct-panel-inner {
		margin-left: calc(94px + (96 - 94) * ((100vw - 300px) / (1680 - 300)));
		/*
    	box-shadow: 200px 0px 300px rgba(50, 50, 50, 0.225);
		box-shadow: 200px 0px 150px -50px rgb(70, 70, 70, 0.15);
		
		box-shadow: 200px 0px 100px -100px rgb(70, 70, 70, 0.105);
		*/
	}
	
	#header [data-device="desktop"] [data-column=end] [data-items="primary"] button {
		width: 44px;
		height: 44px;
		border-radius: 50px!important;
		box-shadow: 0px 0px 0px 1.5px #efefef!important;
	}
	
	.ct-header-text .name {
		font-size: calc(16px + (17.5 - 16) * ((100vw - 300px) / (1680 - 300)));
		word-spacing: calc(3px + (4.5 - 3) * ((100vw - 300px) / (1680 - 300)));
	}
	
	#header [data-device="desktop"] .ct-social-box {
		display: flex;
    	flex-direction: column;
	}
	
	#header [data-device="desktop"] .ct-social-box .ct-icon-container {
		background-color: var(--paletteColor2);
		padding: calc(8px + (9 - 8) * ((100vw - 300px) / (1680 - 300)));
		border-radius: 50px;
	}
	
	#header [data-device="desktop"] .ct-social-box svg {
		fill: var(--paletteColor8);
	}
	
	body[data-panel="in:left"] #header [data-column=start] {
		transition: .125s opacity ease-in;
		opacity: 0
	}
	
	/* disable aos on desktop */
	html:not(.no-js) .aoswp-enabled [data-aos] {
        opacity: 1!important;
        -webkit-transform: none!important;
        transform: none!important;
        transition: none!important;
        transition-timing-function: unset!important;
        transition-duration: unset!important;
        transition-property: none!important;
    }
	
}


@media (min-width: 768px) and (max-width: 1024px) {

	#main-container {
		margin-left: calc(94px + (96 - 94) * ((100vw - 300px) / (1680 - 300)));
	}
}

@media (min-width: 1025px) and (max-width: 1599px) {

	#main-container {
		margin-left: calc(94px + (96 - 94) * ((100vw - 300px) / (1680 - 300)));
	}
	
	
}

@media (min-width: 1600px) {
	
	
}


@media (max-width: 767px) {
	
	.ct-panel-content[data-device="mobile"] {
		overflow-y: hidden
	}
	
	ul[id*="menu-primary-"]  li.last-item {
		margin-left: -25px;
    	margin-right: -25px;
	}
	
	/*
	nav.mobile-menu[data-id="mobile-menu"] {
		overflow-y: hidden
	}

	ul[id*="menu-primary-"] {
		    overflow-x: hidden;
	}	
	*/
}

@media (max-width: 499px) {
	
	:root {
		--container-width-base: calc(89.9vw - var(--frame-size, 0px) * 2);
	}
	
}