a {
	transition: color 0.3s ease, text-shadow 0.3s ease;
	text-decoration: none;
	color: #b0c9e1;
	font-weight: normal;
	margin: 0;
}

a:hover {
	transition: color 0.5s ease, text-shadow 0.5s ease;
	color: #e8f0f8;
	text-shadow: 2px 2px 30px #7bb9eb;
}

.back_butt {
	width: 40%;
	margin: 1% auto;
	background: rgba(62, 87, 105, 0.4);
	text-align: center;
	font-family: Alegreya, Arial, sans-serif;
	font-size: 22px;
	color: #E1F0FD;
	padding: 1%;
}

.back_butt:hover {
	background: rgba(62, 87, 105, 0.55);
	color: #cfe0f1;
	text-shadow: none;
	transition: all 0.3s ease;
	transform: translateX(-5px);
}

.back_butt:active {
	transform: translateX(0);
}


.banner	{
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 250px;
	background-image: url(img/bannerLogo_transp.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: left top;
	overflow: hidden;
}

body {
	display: flex;
	flex-flow: column;
	justify-content: center;
	background-color: black;
	background-image: url(img/intro_img.png);
	background-attachment: fixed;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	scroll-behavior: smooth;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

* {
	box-sizing: border-box;
}

button {
	border: none;
	z-index: 1;
	transition: all 0.3s ease;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

button:focus {
	outline: none;
}

button:active {
	transform: scale(0.98);
}

.butt_kmeny {
	display: flex;
	max-width: 32%;
	margin: 1% auto;
}

.butt_promo {
	opacity: 0.7;
}

.butt_promo:hover {
	opacity: 1;
	transition: opacity 0.3s ease;
}

.butt_kmeny:hover {
	transform: scale(1.05);
	transition: transform 0.3s ease;
}

.butt_tile4 {
	display: flex;
	justify-content: center;
	width: 23%;
	height: auto;
	background: rgba(62, 87, 105, 0.4);
	margin: 1% auto 0.5% auto;
	padding: 1%;
	font-family: Alegreya, Arial, sans-serif;
	font-size: 25px;
	color: #E1F0FDcc;
	text-align: center !important;
}

.butt_tile4:hover {
	background: rgba(62, 87, 105, 0.55);
	color: #cfe0f1;
	text-shadow: none;
	transition: all 0.3s ease;
	transform: scale(1.05);
}

.butt_tile4:active {
	transform: scale(0.98);
}

#historie {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#hvozd {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#mor {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#artefakty {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#spiritualita {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#bohove {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#duchove {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#ritualy {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

.column {
	display: flex;
	justify-content: center;
	width: 100%;
}

.content {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	width: 100%;
}

@font-face {
	font-family: "SpaceAstro";
	src: url(space_and_astronomy.ttf);
}

@font-face {
	font-family: "Alegreya";
	src: url(AlegreyaSans-Regular.ttf);
}

h1 {
	font-family: SpaceAstro, Arial, sans-serif;
	font-size: 50px;
	font-weight: normal;
	text-align: center;
	color: #E1F0FDcc;
	width: 100%;
	margin: 1% 0 2% 0;
	padding: 1%;
}

h2 {
	font-family: Alegreya, Arial, sans-serif;
	font-size: 30px;
	font-weight: normal;
	text-align: left;
	color: #E1F0FDcc;
	width: 100%;
	margin: 2% 0 1% 0;
	padding: 0;
}

.h3 {
	width: 31%;
	margin: 0 auto;
	padding: 0.5em 1%;
	background: rgba(62, 87, 105, 0.4);
	text-align: center;
	font-family: SpaceAstro, Arial, sans-serif;
	font-size: 35px;
	color: #E1F0FD;
	box-sizing: border-box;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.h3:hover {
	background: transparent;
	color: #3e5769 !important;
	text-shadow: none;
	transition: all 0.3s ease;
	transform: translateY(-2px);
}

.h3:active {
	transform: translateY(0);
}

h4 {
	font-family: SpaceAstro, Arial, sans-serif;
	font-size: 20px;
	font-weight: normal;
	text-align: left;
	color: #E1F0FDcc;
	width: 100%;
	margin: 2% 0 1% 0;
	padding: 0;
}

h5 {
	font-family: SpaceAstro, Arial, sans-serif;
	font-size: 26px;
	font-weight: normal;
	text-align: left;
	color: #E1F0FDcc;
	width: 100%;
	margin: 2% 0 1% 0;
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	display: block;
	object-fit: contain;
}

#kmeny_sel {
	display: flex;
	flex-flow: row wrap;
	width: 98%;
	padding: 0;
}

#plane {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#reka {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

#hory {
	display: none;
	padding: 2% 4%;
	width: 90%;
}

.main {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 0;
	padding: 0; 
	width: 100%;
	background: transparent;
}

.medai {
	display: flex;
	flex-flow: column;
	justify-content: center;
	width: 30%;
	height: auto;
	background: rgba(62, 87, 105, 0.4);
	margin: 1% auto 0.5% auto;
	padding: 1%;
	font-family: Alegreya, Arial, sans-serif;
	font-size: 22px;
	color: #E1F0FDcc;
	text-align: center;
}

.medaiimg {
    	position: relative;
    	display: flex;
    	flex-flow: column wrap;
    	justify-content: center;
    	max-width: 95%;
    	margin: auto;
    	padding: 0;    
}

#medai_intro {
	margin: 3% auto;
	padding: 3% 1%;
	background-color: #24334366;
	width: 50%;
}

.menu {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
	margin: 0;
	padding: 1% 0 1% 40%; 
	background: transparent;
	align-self: flex-end;
}

p {
	margin: 1% 0;
	line-height: 1.2;
}

ul {
	line-height: 1.8;
	padding-left: 5%;
	margin: 1% 0;
}

li {
	margin: 0.5% 0;
	padding-left: 1%;
	line-height: 1.2;
} 

.sectiondiv {
	display: none;
	flex-flow: column;
	justify-content: center;
	align-items: flex-start;
	width: 80%;
	/*min-height: 400px;*/
	margin: 0 auto;
	padding: 2% 4%;
	background: rgba(62, 87, 105, 0.4);
	text-align: left;
	font-family: Alegreya, Arial, sans-serif;
	font-size: 20px;
	color: #E1F0FD;
	transition: opacity 0.3s ease;
	position: relative;
	z-index: 1;
}

#section_intro {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 2%;
	width: 100%;
	background: transparent;
	margin: 0;
	padding: 2% 5%;
} 

#section_intro p {
	margin: 0 auto;
}

.intro-container {
	display: flex;
	justify-content: center;
	width: 48%;
	margin: 0 auto;
}

.intro-main {
	background-color: #24334366;
	padding: 1%;
	width: 100%;
	text-align: center;
}

.intro-spacer {
	display: flex;
	flex-flow: column;
	width: 23%;
	margin: 0 auto; 
	background-color: #24334366;
	text-align: center;
	padding: 1%;
}

.countdown {
	background-color: transparent;
	width: 100%;
	padding: 1%;
	text-align: center;
}

.countdown h5 {
	margin: 0 0 5% 0;
	color: #E1F0FD;
	font-size: 18px;
}

.countdown-display {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.countdown-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.countdown-number {
	font-size: 28px;
	color: #E1F0FD;
	font-family: SpaceAstro, Arial, sans-serif;
}

.countdown-label {
	font-size: 12px;
	color: #E1F0FD;
	opacity: 0.8;
}

.intro-news {
	display: flex;
	flex-flow: column;
	width: 23%;
	margin: 0 auto;
	background-color: #24334366; 
	text-align: left;
	padding: 1.5%;
}

.intro-news h4 {
	margin: 0 0 4% 0;
	color: #E1F0FD;
	text-align: center;
	font-size: 18px;
}

.news-item {
	margin-bottom: 4%;
	padding-bottom: 4%;
	border-bottom: 1px solid rgba(225, 240, 253, 0.1);
}

.news-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.news-date {
	font-size: 16px;
	color: #E1F0FD;
	opacity: 0.6;
	margin-bottom: 2%;
}

.news-title {
	font-size: 18px;
	color: #E1F0FD;
	font-weight: bold;
	margin-bottom: 3%;
	line-height: 1.3;
}

.news-content {
	font-size: 17px;
	color: #E1F0FD;
	opacity: 0.8;
	line-height: 1.4;
} 

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1% auto;
	table-layout: fixed;
}

table, th, td {
	border: 0.5px solid;
}

th, td {
	padding: 1%;
	vertical-align: top;
}

.texttile {
	display: flex;
	flex-flow: column;
	width: 90%;
	height: auto;
	margin: 1% auto;
	padding: 2% 4%;
	background: rgba(62, 87, 105, 0.4);
	font-size: 20px;
	color: #E1F0FDcc;
	text-align: left;
}

.tile4stripe {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	height: auto;
	background-color: transparent;
	margin: 0;
}

.tile2 {
	display: flex;
	flex-flow: column;
	justify-content: left;
	width: 45%;
	height: auto;
	background: rgba(62, 87, 105, 0.4);
	margin: 1% auto;
	padding: 1% 1% 1% 2%;
	font-family: Alegreya, Arial, sans-serif;
	font-size: 20px;
	color: #E1F0FDcc;
	text-align: left;
}

.tile4 {
	display: flex;
	flex-flow: column;
	justify-content: center;
	width: 21%;
	height: auto;
	background: rgba(62, 87, 105, 0.4);
	margin: 1% auto 0.5% auto;
	padding: 1%;
	font-family: Alegreya, Arial, sans-serif;
	font-size: 25px;
	color: #E1F0FDcc;
	text-align: center;
}

.visual {
	display: flex;
	flex-flow: column;
	width: 30%;
	height: auto;
	background: transparent; /*rgba(62, 87, 105, 0.4);*/
	margin: 1% auto 0.5% auto;
	padding: 1%;
	font-family: Alegreya, Arial, sans-serif;
	font-size: 20px;
	color: #E1F0FDcc;
	text-align: left;
}

.visual ul {
	padding-left: 5%;
	margin: 1% 0;
}

.visual li {
	margin: 0.5% 0;
	padding-left: 1%;
}

@media screen and (min-width:2000px) {
	.banner {
		min-height: 400px;
	}
	
	h1 {
		font-size: 60px;
	}
	
	h2 {
		font-size: 36px;
	}
	
	h3 {
		font-size: 40px;
	}
	
	h4 {
		font-size: 26px;
	}
	
	h5 {
		font-size: 32px;
	}
	
	.h3 {
		font-size: 40px;
	}
	
	p {
		font-size: 22px;
	}
	
	.news-date {
		font-size: 20px;
	}
	
	.news-title {
		font-size: 22px;
	}
	
	.news-content {
		font-size: 21px;
	}
	
	.countdown h4,
	.countdown h5 {
		font-size: 22px;
	}
	
	.countdown-number {
		font-size: 36px;
	}
	
	.countdown-label {
		font-size: 14px;
	}
	
	.sectiondiv {
		font-size: 22px;
	}
	
	.texttile {
		font-size: 22px;
	}
	
	.tile2 {
		font-size: 22px;
	}
	
	.tile4 {
		font-size: 28px;
	}
	
	.butt_tile4 {
		font-size: 28px;
	}
}

@media screen and (max-width:1800px) {
	h3 {
		font-size: 32px;
	}

	.h3 {
		font-size: 32px;
	}
	
	#medai_intro {
		width: 55%;
	}
}

@media screen and (max-width:1350px) {
	h3 {
		font-size: 30px;
	}

	.h3 {
		font-size: 30px;
	}
	
	#medai_intro {
		width: 60%;
	}
}

@media screen and (max-width:1200px) {
	h3 {
		font-size: 25px;
	}

	.h3 {
		font-size: 25px;
	}
	
	.banner {
		min-height: 200px;
	}
	
	#medai_intro {
		width: 65%;
	}

	.sectiondiv {
		width: 92%;
		font-size: 18px;
		padding: 2% 3%;
	}

	.visual {
		font-size: 18px;
	}
	
	.texttile {
		width: 92%;
		padding: 2% 3%;
	}
}

@media screen and (max-width:1120px) {
	#medai_intro {
		width: 70%;
	}
}

@media screen and (max-width:1050px) {
	.back_butt {
		width: 55%;
		font-size: 18px;
		padding: 2%;
	}

	h2 {
		font-size: 25px;
	}

	.h3 {
		width: 42%;
		font-size: 24px;
	}
	
	#medai_intro {
		width: 75%;
	}

	.medai {
		font-size: 20px;
	}
	
	.tile4 {
		font-size: 22px;
	}
	
	.tile2 {
		width: 48%;
		padding: 2% 2.5%;
	}
}

@media screen and (max-width:780px) {	
	h1 {
		font-size: 35px;
		padding: 2%;
	}
	
	h2 {
		font-size: 22px;
	}
	
	h3 {
		font-size: 22px;
	}

	h5 {
		font-size: 20px;
	}
	
	.banner {
		min-height: 150px;
	}
	
	#section_intro {
		flex-direction: column;
		gap: 3%;
		padding: 2% 3%;
	}
	
	.intro-container {
		width: 100%;
	}
	
	.intro-main {
		max-width: 100%;
	}
	
	.intro-container {
		width: 100%;
		margin: 0;
	}
	
	.intro-main {
		max-width: 100%;
		width: 100%;
	}
	
	.intro-news {
		width: 100%;
		max-width: 100%;
		align-self: center;
		margin-top: 3%;
		padding: 3%;
	}
	
	.intro-news h4 {
		margin: 0 0 3% 0;
		text-align: center;
		font-size: 16px;
	}
	
	.intro-spacer {
		width: 100%;
		margin-bottom: 3%;
		padding: 1%;
	}
	
	.countdown {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 3%;
	}
	
	.countdown h4,
	.countdown h5 {
		font-size: 16px;
		margin: 0;
	}
	
	.countdown-display {
		flex-direction: row;
		gap: 5%;
	}
	
	.countdown-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}
	
	.countdown-number {
		font-size: 20px;
	}
	
	.countdown-label {
		font-size: 9px;
	}
	
	#medai_intro {
		width: 85%;
	}

	.h3 {
		font-size: 20px;
		width: 48%;
		padding: 0.75em 1%;
	}

	#kmeny_sel {
		flex-flow: column wrap;
	}

	.back_butt {
		font-size: 16px;
		width: 70%;
		padding: 2.5%;
	}

	.butt_kmeny {
		max-width: 94%;
	}

	.medai {
		width: 45%;
		font-size: 18px;
	}

	.sectiondiv {
		font-size: 16px;
		width: 95%;
		padding: 3% 2%;
	}

	.texttile {
		font-size: 16px;
		width: 95%;
		padding: 3% 2%;
	}

	.tile4 {
		font-size: 18px;
		width: 45%;
	}

	.tile2 {
		width: 95%;
		font-size: 18px;
		padding: 3% 2.5%;
	}

	.butt_tile4 {
		font-size: 18px;
		width: 45%;
	}

	.visual {
		width: 95%;
		font-size: 16px;
	}
	
	#medai_intro {
		padding: 4% 2%;
	}
}

@media screen and (max-width:560px) {
	.back_butt {
		width: 80%;
		font-size: 16px;
		padding: 3%;
	}

	h1 {
		font-size: 32px;
		padding: 2%;
	}
	
	.banner {
		min-height: 120px;
	}
	
	.intro-spacer {
		display: flex;
		width: 100%;
		margin-bottom: 3%;
	}
	
	.countdown h4,
	.countdown h5 {
		font-size: 14px;
	}
	
	.countdown-number {
		font-size: 20px;
	}
	
	.countdown-label {
		font-size: 10px;
	}
	
	.news-date {
		font-size: 14px;
	}
	
	.news-title {
		font-size: 16px;
	}
	
	.news-content {
		font-size: 15px;
	}
	
	#medai_intro {
		width: 95%;
	}

	h2 {
		font-size: 20px;
	}

	h3 {
		font-size: 18px;
	}

	.h3 {
		font-size: 16px;
		width: 45%;
		margin: 1% auto;
		padding: 0.75em 2%;
		white-space: normal;
	}

	.medai {
		font-size: 16px;
		width: 90%;
		margin: 2% auto;
	}

	.tile4 {
		width: 95%;
		font-size: 16px;
	}

	.butt_tile4 {
		width: 95%;
		font-size: 16px;
		padding: 2%;
	}

	.tile2 {
		width: 98%;
		font-size: 16px;
		padding: 4% 3%;
	}
	
	.sectiondiv {
		width: 98%;
		padding: 4% 2%;
	}
	
	.texttile {
		font-size: 15px;
		width: 98%;
		padding: 4% 3%;
	}
	
	.visual {
		width: 98%;
		font-size: 14px;
		padding: 3%;
	}
}

@media screen and (max-width:420px) {
	h1 {
		font-size: 28px;
	}

	.h3 {
		font-size: 14px;
		width: 45%;
		padding: 0.5em 2%;
		line-height: 1.3;
		white-space: normal;
		margin: 0.5% auto;
	}
	
	.banner {
		min-height: 100px;
	}
	
	.countdown h4,
	.countdown h5 {
		font-size: 13px;
	}
	
	.countdown-number {
		font-size: 18px;
	}
	
	.countdown-label {
		font-size: 9px;
	}
	
	.news-date {
		font-size: 13px;
	}
	
	.news-title {
		font-size: 15px;
	}
	
	.news-content {
		font-size: 14px;
	}
	
	#medai_intro {
		width: 98%;
	}

	.medai {
		width: 95%;
		font-size: 15px;
	}

	.visual {
		width: 98%;
		font-size: 13px;
		padding: 2.5%;
	}
	
	.back_butt {
		width: 85%;
		font-size: 14px;
		padding: 3.5%;
	}
}

@media screen and (max-width:360px) {
	h1 {
		font-size: 24px;
	}
	
	.h3 {
		font-size: 13px;
		padding: 0.5em 1.5%;
		white-space: normal;
		width: 45%;
		margin: 0.5% auto;
	}
	
	.banner {
		min-height: 80px;
	}
	
	.countdown h4,
	.countdown h5 {
		font-size: 12px;
	}
	
	.countdown-number {
		font-size: 16px;
	}
	
	.countdown-label {
		font-size: 8px;
	}
	
	.news-date {
		font-size: 12px;
	}
	
	.news-title {
		font-size: 14px;
	}
	
	.news-content {
		font-size: 13px;
	}
	
	#medai_intro {
		width: 100%;
	}
	
	.back_butt {
		width: 90%;
		font-size: 13px;
	}
	
	.texttile {
		font-size: 14px;
	}
}