@font-face {
	font-family: Roboto;
	src: url(../fonts/Roboto-Regular.ttf);
}

@font-face {
	font-family: Roboto Bold;
	src: url(../fonts/Roboto-Bold.ttf);
}

@font-face {
	font-family: Roboto Black;
	src: url(../fonts/Roboto-Black.ttf);
}

html, body {
	font-family: Roboto;
	font-size: 14px;
	height: 100%;
	margin: 0;
	cursor: default;
}

a {
	text-decoration: none;
	color: #000;
}

a:hover {
	text-decoration: underline;
	color: #000;
}

.container-fluid, .row {
	height: 100%;
}

.overflow-hidden {
	overflow: hidden;
}

.text_underline {
	text-decoration: underline;
}

/********** HEADER **********/
.header {
	margin: 48px 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	animation: slideInFromTop 0.5s forwards;
}

.header a {
	text-decoration: none;
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(-500%);
  }
  100% {
    transform: translateY(0);
  }
}

.logo {
	height: 30px;
}
/********** END HEADER **********/

/********** BODY **********/
.body {
	padding: 30px 55px;
	display: flex;
	justify-content: center;
}

.text_left {
	font-size: 70px;
	font-family: Roboto Bold;
	line-height: 1em;
	animation: slideInFromLeft 0.5s forwards;
	opacity: 0;
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.body span {
	display: inline-block;
	margin-bottom: 60px;
	cursor: pointer;
}

.text_right {
	font-size: 20px;
	width: 500px;
	line-height: 1.5em;
	margin-top: 285px;
	margin-left: 200px;
	font-family: Roboto;
	opacity: 0;
}

.color-change {
	animation: colorChange 0.25s forwards;
}

@keyframes colorChange {
  0% {
    color: #000;
  }
  100% {
    color: #d9d9d9;
  }
}

.show-desc {
	animation: showDesc 0.5s forwards;
}

@keyframes showDesc {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.view_works {
	font-family: Roboto Bold;
	margin-top: 15px;
	display: block;
}

.view_works img {
	height: 25px;
	margin-left: 5px;
}

.view_works:hover > img {
	animation: showWorks 0.5s forwards;
}

@keyframes showWorks {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(25%);
  }
}
/********** END BODY **********/

/********** FOOTER **********/
.footer {
	font-size: 18px;
	position: fixed;
	bottom: 70px;
	padding: 0 55px;
	display: flex;
	justify-content: space-between;
	width: 100%;
	animation: slideInFromBottom 0.5s forwards;
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(500%);
  }
  100% {
    transform: translateY(0);
  }
}
/********** END HEADER **********/

/********** GO TOP BUTTON **********/
.go_top {
	position: fixed;
	bottom: 40px;
	right: 30px;
	display: none;
	width: 35px;
	animation: goDown 0.25s forwards;
}

.go_top:hover {
	animation: goTop 0.25s forwards;
}

.go_top img {
	width: 100%;
}

@keyframes goTop {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-25%);
  }
}

@keyframes goDown {
  0% {
    transform: translateY(-25%);
  }
  100% {
    transform: translateY(0%);
  }
}

@media only screen and (min-width: 320px) and (max-width: 812px) {
	.go_top {
		right: 15px;
	}
}

@media only screen and (min-width: 813px) and (max-width: 1281px) and (orientation:landscape) {
	.go_top {
		right: 15px;
	}
}
/********** END GO TOP BUTTON **********/

/********** MENU BUTTON **********/
.burger_wrapper {
	cursor: pointer;
	width: 30px;
	height: 30px;
	padding-bottom: 10px;
}

.burger_wrapper .hamburger {
	background: #000000;
	width: 20px;
	height: 0.14em;
	position: relative;
	transition: background 10ms 100ms ease;
	-webkit-transform: translateY(20px);
			transform: translateY(20px);
}

.burger_wrapper .hamburger:before, .burger_wrapper .hamburger:after {
	transition: top 100ms 150ms ease, -webkit-transform 100ms 20ms ease;
	transition: top 100ms 150ms ease, transform 100ms 20ms ease;
	transition: top 100ms 150ms ease, transform 100ms 20ms ease, -webkit-transform 100ms 20ms ease;
	position: absolute;
	background: #000000;
	width: 30px;
	height: 0.15em;
	content: '';
}

.burger_wrapper .hamburger:before {
	top: -10px;
}

.burger_wrapper .hamburger:after {
	top: 10px;
}

.menu_trigger:checked ~ .burger_wrapper .hamburger {
	background: transparent;
}

.menu_trigger:checked ~ .burger_wrapper .hamburger:after, .menu_trigger:checked ~ .burger_wrapper .hamburger:before {
	transition: top 100ms 20ms ease, -webkit-transform 100ms 150ms ease;
	transition: top 100ms 20ms ease, transform 100ms 150ms ease;
	transition: top 100ms 20ms ease, transform 100ms 150ms ease, -webkit-transform 100ms 150ms ease;
	top: 0;
}

.menu_trigger:checked ~ .burger_wrapper .hamburger:before {
	-webkit-transform: rotate(45deg);
			transform: rotate(45deg);
}

.menu_trigger:checked ~ .burger_wrapper .hamburger:after {
	-webkit-transform: rotate(-45deg);
			transform: rotate(-45deg);
}

.hidden {
	display: none;
}
/********** END MENU BUTTON **********/

/********** MENU PANEL **********/
.menu_panel {
	padding-top: 11vh;
	background-color: #fff;
	height: 100%;
	width: 100%;
	display: none;
	text-align: center;
	position: absolute;
	top: 127px;
}

#menu_home,
#menu_works,
#menu_about {
	opacity: 0;
	font-size: 70px;
	font-family: Roboto Black;
	text-transform: uppercase;
	line-height: 1.5em;
}

.show-home {
	position: relative;
	animation: fadein 0.25s forwards;
	animation-delay: 0.5s;
}

.show-works {
	position: relative;
	animation: fadein 0.25s forwards;
	animation-delay: 0.75s;
}

.show-about {
	position: relative;
	animation: fadein 0.25s forwards;
	animation-delay: 1s;
}

.show-email {
	position: relative;
	animation: fadein 0.25s forwards;
	animation-delay: 1.25s;
}

@keyframes fadein {
	0% {
		right: -100px;
		opacity: 0;
	}

	100% {
		right: 0;
		opacity: 1;
	}
}

.menu_panel a:not(#menu_email):hover {
	color: #313131;
	text-decoration: none;
}

.menu_panel > a:not(#menu_email):before {
	content: "";
	position: absolute;
	width: 100%;
	height: 3px;
	bottom: 0;
	left: 0;
	background: #313131;
	visibility: hidden;
	transform: scaleX(0);
	transition: 0.25s linear;
}

.menu_panel > a:not(#menu_email):hover:before,
.menu_panel > a:not(#menu_email):focus:before {
	visibility: visible;
	transform: scaleX(1);
}

#menu_email {
	width: 285px;
	font-size: 23px;
	position: fixed;
	bottom: 150px;
	left: 50%;
	margin-left: -143px;
	opacity: 0;
	cursor: pointer;
}
/********** END MENU PANEL **********/

/********** SCROLLBAR **********/
/* Chrome */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #cccccc; 
}

::-webkit-scrollbar-thumb {
  background: #666666;
}

::-webkit-scrollbar-thumb:hover {
  background: #5b5b5b;
}

/* IE11 */
html, body {
	scrollbar-face-color:#737373;
}

/* Firefox */
.scroller {
	scrollbar-color: #737373 #0d141c;
  scrollbar-width: thin;
}
/********** END SCROLLBAR **********/

/********** MOBILE PORTRAIT **********/
@media only screen and (min-width: 320px) and (max-width: 812px) {
	.header {
		margin: 15px 20px;
	}

	.body {
		padding: 20px;
		display: block;	
	}

	.body span {
		margin-bottom: 10px;
	}

	.text_left {
		width: 100%;
		font-size: 35px;
		line-height: 1.7em;
	}

	.text_right {
		margin: 25px 0;
		width: 100%;
		font-size: 17px;
	}

	.footer {
		bottom: 15px;
		padding: 0 20px;
		font-size: 16px;
	}

	.footer, .footer > span {
		display: block;
	}

	.footer > span:first-child {
		margin-bottom: 10px;
	}

	.menu_panel {
		padding: 0;
		top: 100px;
		height: calc(100% - 100px);
	}

	#menu_home, #menu_works, #menu_about {
		font-size: 35px;
		line-height: 2em;
	}

	#menu_email {
		font-size: 17px;
		bottom: 15px;
	}
}
/********** END MOBILE PORTRAIT **********/

/********** MOBILE LANDSCAPE **********/
@media only screen and (min-width: 320px) and (max-width: 812px) and (orientation:landscape) {
	.body {
		display: flex;
		padding: 10px 20px;
	}

	.text_right {
		margin: 20px 0;
	}

	.footer {
		display: flex;
	}

	.footer > span {
		display: flex;
	}

	.footer > span:first-child {
		margin-bottom: 0;
	}

	.menu_panel {
		top: 60px;
		height: calc(100% - 60px);
	}
}
/********** END MOBILE LANDSCAPE **********/

/********** TABLET PORTRAIT **********/
@media only screen and (min-width: 768px) and (max-width: 811px), (min-width: 813px) and (max-width: 1281px) {
	.body {
		padding: 60px 20px;
	}

	.text_left {
		font-size: 40px;
	}

	.text_right {
		font-size: 20px;
		width: 80%;
		margin: 65px 0;
	}

	.footer {
		display: flex;
	}

	.footer > span:first-child {
		margin-bottom: 0;
	}

	.menu_panel {
		padding-top: 50px;
	}

	#menu_home, #menu_works, #menu_about {
		font-size: 40px;
		line-height: 2.5em;
	}
}
/********** END TABLET PORTRAIT **********/

/********** TABLET LANDSCAPE **********/
@media only screen and (min-width: 813px) and (max-width: 1281px) and (orientation:landscape) {
	.header {
		margin: 15px 20px;
	}

	.body {
		padding: 120px 20px;
		height: calc(100% -120px);
	}

	.body span {
		margin-bottom: 50px;
	}

	.text_right {
		margin: 185px 100px;
		width: 500px;
	}

	.footer {
		bottom: 15px;
		padding: 0 20px;
		font-size: 16px;
	}

	.menu_panel {
		padding-top: 0;
		top: 120px;
		height: calc(100% - 120px);
	}

	#menu_email {
		font-size: 17px;
		bottom: 15px;
	}
}
/********** END TABLET LANDSCAPE **********/