/*
Theme Name: LabCrystal
Author: Mark Hunt
Author URI: www.labhunt.co.uk
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Nunito|Nanum+Gothic|Quicksand|Orbitron|Raleway|Roboto|Open+Sans');

/* 	font-family: 'Comfortaa', cursive;
	font-family: 'Cabin', sans-serif;  */

body {
	font-family: 'Orbitron', sans-serif;
	font-size: 18px;
	color: #000;
	background-color: white;
	overflow-y: scroll;
    overflow-x: hidden;
    height: 100vh;
}

ul {
    margin: 0px;
    list-style-type: none;
}

a {
	text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container-fluid {
	padding-right: 0;
	padding-left: 0;
}

/* Home pgae */

.main-wrapper {
	width: calc(100vw - 50px);
	height: 100vh;
}

.main-title {
	position: sticky;
	top: 1rem;
	display: block;
	font-family: 'Orbitron', sans-serif;
	font-size: 88px;
	font-weight: bold;
	margin: 1rem 0rem 0rem 2rem;
}

.main-subtitle {
	position: relative;
	font-family: 'Open Sans', sans-serif;
	font-size: 88px;
	font-weight: normal;
	line-height: 6rem;
	margin-top: calc(100vh - 450px);
	margin-left: 2rem;
	width: 90%;
	transition: width 1s, bottom 1s;
	-webkit-transition: width 1s, bottom 1s; /* Safari */	
}

.subtitle-active {
	width: 40%;
}

.main-text {
	font-size: 44px;
}

.main-menu {
	position: absolute;
	top: 0;
	left: calc(100% - 50px);
	width: 50vw;
	color: black;
	transition: transform 1s;
	-webkit-transition: transform 1s; /* Safari */	 
}

.main-downarrow {
	font-size: 44px;
	color: darkgray;
	text-align: center;
}

.menu-plus {
	height: 35px;
	width: 35px;
	-webkit-transition: transform 500; /* Safari */
 	transition: transform 500; 
 	cursor: pointer;
}

.menu-plus:hover {
	transform: rotate(45deg);
}

.menu-plus-circle {
    position: relative;
    height: 4.5rem;
    width: 4.5rem;
    right: 1.75rem;
    top: 1rem;
    border-radius: 5rem;
    background: #000;
    z-index: 2000;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.7);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: all 750ms cubic-bezier(.23,1,.32,1) 0s
}

.menu-active {
	transform: translate(-25vw);
}

.menu-item a {
	color: black;
}

.menu-item a:hover {
	text-decoration: none;
}

.menu-wrapper {
	margin-left: 0.5rem;
}

.menu-text-lg {
	font-size: 44px;
	font-weight: normal;
}

.menu-text-sm,
.main-text-sm {
	font-family: 'Open Sans', sans-serif;
	font-size: 22px;
	font-weight: normal;
}

.menu-text-sm:hover,
.main-text-sm:hover,
.menu-text-lg {
	cursor: pointer;
}

.menu-text {
	display: inline-block;
}

.menu-text-bottom {
	display: inline-block;
	vertical-align: bottom;
}

.menu-braces1,
.menu-braces2,
.menu-braces3,
.menu-braces4,
.topmenu-braces1,
.topmenu-braces2 {
	display: none;
}

.flex-wrapper {
	display: flex;
}

.flex-col {
	flex-direction: column;
}

.flex-row {
	flex-direction: row;
}

.bounce {
  -moz-animation: bounce 3s infinite;
  -webkit-animation: bounce 3s infinite;
  animation: bounce 3s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.work-list {
	position: relative;
	margin-left: 2rem;
	margin-right: 2rem;
}

.top-border {
	border-top: 1px solid #1e1e1e;
}

.reveal-menu1,
.reveal-menu2,
.reveal-menu3,
.reveal-menu4,
.reveal-topmenu1,
.reveal-topmenu2 {
	display: none;
}

.pic-menu1 {
	float: left;
	margin: 10px 40px 40px 10px;
	max-width: 70%;
  	height: auto;
}

.pic-menu2 {
	float: right;
	margin: 10px 10px 40px 40px;
	max-width: 40%;
  	height: auto;
}

.pic-menu3 {
	float: left;
	margin: 10px 40px 40px 10px;
	max-width: 150%;
  	height: auto;
}

.pic-menu4 {
	float: right;
	margin: 10px 10px 40px 40px;
	max-width: 50%;
  	height: auto;
	border: 1px solid black;
}

.menu1,
.menu2,
.menu3,
.menu4 {
	margin: 20px 10px 20px 10px;
	text-align: top;
}

.new-line {
	display: block;
	padding-top: 10px;
}

.bottom-fill {
	margin-bottom: 40px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.topmenu-width {
	width: 25vw;
	padding-right: 20px;
}

@media (max-width: 768px) {
/* CSS for smaller devices - phones etc */

	.main-title {
		font-size: 44px;
		margin-left: 1rem;
	}

	.main-subtitle {
		font-size: 34px;
		line-height: 3rem;
		margin-top: calc(100vh - 300px);
		margin-left: 1rem;
	}

	.main-downarrow {
		font-size: 22px;
	}

	.main-text {
		font-size: 22px;
	}

	.menu-plus {
		height: 25px;
		width: 25px;
	}

	.menu-text-lg {
		font-size: 22px;
	}

	.menu-text-sm,
	.main-text-sm {
		font-size: 18px;
	}

	.menu-item {
		font-size: 22px;
		margin-left: 20px;
		padding-left: 5px;
	}

	.menu-wrapper {
		margin-left: 1.5rem;
	}

	.work-list {
		margin-left: 1rem;
		margin-right: 1rem;
	}

	.pic-menu1,
	.pic-menu3, 
	.pic-menu2,
	.pic-menu4 {
		display: block;
		float: none;
		margin: 10px 0px 10px 0px;
	}

	.pic-menu3 {
		max-width: 50%;
	}

	.menu-plus-circle {
	    height: 3rem;
	    width: 3rem;
	    right: 1rem;
	}
}