:root {
  --nav-size: 50px;

  --marquee-width: 100%;
  --marquee-height: 20vh;
  /* --marquee-elements: 12; */ /* defined with JavaScript */
  --marquee-elements-displayed: 6;
  --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
  --marquee-animation-duration: calc(var(--marquee-elements) * 10s);
  --block-color: rgba(255, 255, 255, 0.04);
}


*{

   font-family: 'SF Pro Display', sans-serif;
}


body{
	background: #121212;
	height: 100vh;
	width: 100vw;
}

nav{
	width: 100%;
	background-color: #000;
	min-height: var(--nav-size);
	position: absolute;
	top:0;
}

nav img{
	position: absolute;
	left:30px;
	top: 10px;
}
nav ul{
	display: flex;
	justify-content: center;
	align-items: center;
	margin:0;
	padding: 0;
	min-height: var(--nav-size);
}
nav li{
	list-style-type: none;
	display: inline-block;
	padding-left: 50px;
	padding-right: 50px;
}
nav li a{
	text-decoration: none;
	color:white;
	font-weight: 500;
	font-size: 19px;
}
nav li a:hover{
	text-decoration: none;
	color:white;

}

.orb-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}
.enter-story{
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.enter-story img{
	width: 250px;
}


.enter-story-inner a:hover{
	text-decoration: none;
}
.enter-story-inner a{
	display: block;
	margin-top: 40px;
	padding-left: auto;
	padding-right: auto;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	background: #0A84FF26;
	margin-left: 10px;
	margin-right: 10px;
	font-weight: 400;
	font-size:17px;
	color:white;
	border-radius: 8px;
}

.blocks{
	margin-top: 85px;
	scroll-snap-type: both mandatory;
}
.block{
	scroll-snap-type: both mandatory;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	border-radius: 12px;
}

.block.showreel{
	background-color: var(--block-color);
	padding:30px;
}
.block.showreel .row{
	display: flex;
}
.block.showreel .text-col{
	width: 100px;
	position: relative;
}
.block.showreel .text-col img{
	position: absolute;
	right: 30px
}

.block.showreel .video-col{
	width: calc(100% - 100px);
}

.block.showreel .portfolio-col{
	width: calc(100% - 100px);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.block.showreel .portfolio-col a{
	width: calc(50% - 10px) !important;
}
.block.showreel .portfolio-col a:nth-child(even){
	margin-left: 10px;
}
.block.showreel .portfolio-col a:nth-child(n+3) {
	margin-top: 10px;
}
.block.showreel .portfolio-col a img{
	width: 100%;
	border-radius: 12px;
	transition: filter 0.2s ease-out;
}
/*animation*/
.block.showreel .portfolio-col .grey img{
	filter: blur(3px);
	transition: filter 0.2s ease-in;
}



.block.o-nas .inner-block, .block.text-block{
	position: relative;
}

.block.o-nas .inner-block > img, .block.text-block .inner-block > img{
	width: 100%;
}

.block.o-nas .onastext{
	color:white;
	position: absolute;
	top: 0;
	width: 40%;
	margin-left: 55%;
	margin-top: 15%;
	font-size: 1.4em;
}
.block.o-nas .onastext span{
	display: block;
	font-weight: 800;
	font-size: 4.75em;
}

.block.kategorie{
	background-color: var(--block-color);
	margin-top: 15px;
}

.block.kategorie .inner-block{
	/* display: none; */
}

.block.znacky{
	background-color: var(--block-color);
	margin-top: 20px;
	margin-bottom: 120px;
	/* display: none; */
}

.block .bottom-text{
	position: absolute;
	bottom: 30px;
	width: 100%;
	text-align: center;
	font-size: 1.7em;
	padding: 0px 20% 0px 20%;
	color: white;
	font-weight: 100;
}

.block .middle-text{
	position: absolute;
	height:100%;
	width:100%;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size:90px;
	color: white;
	font-weight: 800;
	display:flex;
}

.block .middle-logo img{
	max-height: 300px;

}

.block.text-block .inner-block > img {
	border-radius: 12px;
}

.block .middle-logo{
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;

}
.center{
	justify-content: center;
	align-items: center;
	height: 100% !important;
}

.center .zadanie{
	width: 100%;
	height: auto;
}
.block .block-content{
	position: absolute;
	width: 100%;
	height: 100%;
}

.block .zadanie-riesenie{
	width: 100%;
	height: 70%;
	display: flex;
	padding-top: 7%;
}

.block .zadania{
		width: 100%;
		height: 70%;
		display: flex;
		padding-top: 7%;
}
.block .zadanie,.block .riesenie{
	font-style: normal;
	font-weight: 100;
	font-size: 24px;
	text-align: center;
	color: white;
	width: 50%;
	padding: 3% 8% 0 8%;
}
.block .zadanie span,.block .riesenie span{
	width: 100%;
	display: block;
	font-size: 2.8em;
	font-weight: 800;
}

.block .icons-row{
	height: 30%;
	display: flex;
	justify-content: space-evenly;
	padding: 0 25% 0 25%;
}

.block .icons-row .icon{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.block .icons-row .icon span{
	color:white;
	font-weight: 600;
	font-size: 2em;
	padding-top:15px;
}
.block .icons-row .icon img{
	width: 65px;
	color: white;
}

.block .ovladatko i{
	cursor: pointer;
}
.block .ovladatko{
	width: 10%;
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
	color:white;
	font-size: 2em;
}
.block-content.galeria-content{
	display: flex;
}
.block-content .galeria{
	width: 80%; 
	display: flex;
	flex-grow: 1;
	flex-wrap: wrap;
	padding-top: 20px;
	padding-bottom: 20px;
}


.block-content .galeria img{
	border-radius: 32px;
	cursor: pointer;
	width: 25%;
	padding: 10px;
	height: 45%;
	object-fit: cover;
}

.block .block-content.referencia{
	display:flex;
}
.block .block-content.referencia .left{
	width: 45%;
}
.block .block-content.referencia .right{
	width: 55%;
}

.block .block-content.referencia .left{
	display: flex;
	justify-content: center;
	align-items: center;
}
.block .block-content.referencia .left img{
	width: 70%;
	border-radius: 12px;
}
.block .block-content.referencia .right{
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
}
.block .block-content.referencia .right div{
	padding: 0% 7% 0% 7%;
}

.referencia .nadpis{
	font-size: 50px;
	font-weight: 600;
}
.referencia .podnadpis{
	font-size: 30px;
	font-weight: 400;
}
.referencia .text{
	font-size: 22px;
	font-weight: 100;
	margin-top: 50px;
}

.block .icons-right img{
	width: 50px;
	color: white;
}
.block .icons-right {
	position: absolute;
	right: 30px;
	bottom: 30px;
}

.spacer{
	height: 35px;
	display: block;
}
/* SLIDER LOGOS*/


.marquee {
  width: var(--marquee-width);
  height: var(--marquee-height);
  color: #eee;
  overflow: hidden;
  position: relative;
}
.marquee:before, .marquee:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}

.marquee-content {
  list-style: none;
  height: 100%;
  display: flex;
  /*animation: scrolling var(--marquee-animation-duration) linear infinite;*/
}
/* .marquee-content:hover {
  animation-play-state: paused;
} */
@keyframes scrolling {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements))); }
}
.marquee-content li {
  display: flex;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
  flex-shrink: 0;
  width: var(--marquee-element-width);
  max-height: 100%;
  font-size: calc(var(--marquee-height)*3/4); /* 5rem; */
  white-space: nowrap;
}

.marquee-content{
	margin-left: 0;
	padding-left: 0;
	transition: transform 0.5s ease-in 0s;
}

.marquee-content img{
	max-height: 80%;
}

@media (max-width: 600px) {
  html { font-size: 12px; }
  :root {
    --marquee-width: 100vw;
    --marquee-height: 16vh;
    --marquee-elements-displayed: 3;
  }
  .marquee:before, .marquee:after { width: 5rem; }
}


.logo-left{
	position: absolute;
	top: 40%;
	left: 40px;
	font-size: 2em;
	cursor: pointer;
	z-index: 999;
}

.logo-right{
	position: absolute;
	top: 40%;
	right: 40px;
	font-size: 2em;
	cursor: pointer;
	z-index: 999;
}

.bigtext{
	width: 100%;
	display: block;
	text-align: center;
	color:white;
	margin-top: 30px;
	margin-bottom: 30px;
	font-size: 5.5em;
	font-weight: 800;
}

footer{
	background-color: black;
	min-height: 30vh;
	display: flex;
	justify-content: space-around;
}
footer .col{
	width: 33%;
	padding:50px 100px 50px 100px;
	color:white;
}

footer .col.a span{
	font-weight: 800;
	font-size: 1.75em;
	margin-bottom: 20px;
	display: block;
}

footer .col.a p {
	width: 75%;
}
footer .col.a .social{
	margin-top: 30px;
}
footer .col.a .social .first{
	margin-left: 0;
}
footer .col.a .social i {
	color: #959595;
	font-size: 2em;
	margin-left: 15px;
}

footer .col.b span{
	font-weight: 800;
	font-size: 1.75em;
	color:#DADADA;
	margin-bottom: 20px;
	display: block;
}

footer .col.b ul{
	color:#DADADA;
	list-style: none;
	padding: 0;
}
footer .col.b li{
	margin-bottom: 15px;
}

footer .col.c span{
	font-weight: 800;
	font-size: 1.75em;
	color:#DADADA;
	margin-bottom: 20px;
	display: block;
}

footer .col.c ul{
	color:#DADADA;
	list-style: none;
	padding: 0;
}
footer .col.c li{
	margin-bottom: 15px;
}

/* KONTAKT */

.form{
	display: block;
	padding-left: 10%;
	padding-right: 10%;
	min-height: 70vh;
}

.form .row{
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.form .row .form-control{
	border:0px;
	background-color: rgba(255, 255, 255, 0.1);
	color:#FAFAFA;
	border-radius: 12px;
}

.form .row textarea.form-control{
	min-height: 200px;
}
.form .row span{
	margin-left: 15px;
	font-weight: 600;
	font-size: 1.5em;
	margin-bottom: 8px;
	display: block;
	color:white;
}

.form .row .form-control.wrong{
	background: rgba(60,20,30,0.5)
}

.form .button{
	width: 100%;
	display: block;
	padding: 5px;
	border-radius: 20px;
	text-align: center;
	background: #0A84FF40;
	font-size: 1.35em;
	color: white;
	font-weight: 800;
	transition: background 0.2s ease-in;
	margin-top: 15px;
}

.form .button.sent{  
	background: #0AFF0A40;

}

.form .button.sent:hover{
	background: #0AFF0A40;
	cursor: default;
}

.form .button:hover{
	text-decoration: none;
	cursor: pointer;
	background: #0A84FF70;
}

.honeypot{
	display: none;
}

.zadanie-riesenie.single{
	justify-content: center;
}


@media only screen and (max-width: 500px) {
  
	.block .middle-text {
    	font-size: 40px;
	}

	footer{
		display: block;
	}

	.block.o-nas .inner-block > img, .block.text-block .inner-block > img{
		max-width: 100%;
		height: calc(350px - 20vw);
		object-fit: cover;	
		border-radius: 12px;
	}

	.block.o-nas .onastext{
		color:white;
		position: absolute;
		top: 0;
		width: 52%;
		margin-left: 43%;
		margin-top: 8%;
		font-size: 0.8em;
	}

	.block.o-nas .onastext span{
		display: block;
		font-weight: 800;
		font-size: 2em;
	}

	.bigtext{
		width: 100%;
		display: block;
		text-align: center;
		color:white;
		margin: 30px auto;
		font-size: 2em;
		font-weight: 800;
	}

	.block.znacky{
		margin-bottom: 50px;
	}

	footer .col {
		width: 100%;
		padding: 50px 50px 20px 50px;
		color: white;
	}


	.block .middle-logo img{
		max-height: 150px !important;
	}

	.block .bottom-text{
		position: absolute;
		bottom: 10px;
		width: 100%;
		text-align: center;
		font-size: 1em;
		padding: 0px 10% 0px 10%;
		color: white;
		font-weight: 100;
	}

	.block .middle-logo {
		align-items: start;
	}


	.inner-block .bottom-text{
		position: absolute;
		bottom: 10px;
		width: 100%;
		text-align: center;
		font-size: 1em;
		padding: 0px 10% 0px 10%;
		color: white;
		font-weight: 100;
	}

	nav {
		display: flex;
		justify-content: flex-end;	
	}


	nav ul{
		width: 80%;
	}
	nav li {
	  padding-left: 10px;
  	  padding-right: 10px;
	}

	nav li a {
	  text-decoration: none;
	  color: white;
	  font-weight: 500;
	  font-size: 17px;
	}

	.marquee :before, :after {
		opacity: 0.1;
	}
	.marquee{
		width: 100%;
	}

	.block.showreel .row {
		display: block;
	}
	.block.showreel .text-col img {
		display: none;
	}

	.mobile{
		display:block !important;
	}

	.heading {
		font-size: 3.25em;
		display: block !important;
		color: white;
		text-align: left;
	}
	
	.block.showreel .text-col {
		width: 100%;
	}
	.block.showreel .video-col {
		width: 100%;
	}

	.block.showreel .portfolio-col {
		width: calc(100%);
		display: block;
	}

	.block.showreel .portfolio-col a {
		margin: 0 0 0 0 !important;
	}

	.block.showreel .portfolio-col img {
		margin-top: 7px;
	}
	.block.showreel {
		padding-top: 7px;
	}

	.block .zadanie span, .block .riesenie span {
		font-size: 2em;
	}
	.block .zadanie, .block .riesenie {
		font-size: 0.7em;
		width: 100%; 
		padding: 5px 5px 0 5px;
	}
	.block .icons-row .icon img {
		width: 30px;
	}

	.block .icons-row .icon span {
		color: white;
		font-size: 0.8em;
		font-weight: 600;
		padding-top: 6px;
	}

	.block .icons-row {
		justify-content: space-evenly;
		padding: 0;
	}

	.block-content .galeria img {
		border-radius: 12px;
		width: 25%;	
	}

	.desktop{
		display:none !important;
	}

	.mobile-flex{
		display:flex;
	}

	.form .col-xs-4 {
		width: 100%;
	}

	.form .row {
		display: block;
		margin-top:10px;
	}
	.form .col-xs-8 {
		width: 100%;
	}

	.form .col-xs-2 {
		width: 100%;
		margin-bottom: 20px;
	}

	.block .block-content.referencia .right div {
		font-size: 1em;
	}

	.block .icons-right {
		position: absolute;
		right: 30px;
		bottom: 30px;
	}

}

.mobile{
	display:none;
}

.block-content.solo .zadanie-riesenie{
	justify-content: center;
	height: 100%;
	align-items: center;
	padding-top: 0;
}

.block-content.solo .icons-row{
	display: none;
}

.block-content.solo .zadanie{
    padding: 0 8% 0 8%;
    height: fit-content;
}
