* {
	box-sizing: border-box;
}

body {
    background-color: #444;
	color: #fff;
	height: 100%;
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.5;
	background: url(img/blue2.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
}
	
h1 {
	margin: 0;
	font-weight: 400;
}
	
h2 {
	margin: 0;
	font-weight: 400;
}

h3 {
	margin: 0;
	font-weight: 400;
}

.lg-heading {
	font-size: 4rem;
}
.sm-heading {
	margin-bottom: 2rem;
	padding: 0.2rem 1rem;
	background-color: rgba(68, 68, 68, 0.5);
}

a {
	color: #fff;
	text-decoration: none;
}

header {
	position: fixed;
	z-index: 2;
	width: 100%;
}

.text-secondary {
	color: #cc0000;
}

main {
	padding: 4rem;
	min-height: calc(100vh-60px);
}

main .icons {
	margin-top: 1rem;
	
}

main .icons a {
	padding: 0.4rem;
}

main .icons a:hover {
	color: #4267B2;
	transition: all 0.5s ease-out;
}



main #home {
	overflow: hidden;
}

main h1 {
	margin-top: 20vh;
}

.menu-btn {
	position: absolute;
	z-index: 3;
	right: 35px;
	top: 35px;
	cursor: pointer;
	transition: all 0.5s ease-out;
}

.btn-line {
	width: 28px;
	height: 3px;
	margin: 0 0 5px 0;
	background: #fff;
	transition: all 0.5s ease-out;
}

.close {
	transform: rotate(180deg);
}

.close .btn-line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.close .btn-line:nth-child(2) {
	opacity: 0;
}

.close .btn-line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.menu {
	position: fixed;
	top: 0;
	width: 100%;
	/*opacity: 0.9;*/
	visibility: hidden;
}

.menu .show {
	visibility: visible;
}

.menu-branding {
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	justify-content: center;
	float: left;
	width: 50%;
	height: 100vh;
	overflow: hidden;
	background: black;
	opacity: 1;
}

.menu-nav {
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	justify-content: center;
	float: left;
	width: 50%;
	height: 100vh;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: black;
	opacity: 0.8;
	list-style: none;
}

.menu-branding .portrait {
	width: 250px;
	height: 250px;
	background: url(img/pig-dog.jpg);
	/*border-radius: 50%;
	border: none;*/
}

.menu-nav .nav-link {
	display: inline-block;
	position: relative;
	font-size: 30px;
	text-transform: uppercase;
	padding: 1rem 0;
	font-weight: 300;
	color: #fff;
	text-decoration: none;
}

.menu-nav .nav-link:hover {
	color: #cc0000;
	transition: all 0.5s ease-out;
}

.about-info {
	display: grid;
	grid-gap: 30px;
	grid-template-columns: 1fr 1fr;
}

.video {
	display: grid;
	grid-gap: 30px;
	grid-template-columns: 1fr 1fr;
}

.show-info {
	display: grid;
	grid-gap: 30px;
	grid-template-columns: 1fr 1fr;
}

.bio-image {
	
	margin: auto;
	border-radius: 50%;
	border: solid 3px #cccccc;
	max-width: 100%;
}

.job {
	background: rgba(68, 68, 68, 0.5);
	padding: 0.5rem;
	border-bottom: solid 5px #cc0000;
}

.bio {
	background: rgba(68, 68, 68, 0.5);
	padding: 0.5rem;
	border-bottom: solid 5px #cc0000;
}

.projects {
	display: grid;
	grid-gap: 0.7rem;
	grid-template-columns: 1fr 1fr 1fr;
	text-align: center;
}

.projects img {
	max-width: 100%;
	border: 3px #fff solid;
}

.projects img:hover {
	opacity: 0.8;
	border-color: #cc0000;
	transition: all 0.5s ease-out;
}

.boxes {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	margin-top: 1rem;
}

.boxes #div {
	font-size: 2rem;
	border: 3px white solid;
	padding: 1.5rem 2.5rem;
	margin-bottom: 3rem;
	transition: all 0.5s ease-out;
	background: rgba(68, 68, 68, 0.5); 
}

.boxes #div:hover {
	
	border: 3px #cc0000 solid;
	padding: 0.5rem 1.5rem;
	background: rgba(68, 68, 68, 1);
	
}

.btn-light {
	display: block;
	padding: 0.5rem 1rem;
	border: 0;
	margin-bottom: 0.3rem;
	color: black;
	background: white;
	
}

.btn-light:hover {
	background: #cc0000;
	color: white;
	transition: all 0.5s ease-out;
}

.btn-dark {
	display: block;
	padding: 0.5rem 1rem;
	border: 0;
	margin-bottom: 0.3rem;
	color: white;
	background: black;
	
}

.btn-dark:hover {
	background: #cc0000;
	color: white;
	transition: all 0.5s ease-out;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: none;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 240px;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: none;
    padding: none;
	font-size: 1rem;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

#main-footer {
	text-align: center;
	padding: 1rem;
	background: black;
	height: 60px;
}


/*
.bio {
	grid-area: bio;
}

.job-1 {
	grid-area: job1;
}

.job-2 {
	grid-area: job2;
}

.job-3 {
	grid-area: job3;
}


.about-info .bioimage .bio .bio {
	grid-template-columns: 1fr 1fr 1fr;
}

.about .job-1 .job-2 .job-3 {
	grid-template-columns: 1fr 1fr 1fr;
}
*/
@media screen and (max-width: 500px) {
    main {
		padding: 2rem;
	}
	
	main #home h1 {
		margin-top: 10vh;
	}
	
	.lg-heading {
		margin-top: 1rem;
		font-size: 5rem;
	}
	
	.projects {
		grid-template-columns: 1fr;
	}
	
	.show-info {
	
	grid-template-columns: 1fr;
}

.about-info {
	
	grid-template-columns: 1fr;
}

.boxes #div {
	font-size: 1rem;
	 
}

.video {
	
	grid-template-columns: 1fr;
	grid-gap: 60px;
}
	
	
}

@media screen and (min-width: 501px) and (max-width: 768px) {
    main {
		align-items: center;
		text-align: center;
	}
	
	main .lg-heading {
		line-height: 1;
		margin-bottom: 1rem;
	}

	ul .menu-nav {
		float: none;
		width: 100%;
		min-height: 0;
	}
	
	div .menu-branding {
		float: none;
		width: 100%;
		min-height: 0;
	}
	
	/*
	.menu-nav {
		height: 75vh;
		font-size: 24px;
		transform: translate3d(-100%, 0, 0)
	}
	
	.menu-branding {
		height: 25vh;
		transform: translate3d(100%, 0, 0)
	}
	
	.menu-branding .portriat {
		background: url(img/pig-dog.jpg);
		width: 150px;
		height: 150px;
	}
	*/
	
	.about-info {
		grid-template-columns: 1fr;
	}
	
	.projects {
		grid-template-columns: 1fr 1fr;
		
	}
	
	.show-info {
	
	grid-template-columns: 1fr;
}
	
	.video {
	
	grid-gap: 60px;
	grid-template-columns: 1fr;
}
	
}

@media screen and (min-width: 769px) and (max-width: 1170px) {
    .projects {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	.about-info {
	
	grid-template-columns: 1fr 1fr;
}
	
}

@media screen and (min-width: 1171px) {
    .projects {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	
	.about-info {
	
	grid-template-columns: 1fr 1fr;
}

.show-info {
	
	grid-template-columns: 1fr 1fr 1fr;
}
	
	
}