:root {

    --background: #292f36;
    --background-secondary: #353b43;
    --background-element: #242930;
    --header: #1d2024;--color: #afbac4;
    --highlight: #0A6FC2;

}
* {

	margin: 0;
	padding: 0;

}

body {

	background-color: #121212;
	background-color: #DCDCDC;
	background-color: var(--background);color: var(--color);font-family: sans-serif;
	font-size: 20px;
	line-height: 1.3;

}

html {
    
     scroll-behavior: smooth;
    
}

p {

	margin: 30px 0;

}

ul {

	margin: 30px 0 30px 30px;}

ul ul {

    
	margin: 0px 0 0px 30px;}

li {

	margin: 5px 0;

}

a {

	color: #fff;
	text-decoration: none;
    transition: all .2s ease-in 0s;
    
}

a:hover {

	text-decoration: underline;

}

.anchor {

      scroll-margin-top: 90px;

}h1, h2, h3, h4, h5, h6 {
    
    font-family: quattrocento sans,sans-serif;
    
}

h1 {

	padding-top: 50px;
	/*font-size: 85px;*/
	font-size: 4.5rem;
	text-align: center;
	margin-bottom: 20px;
	color: #fff;}

h2 {

	margin-top: 20px;
	text-align: center;
	font-size: 50px;
	font-size: 3rem;
	font-weight: 400;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;}

h2 i{
    
    margin-right: 5px;
    font-size: 2.5rem;
    color: rgba(255,255,255,.5);
    
}

h2 svg{
    
    max-width: 45px;
    max-height: 45px;
    margin-right: 10px;
    fill: rgba(255,255,255,.5);
    
}

h3 {

	font-size: 30px;
	font-size: 2rem;
	margin-bottom: 20px;}

h4 {

	font-size: 23px;
	margin-bottom: 20px;
	margin-top: 20px;
	font-weight: bold;

}

input[type=text], textarea {
	
	color: #444;
	font: inherit;
	margin: 0;
	outline: none;
    transition: all .2s ease-in 0s;
    border: 1px solid rgba(255,255,255,0);

}

input[type=text]:focus, textarea:focus {
	
    border: 1px solid rgba(255,255,255,.75);

}

.underline {
    
    max-width: 400px;
    margin: 10px auto 40px auto;
    height: 1px;border-top: 2px solid rgba(236,239,241,15%);
    
}

.more {
    
    margin: 20px 0 0 0;
    display: flex;
    justify-content: center;
    
}

.attention {
    
    color: #fff;
    font-weight: bold;
    
}

.more a{
	padding: 10px 20px;color: #ffffff;
	background: var(--highlight);}

.no-bg {
    
    background: none!important;
    border: #888 1px solid;
	border: rgba(255,255,255,.25)  1px solid;
    
}

.more a:hover{
    
    text-decoration: none;
	background: var(--highlight)!important;
	border-color: var(--highlight)!important;

}

.about-page {max-width: 600px;
    margin: 0 auto;
    
}

.about-page h2, .about-page h3, .about-page h4, .about-page h5 {
    
    display: block;
    text-align: left;
    color: #eee;
    
}

.about-page h2 {
    
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: left!important;
    
}

.about-page h3 {
    
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left!important;
    
}

#skills_list {
    
    margin: 0 auto;
    list-style: none;
    display: inline;
    text-align: center;
    
}

.skills_box {
    
    display: table;
    margin: 40px auto;
    color: #fff;
    cursor: default;
    font-size: 1.2rem;
    
}

.skill_row {

    display: flex;
    flex-direction: row;}

.skill_row .left_col, .skill_row .right_col  {
 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
}

.skill_row .right_col {
    
    flex-grow: 1;
    
}

.skill_type {
    
    background: var(--background-element);
    color: #ccc;
    padding: 5px 10px;
    max-width: 160px;
    min-width: 75px;
    margin-bottom: 5px;
    
    
}

.skill_name {
    
    padding: 6px 10px;margin-left: 5px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in 0s;}

.skill_name i {
    
    margin-right: 7px;
    font-size: 1.75rem;
    
}

.skill_name svg {
    
    width: 30px;
    height: 30px;
    margin-right: 7px;
    fill: #fff;
    
    transition: all .2s ease-in 0s;
    
}

.skill_name:hover {
    
    background: #fff;
    color: var(--background);
    
}

.skill_name:hover > svg {
    
    fill: var(--background)!important;
    
}

.green-bg {
    
    background: #048B59;}

.blue-bg {
    
    background: #0C85E9;
    
}

.orange-bg {
    
    background: #E06900;
    
}

.yellow-bg {
    
    background: #805FD3;
    
}

.red-bg {
    
    background: #E00B00;
    
}


.top_bar {

	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	height: 70px;background: var(--header);
	width: 100%;
	color: #fff;
	border-bottom: #888 1px solid;
	border-bottom: rgba(255,255,255,.25)  1px solid;



}

.top_container {

	position: relative;
    height: 100%;
	min-width: 250px;
	max-width: 1000px;
	margin: 0 auto;display: flex;
	align-items: center;
	justify-content: space-between;
	


}

.top_container a {

	color: rgba(255,255,255,.5);

}

#nav_menu {margin: 0;background: var(--header);text-align: center;
	list-style: none;
	font-size: 1rem;
	color: #ccc;

}

#nav_menu li {

	margin: 0;
	float: left;

}

#nav_menu a {display: block;
	padding: 10px 15px;
	text-decoration: none;
	
}

#nav_menu a:hover {background: var(--highlight);color: rgba(255,255,255,1);
	
}

.menu_item .bi-list {
    
    width: 2rem;
    height: 2rem;
    
}

.menu_icon {

	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	height: 100%;
	padding: 0 20px;
	display: none;}

.menu_icon:hover {

  background-color: #ddd;
  color: black;

}

.connect {

	margin-top: 12px;
	width: 500px;
	float: left;

}

.logo {width: 125px;
	height: 42px;
	margin-left: 20px;
    
}

#connect_text {

	float: left;
	margin-right: 5px;

}

#social_buttons_holder
{
    
    height: 50px;
    
}

#social_buttons
{
	margin: 0 auto;
	width: 300px;
	margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}.rounded {
    
    border-radius: 20px;
    
}

.logo-button
{font-size: 12px;
}

.logo-button img
{
	width: 25px;
	height: 25px;
}

.logo-button a {
	padding: 10px 5px;
  transition: filter .2s ease-in-out;
  -webkit-filter: grayscale(100%);filter: grayscale(100%);}

.logo-button a:hover {
  -webkit-filter: grayscale(0%);filter: grayscale(0%);}

.header {
	
	display:flex;
	justify-content: center;
	align-items: center;
	height: 400px;}

.header-wrap {
	
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;background-size: cover;height: 400px;

}

#header-bg {
    
    position: absolute;
    top: 0;
    left: 0;
    background: #888;
    opacity: 0.5;
    width: 100%;
    height: 400px;
    
}

#header-content {
    
    position:relative;
    z-index: 10;
    
}

.topnav {
	
	background-color: #333;
	overflow: hidden;align-content: space-around;;
	z-index: 1;width: 600px;

	position: fixed;
	top: 0;
	left:0;
	width: 100%;

}

.nav_container {

	position: fixed;
	top: 0;
	left:0;
	width: 100%;
	background-color: #CCC;
	align-items: center;
	margin: 0 auto;

}

.topnav .icon {

	display: none;

}

.topnav a {

	display: inline-block;
	float: left;font-size: 18px;
	font-weight: normal;color: white;
	text-align: center;padding: 13px 9px;
	text-decoration: none;

}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

#menu li a:hover {
	background-color: #111;
}

.intro-flex{

    display: flex;
    justify-content: center;
    min-width: 250px;
    max-width: 600px;
    flex-wrap: wrap;
    margin: 0 auto;
    
}

.intro-flex p {
    
    margin-top: 0;
    min-width: 310px;
    max-width: 350px;
    padding-right: 40px;
    
}

#teaching-content {
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 20px auto;
    
}

#teaching-content p {
    
    max-width: 400px;
    
}

#teaching_logos{
    
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin: 0 auto;
    
}

#teaching_logos img:first-child{
    
    margin-bottom: 20px;
    
}.tech_logos {

	display: flex;
	flex-wrap: wrap;
	flex-basis: 50%;
	margin: 40px 0;padding: 10px;
	justify-content: space-between;
	background: #fdfdfd;
	border-radius: 5px;
	border: #ccc 1px solid;
	font-size: 12px;

}

.tech_logos img {

	margin: 12px 12px;
	width: 64px;
	height: 64px;

}

.container {

	min-width: 250px;margin: 0 auto;
	padding: 0 10px;

}

.section {padding: 80px 0;

}

.light {

	background: var(--background-secondary);}

.dark {

	background: var(--background);}

.articles_area {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    
}

.article_preview {
    
    margin: 20px;
    flex-grow: 1;
    max-width: 350px;padding: 40px;background: var(--background);
    
}

.article_preview h3 {

    font-size: 1.5rem;

}

.article_preview p {

    font-size: 1rem;

}

.article_preview img {

    /*max-width: 100%;*/
    height: auto;
    /*width: 430px;
    height: 286px;*/
    margin: -40px -40px 20px -40px;
    width: calc(100% + 80px);

}

.research_area {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    
}

.research_preview {
    
    margin: 20px;
    flex-grow: 1;
    max-width: 350px;padding: 40px;background: var(--background);
    
}

.research_preview h3 {

    font-size: 1.5rem;

}

.research_preview p {

    font-size: 1rem;

}

.awards_area {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    
}

.award {
    
    margin: 20px;
    flex-grow: 1;
    max-width: 300px;padding: 40px;background: var(--background-secondary);
    text-align: center;
    transition: all .2s ease-in 0s;
    cursor: default;
    
    
}

.award:hover {
    
    background: var(--highlight);
    color: #fff;
    
}

.award svg, .award i {
    
    width: 70px;
    height: 70px;
    margin: auto;
    
}

.award-frame {
    
    width: 100px;
    height: 100px;
    padding: 20px;
    border-radius: 100%;
	border: #888 1px solid;
	border: rgba(255,255,255,.25)  1px solid;
    display: flex;
    align-content:center;
    margin: auto;
    margin-bottom: 40px;
    
}

.connect_area {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    
}

.connect_area a  {
    
    margin: 20px;max-width: 350px;padding: 20px;background: var(--background);
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color);
    
}

.connect_area a:hover  {background: var(--highlight);
    text-decoration: none;
    color: #fff;}

.connect_area a img {
    
    margin-right: 20px;
    
}

.portfolio {

	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	justify-content: center;
	position: relative;

}

.portfolio_project {

	max-width: 350px;background: var(--background-secondary);
	margin: 25px;
	position: relative;
    display: flex;
    flex-grow:1;
    flex-shrink:1;
    padding: 40px;
    flex-direction: column;
    justify-content: space-between;

}


.portfolio_project h3 {

	text-align: center;
	font-size: 2.5rem;
	color: var(--color);
	margin-bottom: 10px;
	margin-top: 20px;

	vertical-align: middle;}

.portfolio_project p {
	

	 padding: 0 20px;

	 margin: 0;
	 color: var(--color);text-align: center;
	font-size: 16px;}

.portfolio-image {

    width: calc(100% + 80px);
    height: 200px;
    overflow: hidden;
    margin: -40px -40px 20px -40px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.portfolio_project img {}

.portfolio_project a:hover {

	text-decoration: none;


}

.footer {

	background: #444;
	color: #fff;

}

.contact_form {
    
    max-width: 600px;
    margin: 0 auto;
    
}

.contact_form input,
.contact_form textarea {

	z-index: 1;
	position: relative;
	padding-right: 0;
	padding-left: 0;width: calc(100% - 20px);
	background: var(--background-secondary);
	resize: none;
	color: #fff;
	padding: 10px;

}

.contact_form label {
	display: block;
	z-index: 0;
	position: relative;
	top: 2em;
	margin: 0;
	font-size: .85em;
	line-height: 1.764705882em;
	vertical-align: middle;
	vertical-align: baseline;
	opacity: 0;
	-webkit-transition: top .3s ease,opacity .3s ease;
	-moz-transition: top .3s ease,opacity .3s ease;
	-ms-transition: top .3s ease,opacity .3s ease;
	transition: top .3s ease,opacity .3s ease;

}

.contact_form button {

	padding: 18px 27px;
	font-size: 19px;
	line-height: 1.33;color: #fff;
	background-color: var(--highlight);border: none;
	-webkit-appearance: button;
	margin-top: 20px;
	box-shadow: none;


}

#close {background: var(--header);
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    
}

#close a {

	color: #fff;

}

@media screen and (max-width: 850px) {

    .menu_icon {

	    display: flex;
    }
    
    #nav_menu {
    
    	position: absolute;
    	z-index: 1;
    	margin: 0;
    	width: 100%;
    	top: 70px;
    	right: 0;
    	display: none;
    	background: var(--header);text-align: center;
    	list-style: none;
    	font-size: 1.5rem;
    
    }
    
    #nav_menu li {

	    margin: 0;
	    float: none;

    }
    
}

@media screen and (max-width: 600px) {

    html {
        
         scroll-behavior: unset;
        
    }
    
	h1 {
	    
	    /*font-size: 55px;*/
		font-size: 2.2rem;
    	margin-bottom: 5px;

	}

	h2 {

		font-size: 40px;
		font-size: 2.2rem;

	}

	#connect_text {

		display: none;

	}

	.header {

		height: 200px;

	}

    .intro-flex p {

        padding: 0;
        text-align: center;
        
    }
    

    .skills_box {
        
        font-size: 1rem;
        
    }

    .tech_logos img {
    
    	margin: 8px 8px;
    	width: 45px;
    	height: 45px;
    
    }

	.section {

		padding: 60px 0;

	}
	
    .light {}
	
    .dark {}
    
    .portfolio_project, .award, .article_preview, .research_preview {
        
        width: calc(100% - 20px);
        margin: 0 0 40px 0;
        padding: 20px;
        padding-bottom: 40px;
        max-width: 100%;
        
    }
    
    .portfolio_project .portfolio-image, .award img, .article_preview img, .research_preview img {
        
        margin: -20px -20px 20px -20px;
        width: calc(100% + 40px);
        
    }

    .article_preview p:nth-of-type(n+2) {
    
        display: none;
        
    }
    
    .research_preview p:nth-of-type(n+3) {
        
        display: none;
        
    }
}


