* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}
img {
	max-width: 100%;
	border-radius: 20px;
	margin-right: 50px;
}
/* Header/logo Title*/
.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  margin: 10px;
  text-align: center;
  background: #87CEFA;
  color: white;
}
.header h1 {
  font-size: 50px;
  font-family:'Caveat';
  color: yellow;
}
.header img {
	float: right;
	max-width: 200px;
}

.intro {
	width: auto;
	height: 200 px;
}
.aktuelnost {
  display: flex;
  flex-flow: wrap;
  justify-content: left;
  align-items: flex-start;
  text-align: left;
  margin: 10px;
}
.aktuelnost h5 {
	display: flex;
	flex-wrap: wrap;
	text-align: right;
	margin: 5 px;
	padding: 5 px;
}
.main {
	text-align: left;
}
.datum {
	display:flex;
	justify-content: left;
	align-items: flex-start;
	text-align: right;
	padding: 10px;
}
/* Style the top navigation bar */
.navbar {
  overflow: hidden;
  background-color: #00539C;
}
/* Style the navigation bar links */
.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}

/* Right-aligned link */
.navbar a.right {
  float: right;
}

/* Change color on hover */
.navbar a:hover {
  background-color: #000080;
  color: yellow;
}

.active {
  background-color: orange;
  color: black;
}

.navbar .icon {
  display: none;
}

/* Column container */
.row {  
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}
.fbrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px;
  padding: 10px;
  text-align: center;
  align-items: center;
}
/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  flex: 30%;
  flex-wrap: wrap;
  background-color: #f1f1f1;
  padding: 10px;
  display: inline;
}
/* Main column */
.main {
  flex: 70%;	
  background-color: white;
  padding: 20px;
}

/* Fake image, just for this example */
.fakeimg {
  width: 100%;
  padding: 20px;
  background-color: #e7f3fe;
  border-left: 6px solid #2196F3;
}
.fakeimg h3, h4 {
	text-align: center;
}
.fakeimg p {
text-align: left
}
/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
}
.kontejner {
	display: flex;
	flex-wrap: wrap;
	padding: 20px;
}
.saradnici {
	display: flex;
	flex-wrap: float;
	margin: 10px;
	padding: 20px;
}
.portfolio {
	padding: 20px;
	min-width: 200px;
	max-width: 200px;
}
.text {
	display: flex;
	padding: 5px;
	min-width: 400px;
  text-align: left;
}
.text h3, h4 {
	text-align: center;
	padding: 10px;
}
.text p {
  text-align: left;
}
/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {   
    flex-direction: column;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other 
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }*/
  
 @media screen and (max-width: 600px) {
 .navbar a:not(:first-child) {
  display: none;
  }
 .navbar a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
 .navbar.responsive {
  position: relative;
 }
 .navbar.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
 .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
 .responsive {
  width: 100%;
  max-width: 400px;
  height: auto;
  }
 .kontakt {
	display: flex;
	flex: wrap;
	justify-content: center;
	text-align: center;
	font-size: 20px;
	width: 200px;
  }
}

@media(max-width:960px) {
 .header img {
	max-width: 100px;
	float: center
	}
 .header h1 {
	 font-size: 40px;
 }	 
}
@media(max-width:400px) {
 .header img {
	max-width: 80px;
	float: center
	}
 .header h1 {
	 font-size: 30px;
 }
 .main h2 {
	font-size: 20px;
 }
 .fakeimg h1 {
	font-size: 25px;
 }
}