/*
Theme Name:   relatio-landing
Theme URI:    https://jamper.online/relatio.landing
Author:       Art-IT
Author URI:   https://jamper.online/
Description:  Тема WordPress для Foodies Academy.
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  relatio-landing
Tags:         
*/
:root {
	--font-family: "Poppins Devanagari", sans-serif;
	
	--font-h1: 22px;
	--font-h1-weight: 550;
	--font-h1-line-height: 28.6px;
	
	--font-h2: 18px;
	--font-h2-weight: 550;
	--font-h2-line-height: 23.4px;
	
	--font-h3: 16px;
	--font-h3-weight: 550;
	--font-h3-line-height: 23.4px;
	
	--font-h4: 16px;
	--font-h4-weight: 700;
	--font-h4-line-height: 1.3;
	--font-h4-letter-spacing: 0.02em;
	
	--font-body-l: 16px;
	--font-body-l-weight: 450;
	--font-body-l-line-height: 23px;
	
	--font-body-s: 14px;
	--font-body-s-weight: 450;
	--font-body-s-line-height: 21px;
	
	--font-label-l: 18px;
	--font-label-l-weight: 650;
	--font-label-l-line-height: 27px;
	
	--font-label-m: 16px;
	--font-label-m-weight: 550;
	--font-label-m-line-height: 24px;
	
	--font-label-s: 14px;
	--font-label-s-weight: 550;
	--font-label-s-line-height: 21px;
	
	--font-label-xs: 12px;
	--font-label-xs-weight: 650;
	--font-label-xs-line-height: 16px;
	
	--font-caption: 12px;
	--font-caption-weight: 450;
	--font-caption-line-height: 16px;
	
	--font-caption-l: 10px;
	--font-caption-weight-l: 450;
	--font-caption-line-height-l: 15px;
	
	--btn-radius: 24px;
	--btn-l-radius: 64px;
	--btn-width: 332px;
	--btn-l-width: 356px;
	--btn-l-height: 64px;
	--block-radius: 16px;
	--block-radius-m: 24px;
	
	--text-text-secondary-color: #ffffffb2;
	--text-text-secondary-2-color: #FFFFFF99;
	--text-text-default-color: #ffffffe5;
	--text-text-onbrand-color: #ffffff;
	--text-text-tertiary: #ffffff80;
	
	--bg-bg-default-color: #141218;
	--bg-bg-alt-color: rgba(33, 30, 38, 0.7);
	
	--color-blue-600: #0080ff;
	--color-black-500: #00000080;
	--color-black-900: #000000f2;
	--color-white-100: #ffffff1a;
	--color-white-200: #ffffff33;
	--color-white-500: #ffffff80;
	--color-white-700: #ffffffb3;
	--color-white-900: #ffffffe6;
	--color-raisin-black: #211E26;
	--color-danger: #F45C43;
	--color-yellow: #FFBD00;
	--color-blue: #1A3ADC;

	--btn-default-color: linear-gradient(
		125.65deg,
		rgba(0, 128, 255, 0.95) 1.55%,
		rgba(26, 58, 220, 0.95) 53.55%,
		rgba(43, 0, 135, 0.95) 105.56%
	);
}

/* instrument-sans-regular - latin */
/* @font-face {
	font-display: swap;
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 400;
	src: url('assets/fonts/instrument-sans-v4-latin-regular.woff2') format('woff2');
}
/* instrument-sans-500 - latin */
/* @font-face {
	font-display: swap;
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 500;
	src: url('assets/fonts/instrument-sans-v4-latin-500.woff2') format('woff2');
} */
/* instrument-sans-600 - latin */
/* @font-face {
	font-display: swap;
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 600;
	src: url('assets/fonts/instrument-sans-v4-latin-600.woff2') format('woff2');
} */
/* instrument-sans-700 - latin */
/* @font-face {
	font-display: swap;
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 700;
	src: url('assets/fonts/instrument-sans-v4-latin-700.woff2') format('woff2');
} */ */
@font-face {
	font-family: 'Poppins Devanagari';
	src:
		url('assets/fonts/poppins.woff2') format('woff2'),
		url('assets/fonts/poppins.woff') format('woff');
	font-weight: 100 900;
	font-display: swap;
	font-style: normal;
}

h1 {
	font-size: var(--font-h1);
	font-weight: var(--font-h1-weight);
	line-height: var(--font-h1-line-height);
}
h2 {
	font-size: var(--font-h2);
	font-weight: var(--font-h2-weight);
	line-height: var(--font-h2-line-height);
}
h3 {
	font-size: var(--font-h3);
	font-weight: var(--font-h3-weight);
	line-height: var(--font-h3-line-height);
}
h4 {
	font-size: var(--font-h4);
	font-weight: var(--font-h4-weight);
	line-height: var(--font-h4-line-height);
	letter-spacing: var(--font-h4-letter-spacing);
}

.body-l {
	font-size: var(--font-body-l);
	font-weight: var(--font-body-l-weight);
	line-height: var(--font-body-l-line-height);
}
.body-s {
	font-size: var(--font-body-s);
	font-weight: var(--font-body-s-weight);
	line-height: var(--font-body-s-line-height);
}

.label-l {
	font-size: var(--font-label-l);
	font-weight: var(--font-label-l-weight);
	line-height: var(--font-label-l-line-height);
}
.label-m, 
.nav-links .menu-item a {
	font-size: var(--font-label-m);
	font-weight: var(--font-label-m-weight);
	line-height: var(--font-label-m-line-height);
}
.footer-column .menu li, 
.label-s {
	font-size: var(--font-label-s);
	line-height: var(--font-label-s-line-height);
}
.footer-column .menu li {
	font-weight: var(--font-label-s-weight);
}
.label-xs {
	font-size: var(--font-label-xs);
	font-weight: var(--font-label-xs-weight);
	line-height: var(--font-label-xs-line-height);
}

.caption {
	font-size: var(--font-caption);
	font-weight: var(--font-caption-weight);
	line-height: var(--font-caption-line-height);
}

.caption-l {
	font-size: var(--font-caption-l);
	font-weight: var(--font-caption-weight-l);
	line-height: var(--font-caption-line-height-l);
}

html {
	scroll-behavior: smooth;
}

html,
body {
	height: auto;
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
}

body {
	color: var(--text-text-onbrand-color);
	background: var(--bg-bg-default-color);
	background-image: url("assets/images/background/bg1_cropped2.png");
	background-repeat: no-repeat;
	background-size: 100% 548px;
	background-position: center top;
	font-family: var(--font-family);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: flex;
	flex-direction: column;
	margin: 0;
	position: relative; 
}

main {
	flex: 1 0 auto;
}

/* Grid */
.page-wrapper {
	display: grid;
	row-gap: 48px;
	grid-template-columns: repeat(4, 1fr);
	max-width: 100%;
	margin: 112px 16px 0px 16px;
}

.glass-matte {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0.5px 0.5px 0 0 rgba(255, 255, 255, 0.25), inset -0.5px -0.5px 0 0 rgba(255, 255, 255, 0.25);
}

.glass-blur {
	background: rgba(255, 255, 255, 0.01);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0.5px 0.5px 0 0 rgba(255, 255, 255, 0.25), inset -0.5px -0.5px 0 0 rgba(255, 255, 255, 0.25);
}

.glass-block {
	border-radius: var(--block-radius-m);
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0.5px 0.5px 0 0 rgba(255, 255, 255, 0.25), inset -0.5px -0.5px 0 0 rgba(255, 255, 255, 0.25);
}

.smoothed-element {
	border-radius: var(--block-radius);
	background: var(--bg-bg-alt-color);
	border: 1px solid var(--color-white-100);
}

/* Buttons */
.primary-btn {
	display: flex;
	font-family: var(--font-family);
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	min-height: 52px;
	border-radius: var(--btn-radius);
	color: var(--text-text-onbrand-color);
	background: var(--btn-default-color);
}

.secondary-btn {
	display: flex;
	font-family: var(--font-family);
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	min-height: 52px;
	border-radius: var(--btn-radius);
	color: var(--text-text-default-color);
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0.5px 0.5px 0 0 rgba(255, 255, 255, 0.25), inset -0.5px -0.5px 0 0 rgba(255, 255, 255, 0.25);
}

/* Buttons states */
.primary-btn, 
.secondary-btn {  
	opacity: 1; 
	transform: scale(1);
	cursor: pointer;
}

.primary-btn:hover:not([disabled]),
.secondary-btn:hover:not([disabled]) {
	opacity: 0.8;
	transform: scale(1);
}

.primary-btn:active:not([disabled]),
.secondary-btn:active:not([disabled]) {
	opacity: 1;
	transform: scale(0.95);
}

.primary-btn[disabled],
.secondary-btn[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none; 
}

/* data-loading submit button animation with spinner */
.primary-btn[data-loading="1"] {
	opacity: 0.9;
	pointer-events: none;
	position: relative;
}

.primary-btn[data-loading="1"]::after {
	content: "";
	position: absolute;
	right: 16px; top: 50%;
	width: 18px; height: 18px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	transform: translateY(-50%);
	animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
	from { transform: translateY(-50%) rotate(0deg); }
	to { transform: translateY(-50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.primary-btn[data-loading="1"]::after {
		animation: none;
	}
}

/* Animation on scroll */
.animate-on-scroll {
	transform: translateY(50px);
	will-change: transform;
	transition: none;
}

.animate-on-scroll.visible {
	transform: translateY(0);
	transition: transform .8s cubic-bezier(.39, .575, .565, 1) .25s;
}

.hidden {
	display: none !important;
}

/* Header */
#header {
	padding: 16px;
	padding-top: calc(env(safe-area-inset-top) + 16px);
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	right: 0;
}

#header .logo img {
	max-width: 80px;
	max-height: 19.21px;
	display: block;
}

.nav-container {
	min-height: 64px;
	margin: 0 auto;
	padding: 0px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 40px;
}

.nav-container.hidden {
	display: none !important;
}

.menu-toggle {
	background: none;
	border: none;
	padding: 8px;
}

.menu-toggle img {
	width: 18px;
	height: 12px;
	display: block;
	margin: auto;
}

.nav-container .nav-links,
.nav-container .btn-login {
	display: none;
}

.mobile-menu-overlay {
	position: fixed;
	padding-top: env(safe-area-inset-top);
	inset: 0;
	background: var(--color-black-500);
	display: none;
	justify-content: center;
	align-items: flex-start;
	z-index: 1500;
}

.mobile-menu-overlay.active {
	display: flex;
}

.mobile-menu {
	display: flex;
	flex-direction: column;
	position: relative;
	margin: 16px;
	padding: 12px 24px;
	gap: 8px;
	width: 100%;
	border-radius: 32px;
	height: auto;
	overflow-y: auto;
}

.mobile-menu-header {
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mobile-menu-header .menu-close {
	padding: 8px;
	background: none;
	border: none;
	margin-right: 3px;
}

.mobile-menu-header .menu-close img {
	height: 13.15px;
	width: 13.15px;
	display: block;
}

.mobile-menu-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.mobile-menu-content nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mobile-menu-content nav ul li a {
	text-decoration: none;
	color: var(--text-text-default-color);
}

.mobile-menu-content .contact-text {
	color: var(--text-text-secondary-color);
	margin: 0;
}

.mobile-menu-content .contact-text a {
	color: var(--color-blue-600);
}

/* Footer */
.footer-app {
	display: none;
}

#footer {
	color: var(--text-text-default-color);
	background: var(--color-black-900);
	border-top: 1px solid var(--color-white-200);
	margin-top: 48px;
	padding: 32px 24px 24px 24px;
	width: 100%;
	box-sizing: border-box;
	flex-shrink: 0;
}

.footer-container {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.footer-top {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.footer-logo {
	display: flex;
	align-items: center;
	min-height: 24px;
	gap: 40px;
}

.footer-logo img {
	display: block;
	max-width: 102px;
	max-height: 24px;
}

.footer-store-buttons ul {
	display: flex;
	align-items: center;
	min-height: 44px;
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.footer-store-buttons ul li {
	display: flex;
}

.footer-store-buttons img {
	display: block;
	max-width: 152.2px;
	max-height: 44px;
}

.footer-links {
	display: flex;
	gap: 64px;
}

.footer-links h4 {
	margin-top: 0px;
	margin-bottom: 16px;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-column a {
	text-decoration: none;
	color: var(--text-text-secondary-color);
}

.footer-column a:hover {
	color: var(--text-text-default-color);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.footer-bottom p {
	margin: 0;
	color: var(--text-text-tertiary);
}

.footer-socials ul {
	list-style: none;
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.footer-socials li {
	display: flex;
}

.footer-socials img {
	width: 24px;
	height: 24px;
	display: block;
}

/* For smallest resolutions */
@media (max-width: 200px) {
	#header .logo img {
		max-width: 100%;
	}
	
	.footer-store-buttons {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	
	.footer-store-buttons img {
		width: 100%;
		height: auto;
	}
	
	.footer-links {
		flex-direction: column;
		gap: 16px;
	}
	
	.footer-logo img {
		max-width: 80%;
		height: auto;
	}
}

/* Mobile -> to remove later */
@media (min-width: 320px) {
}

/* Tablet */
@media (min-width: 768px) {
	:root {
		--font-h1: 22px;
		--font-h1-weight: 550;
		--font-h1-line-height: 28.6px;
		
		--font-label-xs: 14px;
		--font-label-xs-weight: 550;
		--font-label-xs-line-height: 21px;
		
		--font-caption-l: 14px;
		--font-caption-weight-l: 450;
		--font-caption-line-height-: 15px;
	}
	
	body {
		background-image: url("assets/images/background/bg1_full.png");
		background-position: -355px -475px;
		background-size: 1180px 1000px;
	}
	
	.page-wrapper {
		grid-template-columns: repeat(8, 1fr);
		row-gap: 64px;
		margin: 108px 40px 0px 40px;
	}
	
	/* Header */
	#header {
		padding: 16px 24px 20px 24px;
	}
	
	.nav-container {
		min-height: 72px;
	}
	
	.mobile-menu {
		margin: 16px 24px 16px 24px;
		padding-top: 16px;
		padding-bottom: 20px;
	}
	
	.mobile-menu-header .menu-close {
		margin-right: 2px;
	}
	
	/* Footer */
	#footer {
		padding: 32px 40px;
		margin-top: 64px;
	}
	
	.footer-top {
		flex-direction: row;
		justify-content: unset;
		align-items: center;
		gap: 254px;
	}
	
	.footer-links {
		flex-direction: row;
		justify-content: flex-start;
		gap: 267px;
	}
}

/* Desktop */
@media (min-width: 1024px) {
	:root {
		--font-h1: 32px;
		--font-h1-weight: 550;
		--font-h1-line-height: 39px;
		
		--font-h2: 26px;
		--font-h2-weight: 550;
		--font-h2-line-height: 32px;
		
		--font-h3: 18px;
		--font-h3-weight: 550;
		--font-h3-line-height: 22px;
		
		--font-body-l: 18px;
		--font-body-l-weight: 450;
		--font-body-l-line-height: 22px;
		
		--font-body-s: 16px;
		--font-body-s-weight: 450;
		--font-body-s-line-height: 20px;
		
		--font-label-m: 18px;
		--font-label-m-weight: 550;
		--font-label-m-line-height: 22px;
		
		--font-label-xs: 14px;
		--font-label-xs-weight: 650;
		--font-label-xs-line-height: 17px;
		
		--font-caption-l: 12px;
		--font-caption-weight-l: 450;
		--font-caption-line-height-l: 18px;
	}
	
	/* Header */
	#header {
		padding: 40px 64px;
	}
	
	.page-wrapper {
		grid-template-columns: repeat(12, 1fr);
		margin: 142px 104px 0px 104px;
		row-gap: 108px;
	}
	
	.menu-toggle,
	.mobile-menu-overlay {
		display: none;
	}
	
	.nav-container {
		min-height: 62px;
		justify-content: space-between;
	}
	
	.nav-container .nav-links {
		flex-grow: 1; 
		display: flex;
		justify-content: center;
	}
	
	.nav-container .nav-links ul {
		display: flex;
		align-items: center;
		list-style: none;
		padding: 0;
		margin: 0;
		gap: 72px;
	}
	
	.nav-container .nav-links .current-menu-item a {
		color: var(--text-text-default-color);
	}
	
	.nav-container .nav-links a {
		color: var(--text-text-secondary-color);
		text-decoration: none;
	}
	
	.nav-container .nav-links a:hover {
		color: var(--text-text-default-color);
	}
	
	.nav-container .btn-login {
		display: flex;
		min-width: 115px;
		min-height: 38px;
	}
	
	/* Footer */
	#footer {
		margin-top: 108px;
	}
	
	.footer-top {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		gap: 64px;
	}
	
	.footer-store-buttons {
		display: none;
	}
	
	.footer-links {
		justify-content: space-between;
		gap: 0;
	}
	
	.footer-app {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	
	.footer-app ul {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		gap: 24px;
	}
	
	.footer-app li {
		display: flex;
	}
	
	.footer-app img {
		width: 97px;
		height: 100px;
	}
}

/* Desktop+ */
@media (min-width: 1440px) {
	#header {
		padding: 40px 164px;
	}
	
	.page-wrapper {
		grid-template-columns: repeat(12, 1fr);
		margin: 142px 164px 0px 164px;
	}
}
