body{
	margin:0;
	font-family: 'Open Sans', sans-serif;
}

.top-panel{
	display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #613811;
	padding: 5px;
	font-size: 1rem;
    position: fixed;
    width: 100%;
	height:100px;
	top:0;
	box-sizing: border-box;
	z-index: 3;
}

.logo{
    height: 100%;
	margin:0 5px;
	position: relative;
	cursor:pointer;
}

.top-panel img{
	height:100%;
}

.bottom-panel{
	height:50px;
	background: #2d588c;
	position: fixed;
	top:100px;
	width:100%;
	z-index: 2;
	display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.bottom-panel a{
	color:#fff;
	margin-left:60px;
	text-decoration: none;
}

.big-image{
	width: 100%;
    padding-top: 40%;
    background-image:url("/pozadi1.jpeg");
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	margin-top:150px;
	position: relative;
}

.text-boxes{
	top: 195px;
    position: absolute;
    width: 100%;
}

.text-box{
	padding: 25px 20px;
	position:absolute;
}

#text-box-1{
    background: #2d588c8f;
    color: #fff;
	top:0;
	left:0;
}

#text-box-2{
    background: #ff000070;
    color: #fff;
	top:127px;
	right:0;
}

#text-box-3{
    background: #3fa93c7d;
    color: #fff;
	top:254px;
	left:0;
}

#content{
	position: absolute;
    top: 540px;
}

h1{
	font-weight:400;
	text-align: center;
}

#text-top{
	margin-top:10rem;
}

#text-top div{
	text-align: justify;
	padding:10px;
	box-sizing: border-box;
}

#gallery{
	margin-top:13rem;
}

#photos{
	display: flex;
	max-width:800px;
	margin-left: auto;
	margin-right: auto;
}

#text-bottom div{
	text-align: justify;
	padding:10px;
	box-sizing: border-box;
}

#text-bottom{
	margin-top:10rem;
}

#text-footer div{
	text-align: justify;
	padding:10px;
	box-sizing: border-box;
}

#text-footer{
	margin-top:3rem;
}

footer{
	height:300px;
	background:#343434;
	position: absolute;
    top: 2230px;
    width: 100%;
}

.gallery-image{
	width:calc(25% - 10px);
	margin:5px;
	padding-top:25%;
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	cursor:pointer;
}


@media (max-width: 576px){

	.logo {
    margin: 0 -16px 0 5px;
	}

	.bottom-panel a {
	    margin-left: 20px;
	}

	.top-panel{
		font-size: 2rem;
	}

	#content {
    top: 190px;
}

	.text-boxes{
		top: 15S5px;
	    position: absolute;
	    width: 100%;
	}

	.text-box{
		padding: 15px 20px;
		position:absolute;
	}

	#text-box-1 {
		top: -30px;
	}

	#text-box-2 {
		top: 8px;
	}

	#text-box-3 {
		top: 45px;
	}

	#gallery {
    margin-top: 10rem;
}

#text-bottom {
    margin-top: 4rem;
}

#text-top {
    margin-top: 5rem;
}

footer {
    top: 1880px;
}

}



@media (min-width: 576px) {

	.top-panel{
		font-size: 2rem;
	}

	.logo{
		margin: 0 -15px 0 10px;
	}

	.text-boxes{
		font-size: 2rem;
	}

	footer{
		top: 1930px;
	}


}

@media (min-width: 768px) {

	.text-box{
	    padding: 15px 20px
	}

	#text-box-2{
		top:147px;
	}

	#text-box-3{
		top:294px;
	}

	#content{
		top: 630px;
	}

}

@media (min-width: 992px) {

	.bottom-panel{
		padding: 20px 200px 20px 0px;
	}

}

@media (min-width: 1200px) {

	#content{
		position: relative;
		top:0;
	}

	footer{
		position: relative;
		margin-top:10rem;
		top:0;
	}

}

@media (min-width: 1300px) {

	#content{
		width:1300px;
		margin-left:auto;
		margin-right:auto;
	}

}
