
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url("Raleway-Regular.ttf") format('truetype');
}


@font-face {
  font-family: 'Nothing You Could Do';
  font-style: normal;
  font-weight: 400;
  src: url("NothingYouCouldDo.ttf") format('truetype');
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a { 
	text-decoration: none;
	color: #03A9F4;
}

html, body {
	height: 100%;
	color: white;
	background: radial-gradient(circle at bottom left, #abcbda,#fdcbaa) fixed;
}

body {
	overflow-x: hidden;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body,h1,h2,h3,h4,h5,h6,p {
	margin: 0;
	font-weight: lighter;
	font-family: "Raleway", Helvetica;
}


#main {
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at bottom left, #abcdef,#fedcba) fixed;
	text-align: right;
	will-change: transform;
	transition: 0.5s transform;
}

#main h1 {
	color: #555;
	font-size: 4rem;
}

#main p {
	font-size: 2rem;
	color: #03A9F4;
}

#main h2 {
	font-size: 3rem;
}


@keyframes pulse {
	0% {
		transform: scale(1) translateX(0px);
	}
	20% {
		transform: scale(1.1) translateX(-10px);
	}
	100% {
		transform: scale(1) translateX(0px);
	}
}

#main .iam {
	font-size: 2rem;
	line-height: 4rem;
}

#main h2 span {
	background-color: #000;
	color: #fff;
	padding: 0.5rem;
	border-radius: 5px;
	box-shadow: 0 3px 18px -6px #333;
	text-transform: uppercase;
}

#portfolio-btn {
	font-size: 2rem;
	padding: 1rem;
	text-transform: uppercase;
	box-shadow: 0 0 0 1px #888;
	transition: 0.4s all;
}

#portfolio-btn:hover {
	box-shadow: 6px 6px 0px -3px #333,
				-6px -6px 0px -3px #333;
	background-color: rgba(50,50,50,.05);
}

#portfolio-btn:active {
	box-shadow: 1px 1px 0px -0px #333,
				-1px -1px 0px 0px #333;
}


.flex-container {
	display: flex;
}

.flex {
	flex: 1;
	position: relative;
	transition: 0.9s flex;
	will-change: flex;
}

.left-side.flex:hover, .right-side.flex:hover {
	flex: 1.2;	
	z-index: 10;
	box-shadow: 0 0 15px 0 #555;
}

.left-side {
	padding: 2rem;
	margin: 0 auto;
}

.my-image {
	background-image: url(../img/me.jpg);
	background-size: cover;
	background-repeat: no-repeat;
}

.dark-layer {
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	transition: 0.3s background-color, 0.3s visibility;
	background-color: rgba(0,0,0,.2);
}


.flex:hover > .dark-layer {
	visibility: hidden;
	background-color: rgba(0,0,0,0);
}

.social-media-container {
	position: absolute;
	right: 0;
	top: calc(50% - 200px);
	box-shadow: 0 0 18px -5px #222;
}

.social-media-container i {
	display: block;
	width: 50px;
	color: #eee;
	padding: 4px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-size: 3rem;
	cursor: pointer;
	transition: 0.3s box-shadow, 0.3s background-color, 0.3s transform;
}

.social-media-container i:hover {
	background-color: #fff;
	box-shadow: 10px 0 0 0 #222,
				-1px 0 0 0 #222;
	transform: translateX(-10px);
}

.mdi-linkedin {
	background-color: #0077b5;
}

.mdi-xing {
	background-color: #026466;
}

.mdi-github-circle {
	background-color: #333;
}


.mdi-linkedin:hover {
	color: #0077b5;
}

.mdi-xing:hover {
	color: #026466;
}

.mdi-github-circle:hover {
	color: #333;
}

#logo {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 155px;
	height: 150px;
	background-image: url(../img/logo.png);
	background-size: contain;
	background-repeat: no-repeat;
}



/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
	.right-side {
		flex: 0.9;
	}
}
@media only screen and (max-width: 830px) {
	.right-side {
		flex: 0.75;
	}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
	.right-side {
		flex: 0.5;
	}
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 640px) {
	.right-side {
		flex: 0.2;
	}
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	.right-side {
		flex: 0.2;
	}

	#main h1 {
		font-size: 2.5rem;
	}

	#main p {
		font-size: 1.5rem;
	}

	#main h2 {
		font-size: 2rem;
	}
}
