* { box-sizing:border-box; }

@font-face {
	font-family: 'Roboto-Thin';
	src: url("fonts/Roboto-Thin.ttf") format("truetype");
}

@font-face {
	font-family: 'Roboto-Light';
	src: url("fonts/Roboto-Light.ttf") format("truetype");
}

@font-face {
	font-family: 'Roboto-Regular';
	src: url("fonts/Roboto-Regular.ttf") format("truetype");
}

html, body {
	font-family: Roboto-Regular;
	margin: 0;
	padding: 0;
}

input, textarea {
	font-family: Roboto-Regular;
}

.menu {
	display: block;
	position: absolute;
	width: 50px;
	height: 50px;
	background: url('images/icon_menu.png');
	background-size: 100%;
	border: none;
	z-index: 300;
	right: 0;
	background-color: #fff;
	box-shadow: none;
	margin: 5px;
}

.float {
	position: fixed;
	left: 0;
	box-shadow: 1px 1px 2px 1px #c2c2c2;
}

#darker {
	background: rgba(0, 0, 0, 0.85);
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 99;
	display: block;
	visibility: hidden;
	transition: 0.5s;
	opacity: 0;
	border: none;
	border-radius: 0;
}

#portfolio .opis {
	background-color: rgba(0, 0, 0, 0.9);
	width: 100%;
	height: 100%;
	position: absolute;
	right: 0px;
	z-index: 200;
	color: #c5c5c5;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
	font-family: Roboto-Regular;
	font-size: 17px;
	transition: 0.5s;
	opacity: 0;
	visibility: hidden;
	text-align: left;
}

@media (min-width: 950px) {
.menu {
	display: none;
}

html {
	background: #eeeeee;
}
		
h1 {
	text-align: left;
	letter-spacing: -5.5px;
	font-size: 112px;
	font-family: Roboto-Thin;
	color: #009688;
	font-weight: normal;
	margin: 0;
	padding: 0;
	line-height: 130px;
}

h2 {
	text-align: left;
	letter-spacing: -2.5px;
	font-size: 54px;
	font-family: Roboto-Thin;
	color: #009688;
	font-weight: normal;
	line-height: 70px;
}

p {
	font-family: Roboto-Regular;
	font-size: 13px;
	line-height: 30px;
}

a {
	color: #000000;
	text-decoration: none;
}

a:hover {
	color: #000000;
	text-decoration: underline;
}

a:visited {
	color: #000000;
	text-decoration: none;
}

input[type=submit] {
	background: #009688; 
	border: 0 none;
    cursor: pointer;
	font-size: 17px;
	font-family: Roboto-Regular;
	color: #FFF;
	box-shadow: 1px 1px 2px 1px #8f8f8f;
	border-radius: 2px;
	text-transform: uppercase;
	padding: 10px 20px;
	margin: 5px;
	width: inherit;
}

input[type=submit]:hover {
	background: #f44336; 
	border: 0 none;
    cursor: pointer;
	font-size: 17px;
	font-family: Roboto-Regular;
	color: #FFF;
	box-shadow: 2px 2px 3px 2px #8f8f8f;
	border-radius: 2px;
	text-transform: uppercase;
	padding: 10px 20px;
	margin: 5px;
}

#background {
	background-image: url(images/background.jpg);
	width: 100%;
	height: 500px;
	margin: 0;
	padding: 0;
	background-size:100%;

	z-index: -1;
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
	top: 0;
	left: 0;
	position: fixed;
}
		
.background {
	text-align: center;
	letter-spacing: -5.5px;
	font-size: 112px;
	font-family: Roboto-Thin;
	color: #ffffff;
	font-weight: normal;
	padding: 0;
	margin: 80px 0 20px 0;
	text-shadow: 2px 2px 5px #000000;
	line-height: 125px;
}

.background2 {
	text-align: center;
	letter-spacing: -2.5px;
	font-size: 54px;
	font-family: Roboto-Thin;
	color: #ffffff;
	font-weight: normal;
	padding: 0;
	margin: 0;
	text-shadow: 2px 2px 5px #000000;
	line-height: 70px;
}

.info {
	font-size: 26px;
	font-family: Roboto-Light;
	margin: 20px 0;
}

.info img {
	width: 40px;
	height: 40px;
	margin: 0 20px -10px 0;
}

#container {
	width: 80%;
	margin: 400px auto 30px auto;
	background: #ffffff;
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

#container section {
	width: 78%;
	margin: 0;
	padding: 40px;
	float: right;
	max-width: calc(100% - 190px);
}

nav {
	width: 22%;
	margin: 0;
	display: inline-block;
	--box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
	float: left;
	min-width: 190px;
}

nav img {
	width: 75%;
	height: 75%;
	margin: 30px 20px;
}

nav a {
	display: block;
	text-decoration: none;
	font-size: 20px;	
	padding: 10px 20px 20px 23px;
	color: #616161;
}

nav a:visited {
	color: #616161;
}

nav a:hover {
	background: #eeeeee;
	text-decoration: none;
}

nav a img {
	margin: 0 20px -14px 0 !important;
	width: 40px;
	height: 40px;

}

nav .active_teal {
	border-left: 3px solid #009688;
	padding-left: 20px;
}

nav .active_orange {
	border-left: 3px solid #ff9800;
	padding-left: 20px;
}

nav .active_purple {
	border-left: 3px solid #9c27b0;
	padding-left: 20px;
}

.teal {
	color: #009688;
}

.orange {
	color: #ff9800;
}

.purple {
	color: #9c27b0;
}

.indigo {
	color: #3f51b5;
}

/**********INPUTY**********/

.group { 
  position:relative; 
  margin-bottom:45px; 
}

.text {
	width: 300px;
}

.textarea {
	width: 100%;
}

input, textarea  {
  font-size:18px;
  padding:10px 10px 10px 5px;
  display:block;
  width:100%;
  border:none;
  border-bottom: 2px solid #e0e0e0;
}

textarea {
  height: 200px;
  resize: none;
}


input:focus, textarea:focus { outline:none; }
input:invalid, textarea:invalid { box-shadow: none}

label  {
  color: #999; 
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all; 
  -moz-transition: 0.2s ease all; 
  -webkit-transition: 0.2s ease all;
}

input:focus ~ label, input:valid ~ label, textarea:focus ~ label, textarea:valid ~ label {
  top:-20px;
  font-size:14px;
  color:#009688;
}

.bar { position:relative; display:block; }
.bar:before, .bar:after {
  content:'';
  height:2px; 
  width:0;
  bottom:0px; 
  position:absolute;
  background:#009688; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

input:focus ~ .bar:before, input:focus ~ .bar:after, textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
  width:50%;
}

textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
  bottom:1px;
}

#nav.scrolling {
	width: 17.6%;
    position: fixed;
    top: 0;
}

footer {
	background: #263238;
	color: #78909c;
	font-family: Roboto-Regular;
	font-size: 16px;
	padding: 20px;
	position: relative;
	margin: 0;
	width: 100%;
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
	text-align: center;
}
#portfolio {
	
}

#portfolio .item {
	float: left;
	width: 30%;
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
	margin: 1%;
	transition-duration: 0.5s;
	height: 350px;
	position: relative;
}

#portfolio .item li {
	list-style-image: url('images/ok.png');
	margin: 10px 10px 10px 0;
}

#portfolio .item .nazwa {
	font-size: 20px;
	font-weight: normal;
}

#portfolio .item p {
	font-size: 14px;
	font-weight: normal;
}

#portfolio .item:hover {
	box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
	transition-duration: 0.5s;
}

#portfolio button {
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);	
	width: 40px;
	height: 40px;
	padding: 0px 0 2.5px 0;
	margin: 20px 0px 20px 170px;
	border-radius: 100%;
	font-size: 20px;
	color: #ffffff;
	background: #673ab7;
	line-height: 2px;
	border: 0;
	z-index: 2;
	position: absolute;
	bottom: 0px;
	right: 20px;
}

#portfolio button:hover {
	box-shadow: none;
	background-color: #262626;
	transition: 0.3s;
}

#portfolio img {
	width: 100%;
	height: auto;
	margin: 0;
	box-shadow: 0;
}

#portfolio p {
	margin: -4px 0 0 0; /*linie widac*/
	text-align: left;
	color: #424242;
	font-size: 20px;
	padding: 20px 20px 0 20px;
}

.me {
	font-size: 18px;
	font-family: Roboto-Light;
}

}

@media (max-width: 950px) {

	html {
	background: #eeeeee;
}
		
h1 {
	text-align: left;
	letter-spacing: -1.5px;
	font-size: 48px;
	font-family: Roboto-Light;
	color: #009688;
	font-weight: normal;
	margin: 30px 0 0 0;
	padding: 0;
	line-height:45px;
}

h2 {
	text-align: left;
	letter-spacing: -0.5px;
	font-size: 28px;
	font-family: Roboto-Light;
	color: #009688;
	font-weight: normal;
	line-height: 40px;
}

p {
	font-family: Roboto-Regular;
	font-size: 13px;
	line-height: 30px;
}

a {
	color: #000000;
	text-decoration: none;
}

a:hover {
	color: #000000;
	text-decoration: underline;
}

a:visited {
	color: #000000;
	text-decoration: none;
}

input[type=submit] {
	background: #009688; 
	border: 0 none;
    cursor: pointer;
	font-size: 17px;
	font-family: Roboto-Regular;
	color: #FFF;
	box-shadow: 1px 1px 2px 1px #8f8f8f;
	border-radius: 2px;
	text-transform: uppercase;
	padding: 10px 20px;
	margin: 5px auto;
	width: 95%;
}

input[type=submit]:hover {
	background: #f44336; 
	border: 0 none;
    cursor: pointer;
	font-size: 17px;
	font-family: Roboto-Regular;
	color: #FFF;
	box-shadow: 2px 2px 3px 2px #8f8f8f;
	border-radius: 2px;
	text-transform: uppercase;
	padding: 10px 20px;
	margin: 5px auto;
	width: 95%;
}

#background {
	display: none;
	background-image: url(images/background.jpg);
	width: 100%;
	height: 500px;
	margin: 0;
	padding: 0;
	background-size:100%;

	z-index: -1;
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
	top: 0;
	left: 0;
	position: fixed;
}
		
.background {
	text-align: center;
	letter-spacing: -5.5px;
	font-size: 48px;
	font-family: Roboto-Thin;
	color: red;
	font-weight: normal;
	padding: 0;
	margin: 80px 0 20px 0;
	text-shadow: 2px 2px 5px #000000;
	line-height: 125px;
}

.background2 {
	text-align: center;
	letter-spacing: -2.5px;
	font-size: 54px;
	font-family: Roboto-Thin;
	color: #ffffff;
	font-weight: normal;
	padding: 0;
	margin: 0;
	text-shadow: 2px 2px 5px #000000;
	line-height: 70px;
}

.info {
	font-size: 16px;
	font-family: Roboto-Light;
	margin: 20px 0;
}

.info img {
	width: 30px;
	height: 30px;
	margin-right: 10px;
	margin-bottom: -9px;
}

#nav img {
	width: 60%;
	margin: 20px 20%;
}

#container {
	width: 100%;
	background: #ffffff;
}

#container section {
	width: 100%;
	margin: 0;
	padding: 40px 20px 20px 20px;
}

nav {
	width: 250px;
	height: 100%;
	background: #fff;
	margin: 0;
	display: block;
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
	float: left;
	z-index: 999;
	top: 0;
	left: -260px;
	position: fixed;
	transition: 0.5s;
	-moz-transition-timing-function: ease;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
}

#nav.scrolling {
    position: fixed;
    top: 0;
	background: #fff;
	height: 1;
}

nav a {
	display: block;
	text-decoration: none;
	font-size: 20px;	
	padding: 10px 20px 20px 23px;
	color: #616161;
}



nav a:visited {
	color: #616161;
}

nav a:hover {
	background: #eeeeee;
	text-decoration: none;
}

nav a img {
	margin: 0 20px -14px 0 !important;
	width: 40px!important;
	height: 40px;

}

nav .active_teal {
	border-left: 3px solid #009688;
	padding-left: 20px;
}

nav .active_orange {
	border-left: 3px solid #ff9800;
	padding-left: 20px;
}

nav .active_purple {
	border-left: 3px solid #9c27b0;
	padding-left: 20px;
}

.teal {
	color: #009688;
}

.orange {
	color: #ff9800;
}

.purple {
	color: #9c27b0;
}

.indigo {
	color: #3f51b5;
}

/**********INPUTY**********/

.group { 
  position:relative; 
  margin-bottom:45px; 
}

input, textarea  {
  font-size:18px;
  padding:10px 10px 10px 5px;
  display:block;
  width:100%;
  border:none;
  border-bottom: 2px solid #e0e0e0;
}

textarea {
  height: 200px;
  resize: none;
}


input:focus, textarea:focus { outline:none; }
input:invalid, textarea:invalid { box-shadow: none}

label  {
  color: #999; 
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all; 
  -moz-transition: 0.2s ease all; 
  -webkit-transition: 0.2s ease all;
}

input:focus ~ label, input:valid ~ label, textarea:focus ~ label, textarea:valid ~ label {
  top:-20px;
  font-size:14px;
  color:#009688;
}

.bar { position:relative; display:block; }
.bar:before, .bar:after {
  content:'';
  height:2px; 
  width:0;
  bottom:0px; 
  position:absolute;
  background:#009688; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

input:focus ~ .bar:before, input:focus ~ .bar:after, textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
  width:50%;
}

textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
  bottom:1px;
}



footer {
	background: #263238;
	color: #78909c;
	font-family: Roboto-Regular;
	font-size: 16px;
	padding: 20px;
	position: relative;
	margin: 0;
	width: 100%;
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
	text-align: center;
}
#portfolio {
	text-align: center;
}

#portfolio .item {
	display: inline-block;
	width: 100%;
	max-width: 350px;
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
	margin: 1%;
	transition-duration: 0.5s;
	padding-bottom: 70px;
	position: relative;
}

#portfolio .item li {
	list-style-image: url('images/ok.png');
	margin: 10px 10px 10px 0;
}

#portfolio .item .nazwa {
	font-size: 20px;
	font-weight: normal;
}

#portfolio .item p {
	font-size: 14px;
	font-weight: normal;
}

#portfolio .item:hover {
	box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
	transition-duration: 0.5s;
}

#portfolio button {
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);	
	width: 40px;
	height: 40px;
	padding: 0px 0 2.5px 0;
	margin: 20px 0px 20px 170px;
	border-radius: 100%;
	font-size: 20px;
	color: #ffffff;
	background: #673ab7;
	line-height: 2px;
	border: 0;
	z-index: 2;
	position: absolute;
	bottom: 0px;
	right: 20px;
}

#portfolio button:hover {
	box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
	background-color: #ff9800;
	transition: 0.4s;
}

#portfolio img {
	width: 100%;
	height: auto;
	margin: 0;
	box-shadow: 0;
}

#portfolio p {
	margin: -4px 0 0 0; /*linie widac*/
	text-align: left;
	color: #424242;
	font-size: 20px;
	padding: 20px 20px 0 20px;
}

.me {
	font-size: 18px;
	font-family: Roboto-Light;
}
.container {width:300px;margin:0 auto;}

}