header,
footer {
	color: #F1F6F9;
	background: #394867;
	font-family: sans-serif;
	text-align: left;
	padding: 5px 15px;
}

header {
	font-size: x-large;
    border-bottom: 8px solid #212A3E;
}

body {
	margin: 0px;
    background: #F1F6F9;
}

footer {
	text-align: center;
}

nav {
	display: flex;
	justify-content: space-evenly;
}

nav a {
	color: #F1F6F9;
	background: #394867;
	text-decoration: none;
	padding: 5px 15px;
	line-height: 2;
	font-size: x-large;
	font-family: sans-serif;
	width: 100%;
	text-align: center;
	transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}


nav a:hover {
	background-color: #212A3E;
	color: #F1F6F9;
}


nav a.aktivni {
	text-decoration: underline;
	color: #F1F6F9;
	background-color: #212A3E;
}


section {
	font-family: sans-serif;
	font-size: x-large;
	text-align: left;
	text-align: justify;
	position: relative;
	overflow: hidden;
}

nav,
section,
header h1,
header h2 {
	max-width: 1400px;
	margin-inline: auto;

}

img {
	float: right;
	margin-top: 5px;
	border-radius: 50px 25px;
	margin-left: 15px;
    border: 8px solid #9BA4B5;
}

h1,
h2 {
	color: #F1F6F9;
	background: #394867;
	font-family: sans-serif;
}
h2
{
border-radius: 5px 2.5px;
padding-inline:10px;
}


th,
td {
	background: #394867;
	color: #F1F6F9;
    padding: 5px;
}


.fotorama{
    display: inline-block;
    float:right;
    border: 8px solid #9BA4B5;
    margin-top: 5px;
    border-radius: 50px 25px;	
    margin-left: 15px;
}


.fotorama__wrap {
	margin-inline: auto;
    
}

.fotorama img {
    margin:0;
}