/* colors */
:root {
	--retrica-orange: rgb(255, 129, 0);
	--text-primary: #000;
	--text-secondary: #b7b7b7;
	--text-tertiary: #bbb;
	--panel-background: #000;
	--panel-text-primary: #b7b7b7;
	--panel-text-secondary: #fff;
	--gallery-background: #f9f9f9;
	--gallery-text-primary: #666666;
}

/* Display-P3 color, when supported. */
@supports (color: color(display-p3 1 1 1)) {
	:root {
			--retrica-orange: color(display-p3 1 0.506 0);
	}
}

body {
	background-color: #fff;
}

@media (prefers-color-scheme: dark) {
  /* dark theme adjustments */
	body {
		background-color: #202124;
	}
	:root {
		--text-primary: #bbb;
		--text-secondary: #888;
		--text-tertiary: #777;
		--panel-background: #000;
		--panel-text-primary: #999;
		--panel-text-secondary: #999;
		--gallery-background: #202124;
		--gallery-text-primary: #666666;
	}
	.bottom-logo {
		opacity: 0.75;
	}
}

/* */

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
	padding: 0;
	margin: 0;
	font-size: 16px;
}

html, body {
	font-family: 'Avenir Next', sans-serif;
}

a span.hidden {
	display: none;
}

.inner {
	min-width: 0px;
	max-width: 1024px;
	margin: 0 auto;
}

.top-logo {
	position: static;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: none;
	min-width: 191px;
	min-height: 282px;
	background-image: url(../img/573_176_p3_transparent.png);
	background-position: 50% 75%;
	background-size: auto 76px;
	background-repeat: no-repeat;
	text-align: center;
	-o-object-fit: contain;
	object-fit: contain;
}

.top {
	display: block;
	clear: none;
	text-align: left;
	overflow: hidden;
	padding: 40px 8px;
}

.title-and-description {
	margin: 0 17%;
	padding: 1em 0;
}

.title {
	display: block;
	margin-bottom: 1em;
	color: var(--text-primary);
	font-size: 2.5em;
	line-height: 1em;
	font-weight: 100;
	text-align: center;
	letter-spacing: 0px;
}

.description {
	margin-right: 0px;
	margin-left: 0px;
	padding-right: 0px;
	padding-left: 0px;
	color: var(--text-secondary);
	font-size: 1em;
	line-height: 1.25em;
	font-weight: 400;
	text-align: center;
	text-decoration: none;
	text-indent: 0px;
}

.download {
	text-align: center;
}

.download .button {
	display: inline-block;
	padding: 0.5em;
	margin: 0 1em;
}

.download .store-btn .button {
	min-width: 165px;
	min-height: 56px;
	background-position: 50% 50%;
	background-size: auto 56px;
	background-repeat: no-repeat;
}

.ios {
	background-image: url('../img/page-13x.png');
}

.android {
	background-image: url('../img/group3x.png');
}

.apk {
	display: inline-block;
	color: var(--text-tertiary);
	font-weight: 500;
	text-align: center;
	font-size: 1em;
}

.bottom {
	background-color: var(--panel-background);
}

.bottom .inner {
	padding: 24px 8px;
}

.bottom-logo {
	position: static;
	display: inline-block;
	max-height: 40px;
	max-width: 137px;
	min-height: 26px;
	min-width: 83px;
	margin: 0;
	padding: 8px 0;
	float: none;
	clear: none;
	background-image: url('../img/249_77_white_p3_transparent.png');
	background-position: 50% 50%;
	background-size: auto 26px;
	background-repeat: no-repeat;
	text-align: left;
	-o-object-fit: contain;
	object-fit: contain;
}

.paragraph {
	font-size: 12px;
	color: var(--panel-text-primary);
	padding: 0;
	margin: 0;
}

.logo-and-description {
	display: block;
	float: left;
}

.bottom-menu {
	display: block;
	float: right;
	margin-left: 48px;
}

.bottom-text-btn {
	display: block;
	font-size: 12px;
	color: var(--panel-text-secondary);
	text-align: right;
	text-decoration: none;
	margin: 8px 0 24px 0;
}

/* gallery */

#gallery {
	min-height: 1000px;
	margin-bottom: -500px;
}

/* .gallery-2 {
	display: block;
	padding-top: 40px;
	padding-bottom: 100px;
} */

.gallery-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.gallery-column {
	flex: 25%;
	max-width: 25%;
	display: flex;
	flex-direction: column;
}

.gallery-column figure {
	margin: 8%;
}

.gallery-column .figbody {
	text-decoration: none;
	position: relative;
	display: block;
	background-color: var(--gallery-background);
}

.gallery-column img {
	vertical-align: middle;
	width: 100%;
	position: absolute;
}

.gallery-column figcaption {
	padding: 10px 5px;
	font-size: 0.75em;
	margin-top: 0;
	font-weight: 400;
	background-color: var(--gallery-background);
	color: var(--gallery-text-primary);
	text-align: center;
}

.gradientback{
	position:absolute;
	/* bottom:0px; */
	left:0px;
	width:100%;
	height:50px;

}

/* mask gradient */
.top {
	-webkit-mask-image: linear-gradient(to bottom, black 93%, transparent 99.5%);
  -webkit-mask-repeat: no-repeat;
}

.text-focus {
	color: var(--text-tertiary);
	font-weight: 600;
	text-decoration: none;
	border-bottom-width: 3px;
	border-bottom-style: solid;;
	border-bottom-color: var(--text-tertiary);
	margin: 0 0.5em;
}

.text-focus.retrica-orange {
	color: var(--retrica-orange);
	border-bottom-color: var(--retrica-orange);
}

.text-focus.packs {
	color: black;
	border-bottom: none;
	background-color: var(--retrica-orange);
	padding: 0 0.4em;
}


/* media tags */

@media (max-width: 1128px) { /* .inner's max-width(1024px) + margin.left + margin.right */
	.inner {
		margin: 0 52px;
	}
}

@media (max-width: 1000px) {
	.title-and-description {
		margin: 0 8%;
	}

	.title {
		margin-bottom: 0.6em;
	}

	.gallery-column {
		flex: 33%;
		max-width: 33%;
	}

	#gallery-column-3 {
		display: none;
	}
}

@media (max-width: 800px) { /* .inner's max-width(1024px) + margin.left + margin.right */
	body {
		font-size: 14px;
	}

	.inner {
		margin: 0 5%;
		padding: 24px 0 !important;
	}

	.top-logo {
		min-height: 240px;
		background-size: auto 64px;
	}

	.title-and-description {
		margin: 0 8px;
	}

	.download .store-btn .button {
		/* 165, 56 x 0.8 */
		min-width: 132px;
		min-height: 45px;
		background-size: auto 45px;
	}
}

@media (max-width: 580px) {
	body {
		font-size: 12px;
	}

	.inner {
		margin: 0 2.5%;
	}

	.top-logo {
		min-height: 200px;
		background-size: auto 59px;
	}

	.gallery-column {
		flex: 50%;
		max-width: 50%;
	}

	#gallery-column-2 {
		display: none;
	}

	.gallery-column figure {
		margin: 4%;
	}

	.download .button {
		margin: 0.5em;
	}

	.download .store-btn .button {
		/* 165, 56 x 0.6 */
		min-width: 99px;
		min-height: 34px;
		background-size: auto 34px;
	}

	.bottom-menu {
		margin-left: 20px;
		float: none;
	}
}

@media (max-width: 400px) {
	.top-logo {
		background-size: auto 46px;
	}

	.title {
		font-size: 2em;
		margin-bottom: 16px;
	}
}

/* sub page - product */

.product.inner {
	padding: 0 !important;
	margin: 0 auto;
}

.inner .narrow {
	max-width: 480px;
	padding: 0;
	margin: 0 auto;
}

.product section.text {
	padding: 1em 0;
	margin: 0 10px;
}

.product section.himages {
	height: 200px;
	width: 100%;
	overflow: auto;
	white-space: nowrap;
	padding: 0;
	margin: 0;
}

.product section.himages img {
	display: inline-block;
	height: 190px;
	font-size: 0;
	padding: 0;
	margin: 0;
}

.product section.himages span {
	display: inline-block;
	width: 10px;
	font-size: 0;
	padding: 0;
	margin: 0;
}

.product section.vimages img {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
}

.product .title {
	text-align: left;
	font-size: 2em;
	font-weight: 700;
	padding: 0.5em 0;
	margin: 0;
}

.product .description {
	text-align: left;
	font-size: 1.125;
	font-weight: 500;
	padding: 1em 0;
	margin: 0;
}

.undraggable {
	user-drag: none;
	-webkit-user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.product .download {
	padding: 2em 0;
}

.filter-circle {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.full-height {
	display: block;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
}

.bottom-button {
	display: block;
	position: fixed;
	width: 90%;
	left: 5%;
	right: 5%;
	bottom: 10px;
	border-radius: 10px;
	background-color: var(--retrica-orange);
	color: #f9f9f9;
	font-size: 1.25em;
	font-weight: 700;
	padding: 1em;
	border: none;
}

.narrow .bottom-button {
	max-width: 480px;
}



/* link.html styles */

body.link {
	background-color: black;
}

main.card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 100vh;
	border: none;
	margin: 0;
	padding: 0;
}

.app-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 400px;
	max-height: 100vh;
	/* border: 1px solid yellow; */
	overflow-y: auto;
}

.app-preview {
  width: 100%;
	max-width: 300px;
  aspect-ratio: 750 / 1024;
  background: url(../img/app-preview.jpg) no-repeat center center;
	background-size: contain;
	/* border: 1px solid magenta; */
}

.welcome-title {
	font-size: 26px;
	font-weight: 500;
	color: white;
	padding: 0;
	margin: 0;
}

.welcome-message {
	font-size: 14px;
	font-weight: 300;
	color: var(--retrica-orange);
	opacity: 0.8;
	text-align: center;
	padding: 0 40px;
	margin: 0;
}

.link-button {
	background-color: var(--retrica-orange);
	color: black;
	font-size: 20px;
	font-weight: 700;
	padding: 20px 0;
	margin: 10px 0;
	width: 100%;
  max-width: calc(100% - 40px);
  border: none;
  border-radius: 5px;
	display: block;
	text-align: center;
}

a.link-button, a.link-button:visited, a.link-button:active, a.link-button:focus {
	text-decoration: none;
}

