/*--------------------------- VIDEO ------------------------*/

.video-block {
	position: relative;
	width: 100%;
	height: 100vh;
  	/*height: var(--block-height);*/
}

.video-block > * {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-block .video-container {
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-block .video {
	height: 135%;
	width: 100%;
	object-fit: cover;
}

.video-block .button-text-container {
	z-index: 10;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: flex-start;
	width: 35%;
	margin-left: 20%;
}

.video-block .button-text-container p {
	font-family: var(--font-medium);
	font-size: var(--font-48);
	color: #ffffff;
}

.video-block .button-text-container a {
	margin-top: 40px;
}

@media only screen and (max-width: 600px) {
	.video-block .button-text-container {
		width: 80%;
		margin-left: 10%;
	}
}

/*--------------------------- O NAS ------------------------*/


.onas-block {
	display: flex;
	flex-flow: column;
}

/*za link href: uposteva header height*/
#anchor-onas-block {
	position: relative;
	top: calc(-1*var(--header-height));
}

.onas-block p {
	max-width: 1000px;
}

.onas-block a {
	margin: auto;
	margin-top: 30px;
}
/*--------------------------- STORITVE ------------------------*/
.storitve-block .flex-container {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

.storitve-block .storitev-container{
	position: relative;
	/*flex: 0 0 32%;
	margin-bottom: 3%;*/
	flex: 0 0 49%;
	margin-bottom: 2%;
	background-color: #303030;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 0 10px 2px;

	padding-bottom: 70px; /*for button*/

	display: flex;
	flex-flow: column;
	align-items: center;
}
/*
@media only screen and (max-width: 1020px) {
	.storitve-block .storitev-container{
		flex: 0 0 49%;
		margin-bottom: 2%;
	}
}*/

@media only screen and (max-width: 800px) {
	.storitve-block .storitev-container{
		flex: 0 0 100%;
	}
}

.storitve-block .img-container {
	position: relative;
	width: 100%;
}

.storitve-block img {
	width:100%;
	max-height: 50vh;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.storitve-block .storitev-title {
	position: absolute;
	bottom:0;
	margin: 30px;
	font-size: var(--font-30);
	font-family: var(--font-medium);
}

.storitve-block .storitev-text {
	margin: 30px
}

.storitve-block a {
	position: absolute;
	bottom: 20px;

}

/*--------------------------- KONTAKT ------------------------*/
.kontakt-block {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.kontakt-block .yellow {
	color: var(--pl-yellow);
	font-family: var(--font-medium);
	font-size: var(--font-36);
	text-align: center;
}

.kontakt-block a {
	margin-top: 20px;
}