html, body {
	margin: 0;
	height: 100%;
	width: 100%;
	font-family: 'Montserrat', sans-serif;
}

/* for old browser that do not support these elements */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block
}
/* end: for old browser that do not support these elements */

a {
	text-decoration: none;
	background-color: transparent;
}
a:active,
a:hover {
    outline-width: 0
}

.hidden { display: none; }

.head-title {
	text-align: center;
	font-size: 3rem;
	margin-top: 0;
	margin-bottom: 1.3em;
}

.content {
	box-sizing: border-box;
	padding: 3% 10% 2%;
}

.wrapper {
	height: 100%;
	min-width: 350px;
}

.menu-button {
	position: fixed;
	top: 30px;
	left: 30px;
	z-index: 5;
	cursor: pointer;
	color: #00f6ed;
}

#sidebar {
	height: 100%;
	background-color: rgba(84, 106, 123, .95);
	position: fixed;
	top: 0;
	left: 0;
	width: 200px;
	z-index: 4;
}
#sidebar ul {
	display: table;
	position: relative;
	top: 5em;
	width: 100%;
	padding: 0;
}
#sidebar ul li {
	display: table;
	list-style-type: none;
	width: 100%;
	height: 60px;
	font-size: 1.5em;
	font-weight: 400;
}
#sidebar ul li:hover {
	background-color: #222426 !important;
	color: #546a7b !important;
}
#sidebar ul li a {
	display: table-cell;
	height: 100%;
	width: 100%;
	vertical-align: middle;
	/*background-color: rgba(84, 106, 123, 0);*/
	color: #fff;
	padding-left: 1.2em;
	transform: translate(-5px, 0);
	transition: .2s linear;
}
#sidebar ul li a:hover {
	color: #00f6ed !important;
	transform: translate(5px, 0);
}

#home {
	position: relative;
	/*height: 100vh;*/ /*this work without setting html, body and parrent element to height: 100%;*/
	height: 100%;
	min-height: 350px;
	text-align: center;
	background-color: #2A3A3F;
  background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
/*#home::before,
#home::after {
	content: "";
	position: absolute;
	bottom: 0;
}*/
.hero {
    /*position: relative;*/
    background-image: none
}
.hero::before {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	pointer-events: none;
  background-image: linear-gradient(90deg, rgba(49, 61, 65, 0.6), rgba(49, 61, 65, 0.6));
}
@media screen and (min-width: 550px) {
	.hero {
	    background-image: url(../assets/laptop_background.jpg);;
	}
}
.hero-container {
	display: table;
	/*width: 100%;*/
	margin: 0 auto;
	height: 100%;
	padding: 0 20px;
}
@media screen and (min-width: 550px) {
    .hero-container {
        padding: 0 40px
    }
}
.hero-content {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	position: relative;
	z-index: 3;
}
.hero-content .headline {
	font-family: 'Montserrat', sans-serif;
  font-weight: 600;
	font-size: 1.5rem;
	color: #fff;
}
@media screen and (min-width: 450px) {
	.hero-content .headline { font-size: 2.3rem;}
}
@media screen and (min-width: 750px) {
    .hero-content .headline {
        font-size: 3rem
    }
}
@media screen and (min-width: 1070px) {
    .hero-content .headline {
        font-size: 3.5rem
    }
}

.about-me {
	font-size: 1.1rem;
	margin-top: 70px;
}
@media screen and (min-width: 750px) {
	.about-me {
		font-size: 1.3rem;
	}
}
.about-me a {
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.2s ease-out;
}
.about-me a:hover {
	color: rgba(255, 255, 255, 0.9);
}

.fa-facet-down { font-size: 1.8rem; }
.my-portfolio {
	font-size: 1.1rem;
	margin-top: 150px;
}
.my-portfolio a {
	color: #00f6ed;
}
@media screen and (min-width: 750px) {
	.fa-facet-down { font-size: 2rem; }
	.my-portfolio {
		font-size: 1.5rem;
	}
}

.animated-cust {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animated-cust.infinite-cust {
  animation-iteration-count: infinite;
}

@keyframes bounce-cust {
  from, 20%, 53%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -7.5px, 0);
  }

  70% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -3.75px, 0);
  }

  90% {
    transform: translate3d(0,-1px,0);
  }
}
.bounce-cust {
  animation-name: bounce-cust;
  transform-origin: center bottom;
}

.ag { opacity: 0; }
.show { opacity: 1 }
.photo {
	display: block;
	margin: 0 auto;
	width: 300px;
	height: 222px;
	border-radius: 150px;
	border: 4px solid rgb(0, 0, 0);
	opacity: 0;
}
#about .description p {
	font-size: 1.5rem;
	margin: 50px 0;
	opacity: 0;
}
.available {
	margin: 50px 0;
}
.available::after {
	content: " ";
	display: table;
	clear: both;
}
a.button-available {
	box-sizing: border-box;
	display: block;
	/*width: 256.73px;*/
	width: 335px;
	margin: 0 auto;
	padding: .8rem 1.6rem;
	font-size: 1rem;
	font-weight: 600;
	color: #2A3A3F;
	border-radius: 30px;
	border: 2px solid #FDCD3B;
	background-color: transparent;
	cursor: pointer;
	text-transform: uppercase;
	transition: .4s ease-out;
	text-decoration: none;
	text-align: center;
}
a.button-available:hover {
	/*width: 282.33px;*/
	width: 371px;
	padding: .8rem 2.4rem;
	background-color: #FDCD3B;
	color: #fff;
	border: 2px solid #fff;
}
/*@media screen and (min-width: 530px) {
	a.button-available {
		margin: 6rem 0 0;
		padding: 1.4rem 3.2rem;
		font-size: 1.4rem;
		border: 2px solid #FDCD3B;
	}
	a.button-available:hover {
		padding: 1.4rem 4.0rem;
	}
}*/
.skill {
	display: inline-block;
	text-align: center;
	font-size: .8rem;
	font-weight: 500;
	margin-right: 20px;
}
.bootstrap,
.js {
	width: 40px;
	height: 40px;
}
.reactjs {
	width: 80px;
	height: 55px;
}
.redux {
	width: 48px;
	height: 48px;
}
.typescript {
	width: 50px;
	height: 50px;
}
.cypress {
	width: 80px;
	height: 29px;
}
.vue {
	width: 43px;
}
.ant-design {
	width: 45px;
}
.graphql {
	width: 45px;
}
.cert-group { margin-top: 50px; }
.cert {
	display: inline-block;
	text-align: center;
	font-size: .8rem;
	font-weight: 500;
	margin-right: 20px;
}

#portfolio {
	background-color: #eee;
}

/* .portfolio-section {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
} */

.portfolio-item {
	display: inline-block;
	width: 99%;
	/* width: 100%; */
	height: auto;
	/*margin-right: 20px;*/
	margin-bottom: 20px;
	overflow: hidden;
}
.tile { position: relative; display: block; height: auto }
.tile::before {
	content: " ";
	background: linear-gradient(
				to bottom,
				rgba(0,0,0,0) 0%,
				rgba(0,0,0,0.9) 100%
				/* rgba(0,0,0,0.7) 100% */
			);
	width: 100%;
	height: 50%;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
	opacity: 0;
	transition-property: top, opacity;
	transition-duration: .3s;
}
.img-portfolio {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.tile .details {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	color: #fff;
	padding: 5% 10%;
}
.tile .details span {
	display: block;
	position: relative;
	top: 100px;
	opacity: 0;
	transition-property: top, opacity;
	transition-duration: .3s;
	transition-delay: 0s;
}
.tile .title {
	line-height: 1;
	font-weight: 600;
	font-size: 1.2rem;
}
.tile .details .info {
	line-height: 1.2;
	margin-top: 5px;
	font-size: 0.9rem;
	font-style: italic;
}
.tile .details .feature {
	line-height: 1;
	margin-top: 5px;
	font-size: 0.7rem;
}
.tile:focus,
.tile:hover .details span { opacity: 1; top: 0; }
.tile:hover::before { opacity: 1; top: 50%; }
.tile.higher:hover::before { opacity: 1; top: 25%; height: 75%; }
.tile:hover .title { transition-delay: .15s }
.tile:hover .info { transition-delay: .25s }

@media screen and (min-width: 801px) {
	.portfolio-item {
		width: 300px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 860px) {
	.portfolio-item {
		width: 320px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 960px) {
	.portfolio-item {
		width: 340px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 1005px) {
	.portfolio-item {
		width: 380px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 1091px) {
	.portfolio-item {
		width: 410px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 1153px) {
	.portfolio-item {
		width: 440px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 1220px) {
	.portfolio-item {
		width: 460px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 1262px) {
	.portfolio-item {
		width: 480px;
		margin-right: 10px;
	}
}
@media screen and (min-width: 1344px) {
	.portfolio-item {
		width: 500px;
		margin-right: 20px;
	}
}
@media screen and (min-width: 1400px) {
	.portfolio-item {
		width: 530px;
		margin-right: 20px;
	}
}
@media screen and (min-width: 1500px) {
	.portfolio-item {
		width: 570px;
		margin-right: 20px;
	}
}
@media screen and (min-width: 1530px) {
	.portfolio-item {
		width: 380px;
		margin-right: 20px;
	}
}
@media screen and (min-width: 1580px) {
	.portfolio-item {
		width: 392px;
		margin-right: 20px;
	}
}

#contact {
	background-color: #FDCD3B;
}
#honeypot {
  display: none;
}
form input {
	font-size: 1.5rem;
}
#name, #email, #phone {
  width: 100%;
	padding: 2px 3px;
}
textarea {
	font-size: 2rem;
  width: 100%;
	padding: 2px 3px;
}
.button-send {
  color: white;
  border-radius: 6px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  background: rgb(28, 184, 65);
	cursor: pointer;
	font-size: 1.5rem;
	padding: 8px 11px;
}
#thankyou_message { font-weight: 700; }
@media screen and (min-width: 801px) {
		#name, #email, #phone { width: 50%; }
}

footer {
  color: white;
}
footer .footer-above {
  padding: 20px 50px;
  background-color: #2C3E50;
}
footer .footer-above::after {
	content: " ";
	display: table;
	clear: both;
}
footer h3 {
  margin-bottom: 20px;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}
.footer-left {
	float: left;
}
.footer-right {
	float: right;
}
.footer-right ul {
	list-style-type: none;
	padding: 0;
}
.footer-right ul li {
	display: inline-block;
}
footer .footer-below {
  padding: 20px 50px;
  background-color: #233140;
  font-size: .8rem;
}
.btn-outline {
  color: white;
  /*font-size: 15px;*/
  border: solid 2px white;
  background: transparent;
  transition: all 0.3s ease-in-out;
  /*margin-top: 15px;*/
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
  color: #18BC9C;
  background: white;
  border: solid 2px white;
}
.btn-social {
  display: inline-block;
  border: solid 2px white;
  border-radius: 100%;
  text-align: center;
  font-size: 15px;
  line-height: 27.5px;
  width: 30px;
  margin-right: 10px;
}

/*typed.js stuff*/
.typed-cursor {
  -webkit-animation: blink .7s infinite;
  -moz-animation: blink .7s infinite;
  animation: blink .7s infinite;
  opacity: 1;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

[tooltip]{
  /*margin:20px 60px;*/
  position:relative;
  display:inline-block;
}
[tooltip]::before {
    content: "";
    position: absolute;
    top:-6px;
    left:50%;
    transform: translateX(-50%);
    border-width: 4px 6px 0 6px;
    border-style: solid;
    border-color: rgba(0,0,0,0.7) transparent transparent transparent;
    z-index: 99;
    opacity:0;
}
[tooltip-position='buttom']::before{
  top:100%;
  margin-top:8px;
  transform: translateX(-50%) translatey(-100%) rotate(-180deg)
}
[tooltip]::after {
    content: attr(tooltip);
    position: absolute;
    left:50%;
    top:-6px;
    transform: translateX(-50%)   translateY(-100%);
    background: rgba(0,0,0,0.7);
    text-align: center;
    color: #fff;
    padding:4px 2px;
    font-size: 12px;
    min-width: 80px;
    border-radius: 5px;
    pointer-events: none;
    padding: 4px 4px;
    z-index:99;
    opacity:0;
}
[tooltip-position='buttom']::after{
  top:100%;
  margin-top:8px;
  transform: translateX(-50%) translateY(0%);
}
[tooltip]:hover::after,[tooltip]:hover::before {
   opacity: 1;
   transition: opacity 1.5s;
}
