/* ================================ BASIC CSS */

* {
	box-sizing: border-box;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
  }

body {
	margin: 0;
	font-family: 'Libre Franklin', sans-serif;
	font-size: 16px;
	text-align: center;
	background-color: white;
}

.preload * {
	transition: none !important;
}

a {
	color: #121b2edd;
	text-decoration: underline;
}
a:hover {
	color: #2a69ea;
	text-decoration: none;
}

/* ============ NAVBAR */

/* nav * {
	border: 1px dashed #ff000080;
} */

.navbar {
	width: 100%;
	margin: 0 auto;
	z-index: 0;
	clear: both;
	background: #ffffff;
	border-bottom: 2px solid #e9f0fd;
}

#navbar__container  {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding-top: 10px;
}

#navbar__logo {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

#navbar__logo a {
	text-decoration: none;
}

#navbar__logo h1 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	/* line-height: 1rem; */
}

.h1--primary {
	font-size: 42px;
	font-weight: 700;
}

.h1--secondary {
	font-size: 16px;
	font-weight: 400;
}

#navbar__menu ul {
	display: flex;
	justify-content: space-around;
	flex-direction: column;
	list-style-type: none;
	padding: 0;
}

#navbar__menu ul li {
	margin-top: 10px;
}

#navbar__menu ul li a {
	font-size: 1rem;
	text-decoration: none;
	color: #121b2edd;
	font-weight: 400;
	padding: 10px 10px;
}

#navbar__menu ul li a:hover  {
	color: #ffffff;
	background:#2a69ea;
	box-shadow: 0px 10px 18px #00000030;
	padding: 10px 15px;
}

/* ======================= HEADER + SECTION + FOOTER */

.container {
	padding: 10px 5px 10px 5px;
}

.odd  {
	background:#e9f0fd;
	transition: ease-in-out 0.4s;
}

.odd:hover  {
	background:#dee8fa;
}

.even  {
	background-color: white;
	transition: ease-in-out 0.4s;
}

.even:hover  {
	background-color: #dee8fa60;
	
}

.title_headline {
	background-color:#153575aa;	
	padding: 10px;
	color: white;
	display: inline-flex;

}

.title_headline_h2 {
	background-color:#153575aa;	
	padding: 10px;
	color: white;
	display: inline-flex;
}

.title_items {
	display:inline-flex;
	background-color:#2a69ea90;
	padding: 5px;
	margin: 0 auto;
	color: white;
}

section h2 {
	font-size: 2.5em;
	color: #263070ff;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-color:#2a69ea90;
  }

section h2 {
	font-size: 2em;
	color: #263070ff;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-color:#2a69ea90;
  }

h3 {
	font-size:16px;
}

.container img {
	margin: 5px;
	border-radius: 0 30px 0 30px;
	transition: cubic-bezier(1, 0, 0, 1) 0.5s;
}

.container img:hover {
	transform: scale(0.9);
	border-radius: 0;
}

footer {
	min-height: 150px;
	padding: 10px;
}

footer p {
	font-size: 0.9em;
}

/* =================== END OF [BASIC] CSS ==================== */
/* =================== START OF CSS ONLY FOR SMALL SCREEN ==================== */
@media only screen and (max-width: 370px) {
	section img {
		max-width: 100%;
		height: 100%;
		margin-left: 1em;
		margin-right: 1em;
	} 

	iframe {
		width: 90%;
		height: auto;
	}

	header {
		background-image: none;
		background-color: #15357540;
	}
}
/* =================== END OF CSS ONLY FOR SMALL SCREEN ==================== */
/* =================== START OF [SMARTPHONES] VIEW ==================== */

@media only screen and (min-width: 370px) {
	.container  {
		width: 100%;
		margin: 0 auto;
		padding-left: 15px;
		padding-right: 15px;
		padding-top: 70px;
		padding-bottom: 40px;
	}

	nav.navbar {
		position: fixed;
		background-color: #ffffffee;
		z-index: 1;
	}

	nav.navbar.scrolled {
		
		height: auto;
		transition: ease-in-out 0.5s;
	}

	#navbar__container  {
		margin-top: 0;
		padding-top: 10px;
	}


	.scrolled #navbar__logo  {
		height: auto;
	}

	.scrolled #navbar__logo img {
		width: 32px;
		height: 32px;
	}

	.scrolled #navbar__logo h1 {
		flex-direction: row;
	}

	.scrolled .h1--primary {
		font-size: 28px;
		font-weight: 700;
	}
	
	.scrolled .h1--secondary {
		font-size: 12px;
		font-weight: 400;
	}

	.scrolled #navbar__menu {
		margin: 0;
		padding: 0;
		height: auto;
	}
	
	/* #navbar__menu li  {
		margin: -20px;
		padding: 20px;
	}

	#navbar__menu li:hover  {
		margin: -20px;
		padding: 20px;
	} */

	/* #navbar__menu {
		position: fixed;
	} */

	#navbar__menu ul {
		flex-direction: row;
		/* height: 100%; */
	}
	#navbar__menu ul li a  {
		font-size: 0.9rem;
		text-decoration: none;
		color: #121b2edd;
		/* background-color: #2a69ea20; */
		font-weight: 700;
		padding: 15px 15px 15px 15px;
	}

	#navbar__menu ul li a:hover  {
		color: #ffffff;
		background:#2a69ea;
		box-shadow: 0px 10px 18px #00000030;
		padding: 15px 15px 15px 15px;
		transition: ease-in-out 0.3s;
	}

	a {
		border-bottom: 0px solid transparent;
		background: transparent;
	}
	a.active {
		border-bottom: 5px solid #2a69eada;
		/* background: linear-gradient(transparent 80%, #2a69ea70); */
		/* transition: ease-in-out .5s; */
	}

	iframe, img {
	max-width: 100%;
  	}

	section  {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	header {
		background-image: url("../img/bg-header.jpg");
		background-position: center;
		background-attachment: scroll;
		background-repeat: no-repeat;
		background-size: cover;
		background-color: #aebfd4;
		width: 100%;
		padding-top: 150px;
	}

	header h1  {
		font-size: 1.8em;
	}
	
	header h2 {
		font-size: 1.2em;
	}
	
	header p {
		font-size: 1em;
	}

	#kariera {
		background-image: url("../img/bg-kariera.jpg");
		background-position: center;
		background-attachment: scroll;
		background-repeat: no-repeat;
		background-size: cover;
		background-color: #2e2e2e;
		width: 100%;
		height: 100%;
	}
	
	#kariera h1, #kariera h2, #kariera h3, #kariera p {
		color: white;
	}
}

/* =================== END OF [SMARTPHONE] CSS ==================== */
/* =================== START OF [TABLET] VIEW ==================== */

@media only screen and (min-width: 650px) {

	nav.navbar {
		background-color: #ffffff70;
		border-bottom: 0px solid #2a69ea33;
		transition: ease-in-out 0.2s;
		width: 100%;
		height: 150px;
		margin: 0 auto;
		position: fixed;
		top:0px;
		z-index: 1;
		padding-top: 0px;
		padding-bottom: 0px;
	}

	nav.navbar.scrolled {
		background-color: #ffffffee;
		height: 80px;
		transition: ease-in-out 0.5s;
		/* margin-bottom: 0px;
		padding-bottom: 0px; */
	}
	
	#navbar__container  {
		flex-direction: row;
		height: 150px;
		width: 100%;
		min-width: 650px;
		max-width: 960px;
		margin: auto;

	}

	#navbar__container.scrolled  {
		height: 80px;
	}

	#navbar__container *, .scrolled * {
		/* transition: ease-in-out 0.3s; */
	}

	
	#navbar__logo  {
		padding-left: 15px;
	}

	#navbar__logo img {

	}

	#navbar__logo h1 {
		flex-direction: column;
	}

	#navbar__logo img {
		transform: scale(1);
	}

	#navbar__menu  {
		display: flex;
		justify-self: flex-end;
		/* xxx */
		
	}

	#navbar__menu ul {
		list-style: none;
		display: flex;
		justify-content: flex-end;
	}

	#navbar__menu ul li a  {
		font-size: 20px;

		/* transition: cubic-bezier(1, 0, 0, 1) 0.3s; */
	}

	.scrolled #navbar__container  {
		height: 80px;
		flex-direction: row;
	}

	.scrolled #navbar__logo  {
		display: flex;
	}
	
	.scrolled #navbar__logo h1 {
		/* display: flex; */
		flex-direction: row;
		transform: translate(-20px, 0);
	}

	.scrolled #navbar__logo img {
		transform: scale(0.7) translate(-20px, 0);
	}

	.scrolled #navbar__menu a {
		font-size: 14px;
	}

	

	#navbar__menu a:hover  {
		
	}

	section  {
		padding-top: 0px;
		padding-bottom: 0px;
	}

	.container  {
		width: 90%;
		height: 100%;
		max-width: 1024px;
		margin: 0 auto;
		padding-left: 30px;
		padding-right: 30px;
		padding-top: 100px;
		padding-bottom: 100px;
	}

	header {
		background-image: url("../img/bg-header.jpg");
		background-position: center;
		background-attachment: fixed;
		background-repeat: no-repeat;
		background-size: cover;
		background-color: #aebfd4;
		width: 100%;
		padding-top: 150px;
		min-height: 700px;
		max-height: 100vh;
	}

	header h1  {
		font-size: 2.5em;
	}
	
	header h2 {
		font-size: 1.1em;
		padding-bottom: 18px;
	}
	
	header p {
		font-size: 1em;
	}

	#kariera {
		background-image: url("../img/bg-kariera.jpg");
		background-position: center;
		background-attachment: scroll;
		background-repeat: no-repeat;
		background-size: cover;
		background-color: #2e2e2e;
		width: 100%;
		height: 100%;
	}
	
	#kariera h1, #kariera h2, #kariera h3, #kariera p {
		color: white;
	}

}


/* =================== END OF [TABLET] CSS ==================== */
/* =================== START OF [DESKTOP] VIEW ==================== */

/* potřeba dodat !!!! */

