* {
	font-family: "Poppins", sans-serif;
	font-style: normal;
	font-weight: 500;
	font-style: normal;
}

:root {
	--spacing-base: 1rem;
	--highlight-color: #9E101A;
}

h1 {
	font-weight: 700;
	font-size: 3em; /*dávám záměrně menší, aby se to nezalamovalo u maximálního view*/
	line-height: 1.4;
}

	h1 strong {
		font-weight: 700;
		color: var(--highlight-color);
	}

	h1.tablet {
		display: none;
	}

p {
	font-weight: 700;
	font-size: 2em;
	line-height: 1.3;
}

a {
	text-decoration: none;
}

html {
	height: 100vh; /*jinak jsou gradienty useklé*/
}

body {
	background: linear-gradient(107.79deg, #DEE7FF 0.53%, #EDEDED 30.21%, #FFFFFF 69.79%, #D5E2FF 99.47%);
	height: 100vh;
	overflow: hidden;
}

.mobile {
	display: none !important;
	font-weight: bold;
}

.applegoogle {
	width: 100%;
	height: 150px;
	display: flex;
	align-items: flex-start;
	flex-direction: row;
	flex-wrap: wrap;
}

.applegoogle a.store-badge {
	display: inline-flex;
	height: calc(50% - 10px);
	padding: 5px;
	width: fit-content;
	line-height: 0;
	}

.applegoogle a.store-badge img {
	display: block;
	height: 100%;
	width: auto;
}

div.bg-decor {
	height: min(100vh, 800px);
	position: fixed;
	margin: 95px;
}

	/* before> levý obrázek, after> pravý obrázek */
	div.bg-decor::before, div.bg-decor::after {
		content: "";
		position: fixed;
		top: 95px;
		width: 500px;
		height: min(100vh, 750px);
		background-image: url('images/baloon_3_2.png');
		background-repeat: no-repeat;
		background-size: contain;
		pointer-events: none;
		background-position-y: 0;
	}

	div.bg-decor::before {
		left: 50px;
	}

	div.bg-decor::after {
		right: 20px;
		transform: scaleX(-1) scaleY(-1);
	}


div.container {
	margin: 2em auto 0 auto;
	width: max(1440px, 100% - 350px);
	max-width: 1920px;
}


div.upperbar {
	height: 100px;
	padding-left: 60px;
	border: 0.72px solid #606060;
	border-radius: 25px;
	background-color: #FFFFFFCC;
	backdrop-filter: blur(180px);
	box-shadow: 0px 9px 50px 0px #00000080;
}

	div.upperbar img {
		display: inline-block;
		height: 50px;
		margin-top: 25px;
	}

div.content {
	border: 2px solid #E0E0E0;
	border-radius: 50px;
	background-blend-mode: lighten;
	backdrop-filter: blur(40px);
	-webkit-backdrop-filter: blur(140px);
	background: linear-gradient( 135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) );
	box-shadow: 0px 4px 4px 0px #00000040;
	padding: 4em min(7.5em, max(50% - 600px, 2em));
	margin-top: 2em;
}


div.vizitkaContainer {
	display: flex;
	margin-top: 4.25em;
}


div.vizitka {
	padding: 0;
	flex: 0 0 605px;
}

	div.vizitka img {
		width: 540px;
	}

div.appBar {
	margin-top: 20px;
	display: flex;
	gap: 1.5em;
}

	div.appBar > span {
		display: inline-block;
		width: 270px;
		height: 96px;
		box-sizing: border-box;
		border-radius: 10px;
		background: linear-gradient(180deg, #373737 0%, #000000 100%);
	}

	div.appBar span.apple {
		padding: 20px 25px;
	}

		div.appBar span.apple > span {
			display: flex;
			align-items: center;
			gap: 16px;
		}

		div.appBar span.apple .appleStore {
			margin-top: 10px;
		}

	div.appBar span.google > img {
		width: 270px;
	}


p.info {
	margin-top: 1.75em;
}

span.linioLink {
	display: inline-block;
	width: 220px;
	height: 64px;
	margin-left: 1em;
	line-height: 64px;
	text-align: center;
	vertical-align: middle;
	color: white;
	font-size: 36px;
	font-weight: 400;
	background-color: var(--highlight-color);
	border-radius: 50px;
	line-height: 2em;
}

@media (max-width: 1440px) {
	h1 {
		font-size: 3em;
	}

	div.container {
		width: calc(100% - 5px);
	}
}

@media (max-width: 1239px) { /* nový layout pro tablety */

	body {
		overflow-y: auto;
		height: initial;
	}

	div.container {
		margin: 0 0 4em 0;
	}

	div.content {
		padding: 4em 4.5em 3.5em 4.5em;
		margin-top: 3em;
	}

	div.bg-decor::after {
		display: none;
	}

	h1.desktop {
		display: block;
	}

	h1.tablet {
		display: none;
	}

	h1 {
		font-size: 32px;
		line-height: 1.35;
	}

	p {
		font-size: 20px;
		line-height: 1.35;
	}

	div.vizitkaContainer {
		display: flex;
		align-items: flex-start;
		gap: 2em;
		margin-top: 2.5em;
	}

	div.vizitka,
	div.text {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
	}

	div.vizitka {
		padding: 0;
		text-align: left;
	}

	div.text {
		margin-top: 0;
	}

	div.vizitka img {
		width: 100%;
		height: auto;
		max-height: 280px;
		object-fit: contain;
	}

	p.info {
		margin-top: 2em;
		font-size: 20px;
	}

	span.linioLink {
		display: inline-block;
		width: 180px;
		height: 56px;
		font-size: 30px;
		line-height: 56px;
		margin-left: 1em;
	}
}


@media (max-width: 768px) { /*přelom do mobilního režimu*/

	.mobile {
		display: block !important;
	}

	.desktop-text {
		display: none;
	}

	.applegoogle {
		align-items: center;
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.applegoogle img {
		height: 80px;
	}
	
	div.vizitkaContainer {
		display: block;
		margin: 0;
	}

	div.vizitka {
		width: auto;
		flex: none;
		text-align: center;
	}

	div.text {
		width: auto;
		flex: none;
		margin-top: 2em;
	}

	h1.desktop {
		display: none;
	}

	h1.tablet {
		display: block;
		margin-top: 1.5em;
	}

	h1.tablet.error {
		margin-top: 0.5em;
	}

	div.content {
		padding: 2.5em 1.25em 2.5em 1.25em;
		margin-top: 2em;
	}

	div.vizitka img {
		width: 100%;
	}

	h1 {
		font-size: 24px;
		text-align: left;
	}

	div.text {
		margin-top: 2em;
	}


	p {
		font-size: 24px;
		text-align: left;
	}

	p.info {
		margin-top: 2em;
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	h1 .tablet {
		margin-top: 1.5em;
		text-align: left;
	}

	h1.tablet {
		display: none;
	}

	span.linioLink {
		font-size: 24px;
		width: fit-content;
		padding-left: 1em;
		padding-right: 1em;
		height: 2em;
		margin: 0.25em auto 0 auto;
		line-height: 2em;
		display: flex;
	}

	.redLinio {
		font-weight: 700;
		color: var(--highlight-color);
	}

	.text > p:not(.mobile) {
		display: none;
	}
}
