/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
*,
*:before,
*:after {
	box-sizing: border-box;
} 
body {
	background: #e8e8e8;
	color: #37474f;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}
blockquote,
q {
	quotes: "" "";
}
hr {
	background-color: #f2f2f2;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul li {
	list-style: inside disc;
}
ul ul li {
	list-style: inside circle;
}
ul ul ul li {
	list-style: inside square;
}
ol li {
	list-style: inside decimal;
}
ul,
ol {
	padding: 0;
}
ul ul,
ol ol {
	padding-left: 35px;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	max-width: 100%;
    height: auto;
}
table {
	width: 100%;
}
a {
	color: #c62828; /* equals secondary color of the app*/
}
a:visited {
	color: #A01313; /* equals secondary variant color of the app*/
}

.card {
    margin-top: 16px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    padding: 16px 64px;
}


/*--------------------------------------------------------------
# Grid
--------------------------------------------------------------*/

.container {
  	margin-right: auto;
  	margin-left: auto;
}
.container-first {
	margin-top: -36px;
}
.container-last {
	margin-bottom: 32px;
}
@media (min-width: 768px) {
  .container {
    width: 768px;
  	padding-left: 16px;
  	padding-right: 16px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  	padding-left: 16px;
  	padding-right: 16px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  	padding-left: 16px;
  	padding-right: 16px;
  }
}

/* Rows */
.cell-row {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}

.single-cell-row {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
    align-content: space-evenly;
    min-height: 600px;
}

.center-cell-row {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
    align-items: center;
}

.multi-card-cell-row { /* Special row to use when there are multiple cards in one row, so they get aligned to the edges correctly. */
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}

@media (min-width: 1200px) {
	.multi-card-cell-row {
        justify-content: space-between;
	}
}

/* Cells */
.cell {
}

.half-row-cell {
	width: 100%;
	min-width: 320px;
}

@media (min-width: 768px) {
	.half-row-cell {
		width: calc(50% - 8px);
	}
}

.third-row-cell {
	padding: 16px 48px;
	width: 100%;
	min-width: 320px;
}

@media (min-width: 768px) {
	.third-row-cell {
		width: calc(33% - 8px);
	}
}

.fact-box {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-around;
	text-align: center;
}

.fact-box-content {
	flex-grow: 4;
}

.center-content-cell {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
}

/*--------------------------------------------------------------
# Typo
--------------------------------------------------------------*/

body {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 14px;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 24px;
}

h1, h2, h3 {
	font-weight: 700;
	text-align: center;
}

h4 {
	margin: 30px 0 15px;
}

.subtitle {
    font-size: 11px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.header-small {
	background-color: #263238;
	padding: 24px;
	padding-bottom: 44px;
}

.header-big {
	background-color: #263238;
	padding: 24px;
	padding-bottom: 44px;
	min-height: 320px;
	align-content: center;
	display: grid;
}

.logo-container {
	color: #fff;
	text-align: center;
}

.logo {
	max-width: 72px;
  	vertical-align: middle;
}

.headline {
	display: inline-block;
	margin: 0 0 0 15px;
	vertical-align: middle;
}

@media only screen and (max-width: 480px) {
	.headline {
		display: block;
		margin: 16px 0 0;
	}
}

/*--------------------------------------------------------------
# General classes
--------------------------------------------------------------*/

.single-page-heading {
	padding-bottom: 24px;
}


/*--------------------------------------------------------------
# Rating
--------------------------------------------------------------*/

.ratingtext {
	font-size: 40px;
	font-weight: 100;
	line-height: 40px;
}

.ratingstars {
  --percent: calc( (var(--rating) / 5 * 100%) - 1px);

  display: inline-block;
  font-size: 16px;
  font-family: Times; 
  line-height: 1;
}
.ratingstars::before {
	content: '★★★★★';
    letter-spacing: 3px;
    background: linear-gradient(90deg, #37474f var(--percent), #fff var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*--------------------------------------------------------------
# Download Button
--------------------------------------------------------------*/
.play-button-image {
    max-width: 214px;
}

.apk-download-button {
    color: white;
    display: inline-block;
	position: relative;
	padding: 10px 24px;
    background-color: #263238;
    border-radius: 6px;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    text-decoration: none;
    transition: background 0.6s ease;
    overflow: hidden;
    text-align: center;
}

.apk-download-button:visited {
    color: white;
}

.apk-download-button:focus, .apk-download-button:hover {
    background: #c62828;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/

.feature-image {
	width: 400px;
}

.feature-background-fade-left {
}

@media (min-width: 992px) {
	.feature-background-fade-left {
		background-image: linear-gradient(to left, transparent, white 80%), var(--url);
		background-repeat: no-repeat;
		background-size: cover;
		background-position-x: right;
	}
}

.feature-background-fade-right {
}

@media (min-width: 992px) {
	.feature-background-fade-right {
		background-image: linear-gradient(to right, transparent, white 80%), var(--url);
		background-repeat: no-repeat;
		background-size: cover;
		background-position-x: right;
	}
}

.feature-box-text {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
}

@media (min-width: 1200px) {
    .feature-box-text {
        padding-left: 80px;
        padding-right: 80px;
    }
}

.feature-box-image {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	order: 1000;
}

@media (min-width: 768px) {
	.feature-box-image {
		order: 0;
	}
}

.feature-text {
	text-align: justify;
}
