/* Andrius P. stylesheet */

html, body {
	height: 100%;
}
body {
	overflow-x: hidden;
	height: 100%;
	min-width:350px;
	font-family: 'Montserrat', sans-serif;
}
a {
	text-decoration:none;
	color:white;
}
.opacity:hover {
	opacity:0.9;
}


#main {
	position:relative;
	width:100%;
	min-height:605px;
	overflow:hidden;
}
#main video {
	position:absolute;
	left:0;
	top:0;
	right:0;
	bottom:0;
	z-index:-1;
}
.head_content {
	overflow:hidden;
}
.container {
	margin:0 auto;
	padding-left:13%;
	padding-right:13%;
}
.logo {
	font-size:20px;
	float:left;
    margin-top: 15px;
	font-weight:600;
	font-family: 'Poppins', sans-serif;
}
.logo a {
	color:#ffffff;
}
.logo_line {
	width:20px;
	height:2px;
	background:#30c6a5;
	border:none;
	float:right;
	position: relative;
    top: 5px;
    left: 5px;
}
.no-margin {
	margin-right:0px !important;
}

/* MENU */

.nav-bar {
	width: 100%;
	height:auto;
	font-size: 16px;
	margin-top:20px;
}
nav ul {
	overflow: hidden;
	text-align:right;
	padding: 1%;
	margin-left: 0;
	-webkit-transition: max-height 0.4s;
	-ms-transition: max-height 0.4s;
	-moz-transition: max-height 0.4s;
	-0-transition: max-height 0.4s;
	transition: max-height 0.4s;
}
nav ul li {
	display: inline-block;
	color:#8c9297;
	font-size:16px;
	font-weight:600;
	padding: 10px 0px;
	margin-left:30px;
}
nav a {
	color: #8c9297;
}
nav a:hover {
	color: #ffffff;
}

/* Mobile navigation */

.mobile-icon {
	width: 100%;
	text-align: right;
	box-sizing: border-box;
	cursor: pointer;
	color: #fff;
	margin-top: 20px;
	display: none;
	font-size: 25px;
	font-family: bold;
	position: relative;
}

/* Header */

.header_block {
	max-width:1100px;
	min-height:559px;
	padding-bottom:20px;
	background:#262626;
	border-radius: 5px 5px 0px 0px;
	margin:0 auto;
	margin-top:35px;
	position:relative;
}
.header_code {
	position:absolute;
	right:0;
	z-index:1;
}
.header_block_top {
	height:65px;
	background:#161616;
	overflow:hidden;
	border-radius: 5px 5px 0px 0px;
}

.header_block_top .circle {
    width: 17px;
    height: 17px;
    border-radius: 50%;
	margin-top: 25px;
	display:inline-block;
    margin-left: 7px;
}
.header_block_top .circle:first-child {
    background:#fc605c;
	margin-left:20px;
}
.header_block_top .circle:nth-child(2) {
    background:#fdbc40;
}
.header_block_top .circle:nth-child(3) {
    background:#34c749;
}
.header_block_top .circle:last-child {
    color:white;
	position:relative;
	top:-2px;
	margin-left:15px;
}
.header_info {
	margin-left:50px;
	margin-right:50px;
	margin-top:30px;
}
.header_info h1 {
	font-size:36px;
	line-height:50px;
	color:white;

	letter-spacing:3px;
	font-weight:600;
	font-family: 'Poppins', sans-serif;
}
.header_info h2 {
	font-size:20px;
	color:#30c6a5;
	font-weight:300;
	margin-top:30px;
	font-family: 'Poppins', sans-serif;
}	
.header_info p {
	color:#625b5b;
	font-size:16px;
	margin-top:30px;
	font-family: 'Poppins', sans-serif;
	font-weight:400;
	position:relative;
	line-height:30px;
	z-index:1000;
}
.header_buttons {
	margin-top:30px;
	font-family: 'Poppins', sans-serif;
	font-weight:400;
}
.header_buttons a {
	display:inline-block;
	padding: 15px 25px;
	border-radius:5px;
}
.header_buttons a:first-child {
	background:#30c6a5;
	margin-right:15px;
}
.header_buttons a:last-child {
	background:#363434;
}
.social {
	float:right;
	font-size:23px;
	margin-right:50px;
	margin-top:40px;
	z-index:10000;
	position:relative;
}
.social i {
	margin-right:15px;
}
.social a {
	color:#4b5956;
}
.social a:hover {
	color:#fff;
}

/* About Me */

#about-me {
	margin-bottom:50px;
	position:relative;
	display:flex;
	align-items:center;
	justify-content:space-between;	
}
.about_block {
	padding-left:13%;
	margin-top:50px;
}
.title h5 {
	color:#30c6a5;
	font-size:14px;
	font-family: 'Poppins', sans-serif;
}
.title h1 {
	color:#212625;
	font-size:48px;
	font-family: 'Poppins', sans-serif;
	font-weight:600;
	margin-top:15px;
}
.col-70 {
	margin-top:50px;
	display:block;
}
.col-70 h1 {
	margin-top:20px;
	font-size:20px;
	color:#212625;
	font-weight:600;
}
.col-70 p {	
	color:#7a8381;
	font-size:15px;
	padding-right:100px;
	line-height:27px;
	margin-top:20px;
	font-weight:400;
}
.pc {
	background:url(../images/pc.png) no-repeat;
	width:705px;
	height:585px;
	position:relative;
	margin-top:50px;
}
.pc .img {
	margin-left: 120px;
    margin-top: 30px;
}
.pc .opp {
	position: absolute;
    top: 0;
    margin-left: 87px;
}

/* My works */

#my-works {
	background:#f0fcf9;
	padding-top:50px;
	padding-bottom:50px;
	overflow:hidden;
}
#my-works .title {	
	text-align:center;
}
.work_cat {
	display:table;
	margin:20px auto;
}
.work_cat ul button {
	background:transparent;
	border-top:1px solid #dbe8e6;
	border-bottom:1px solid #dbe8e6;
	border-left:none;
	border-right:none;
	float:left;
	outline:none;
	padding:10px 20px;
	font-size:16px;
	color:#8b8f8e;
	font-weight:400;
	font-family: 'Poppins', sans-serif;
}
.work_cat ul button:first-child {
	border-left:1px solid #dbe8e6;
	border-radius:5px 0px 0px 5px;
}
.work_cat ul button:last-child {
	border-right:1px solid #dbe8e6;
	border-radius:0px 5px 5px 0px;
}
.work_cat ul button:hover {
	background:white;
	color:#30c6a5;
	cursor:pointer;
}
.work_cat .active-work {
	background:white;
	color:#30c6a5;
}
.col-50 {
	max-width:1100px;
}

.col-50_in {
    margin: 10px;
    background: white;
    margin-bottom: 20px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.09);
  
    height: auto;
    overflow: hidden;
	position:relative;
    display: flex;
}
.port-img img {
    width: 309px;
    height: 100%;
    object-fit: cover;
}
.info-right h1 {
	margin-top:20px;
	width:100%;
	margin-left:15px;
	text-transform:uppercase;
	font-weight:600;
	font-size:20px;
	font-family: 'Poppins', sans-serif;
}
.tags {
	margin-top:10px;
	margin-left:15px;
}
.tags h5 {
	padding: 7px 15px;
    display: inline-block;
    color: #98acac;
    background: #eaeded;
    border-radius: 5px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}
.info-right p {
	font-size:15px;
	color:#7a8381;
	margin-left:15px;
	line-height:25px;
	margin-top:15px;
	margin-right:15px;
}
.view-more {
	margin: 20px;
    overflow: hidden;
	float: right;
}
.view-more a {
	padding: 15px 25px;
	border-radius:5px;
	display:inline-block;
	color:#95a5a6;
	font-weight:500;
	font-family: 'Poppins', sans-serif;
}
.view-more a:last-child {
	background:#30c6a5;
	color:white;
	float: right;
}
.view-more-world {
    width: 23px;
    height: 23px;
    float: left;
    margin-top: -4px;
	vertical-align: middle;
    margin-right: 15px;
}
.view-more-arrow {
	margin-left: 15px;
    float: right;
}

/* Contacts */

.contacts {
	overflow:hidden;
	margin-bottom:50px;
}
.col-25 {
	width:25%;
	float:left;
}
.col-25_in {
	text-align:center;
	margin-top:50px;
}
.col-25_in i {
	font-size:23px;
	color:#179298;
}
.col-25_in h1 {
	font-size:14px;
	font-weight:600;
	font-family: 'Poppins', sans-serif;
	color:#179298;
	margin-top:20px;
}
.col-25_in p {
	font-size:18px;
	font-weight:400;
	font-family: 'Poppins', sans-serif;
	color:#aaabab;
	margin-top:20px;
}
.col-25_in a {
	color:#aaabab;
}
/*.col-25_in:hover i {
	color:black;
}*/

/* Form */

#contacts {
	overflow:hidden;
	height:500px;
}
.contacts_block {
	width:50%;
	background:#212625;
	min-height:500px;
	float:left;
}
.contacts_form {
	padding-left:26%;
	padding-right:60px;
}
.contacts_form .title {
	padding-top:50px;
}
.contacts_form .title h1 {
	color:white;
}
.map {
	filter: grayscale(1);
    width: 50%;
    float: left;
}
.input_block {
	width:50%;
	float:left;
}
.input_block_content {
	margin:20px;
}
.input_block_content label {
	font-size:14px;
	color:white;
	font-weight:500;
	font-family: 'Poppins', sans-serif;
}
.input_block_content input {
	width:100%;
	background:transparent;
	border:1px solid #313736;
	outline:none;
	height:40px;
	color:#8f8b8b;
	padding:0 5px;
	margin-top:10px;
	font-family: 'Poppins', sans-serif;
	font-size:13px;
}	
.input_block_content textarea {
	width:100%;
	background:transparent;
	border:1px solid #313736;
	outline:none;
	height:100px;
	color:#8f8b8b;
	padding:0 5px;
	margin-top:10px;
	font-family: 'Poppins', sans-serif;
	font-size:13px;
}
.submit_cont {
	float:right;
	padding: 10px 20px;
	background:#179298;
	color:white;
	margin-bottom:20px;
	outline:none;
	cursor:pointer;
	margin-right:10px;
	font-weight:500;
	border:1px solid #179298;
	border-radius:5px;
	font-family: 'Poppins', sans-serif;
}
.footer {
	padding-left: 26%;
}
.footer hr {
	height:1px;
	width:100%;
	background:#2d3130;
	border:none;
}
.footer h1 {
	font-size:14px;
	color:#636d6b;
	font-family: 'Poppins', sans-serif;
	font-weight:300;
	float:left;
	margin-top: 10px;
}
.footer p {
	font-size:14px;
	color:#636d6b;
	float:right;
	font-family: 'Poppins', sans-serif;
	font-weight:300;
	margin-top: 10px;
	margin-right:60px;
}
.errorMsgSend {
	float: left;
    margin-top: 15px;
    color: white;
    font-size: 14px;
}
.mouse {
    display: table;
    margin:0 auto;
    width: 17px;
    margin-top:50px;
    height: 35px;
    position: relative;
    border: 2px solid #fff;
    border-radius: 12px;
}
.mouse:before {
	content: '';
	display: inline-block;
	width: 2px;
	height: 8px;
	position: absolute;
	top: 5px;
	left: 8px;
	background-color: #fff;
	-webkit-animation: mouse-animation 2.75s ease-in-out infinite;
	animation: mouse-animation 2.75s ease-in-out infinite;
}
.port-img {
	max-height: 282px;
}

/* Responsive */
@media screen and (max-width: 1600px) {
	.pc {
		width:470px;
	}
	.footer h1 {
		float:none;
	}
	.footer p {
		float:left;
	}
	.map iframe {
		height:510px;
	}
}
@media screen and (max-width: 1171px) {
	.header_code {
		display:none;
	}
	.col-70 p { 
		padding-right:30px;
	}
}
@media screen and (max-width: 1080px) {
	.container {
		padding-left:50px;
		padding-right:50px;
	}
	.about_block {
		padding-left:50px;
	}
	.footer {
		padding-left: 50px;
		padding-right:50px;
	}
	.contacts_form {
		padding-left: 50px;
		padding-right:50px;
	}
	.title h1 {
		font-size:38px;
	}
	.header_info h1 {
		font-size:30px;
	}
}
@media screen and (max-width: 980px) {
	#contacts {
		min-height:500px;
		height:auto;
	}
	.map {
		display:none;
	}
	.logo {
		margin-top:5px;
	}
	.contacts_block {
		min-height:500px;
		padding-bottom:10px;
	}
	.footer h1 {
		margin-top: 18px;
	}
	.contacts_block {
		width:100%;
	}
	.col-25 {
		width:50%;
	}
	.col-25_in p {
		font-size:14px;
	}
	.col-70 p { 
		padding-right:15px;
	}
	.mobile-icon {
		display: block;
	}
	nav ul {
		max-height: 0px;
		padding: 0px;
		background-color: #222;
		margin-top:35px;
	}
	nav ul li {
		margin-left:0px;
	}
	.showing {
		max-height: 20em;
		font-size: 18px;
		position:relative;
		z-index:10;
	}
	.nav-bar {
		width:100%;
	}
	nav ul li {
		box-sizing: border-box;
		width: 100%;
		border-bottom:1px solid #292727;
		text-align: center;
		font-size:16px;
		padding:15px;
		color:#ececeb;
	}
	nav ul li a {
		color:#ececeb;
	}
	nav ul li:last-child {
		border-bottom:0;
	}
	nav ul li:hover {
		width: 100%;
		color: #0ca4a5;
		background:#161616;
	}
	.nav-bar {
		display: block;
	}
	.header_block {
		width:100%;
	}
	.pc {
		display:none;
	}
	.about_block {
		width:100%;
	}
	.info-right p {
		font-size: 12px;
	}
	.view-more a {
		font-size:14px;
	}
	.info-right h1 {
		font-size:16px;
	}
	.tags h5 {
		font-size:12px;
	}
	.col-70 p {
		font-size:12px;
	}
	.header_info p {
		font-size:14px;
	}
}
@media screen and (max-width: 780px) {
	.work_cat {
		width: 100%;
	}
	.work_cat ul button {
		border-left: 1px solid #dbe8e6;
		border-right: 1px solid #dbe8e6;
		float:none;
		display:table;
		border-radius:5px !important;
		margin:10px auto;
		width: 100%;
	}
}
@media screen and (max-width: 850px) {
	.view-more a {
		display:block;
		text-align:center;
	}
	.view-more a:last-child {
		float: none;
	}
	.view-more-world {
		float: none;
	}
	.view-more-arrow {
		margin-left: 0px;
		float: right;
	}
	.view-more {
		float: none;
	}
	.port-img {
		max-height: initial;
	}
}
@media screen and (max-width: 767px) {
	.container {
		padding-left:20px;
		padding-right:20px;
	}
	.about_block {
		padding-left:20px;
	}
	.footer {
		padding-left: 20px;
		padding-right:20px;
	}
	.contacts_form {
		padding-left: 20px;
		padding-right:20px;
	}
	.short-about h1 {
		font-size: 35px;
		line-height: 50px;
	}
	
}
@media screen and (max-width: 572px) {
	.col-25 {
		width: 100%;
	}
}
@media screen and (max-width: 677px) {
	.col-50_in {
		display:block;
	}
	.port-img {
		text-align: center;
		width:auto !important;
	}
	.port-img {
		height:auto;
	}
	.port-img img {
		width: 100%;
		height: auto;
	}
}
@media screen and (max-width: 530px) {
	.header_info {
		margin-left:20px;
		margin-right:20px;
	}
	.header_buttons a:last-child {
		margin-top:10px;
	}
	.social {
		margin-right:5px;
		text-align: center;
		float:none;
		margin-top:30px;
	}
	.title h1 {
		font-size:32px;
	}
}
@media screen and (max-width: 486px) {
	.input_block {
		width:100%;
	}
	.input_block_content {
		margin-left:0px;
	}
	.margin {
		margin-top:0px;
	}
	.contacts_block {
		padding-bottom: 15px !important;
	}
	#main video {
		min-height:1300px;
	}
}

@-webkit-keyframes mouse-animation {
  0% {
    -webkit-transform: scale(1, 0);
            transform: scale(1, 0);
    -webkit-transform-origin: 50% 0;
            transform-origin: 50% 0;
  }
  20%, 80% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  81% {
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
  100% {
    -webkit-transform: scale(1, 0);
            transform: scale(1, 0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
}

@keyframes mouse-animation {
  0% {
    -webkit-transform: scale(1, 0);
            transform: scale(1, 0);
    -webkit-transform-origin: 50% 0;
            transform-origin: 50% 0;
  }
  20%, 80% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  81% {
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
  100% {
    -webkit-transform: scale(1, 0);
            transform: scale(1, 0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
}
@keyframes bounce {
  0%,
  100%,
  20%,
  50%,
  80% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}