@font-face {
	font-family: "Montserrat";
	src: url("../fonts/Montserrat-Bold.woff2") format("woff2"),
		url("../fonts/Montserrat-Bold.woff") format("woff")
		url("../fonts/Montserrat-Bold.ttf") format("ttf");
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter18pt-Regular.woff2") format("woff2"),
		url("../fonts/Inter18pt-Regular.woff") format("woff"),
		url("../fonts/Inter_18pt-Regular.ttf") format("ttf");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter18pt-Medium.woff2") format("woff2"),
		url("../fonts/Inter18pt-Medium.woff") format("woff"),
		url("../fonts/Inter_18pt-Medium.ttf") format("ttf");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter18pt-Bold.woff2") format("woff2"),
		url("../fonts/Inter18pt-Bold.woff") format("woff"),
		url("../fonts/Inter_18pt-Bold.ttf") format("ttf");
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	color: #585858;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
h1, h2 { 
	font-family: "Montserrat", sans-serif;
	color: #1A1A1A;
	overflow-wrap: anywhere;
}
h1 {
	font-size: 2.625rem;
	line-height: 1.2;
}
h2 { font-size: 2rem; }
h3 { 
	color: #000000; 
	font-size: 1.5rem;
}
h1 .accent, h2 .accent { 
	background: linear-gradient(90deg, #9866F2 0%, #EDA1F5 40%, #ffffff 100%); 
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}
a { color: #4F13C0; }
a:hover { text-decoration: none; }
main { 
	flex: 1; 
	background: #ffffff; 
}

.btn, button {
	background: #4F13C0;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	border-radius: 0.375rem;
	padding: 0.75rem 1.125rem;
	transition: all 0.25s ease-in-out;
}
.btn:hover, button:hover, button:hover::not(:disabled) {
	box-shadow: 0 4px 8px rgba(79,19,192,0.2);
}
button:disabled { 
	opacity: 0.5; 
	color: rgba(255,255,255,0.5);
	cursor: default;
}
.btn-secondary {
	display: inline-flex;	
	background: transparent;
	padding: 0.75rem 1.125rem;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	color: #4F13C0;
	text-decoration: none;
	cursor: pointer;
	gap: 0.5rem;
	position: relative;
	border: 1px solid transparent;
	border-radius: 0.375rem;
	transition: all 0.25s ease-in-out;
}
.btn-secondary img {
	transition: transform 0.3s ease-out; 
	transition-delay: 0s; 
	transform-origin: center center;
}
.btn-secondary:hover { border-color: #4F13C0; }
.btn-secondary:hover img {
	animation: arrow-pulse 0.8s ease-out infinite;
}
.btn.secondary.border {
	background: #ffffff;
	border: 1px solid #4F13C0;
	color: #4F13C0;
}
.btn.secondary.border:hover {
	background: #4F13C0;
	color: #ffffff;
}
.btn.danger {
	background: rgba(255,255,255,1);
	border: 1px solid #FF4F81;
	color: #FF4F81;
}
.btn.danger:hover { 
	background: #FF4F81;
	color: #ffffff;
}
.text-right { text-align: right; }

@keyframes arrow-pulse {
	0% { transform: translateX(0); }
	50% { transform: translateX(8px); } 
	75% { transform: translateX(2px); } 
	100% { transform: translateX(0); } 
}

.box-info {
	background: rgba(0,210,255,0.1);
	border-radius: 0.5rem;
	padding: 1rem;
	color: #006479;
	font-size: 0.875rem;
	margin: 0.5rem auto;
}


.alert { 
	padding: 1rem;
	border-radius: 0.5rem;
	color: rgba(88,88,88,0.75);
	margin: 1rem 0;
}
.alert.compact {
	padding: 0.25rem 0.35rem; 
	display: inline-flex; 
	font-size: 0.65rem;
	font-weight: 500;
	text-transform: uppercase;
}
.alert.success { 
	background: #d8eed9;
	border: #43A047;
	color: #2f7f32;
}
.alert.warning {
	background: #FEF9F0;
	border: 1px solid #F0B02F;
	color: #755413;
}
.alert.info {
	background: rgba(0,210,255,0.25);
	border: 1px solid rgba(0,210,255,0.5);
}
.alert.error {
	background: rgba(255,79,129,0.2);
	border: 1px solid rgba(255,79,129,0.75);
	color: #EF4676;
}

.container {
	width: calc(1020px - 2rem);
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}
.container.wider {
	width: 1232px;
	max-width: 100%; 
}
.muted { 
	font-size: 0.875rem;
	opacity: 0.6;
}
.card {
	background: #ffffff;
	border-radius: 0.5rem;
	padding: 1rem;
	box-shadow: 0 2px 0.5rem rgb(0 0 0 / 0.05);
	box-sizing: border-box;
	overflow-wrap: break-word;
}
.card h2 { 
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}
.card h4 {
	font-size: 1rem;
	color: #000000;
	font-weight: 600;
	margin: 0;
}
.card form h2 { margin-bottom: 0; }

header {
	background: #201F54;
}
header .container {
	margin: 0 auto 5rem auto;
	width: 1232px;
	max-width: 100%;
}
.topnav {	
	padding: 2rem 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 2;
}
.topnav a.logo {
	flex: 1;
}
.topnav #main_nav {
	flex: 2;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	justify-content: center;
	position: relative;
	margin: 0 auto;
}
.topnav nav .mainnav_options { 
	display: flex;
	gap: 2rem;
	justify-content: center;
	padding-left: 10%;
}
.topnav ul {
	list-style: none;
	display: flex;
	gap: 2rem;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
	flex: 1;
}
.topnav a {
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
	position: relative;
}
.topnav a::after, .topnav .nav-link.active::after {
	content: "";
	border-bottom: 2px solid transparent;
	position: absolute;
	bottom: -0.5rem;
	left: 0;
	right: 0;
	transition: all 0.25s ease-in-out;
}
.topnav a:hover::after, .topnav .nav-link.active::after, .topnav .nav-link.active:hover::after { border-bottom: 2px solid #FF4F81; }
.topnav .nav-link.active { cursor: default; }
.topnav .btn, .topnav .btn:hover { color: #ffffff; }
.inner-page .topnav .btn { background: #FF4F81; }
.topnav .btn::after { display: none; }
.topnav .lang-switcher { position: relative; padding-right: 1rem; }
.topnav .lang-switcher a { 
	position: absolute;
	font-size: 1.6rem; 
	margin-top: -0.3rem;
	transition: all 0.25s ease-in-out;
}
.topnav .lang-switcher a:hover::after { display: none; }
.topnav .lang-switcher a:hover { transform: scale(1.15); }

#hero.home, #hero .container {
	width: calc(1232px - 1rem);
	max-width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
	display: grid;
	gap: 2.375rem;
}
#hero.home { 
	margin-top: 5rem;
	padding-bottom: 3rem;
	padding-left: 1rem;
	max-width: calc(100% - 2rem);
}
#hero.home .headlines { text-align: left; }
.inner-page header { 
	position: relative; 
	background: url("../img/inner-hero-bgr.svg") no-repeat 0 0;
	background-size: cover;
	border-bottom-left-radius: 2rem;
	border-bottom-right-radius: 2rem;
}
.inner-page header .container { margin-bottom: 2rem; }
.page-contact.inner-page { position: relative;}
.page-contact.inner-page header { background: transparent; z-index: 1;}
.page-contact.inner-page header .container { margin-bottom: 0; }
.page-contact.inner-page #hero {
	background: url("../img/inner-hero-bgr.svg") no-repeat 0 0;
	background-size: cover;
	border-bottom-left-radius: 2rem;
	border-bottom-right-radius: 2rem;
	padding-bottom: 2rem;
	padding-top: 8rem;
	margin-top: -7rem;
	z-index: 0;
}
.inner-page #hero { 
	padding: 3rem 1rem 0 1rem; 
	position: relative;
	margin-bottom: 2.5rem;
	overflow: hidden;
	width: 100%;
	max-width: calc(100% - 2rem);
}
#hero h1::before {
	content: "";
	display: block;
	width: 5.65rem;
	height: 5.65rem;
	border-radius: 50%;
	background: radial-gradient(circle at 100% 30%, #FBDCDE 0%, #DDABCC 100%);
	position: absolute;
	top: -3rem;
	right: -1.25rem;
	z-index: -1;
}
#hero h1::after {
	content: "";
	display: block;
	width: 0.875rem;
	height: 0.875rem;
	border-radius: 50%;
	background: rgba(219,192,221,0.80);
	position: absolute;
	top: 2.75rem;
	right: -1.5rem;
}
#hero.home h1::before, #hero.home h1::after { display: none; }
#hero h1 { 
	width: 540px;
	max-width: 100%;
	position: relative;
	z-index: 1;
	margin: 0 auto;
	color: #ffffff;
}
#hero h1 span { 
	display: block;
	color: #FF4F81;
	font-weight: bold;
}
#hero.home h1 { 
	margin: 0;
	font-size: 4rem;
	font-weight: normal;
	font-family: "Inter", sans-serif;
	line-height: 1.1;
}
#hero.home::after {
	width: 55%;
	height: auto;
	content: "";
	background: url("../img/hero-banner.webp") no-repeat top right;
	background-size: contain;
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
}
html[lang="en"] #hero.home::after { 
	background: url("../img/hero-banner-en.webp") no-repeat top right; 
	background-size: contain;
}
.subtitle {
	font-size: 1.125rem;
	line-height: 1.75rem;
	max-width: 100%;
	width: 680px;
	margin: 1.5rem auto;
}
.home .subtitle {
	color: rgba(255,255,255,0.75); 
	margin: 2.5rem 0;
	width: 540px;
}
body.inner-page { background:#201F54; }
.inner-page #hero .container { 
	gap: 1.5rem; 
	position: relative; 
}
.inner-page #hero h1, .inner-page #hero .subtitle { 
	width: 900px;
	max-width: 90%;
	margin: 0 auto; 
	text-align: center;
	text-shadow: 0px 2px 12px rgba(0,0,0,0.15);
}
.inner-page #hero h1 { width: fit-content; }
.inner-page #hero .subtitle { 
	color: rgba(253,240,255,0.9);
	z-index: 1;
	margin-top: 0;
}
#hero .subtitle .buttons {
	margin: 5rem 0 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
}
#hero .subtitle .buttons .btn {
	background: #fff;
	border: 2px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
#hero .subtitle .buttons .btn span {
	background: linear-gradient(to right, #4F13C0, #FF4F81);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	font-size: 1.375rem;
	font-weight: normal;
	-webkit-text-fill-color: transparent;
}
#hero .subtitle .buttons .btn-naked { 
	color: #FF4F81; 
	text-decoration: none; 
}

section h1, section:not(.card) h2, div::not(.card) h2, .subtitles { text-align: center; }
section h2 { margin-top: 0; }

#get-in-touch {
	background: #F5F7F9;
	display: grid;
	justify-items: center;
	align-items: center;
	text-align: center;
	padding: 0 1rem 5rem 1rem;
	position: relative;
	overflow: hidden;
}
#get-in-touch h2 {
	padding-bottom: 1rem;
	width: 90%;
	margin: 0 auto;
	position: relative;
	z-index: 2;
	padding-bottom: 0;
}
#get-in-touch .container {
	position: relative;
	z-index: 1;
	background: url("../img/folder-shape.svg") no-repeat 0 0;
	background-size: 100%;
	padding: 2.5rem 1rem 3rem 1rem;
	width: 840px;
	max-width: 72%;
	margin: 0 auto;
}
#get-in-touch .subtitle { 
	margin-top: 1rem;
	padding-bottom: 1rem;
	color: rgba(88,88,88,0.8);
}

.discount-label {
	color: #43A047;
	font-size: 0.875rem;
	margin: 0.5rem auto;
}

.switch {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 30px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 30px;
	transition: 0.4s;
}

.slider::before {
	position: absolute;
	content: "";
	height: 24px;
	width: 24px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	border-radius: 50%;
	transition: 0.4s;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

section#hero.contact .container {
	display: grid;
	grid-template-columns: auto 710px;
	gap: 2rem;
	padding: 0;
}
section#hero.contact h1 {
	text-transform: uppercase;
	line-height: 1.1;
	text-align: left;
	max-width: 100%;
	margin: 2rem 0 0 0;
	font-size: 3.125rem;
}
section#hero.contact h1::before, section#hero.contact h1::after { display: none; }
.contact .aside ul {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 1rem;
	margin: 3rem 0 3.5rem 0;
}
.contact .aside ul li { 
	position: relative;
	padding-left: 2rem;
	color: rgba(253,240,255,0.9);
	font-size: 1.125rem;
}
.contact .aside ul li::before {
	content: "";
	position: absolute;
	left: 0;
	width: 1.5rem;
	height: 1.5rem;
	background: url("../img/checkbox.svg") no-repeat center / contain;
}
.contact .contact-by-mail {
	display: flex;
	gap: 1.25rem;
	align-items: center;
	color: rgba(253,240,255,0.9);
}
.contact-by-mail img { 
	width: 140px;
	max-width: 100%;
}
.contact-by-mail .label {
	text-transform: uppercase;
	display: block;
	padding: 1rem 0 0.5rem 0;
}
.contact-by-mail a {
	color: #ffffff;
	font-size: 1.125rem;
	font-weight: 600;
	text-decoration: none;
}
.contact-by-mail a:hover { text-decoration: underline; }
section.contact form {
	position: relative;
	z-index: 1;
	background: url("../img/folder-contact.svg") no-repeat top center;
	background-size: 710px 640px;
	padding: 3rem 0 2rem 0;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}
section.contact form .form-field, section.contact form .cf-challenge, section.contact .form-actions { 
	padding-left: 2rem; 
	padding-right: 2rem; 
}
section.contact form textarea { height: 150px; }
section.contact form .cf-challenge { margin-top: 0.5rem; }
section.contact .form-actions { padding-top: 0.5rem; }
section.contact .form-field label {
	font-size: 1rem;
	color: #ffffff;
}
section.contact form .btn { background: #FF4F81;}

#faqs.contact { padding-top: 0.5rem; }
#faqs.contact h2, #faqs.contact .subtitle { text-align: center; }
#faqs.contact .content { grid-template-columns: 1fr; }

input:checked + .slider {
	background-color: #4F13C0;
}

input:checked + .slider::before {
	transform: translateX(22px);
}

footer {
	background: #201F54;
	color: #ffffff;
	padding-top: 2rem;
	padding-bottom: 2rem;
	font-size: 0.875rem;
	line-height: 1.4;
}
footer .container {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 1rem;
}
footer nav { 
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
}
footer a { 
	color: #ffffff; 
	text-decoration: none; 
	transition: all 0.25s ease-in-out;
}
footer a:hover, footer a.current { color: #F0B02F; }
footer .logo p { 
	opacity: 0.75;
	margin-bottom: 0.5rem;
}
footer .additional {
	grid-column-start: 1;
	grid-column-end: 3;
	border-top: 1px solid rgba(255,255,255,0.25);
	font-size: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	padding-top: 1rem;
}
footer .additional p { opacity: 0.5; }
footer .additional p, footer .social-networks { margin: 0; }
footer .social-networks {
	list-style: none;
	margin-left: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}
footer .social-networks li, footer .social-networks a { 
	width: 24px; 
	height: 24px;
	font-size: 0;
	display: inline-flex;
}
footer .social-networks .facebook { 
	background: url("../img/icon-social-fb.svg") no-repeat center center;
}
footer .social-networks .x { 
	background: url("../img/icon-social-twitter.svg") no-repeat center center;
}
footer .social-networks .linkedin { 
	background: url("../img/icon-social-linkedin.svg") no-repeat center center;
}
#silktide-wrapper header, #silktide-wrapper footer { background: transparent; }

.mobile-nav-toggle, .topnav a.go-up {
	display: none;
}

input[type="text"], input[type="email"], input[type="number"], input[type="password"], select, textarea, trix-editor {
	border: 1px solid #d1d5db;
	padding: 0.7345rem 0.5rem;
	border-radius: 0.35rem;
	font-size: 1rem;
	transition: box-shadow 0.25s ease-in-out;
}
input[type="email"]:hover, input[type="password"]:hover, input[type="number"]:hover, input[type="password"]:hover, select:hover, textarea:hover { box-shadow: 0 2px 4px rgba(67,3,194,0.1); }
input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="password"]:focus, select:focus, textarea:focus { outline: 3px solid rgba(67,3,194,0.1); box-shadow: none; }
input[type="checkbox"], input[type="radio"] { margin: 1rem 0 0.75rem 0; }
textarea::placeholder {
	font-family: "Inter", sans-serif;
	font-size: 0.875rem;
	opacity: 0.7;
}

.info-page {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.info-page h3 { 
	margin-bottom: 0.5rem;
	font-size: 1.25rem;
}
ol li::marker { 
	font-weight: bold; 
	font-size: 1.15rem; 
}
ol li ol li::marker { 
	font-weight: normal; 
	font-size: 1rem; 
}
.modal-overlay {
	position: fixed;
	top: 0; 
	left: 0; 
	right: 0; 
	bottom: 0;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
.modal {
	background: #fff;
	border-radius: 0.5rem;
	max-width: 90%;
	width: 480px;
	box-shadow: 0 2px 1rem rgba(0,0,0,0.2);
	position: relative;
	overflow: hidden;
}
.modal-header, .modal-body { 
	padding: 0.5rem 1rem 1rem 1rem;
	text-align: center;
}
.modal-header { padding: 1.5rem 1rem 0 1rem; }
.modal-header h3 { margin: 0; }
.modal .modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 1.5rem;
	height: 1.5rem;
	background: transparent url("../img/icon-close_x.svg") no-repeat center center;
	background-size: 0.6rem;
	display: inline-flex;
	border: 1px solid #4F13C0;
	border-radius: 0.25rem;
	padding: 0;
	font-size: 0;
}
.modal-footer {
	background: #F0EDF5;
	padding: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
}
#silktide-wrapper .st-button--primary { font-size: 0.95rem; }


@media screen and (min-width: 820px) {
	#main_nav.to-bottom {
		position: fixed;
		bottom: 1rem;
		left: 50vw;
		transform: translateX(-50%);
		z-index: 9000;
		transition: transform 0.3s ease, opacity 0.3s ease;
		pointer-events: auto;
		display: flex;
		gap: 1rem;
		background: rgba(67,3,194,0.85);
		border-radius: 2rem;
		padding: 0 1rem;
		min-width: max-content;
	}
	.topnav nav#main_nav .mainnav_options { 
		padding-left: 0; 
		gap: 1.5rem; 
		align-items: center;
	}
	#main_nav.to-bottom .mainnav_options a, #main_nav.to-bottom ul a {
		color: #e8dcff;
		transition: all 0.3s ease;
	}
	#main_nav.to-bottom .mainnav_options a:hover, #main_nav.to-bottom ul a:hover { color: #ffffff; }
	.topnav #main_nav.to-bottom a:hover::after { display: none; }
	
	#main_nav a.go-up { margin: 0; display: none; }
	#main_nav.to-bottom a.go-up { 
		display: inline-flex;
		width: 2rem;
		height: 2rem;
		margin: 0.6rem 0;
	}
	#main_nav.to-bottom .go-up img {
		width: 100%;
		padding: 0;
	}
	#main_nav.to-bottom ul { gap: 1.5rem; }
	#main_nav.to-bottom ul .btn { background: none; padding: 0; }
	#main_nav.to-bottom ul .lang-switcher { 
		order: 2; 
		margin-right: 1rem;
	}
}



@media screen and (max-width: 1200px) {
	header .container { margin-bottom: 3rem; }
	#hero.home { margin-top: 0; }
	#hero.home h1 { 
		font-size: 3rem; 
		width: 460px;
	}
	.home .subtitle { 
		width: 360px; 
		margin: 2rem 0 0 0;
	}
	#hero .subtitle .buttons { 
		margin-top: 3.5rem; 
		gap: 1rem; 
	}
	#hero .subtitle .buttons .btn { font-size: 1.1rem; }
	section#hero.contact .container { grid-template-columns: auto 600px; }
	section.contact form { background-size: 600px 560px; }
	section.contact form textarea { height: 75px; }
}

@media screen and (max-width: 1100px) {
	section#hero.contact .container { 
		grid-template-columns: 1fr; 
		gap: 0;
	}
	.contact .contact-by-mail {
		position: absolute;
		margin-top: -11rem;
		right: 2rem;
	}
	section#hero.contact h1 {
		text-align: center;
		margin: 2rem auto 3rem auto;
		width: 70%;
	}
	section.contact h1 br { display: none; }
	section.contact form {
		background-size: 710px 640px;
		width: 710px;
	}
	section.contact form textarea { height: 150px;}
}

@media screen and (max-width: 1040px) {
	.container, #hero .container, #hero.inner h1 { width: calc(100% - 2rem); }
}

@media screen and (max-width: 980px) {
	.subtitle { width: 100%; }
	#hero.home::after { top: 7rem; }
	#hero .subtitle .buttons { margin: 3rem 0 0 0; }
	.home .subtitle { margin: 1rem 0 0 0; }
	#get-in-touch .container {
		width: 800px;
		max-width: 100%;
	}
	.inner-page #hero h1, .inner-page #hero .subtitle { width: 90%; }
}

@media screen and (max-width: 960px) {
	.contact .aside ul {
		margin: 3rem auto 2.5rem auto;
		width: fit-content;
	}
	.contact .contact-by-mail {
		position: initial;
		margin: 0 auto 2rem 0;
		right: 0;
		justify-content: center;
	}
}

@media screen and (max-width: 840px) {
	.topnav #main_nav, .topnav #main_nav.to-bottom {
		display: none;
		flex-direction: column;
		margin: 0;
	}
	#main_nav.to-bottom .mainnav_options { display: none; }
	.topnav .mobile-nav-toggle {
		display: block;
		background: url("../img/menu.svg") no-repeat 0 0;
		background-size: contain;
		border: none;
		cursor: pointer;
		padding: 0;
		font-size: 0;
		width: 36px;
		height: 36px;
	}
	.topnav .mobile-nav-toggle:hover { box-shadow: none; }
	.topnav #main_nav.open {
		position: absolute;
		top: 5rem;
		right: 1rem;
		z-index: 2;
		display: grid;
		grid-template-columns: 1fr;
		margin: 0;
		border-radius: 0.5rem;
		background: #FF4F81;
		padding: 1rem;
		box-shadow: 0 0.5rem 1rem rgba(32,31,84,0.1);
	}
	.topnav #main_nav.open .mainnav_options,
	#main_nav.open.to-bottom .mainnav_options, 
	#main_nav.open ul {
		display: flex;
		flex-flow: column;
		margin: 0 0 1rem 0;
		padding: 0;
		gap: 1rem;
	}
	.topnav nav#main_nav .mainnav_options { align-items: start; }
	.topnav #main_nav.open a:hover::after { display: none; }
	#main_nav.open ul { margin-bottom: 0; }
	.topnav #main_nav.open .btn { 
		margin: 0;
		display: block;
	}
	.topnav .lang-switcher a { margin-top: -1rem; }
	.topnav .lang-switcher a:hover { transform: none; }
	header .container { margin-bottom: 2rem; }
	#hero.home h1 { 
		font-size: 2.5rem; 
		width: 320px;
	}
	.home .subtitle { width: 320px; }
	#hero .subtitle .buttons { margin-top: 2rem; }
	footer .container { 
		grid-template-columns: 240px 1fr; 
		column-gap: 0;
	}
	#get-in-touch .container { 
		width: calc(100% - 2rem); 
		padding: 2.5rem 2rem 3rem 2rem;
		margin: 1rem auto 0 auto;
	}
	#get-in-touch h2 { font-size: 1.75rem; }
}

@media screen and (max-width: 780px) { 
	section.contact form { 
		background-size: 600px 560px; 
		width: 600px;
	}
	section.contact form textarea { height: 75px; }
}

@media screen and (max-width: 730px) { 
	#hero.home::after { display: none; }
	#hero.home h1, .home .subtitle { 
		width: 100%;
		text-align: center;
	}
	#hero .subtitle .buttons {
		justify-content: center;
		gap: 1.5rem;
	}
	section#hero.contact h1 { width: 80%; }
}

@media screen and (max-width: 660px) {
	section.contact form {
		margin-top: 1rem;
		width: 90%;
		padding: 2.5rem 1rem 1rem 1rem;
		border: 1px solid transparent;
		border-radius: 20px;
		background-image: linear-gradient( #5D3A6E, #222154), linear-gradient(to bottom, #FE795A 0%, #F5F7F9);
		background-origin: border-box;
		background-clip: padding-box, border-box;
		background-size: auto;
	}
	section.contact form textarea { 
		height: auto; 
		min-height: 150px;
	}
	section#hero.contact h1 {
		width: 90%;
		font-size: 2.75rem;
	}
}

@media screen and (max-width: 620px) {
	h1 { font-size: 2.5rem; }
	h2 { font-size: 1.75rem; }
	header .container { margin-bottom: 2rem; }
	footer .container { grid-template-columns: 1fr; }
	footer .logo, footer nav { 
		justify-content: left;
		grid-column-end: 3;
	}
	.modal-header h3 { padding-top: 1rem; }
}

@media screen and (max-width: 520px) {
	body:not(.inner-page) .topnav {
		background-image: linear-gradient(to bottom, #201F5490 0%, rgba(251,118,168,0) 100%);
	}
	#hero.home::after{ 
		display: block; 
		top: 0;
		width: 98.5%;
	}
	#hero.home .headlines { margin-top: 105%; }
	.contact .aside ul { margin-bottom: 2rem; }
	section.contact form {
		padding: 1.5rem 1rem 0.5rem 1rem;
	}
	section.contact form .form-field, section.contact form .cf-challenge, section.contact .form-actions { 
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
	.contact .contact-by-mail { 
		gap: 0.35rem; 
		margin-bottom: 1rem;
	}
	.contact-by-mail img { width: 90px; }
	.contact-by-mail a { font-size: 0.95rem; }
	.contact .cf-challenge { 
		width: 92%; 
		overflow: hidden; 
	}
	section#hero.contact h1 { font-size: 2.25rem; }
}

@media screen and (max-width: 420px) {
	#hero.home::after { display: none; }
	#hero.home .headlines { margin-top: 2rem; }
	.container {
		width: 100%;
		padding: 0 1rem;
		margin: 0;
	}
	.card {
		padding: 1rem;
		margin: 1rem 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.grid-2 {
		display: block;
	}
	input[type="text"], 
	input[type="email"],
	input[type="number"],
	input[type="password"],
	select,
	textarea,
	trix-editor {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.card, 
	.form-field,
	trix-editor {
		word-wrap: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
	}
	h1 { font-size: 2.1rem; }
	footer nav { display: grid; }
	section#hero.contact h1 { font-size: 1.75rem; }
	.contact-by-mail img { width: 72px; }
}