/* General Demo Style */
@import url(//fonts.googleapis.com/css?family=Lato:300,400,700);

html {
    height: 100%;
    scroll-behavior: smooth;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


body {
    font-family: Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #333;
    overflow: scroll;
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    z-index: 5;
}

header {
    font-family: Arial, sans-serif;
    font-weight: 500;
    display: flex;
    background-color: rgb(88, 88, 88);
    z-index: 10;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.header-text {
    flex: 62%;
    /*font-size: 12vw;
    line-height: 12vw;*/
    margin: auto;
    /*max-height: 38vh;*/

    padding-block-start: 1em;
    padding-block-end: 1em;
    padding-left: 3em;
    z-index: 10;
}

.header-text>*>h1 {
    color: rgb(226, 226, 226);
    text-decoration: none;
    font-size: 4em;
    line-height: 1em;
}

.header-text>*>h2 {
    color: rgb(226, 226, 226);
    text-decoration: none;
    font-size: 2em;
    line-height: 2em;
}


.header-text>nav {
    color: rgb(161, 161, 161);
    font-size: 2em;
    line-height: 2em;
    vertical-align: text-bottom;
}

.header-text>nav>a {
    text-decoration: none;
    position: relative;
    color: rgb(161, 161, 161);
}

.header-text>nav>a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(161, 161, 161);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

.header-text>nav>a:hover::before {
    visibility: visible;
    transform: scaleX(0.97);
}


/*.header-text>nav>a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    border-bottom: 2px solid #3366FF;
    transition: 0.4s;
}

.header-text>nav>a:hover:after {
    width: 100%;
}*/

/* Main column */
.header-image {
    flex: 38%;
    min-width: 30vw;
    margin: 0;
    padding: 0;
    max-width: 100%;
    object-fit: cover;
    min-height: 100vh;
    z-index: 10;
}

.header-image>img {
    width: 100%;
    min-height: 100%;
    /*max-height: 42vh;*/
    object-fit: cover;
    z-index: 10;
}


.vita-text {
    font-size: 1.5em;
    text-align: justify;
    margin-bottom: 3em;
}

.vita-text>strong {
    font-weight: bold;
    text-align: justify;
}

.vita-text>table {
    margin-top: 1.5em;
    /*margin-left: 1em;*/
    text-align: left;
}

.container {
    width: 100%;
}

.main {
    margin: auto;
    padding-left: 3em;
    padding-right: 3em;
    padding-bottom: 2em;
    padding-top: 4em;
}

.welcome-text {
    font-size: 1.5em;
    background-color: #d9d9d9;
    padding: 1em;

}

.flow-image {
    max-width: 20vw;
    min-width: 10vw;
    width: 7em;
    float: right;
}

.flow-image>img {
    width: 100%;
    margin: 1em
}

footer {
    font-family: Arial, sans-serif;
    font-weight: 500;
    background-color: rgb(88, 88, 88);
    text-align: center;
    transform: translateY(20%);
    bottom: 0px;
    width: 100vw;
    height: 2em;
    position: fixed;
    display: table-cell;
    vertical-align: middle;
}

footer>p {
    margin: 0.2em;
}

.title {
    padding-top: 3em;
    font-size: 2em;
    font-weight: 500;
    margin: auto;
}

.description {
    font-size: 1em;
    font-weight: 200;
    margin: auto;
}

/*@media (max-width: 800px) {
    .container>header {
        flex-direction: column;
        flex: 100%;
    }
}*/


/*.container > header {
	width: 100%;
	height: fit-content;
	margin: 0;
	position: relative;
	padding: 0;
	float: left;
	max-width: fit-content;
	background-color: rgb(175, 175, 175);
	display: flex; 
	flex-direction: row-reverse;
	flex-wrap: wrap; 
	align-items: stretch;
}

@media (max-width: 800px) {
	.container > header {
	  flex-direction: column;
	  flex: 100%;
	}
  }

.container > header img {
	max-height: 80vh;
	max-width: 100%;
	height: inherit;
	float: right;
	position: relative;
}

.container > header a {
	font-size: 20vh;
	line-height: 20vh;
	margin: auto;
	width: 100%;
	font-weight: 700;
	color: #333;
	height: inherit;

	max-width: 50vw;
	height: 100%;
	width: 100%;
	align-content: center;
	float: left;
	position: relative;
}

.container > header a span {
	display: block;
	font-size: 20px;
	font-weight: 300;
}

.main {
	width: 90%;
	margin: auto;
}

.main > p {
	text-align: center;
	padding: 50px 20px;
}*/