@font-face {
	font-family: 'fontawesome';
	src:url('../fonts/fontawesome.eot');
	src:url('../fonts/fontawesome.eot?#iefix') format('embedded-opentype'),
		url('../fonts/fontawesome.svg#fontawesome') format('svg'),
		url('../fonts/fontawesome.woff') format('woff'),
		url('../fonts/fontawesome.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

.portfolio-back-title {
    position: sticky;
    font-size: 15vw;
    top: 50%;
    transform: translateY(-50%);
	text-align: center;
	color: #ffffff;
	text-shadow: var(--h2-shadow);
	mix-blend-mode: multiply;
}

.csticky {
	position: sticky;
	top: calc(100vh - 80px);
}

.hideport {
	opacity:0;
	transition: .7s;
}

.showport {
	opacity:1;
	transition: .7s;
}

.screen {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
	
	width: 100%;
	height: auto;
	margin: 25px 0;
}
.flex-item-screen:nth-child(1) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
	
	padding: 10px 5px;
	border-right: solid #000 1px; 
    }

.flex-item-screen:nth-child(2) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
	
	padding: 10px 5px;
	border-right: solid #000 1px;
    }

.flex-item-screen:nth-child(3) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
	
	padding: 10px 5px;
	border-right: solid #000 1px;
    }

.flex-item-screen:nth-child(4) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
	
	padding: 10px 5px;
}
	
.tabs {
	position: relative;
	width: 100%;
}

/* Nav */
.tabs nav {
	display: grid;
	align-content: center;
	text-align: center;
	z-index: 9;
	height: 60px;
	width: max-content;
    padding: 0 20px;
	margin-bottom: 20px;
}

.tabs nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.tabs nav ul li {
	border-bottom: none;
	display: block;
	float: left;
	position: relative;
}

.tabs nav li.tab-current {
	z-index: 98;
	margin-top: 10px;
}

.tabs nav a {
	display: block;
	line-height: 2;
	white-space: nowrap;
}

.tabs nav a:hover {color: #00aeef;
}

.tabs nav li.tab-current a {
	color: #00aeef;
}

/* Icons */
.tabs nav a:before {
	display: inline-block;
	vertical-align: middle;
	text-transform: none;
	font-weight: normal;
	font-variant: normal;
	font-family: 'fontawesome';
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	margin: -0.25em 0.4em 0 0;
}

.icon-logo:before {
	content: "\f25c";
}

.icon-internet:before {
	content: "\f108";
}

.icon-druk:before {
	content: "\f278";
}

.icon-inne:before {
	content: "\f145";
}

.icon-dtp:before {
	content: "\f02f";
}

.icon-be:before {
	content: "\f008";
}
/* Content */

.content {margin-top: -100vh;}

.content-grid {
    display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: -49vh;
}

.logo-first, .logo-second {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	align-self: start;
}

.logo-second3 {margin-top: 112vh;}

.web-first {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-self: start;
	margin: 0 auto;
}

.web-second3 {margin-top: 105vh;}

.minus-margin-top {margin-top: -50vh;}

.plus-margin-top {margin-top: 150vh;}

.content section {
	font-size: 1em;
	padding: 2.5em 0;
	display: none;
	margin: 0 auto;
}

.content section:before,
.content section:after {
	content: '';
	display: table;
	margin-bottom: 80px;
}

.content section:after {clear: both;}

/* Fallback example */
.no-js .content section {
	display: block;
	padding-bottom: 2em;
}

.content section.content-current {display: block;}

.mediabox img {
	max-width: 100%;
	margin: auto;
	border-radius: 20px;
}

.flex_container {
	height: auto;
	margin: auto;
	padding: 0 8.4%;
}

/* Example media queries */

@media screen and (max-width: 52.375em) {
	
.tabs nav {width: auto;}
	
.tabs nav a span {display: none;}

.tabs nav a:before {margin-right: 0;}
	
.content {margin-top: -35vh;}

.content-grid {
    display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-content: start;
	margin-top: 0;
}

.logo-first, .logo-second {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-self: start;
}

.logo-second, .web-second, .minus-margin-top, .plus-margin-top {margin-top: auto;}

.mediabox {
		float: none;
		width: auto;
		font-size: 90%;
}

.mediabox img {
		float: left;
		margin: 0 25px 10px 0;
		max-width: 40%;
}

	.mediabox h3 {margin-top: 0;}

	.mediabox p {
		margin-left: 40%;
		margin-left: calc(40% + 25px);
	}

	.mediabox:before,
	.mediabox:after {
		content: '';
		display: table;
	}

	.mediabox:after {clear: both;}
}

/* hover effect */

.view {
	position: relative;
    overflow: hidden;
    text-align: center;
    cursor: default;    
}
.view .mask, .view .content {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
	bottom: 0;
    left: 0;
	right: 0;
	margin: auto;
	border-radius: 10px;
}

.mask {
	display: grid;
	align-content: center;
	justify-items: center;
	color: var(--dark-grey);
}

.view img {
    display: block;
    position: relative
}
.view h5 {
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px 20px;
    margin: 20px 0 0 0;
    letter-spacing: 1px;
}
.view p {
    font-family: lato, serif;
    font-size: 1.3rem;
    position: relative;
    padding: 0 20px;
    text-align: center
}
.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
   	background: linear-gradient(135deg, #00AEEF, #0053b9);
	box-shadow: 0 5px 10px rgba(0,174,239,0.3);
    color: #fff;
    text-transform: uppercase;
    width: 40%;
    margin: 20px;
    border-radius: 10px;
	letter-spacing: 1px;
}
.view a.info:hover {box-shadow: 0 5px 10px rgba(0,174,239,0.6);}

.view-first img {transition: all 0.2s linear;}

.view-first .mask {
    opacity: 0;
    background-color: rgba(110,110,110, .1); 
    transition: all 0.4s ease-in-out;
}
.view-first h5 {
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.view-first p { 
    transform: translateY(100px);
    opacity: 0;
	transition: all 0.2s linear;
}
.view-first a.info{
    opacity: 0;
	transition: all 0.2s ease-in-out;
}

.view-first:hover img { 
	transform: scale(1.1);
} 
.view-first:hover .mask { 
	opacity: 1;
}
.view-first:hover h5,
.view-first:hover p,
.view-first:hover a.info {
    opacity: 1;
    transform: translateY(0px);
}
.view-first:hover p {
    transition-delay: 0.1s;
}
.view-first:hover a.info {
    transition-delay: 0.2s;
}



@media screen and (max-width: 32em) {
	.tabs nav ul,
	.tabs nav ul li a {
		width: 100%;
		padding: 0;
	}

	.tabs nav ul li {
		width: 16%;
		width: calc(16% + 1px);
		margin: 0 0 0 -1px;
	}

	.tabs nav ul li:last-child {
		border-right: none;
	}

	.mediabox {
		text-align: center;
	}

	.mediabox img {
		float: none;
		margin: 0 auto;
		max-width: 100%;
	}

	.mediabox h3 {
		margin: 1.25em 0 1em;
	}

	.mediabox p {
		margin: 0;
	}
}

/* media quotes */ 

@media (max-width: 500px) {

  
}

