﻿
@media screen and (min-width: 1200px)
{
	
	html
	{
		height: 100vh;
		font-size: 16px;
	}
	
	main
	{
		width: calc(100% - 100px);
	}
	
	header
	{
		width: 100px;
		font-size: 1.4em;
	}
	
	.left
	{
		width: 400px;
		left: 130px;
	}
	
	.exit
	{
		top: -100px;
		right: calc(50vw - 550px);
	}
	
}

@media screen and (min-width: 1024px) and (max-width: 1199px)
{
	
	/*@keyframes window
	{
		0% {width: 0; height: 0; top: 50%; left: 50%;}
		100% {width: 800px; height: 95%; top: 2.5%; left: calc(50vw - 400px);}
	}
	
	@keyframes window2
	{
		0% {width: 0; height: 0; top: 50%; left: 50%;}
		100% {width: 800px; height: 190%; top: 5%; left: calc(50vw - 400px);}
	}*/
	
	.left
	{
		left: 50px;
		visibility: hidden;
		font-size: 0;
	}
	
	.exit
	{
		top: 0px;
		right: calc(50vw - 450px);
	}
	
}

@media screen and (min-width: 1024px) and (min-height: 635px)
{	

	@keyframes window
	{
		0% {width: 0; height: 0; top: 50%; left: 50%;}
		100% {width: 1000px; height: 105%; top: -50px; left: calc(50vw - 500px);}
	}
	
	@keyframes window2
	{
		0% {width: 0; height: 0; top: 50%; left: 50%;}
		100% {width: 1000px; height: 190%; top: 5%; left: 0;}
	}
	
	html
	{
		overflow: hidden;
		height: 100vh;
		width: 100%;
	}
	header
	{
		position: absolute;
		top: 1%;
	}
		
	#logo
	{
		left: 50px;
	}
	
	.right a img
	{
		height: 50px;
		width: auto;
		padding: 7.5px;
		visibility: visible;
	}
	
	.right a span
	{
		right: 250px;
		width: 300px;
		font-size: 1em;
	}
	
	.right a:hover span
	{
		visibility: visible;
		height: 55px;
		width: 300px;
		color: #fff;
		right: 200px;
	}
	
	.right a:hover img
	{
		background-color: #ffcc00;
	}
	
	#menu a:hover #close
	{
		background-color: #3d3c3a;
		color: #FFF;
	}
	
	#menu a:hover
	{
		color: #ccc;
	}
	
	#menu ol > li:hover ul
	{
		width: 520px;
		height: 520px;
		opacity: 0.8;
		font-size: 18px;
	}

	#menu ol > li:hover ul > li
	{
		font-size: 18px;
	}
	
	main
	{
		height: calc(98% - 65px);
	}
	
	.box h1
	{
		margin: calc(20vh - 3%) 0 0 0;
	}
	
	.info
	{
		padding: 50px 40px;
		width: 920px;
		height: calc(100% - 100px);
		overflow-y: auto;
		overflow-x: hidden;
	}
	
	#oferta
	{
		width: 50%;
		height: 50%;
	}
	
	#oferta:hover > #projekty
	{
		opacity: 0.3;
		width: 100%;
		height: 100%;
		top: 0;
		right: 0;
	}

	#oferta:hover > a > .box > h1
	{
		color: #3d3c3a;
		opacity: 1;
	}
	
	#wspolpraca
	{
		top: 50%;
		width: 50%;
		height: 50%;
	}
	
	#wspolpraca:hover > #wspolpracatlo
	{
		opacity: 0.3;
		width: 100%;
		height: 100%;
		top: 0;
		right: 0;
	}

	#wspolpraca:hover > a > .box > h1
	{
		color: #3d3c3a;
		opacity: 1;
	}
	
	#kontakt
	{
		top: 50%;
		width: 50%;
		height: 50%;
	}
	
	#kontakt:hover > #kontakttlo
	{
		opacity: 0.3;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	#kontakt:hover > a > .box > h1
	{
		color: #3d3c3a;
		opacity: 1;
	}
	
	#ofirmie
	{
		top: 0;
		width: 50%;
		height: 50%;
	}
	
	#ofirmie:hover > #ofirmietlo
	{
		opacity: 0.3;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
	}

	#ofirmie:hover > a > .box > h1
	{
		color: #3d3c3a;
		opacity: 1;
	}
	
	#pieczatka
	{
		position: absolute;
		top: calc(50% - 80px);
		left: calc(50% - 95px);
		height: 160px;
		width: 190px;
		border-radius: 50%;
		background-size: 100%;
		background-repeat: no-repeat;
		background-position: 50%;
		background-color: #FFF;
		background-image: url(img/pieczatka09112018.jpg);
	}

	main > div:target {
		background-image: none;
		box-shadow: 0px 0px 3px black;
		z-index: 99;
		animation: window 0.5s forwards;
	}

	div:target ~ .exit
	{
		visibility: visible;
	}
	
	.profilmaly
	{
		width: 33%;
	}
	
	.proj
	{
		top: calc(2% + 65px);
	}
	
	.exit
	{
		position: absolute;
		width: 100px;
		height: 100px;
	}

	.exit > a
	{
		font-size: 50px;
	}
	
	.exit:hover
	{
		background-color: #696969;
	}
	
	.infoContact
	{
		/*display: inline-block;*/
		float: left;
		width: 48%;
		height: 550px;
	}
}

@media screen and (max-width: 1023px), (max-height: 634px)
{
	html
	{
		min-width: 320px;
		max-width: 100vh;
		height: auto;
		overflow: hidden;
		font-size: 16px;
	}
	
	header
	{
		position: fixed;
		top: 0;
		overflow-y: hidden;
		z-index: 1000;
	}
	
	#logo
	{
		left: 10px;
	}
	
	.left
	{
		left: 0;
		visibility: hidden;
		font-size: 0;
		width: 0;
	}
	
	.right a img
	{
		height: 0;
		padding: 0;
		visibility: hidden;
	}
	
	.right a:first-child img
	{
		height: 50px;
		width: auto;
		padding: 7.5px;
		visibility: visible;
	}
	
	.right a span
	{
		font-size: 0;
		width: 0;
		right: 0;
	}
	
	main
	{
		height: calc(100vh - 70px);
		overflow-y: scroll;
	}
	
	.box h1
	{
		margin: calc(150px - 5vh) 0 0 0;
	}
	
	#oferta
	{
		width: 100%;
		height: 300px;
		/*min-height: 200px;*/
	}
	
	.window_box:target
	{
		position: fixed !important;
		top: 65px !important;
		width: 100%;
		height: calc(100vh - 65px) !important;
		overflow-y: scroll;
		overflow-x: hidden;
		background-size: 50%;
		z-index: 100 !important;
	}
	
	.info
	{
		padding: 50px 5px;
		overflow-y: auto;
		overflow-x: hidden;
		width: 100%;
		height: calc(100% - 100px);
	}
	
	#wspolpraca
	{
		top: 310px;
		width: 100%;
		height: 300px;
	}
	
	#kontakt
	{
		top: 620px;
		width: 100%;
		height: 300px;
	}
	
	.infoContact
	{
		width: 90%;
		margin: 0 auto;
	}
	
	#ofirmie
	{
		top: 930px;
		width: 100%;
		height: 300px;
	}

	.profilmaly
	{
	width: 90%;
	}

	div:target ~ .exit
	{
		visibility: visible;
	}
	
	.exit
	{
		position: fixed;
		top: 70px;
		right: 0;
		width: 70px;
		height: 70px;
	}

	.exit > a
	{
		font-size: 25px;
	}
}

@font-face {	
	font-family: roczek;
	src: url(fonts/SCRIPTIN.ttf);
}

@font-face{	
	font-family: scriptin;
	src: url(fonts/papyrus.ttf);
}

@font-face
{
	font-family: logos;
	src: url(fonts/norwester.ttf);
}

@font-face
{
	font-family: thisEverywhere;
	src: url(fonts/Roboto-BoldCondensed.ttf);
}

@font-face
{
	font-family: niceToRead;
	src: url(fonts/coolvetica.ttf);
}

HTML
{
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}

BODY
{
	background-color: #FFFFFF;
	font-family: "Lato", sans-serif;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

img
{
	width: 0;
	height: auto;
	margin: 1% 1%;
	visibility: hidden;
}

button img
{
	width: 50px;
	height: auto;
	margin: 0;
	visibility: visible;
}

p
{
	visibility: hidden;
	padding: 0 10%;
	margin: 0;
	font-size: 0;
}

ul, li {
	margin: 0;
	font-size: 0;
	text-align: justify;
}

h1 {
	font-size: 0;
	padding: 0;
	margin: 0;
	text-align: center;
	font-family: thisEverywhere;
}

h2 {
	text-align: center;
	/**/
	font-size: 0;
}

a {
	text-decoration: none;
}

ol,ul
{
	padding: 0;
}
/*  //////////////////  NAGLOWEK  /////////////////////////  */

header {
	left: 1.25%;
	height: 65px;
	width: 97.5%;
	margin: 0;
	padding: 0;
	background-color: #3d3c3a;
	color: #000000;
}

#logo {
	position: absolute;
	width: 300px;
	height: 200px;
	top: -73px;
	padding: 0;
	border-radius: 50%;
	background-position: 50%;
	background-repeat: no-repeat;
	background-color: #3d3c3a;
	border: 5px solid #FFFFFF; 
	line-height: 210px;
	font-size: 80px;
	color: #FFF;
	font-family: scriptin;
	text-align: center;
}

/*  /////////////////////////  MENU (GÓRA)  //////////////////////////  */

#upmenu {
	position: absolute;
	right: 0;
	width: calc(100% - 260px);
	margin: 0px;
	padding: 0px;
	font-size: 1em;
	color: white;
}

.left
{
	position: absolute;
	top: 5px;
	font-family: scriptin;
}

.right
{
	font-family: thisEverywhere;
	position: absolute;
	top: 0;
	right: 0;
}

.right a img
{
	float: right;
	margin: 0;
	transition: .3s;
}

.right a span
{
	position: absolute;
	top: 15px;
	visibility: hidden;
	display: block;
	height: 0;
	overflow: hidden;
	transition: 0.3s ease-in;
	float: right;
	color: #FFF;
	text-align: right;
}

#menu
{
	position: fixed;
	top: 0;
	/*left: 100%;*/
	right: 0;
	width: 0;
	border-radius: 0 0 0 300px;
	height: 0;
	font-size: 0;
	text-align: center;
	background-color: #3d3c3a;
	z-index: 100;
	transition: 0.3s;
}

#close
{
	position: fixed;
	right: -120px;
	top: -120px;
	display: block;
	width: 0;
	height: 0;
	margin: 0;
	background-color: #3d3c3a;
	border-radius: 50%;
	color: #FFF;
	font-size: 0;
	text-align: left;
	transition: 0.3s;
}

#close::first-letter
{
	margin: 0 0 0 60px;
}

#menu ol > li
{
	position: absolute;
	margin: 0;
	color: #FFF;
	padding: 0;
	list-style-type: none;
	font-family: thisEverywhere;
	font-size: 0;
	text-align: right;
	
}

#menu ul
{
	position: fixed;
	top: 0;
	right: 0;
	display: block;
	width: 0;
	height: 0;
	border-radius: 0 0 0 500px;
	background-color: #3d3c3a;
	z-index: -100;
	transition: .3s;
}

#menu ul > li
{
	position: absolute;
	margin: 0;
	color: #FFF;
	padding: 0;
	list-style-type: none;
	font-family: thisEverywhere;
	font-size: 0;
	text-align: right;
}

#menu li
{
	transition: 0.3s;
}

#menu a
{
	color: #FFF;
}

#menu:target
{
	width: 300px;
	height: 300px;
	font-size: 2em;
}

#menu:target #close
{
	width: 240px;
	height: 240px;
	font-size: 65px;
	line-height: 325px;
}

#menu:target #close:hover
{
	color: #CCC;
}

#menu:target ol > li
{
	font-size: 22px;
}


/*  ///////////////////  SRODKOWA CZESC STRONY  ///////////////////  */

main
{
	position: absolute;
	width: 100%;
	top: calc(2% + 65px);
	padding: 0;
	background-color: #FFFFFF;
}

/*  ///////////////////////  PROTOKAT Z PROJEKTAMI  /////////////////////////  */

#oferta {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	background-color: #FFFFFF;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#projekty {
	position: absolute;
	top: 2.5%;
	right: 2.5%;
	width: 96.25%;
	height: 95%;
	margin: 0;
	padding: 0;
	color: black;
	background-color: #FFFFFF;
	background-image: url(img/uslugi.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#oferta:target {
	box-shadow: 0px 0px 3px black;
	margin: 0;
	background-image: none;
	z-index: 99;
	animation: window 0.5s forwards;
}

#oferta:target > a > .box {
	width: 0px;
	height: 0px;
}

#oferta:target ~ a > #tlo {
	width: 100%;
	height: 100%;
	opacity: 0.8;
}

#oferta:target > #projekty {
	opacity: 0;
}

#oferta:target > .projekt {
	opacity: 1;
}

#oferta:target > a > .box > h1 {
	font-size: 0;
	visibility: hidden;
}

.projekt {
	opacity: 0;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
	background-color: #FFFFFF;
	background-position: 50%;
	background-repeat: no-repeat;
}

.box {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: transparent;
}

.box h1
{
	display: block;
	width: 100%;
	height: 30%;
	text-align: center;
	font-size: 10vh;
	color: #FFF;
	letter-spacing: 1px;
	transition: .3s;
	opacity: 0.8;
	font-family: logos;
}

.info
{
	display: none;
	background-color: white;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	text-align: justify;
}

div:target .info
{
	display: block;
}

#tlowew {
	position: absolute;
	width: 0;
	height: 0;
}

/*  /////////////  PROSTOKAT Z FIRMAMI Z KTORYMI WSPOLPRACUJEMY  ///////////  */

#wspolpraca {
	margin: 0;
	position: absolute;
	left: 0;
	background-color: white;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}


#wspolpracatlo {
	margin: 0;
	position: absolute;
	top: 2.5%;
	right: 1.25%;
	width: 96.25%;
	height: 95%;
	color: black;
	background-color: #FFFFFF;
	background-image: url(img/wspolpraca.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#wspolpraca:target {
	margin: 0;
	background-image: none;
	box-shadow: 0px 0px 3px black;
	z-index: 99;
	overflow-y: scroll;
	animation: window 0.5s forwards;
}

#wspolpraca:target > .partners > h1
{
	font-size: 2em;
}

#wspolpraca:target > .partners > a:hover > .viewer {
	visibility: visible;
	height: auto;
	z-index: 100;
	width: 40%;
	top: 100%;
	left: 55%;
	font-size: 20px;
}

#wspolpraca:target > .partners > div:hover > .viewer {
	visibility: visible;
	height: auto;
	z-index: 100;
	width: 40%;
	top: 100%;
	left: 55%;
	font-size: 20px;
}

#wspolpraca:target > #wspolpracatlo {
	opacity: 0;
	height: 0;
}

#wspolpraca:target ~ a > #tlo {
	width: 100%;
	height: 100%;
	opacity: 0.8;
}

#wspolpraca:target > a > .box {
	width: 0;
	height: 0;
}

#wspolpraca:target > a > .box > h1 {
	visibility: hidden;
}


#wspolpraca:target > .partners {
	width: 100%;
	height: auto;
	visibility: visible;
}

#wspolpraca > div {
	font-size: 20px;	
}

.partners {
	float: lefy;
	visibility: hidden;
	padding: 4% 0;
	width: 0;
	height: 0;
	background-color: #FFFFFF;
	text-align: center;
	font-weight: bold;
}

#wspolpraca:target > .partners > a > img {
	visibility: visible;
	height: 90px;
	width: auto;
	padding: 1% 2% 0 2%;
}

/*  /////////////  KONTAKT  ///////////////  */

#kontakt {
	position: absolute;
	right: 0;
	background-color: white;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#kontakttlo {
	background-image: url(img/kontakt.jpg);
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: cover;
	position: absolute;
	left: 1.25%;
	top: 2.5%;
	width: 96.25%;
	height: 95%;
	background-color: transparent;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

.form
{
	display: block;
}

.infoContact
{
	position: relative;
	margin: 1% 0 0 1%;
	text-align: center;
	padding: 0;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	background-color: rgba(250,250,250,0.9);
	font-family: Tahoma;
}

.infoContact input
{
	font-size: 1em;
	position: relative;
	background-color: transparent;
	margin: 5px auto;
	padding: 7px 0 7px 20px;
	border-radius: 1px;
	border: 2px solid #000;
	border-bottom: none;
	border-right: none;
	width: 70%;
	transition: 0.5s;
}

.infoContact input:focus
{
	border-left: 2px solid #00cc00;
	border-top: 2px solid #00cc00;
	background-color: #FFF;
	color: #000;
}

.infoContact input[type=submit]
{
	background-color: #1761AB;
	padding: 7px 20px;
	width: 40%;
	color: #FFF;
	border: none;
}

.infoContact input[type=submit]:focus
{
	border: none;
	background-color: #092643;
}

.infoContact textarea
{
	position: relative;
	font-size: 0.9em;
	background-color: transparent;
	color: #000;
	margin: 3px auto;
	padding: 20px 0 7px 20px;
	border: 2px solid #000;
	border-bottom-color: transparent;
	border-right-color: transparent;
	width: 70%;
	resize: none;
	transition: 0.5s;
}

.infoContact textarea:focus
{
	border: 2px solid #00cc00;
	background-color: #FFF;
	color: #000;
}

.infoContact img
{
	margin: 2% 0 0 0;
	position: relative;
}

.tb-tr
{
	position: relative;
	display: block;
	margin: 10px auto;
	border-radius: 1px;
	width: 85%;
	letter-spacing: 2px;
	background-color: #FFF;
	color: #000;
	border: 2px solid #000;
	border-bottom: none;
	border-right: none;
	/*overflow: hidden;*/
}

.tb-th
{
	display: inline-block;
	text-align: center;
	width: 30%;
	margin: 0;
	padding: 5px 0;
	/*border-bottom: 2px solid #BBB;*/
}

.tb-td
{
	display: inline-block;
	text-align: left;
	width: 65%;
	padding: 5px 0;
	/*border-bottom: 2px solid #BBB;*/
}

	
	.infoContact textarea
	{
		height: 100px;
	}
	
	.infoContact img
	{
		height: 80px;
	}
	


@keyframes vanish
{
	0% {height: 10vh; width: 100vw; font-size: 4vh; padding: 1vh 0 0 0; opacity: 0;}
	10% {opacity: 1;}
	60% {opacity: 1;}
	99% {height: 10vh; width: 100vw; font-size: 4vh; padding: 1vh 0 0 0; opacity: 0;}
	100% {height: 0; width: 0; font-size: 0; padding: 0; opacity: 0}
}

#send
{
	position: fixed;
	top: 10vh;
	width: 0;
	height: 0;
	font-size: 0;
	background-color: #FFF;
	text-align: center;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
}

#send p, #error p
{
	visibility: visible;
	font-size: inherit;
}

#send:target
{
	animation: vanish 4s linear 2s;
}

#error
{
	position: fixed;
	top: 10vh;
	width: 0;
	height: 0;
	font-size: 0;
	background-color: #FFF;
	color: #E00201;
	text-align: center;
	duration: 3s;
}

#error:target
{
	animation: vanish 4s linear 2s;
}


/*  ////////////////////////  GALERIA ZDJEC  /////////////////////////  */

#ofirmie
{
	position: absolute;
	left: 0;
	background-color: transparent;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#ofirmietlo
{
	background-image: url(img/kursy_szkolenia.jpg);
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: cover;
	position: absolute;
	top: 2.5%;
	left: 2.5%;
	width: 96.25%;
	height: 95%;
	background-color: transparent;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#ofirmie:target {
	box-shadow: 0px 0px 3px black;
	background-image: none;
	animation: window 0.5s forwards;
	z-index: 10;
}

#ofirmie:target ul, #ofirmie:target li
{
	font-size: 1em;
}

#rodo
{
	position: absolute;
	left: 0;
	background-color: transparent;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#rodo:target
{
	box-shadow: 0px 0px 3px black;
	background-image: none;
	animation: window 0.5s forwards;
	z-index: 10;
}

#referencje
{
	position: absolute;
	left: 0;
	background-color: transparent;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#referencje:target
{
	box-shadow: 0px 0px 3px black;
	background-image: none;
	animation: window 0.5s forwards;
	z-index: 10;
}

#cennik
{
	position: absolute;
	left: 0;
	background-color: transparent;
	transition-duration: .3s;
    -webkit-transition-duration: .3s;
}

#cennik:target
{
	box-shadow: 0px 0px 3px black;
	background-image: none;
	animation: window 0.5s forwards;
	z-index: 10;
}

/*  /////////////////////  ZAMYKANIE OKIENEK  ///////////////////  */

#tlo{
	width: 0;
	height: 0;
	background-color: #3d3c3a;
}

.exit {
	background-color: #3d3c3a;
	border-radius: 50%;
	z-index: 120;
	visibility: hidden;
	text-align: center;
	transition: .3s;
}

.exit > a {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}

.proj {
	position: fixed;
	/*top: calc(2% + 65px);*/
	/*right: 0;*/
}

#EXIT {
	position: absolute;
	width: 0;
	height: 0;
	background-color: #FFFFFF;
}

#EXIT:target {
	animation: window 0.5s reverse;
}

main > div:target > .info
	{
		opacity: 1;
		overflow-y: scroll;
		top: 0;
		left: 0;
		box-shadow: 0px 0px 3px black;
	}
	
	div:target > .info p {
		visibility: visible;
		font-size: 1em;
	}
	
	div:target > .info ol, div:target > .info li {
		visibility: visible;
		font-size: 1em;
		list-style: disc;
		padding: 0 0 0 20px;
		margin: 0 0 0 20px;
	}

	div:target > .info > p > span {
		font-weight: bold;
	}

	div:target .info  h1 {
		visibility: visible;
		font-size: 2em;
		margin: 30px 0;
	}
	
	div:target .info  h2 {
		visibility: visible;
		font-size: 1.8em;
	}
	
	main > div:target ~ a > #tlo {
		width: 100%;
		height: 100%;
		opacity: 0.8;
	}
	
	main div:target > .info > img
	{
		width: 100%;
		margin: 0;
		padding: 0;
		visibility: visible;
	}
	
	main div:target > .info > a > img
	{
		visibility: visible;
	}
	
		main > div:target > a > .box {
		width: 0;
		height: 0;
	}

	main > div:target > a > .box > h1 {
		visibility: hidden;
		font-size: 0;
	}

