.mainText {
	font-size:30px;
	color:#fff;
	font-weight:bold;
	text-shadow: 1px 1px 1px #000;
}

.dem-logo {
	max-height:200px;
	margin:0 auto;
}

.mainNaslov {
	padding-top:30px;
}

.mainBox {
	vertical-align:middle;
	padding-top:50px;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
	.mainNaslov {
		padding-top:5px;
	}

	.mainText {
		font-size:20px;
		color:#fff;
		font-weight:bold;
		text-shadow: 1px 1px 1px #000;
	}

	.dem-logo {
		max-height:140px;
		margin:0 auto;
		margin-top:10px;
	}

}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 1000px) and (max-height: 400px) {
/* Styles */
	.mainNaslov {
		padding-top:5px;
		margin-top:0;
	}

.mainBox {
	vertical-align:top;
	padding-top:0px;
}

}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
/* Styles */

}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
/* Styles */
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}



.gallery-template {
    margin-top: 2rem;
    margin-bottom: 2rem;
    list-style:none;
}
.gallery-template .template1 {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-items: center;
    align-items: center;
    grid-auto-flow: dense;
    justify-items: start;
}

.gallery-template li::before {
    content: '' !important;
}

.gallery-template .template1 li {
    aspect-ratio: 1.3333333333;
    list-style:none;
}

.gallery-template .template1 li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    margin: 2rem 0 2rem 0;
    width: 100%;
    max-height: 500px;
    aspect-ratio: 16/9;
}
