/* colors */
:root {
	--retrica-orange: rgb(255, 129, 0);
}

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

/* */

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: #000;
	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: #b7b7b7;
	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: grey;
	font-weight: 500;
	text-align: center;
	font-size: 1em;
}

.bottom {
	background-color: #000;
}

.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: #b7b7b7;
	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: #fff;
	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: #f9f9f9;
}

.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: #f9f9f9;
	color: #666666;
	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: #bbbbbb;
	font-weight: 600;
	text-decoration: none;
	border-bottom-width: 3px;
	border-bottom-style: solid;;
	border-bottom-color: #bbbbbb;
	margin: 0 0.5em;
}

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

.text-focus.donut-collage {
	font-family: 'Optima-Regular', sans-serif;
	font-weight: 400;
	border-bottom-width: 2px;
}


/* 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;
	}
}
