/* Custom Stylesheet
nav a color, white: #ececec;
links, red: old:#2366d7; new:#C61503;
caption h3, gray: #CECECE;
bg gray, background-color: #f9f8f8;
nav, color: #a0a0a0; new: 979898;
blueblack: #202B3A;
nice purple: #9703c6
*/

/* Selection tweaks */
/* ::selection {
  color: #C615037F;
}
::-moz-selection {
  color: #C615037F;
} */



/* Fontawesome icon::after<!-- Simple styling to size an SVG --> */
/* .icon {
    width: 2em;
    height: 2em;
    vertical-align: -0.125em;
  } */

  #toggle-mode-button {
	background: none;
	border: none;
	margin: 13px;
  }

  .typewriter {
    min-height: calc(510px + 3vw); 
	/* min-height: auto; */
	/* min-height: calc(100vh - 20vw); 
    min-height: 510px;  */
}
/* @media screen and (max-width: 479px) {
    .typewriter {
        min-height: 400px;
    }
} */


/* FONT FACES */
@font-face {
    font-family: 'poppinsblack';
    src: url('../fonts/poppins-black-min.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
	font-display: swap;/* Define how the browser behaves during download */
}
@font-face {
    font-family: 'rubikv21';
    src: url('../fonts/rubik-v21-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
	font-display: swap;/* Define how the browser behaves during download */
}
@font-face {
    font-family: 'rubikv21';
    src: url('../fonts/rubik-v21-latin-400-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
	font-display: swap;/* Define how the browser behaves during download */
}


.reveal-text {
    opacity: 0;          /* Start invisible */
    white-space: normal; /* Allow wrapping */
    display: inline-block; /* Maintain space */
    transition: opacity 0.5s ease; /* Smooth transition for visibility */
	height: 85px;       /* Set a fixed height */
}

/* HTML general */
html {
	/* color: #293f52; 	 */
	color: #2e475d;
	text-size-adjust: 100%;
}


body {
	font-size: 16px;
	font-size: 1.75rem;
	/* line-height:131.25%; */
	font-weight: 300;
	font-family: 'rubikv21', Helvetica, sans-serif;
	/* -webkit-font-smoothing: antialiased; */
	/* text-rendering: optimizeLegibility; */
}

/* Hide unused icons initially */
#light-mode-icon {
	src: url('https://borisjankovic.com/img/moon.svg');
    width: 24px;
	height: 24px;
	color: #000;
}

.scroll-down.svg svg {
	width: 30px;
	margin-top:30px;
	opacity: 1;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	-o-transition: opacity .5s;
	transition: opacity .5s;
  }
/* h1 {
  	font-size: 4.25rem;
	font-weight: 400;
	font-family: 'Arial Black', 'poppinsblack', 'Poppins', Helvetica, sans-serif;
	font-family: 'poppinsblack', 'Arial Black', Helvetica, sans-serif; 
    background: -webkit-linear-gradient(45deg, #3fabf3, #b82212 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent !important;
	text-transform: uppercase;
} 
	h1.hero-h1 {
	font-size: 10rem;
    text-transform: uppercase;
    line-height: 10rem;
	font-family: 'poppinsblack', 'Poppins', 'Arial Black', Helvetica, sans-serif; 
    background: -webkit-linear-gradient(45deg, #3fabf3, #b82212 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent !important;
	font-kerning: normal;
}
	*/
h1, h1.hero-h1{
	font-size: 4.8rem;
	line-height: 110%;
	font-weight: 400;
	font-family: 'poppinsblack', 'Arial Black', Helvetica, sans-serif; 
	color: #223648;
	/* color: #061827; old color, also on html */
	text-transform: uppercase;
}

h2 {
	font-size: 1.5rem;
	font-weight: 400;
	font-family: 'rubikv21', Helvetica, sans-serif;
}
h3 {
	font-size: 1.75rem;
	line-height:131.25%;
	font-weight: 300;
	font-family: 'rubikv21', Helvetica, sans-serif;
	/* font-family: 'rubikv21', 'Rubik', Helvetica, sans-serif; */
	/* -webkit-font-smoothing: antialiased; */
}
h4 {
	font-size: 1.375rem;
	line-height: 131.25%;
	font-weight: 500;
	font-family: 'rubikv21', Helvetica, sans-serif;
}
p{
	font-size: 1rem;
	font-weight: 300;
	font-family: 'Exo 2', Arial, sans-serif;
	/* -webkit-font-smoothing: antialiased; */
}
.antialiased{
	-webkit-font-smoothing: antialiased;
}
a {
    color: #2366d7;/* #4c9bd9; #C61503;*/
	/* text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px; */
}
h3 a {
	font-weight: 500;
}

.iframe-container{
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; 
	height: auto;
	margin-top: 90px;
  }

  .iframe-container iframe{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
  }



/* nav */
nav {
	background-color: #fff;
    border-bottom: none;
    box-shadow: none;
	opacity: .9;
	position: fixed;
	top:0;
	z-index: 9999;
	/* backdrop-filter: blur(10px); */
	/* height: 66px;
	line-height: 66px; */
	/* height: 100%; */
	height: 66px;
}
nav ul a {
	/* color: #161C25; old color */
	color: #203141;
	font-family: 'rubikv21', Helvetica, sans-serif;
  	text-transform: uppercase !important;
  	font-size: 1.125rem;
	font-weight: 400;
	text-decoration: none;
}
nav ul li.active a, nav ul li a:hover {
	color: rgb(101, 101, 101);
	/* color: #2366d7; */
    border-bottom: 2px solid #C61503; /* #2366d7; */
	opacity: 1;
	text-decoration: none;
}
nav ul li.active, nav ul li a:hover {
	background:none;
	opacity: 1;
	text-decoration: none;
}
#logo-container img {
	padding-top: 15px;
	width: 74px;
	height: 51px;
}

/* SIDENAV */
.sidenav {
	/* width: 320px; */
	width: 100%;
	background-color: #ffffff;
	padding-top: 28%;
	opacity: 1 !important;
}
.sidenav li>a {
	font-size: 2.3rem;
	font-weight:400;
	height: 58px;
	background: none !important;
	outline: none !important;
	padding:0;
}
.sidenav li {
	margin-bottom: 16px;
	box-shadow: none !important;
	outline: 0 !important;
	background: none !important;
	text-align: center;
	justify-content:center;
	display: flex;
    flex-direction: row;
    align-items: center;
}
.sidenav li a:hover, .sidenav li.active a {
	box-shadow: none !important;
	outline: 0 !important;
	color: rgb(101, 101, 101);
	/* color: #2366d7;  */
}

@media (max-width: 992px) {
  .sidenav-overlay {
    z-index: 998 !important;
	background-color: rgb(255 255 255 / 60%);
  }
  .sidenav {
    z-index: 999 !important;
    transform: translateX(-100%);
  }
  .sidenav.active {
    transform: translateX(0);
  }
}

/* HERO */
.hero {
	padding-top: 9%;
	padding-bottom: 8%;
	max-width: 900px;
}
.hero-margin{
	margin-top:10px;
}
/* .hero2 {
	padding-top: 9%;
	padding-bottom: 5%;
	max-width: 900px;
} */



/* HOMEPAGE-CTA */
.homepage-cta {
    opacity: 0; /* Start completely transparent */
    animation: fadeIn 0.35s ease-in-out 2s forwards;
}

/* Define the keyframe animation at the top level */
@keyframes fadeIn {
    from {
        opacity: 0; /* Start at 0 opacity */
    }
    to {
        opacity: 1; /* End at 1 opacity (fully visible) */
    }
}


/* SCROLL HINT ICON */
@keyframes scroll {
0% {
	transform: translateY(0);
}
30% {
	transform: translateY(60px);
}
}
svg #wheel {
	animation: scroll ease 2s infinite;
}

/* Awwwards ribbon */
#awwwards{
	position: fixed;
	top: 70px;
	width: 90px;
	height: 135px;
	text-indent: -666em;
	overflow: hidden;
	z-index: 999;
	-webkit-transition: all 1s ease;
    transition: all 1s ease; 
}
#awwwards.top{
	top: 20px;
}
#awwwards.left{
	left: 0;
}
#awwwards.right{
	right: 0;
}
#awwwards a{
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 90px;
	height: 135px;
	background-repeat: no-repeat;
	background-size: 90px 135px;
}
#awwwards.nominee.white-nominee.right a{
	background-image: url(../img/ribbons/awwwards_nominee_white_right.png);
}
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2),	only screen and (min-device-pixel-ratio: 1.5) {
	#awwwards.nominee.white-nominee.right a{
		background-image: url(../img/ribbons/awwwards_nominee_white_right@2x.png);
	}

}


/*BUTTONS*/
.bck-to-top{
	margin-top: -46px !important;
	float: right !important;
}
.btn {
	text-decoration: none;
  	color: #fff;
	background: none;
	box-shadow: none;
  	text-align: left;
  	letter-spacing: normal;
	transition: none;
		-webkit-transition: none;
	/* cursor: pointer; */
    color: #2366d7;/* #4c9bd9; tamnija: 449adb, red:C61503; #C61503 */ 
	/* text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px; */
	/* color: #0E5089; */
	font-weight: 400;
	font-size: 1.813rem;
	text-transform: none;
	padding-left:5px;
	margin-right: 10px;
	margin-bottom: 10px;
	/* font-family: 'M PLUS Rounded 1c', sans-serif; */
	font-family: 'rubikv21', Helvetica, sans-serif;
}
.btn:hover, a:hover{
	/* text-decoration: underline; */
	background: none;
	box-shadow: none;
	text-decoration: none;
	opacity: .5;
}
/* button hover just for an a link
.btn:hover {
    text-decoration: none;
    cursor:none !important;
    color: #697993; 
 	}
*/
.btn:focus, .btn-large:focus, .btn-small:focus,
.btn-floating:focus {
  background: none;
}
.btn>svg{
	width:26px;
	height:26px;
	margin-right:10px;
	position:relative;
	top:5px;
}

/* PROJECTS */
.projects-padding{
	padding:5%;
}
.caption {
	color: #949494;
	font-weight: 300;
}
.video-iphonex {
	width: 375px;
	height: 812px;
	/* object-fit: cover; This can help fill the designated area */

}
.video-applewatch {
	width: 290px;
	height: 500px;
	margin-top: 10%;
}
.video-ipadpro {
	width: 998px;
	height: auto;
}
.video-website {
	width: 1270px;
	height: 713px;
}
.gray-section {
	background-color: #f9f8f8;
}
.black-section {
	background-color:#171A26;
	color:#eaeaea
}
.black-section .caption{
	color: #6f6e6e;
}
.padding-top {
	padding-top: 5%;
	overflow: hidden;
}
.padding-bottom {
	padding-bottom: 5%;
	overflow: hidden;
}
.padding-bottom-footer {
	padding-bottom: 2.5%;
	overflow: hidden;
}
.black-project {
	background-color: #161927;
}
.black-project h1, .black-project h3 {
	color: #e6e6e6;
}
.black-project h2 {
	color: #656565;
}
.project-meta {
	color:  #949494;
	font-size: 1.5rem;
	line-height: 2.2rem;
    font-weight: 300;
	font-family: 'rubikv21', Helvetica, sans-serif;
	/* background: -webkit-linear-gradient(45deg, #3fabf3, #b82212 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent !important; */
}
.responsive-img {
	display: block;
	margin: 0 auto;
	width: 2880px;
}


/* FOOTER */
footer {
	box-shadow: 0 -1px rgb(225, 224, 224);
	font-family: 'rubikv21', Helvetica, sans-serif;
	font-weight: 300;
}
footer h4 {
	font-size: 1.40rem;
	line-height: 110%;
	font-weight: 500;
	margin-bottom: 20px;
}
footer p{
	font-family: 'rubikv21', Helvetica, sans-serif;
	font-weight: 400;
	font-size: 1.40rem;
}
footer a {
	text-decoration: none;
}


/* MEDIA QUERIES */
@media screen and (max-width: 479px) {
	nav {
		height: 70px;
	}
	nav .sidenav-trigger {
		margin: 5px 18px;
	}
	/* .cursor-dot, .cursor-dot-outline {
		display:none;
	} */
	.video-iphonex {
		width: 94%;
		height: auto;
	}
	.video-applewatch {
		margin-top: 2%;
	}
	.video-ipadpro {
	    width: 92%;
    	height: auto;
	}
	.video-website {
		width: 92%;
		height: auto;
	}
	.home-bg-video {
		display:none;
	}
	h1 {
		font-size: 3.2rem;
		/* margin: 2.1rem 0 1.68rem 0; */
	}
	.project-title{
		font-size: 2.5rem;
	}
	h2 {
		font-size: 1.25rem;
	}
	h3 {
		font-size: 1.65rem;
		line-height:130%;
		font-weight: 300;
		font-family: 'rubikv21', Helvetica, sans-serif;
	}
	h4 {
		font-size: 1.25rem;
		line-height: 130%;
		font-weight: 500;
		font-family: 'rubikv21', Helvetica, sans-serif;
	}
	h1.hero-h1 {
		font-size: 3rem;
		line-height: 116%;
	}
	.hero {
		padding-top: 28%;
		padding-bottom: 10%;
	}
	#awwwards {
		bottom: 70px;
		top: unset;
	}
	.iframe-container{
		margin-top: 30px;
	}
}

@media screen and (min-width: 480px) and (max-width: 619px){
	nav {
		height: 70px;
	}
	/* .cursor-dot, .cursor-dot-outline {
		display:none;
	} */
	.video-ipadpro {
		width: 80%;
		height: auto;
	}
	.video-website {
		width: 80%;
		height: auto;
	}
	.home-bg-video {
		display:none;
	}
	h1 {
		font-size: 3.2rem; /* font-size: 3rem; */
		/* margin: 2.1rem 0 1.68rem 0; */
	}
	.project-title{
		font-size: 3.2rem;
	}
	h2 {
		font-size: 1.25rem;
	}
	h3 {
		font-size: 1.625rem;
		line-height:130%;
		font-weight: 300;
		font-family: 'rubikv21', Helvetica, sans-serif;
	}
	h4 {
		font-size: 1.188rem;
		line-height: 130%;
		font-weight: 500;
		font-family: 'rubikv21', Helvetica, sans-serif;
	}
	h1.hero-h1 {
		font-size: 3.2rem;
		line-height: 110%;
	}
	.hero {
		margin-top: 25%;
		padding-bottom: 15%;
	}
	#awwwards {
		bottom: 70px;
		top: unset;
	}
	.iframe-container{
		margin-top: 30px;
	}
}
@media screen and (min-width: 620px) and (max-width: 1279px){
	.video-ipadpro {
		width: 80%;
		height: auto;
	}
	/* .cursor-dot, .cursor-dot-outline {
		display:none;
	}	 */
	.video-website {
		width: 80%;
		height: auto;
	}
	.home-bg-video {
		display:none;
	}
	h1 {
		font-size: 3.2rem; /* 4rem */
		/* margin: 2.1rem 0 1.68rem 0; */
	}
	.project-title{
		font-size: 3.2rem;
	}
	h2 {
		font-size: 1.5rem;
	}
	h3 {
		font-size: 1.813rem;
		line-height:130%;
		font-weight: 300;
		font-family: 'rubikv21', Helvetica, sans-serif;
	}
	h4 {
		font-size: 1.3rem;
		line-height: 130%;
		font-weight: 500;
		font-family: 'rubikv21', Helvetica, sans-serif;
	}
	h1.hero-h1 {
		font-size: 3.2rem;
		line-height: 110%;
	}
	.hero {
		padding-top: 20%;
		padding-bottom: 30%;
	}
}

@media only screen and (min-width: 1280px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 2)  and (orientation: landscape)  {
	h1.hero-h1 {
		font-size: 4.8rem;
		line-height: 110%;
	}
	.project-title {
		font-size: 3.563rem;
		margin-top: 2rem;
}
}
@media screen and (min-width: 1367px) {
.project-title {
		font-size: 3.563rem;
		margin-top: 2rem;
}
}