:root{
    --nav_bg: #1D3557;
    --main_bg: #A8DADC;
    --link: #457B9D;
    --nav_text: #E63946;
	--main_text: #22223b;
}

@font-face {
    font-family: "Montserrat-VariableFont";
    font-style: normal;
    src: url(../fonts/Montserrat/Montserrat-VariableFont_wght.ttf) format('truetype');
    font-weight: 100 900;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.profile_image {
    height: auto;
    width: 10vw;
	border-radius: 50%;
}

body {
    background-color: var(--main_bg);
	color: var(--main_text);
  	font-family: 'Montserrat-VariableFont', sans-serif;
	display: grid;
	grid-template-columns: 1fr 2fr;
	max-height: 100vh;
	font-size: 0.9vw;
}

.intro{
	display: grid;
	grid-template-columns: 40% 60%;
}

.title {
	color: var(--nav_text);
}

.subtitle {
	font-weight: 300;
	color: var(--nav_text);
	margin-bottom: 0.7rem;
}

nav{
	background-color: var(--nav_bg);
	padding-left: 2rem;
	padding-right: 1rem;
	padding-top: 1rem;
	min-height: 100vh;
	overflow: hidden;
}

ul {
	list-style: none;
	padding: 5vh 0 0 0;
	margin: 0;
	font-size: 3.5rem;
}

li a {
	display: flex;
	align-items: center;
	margin-top: 3vh;
	margin-bottom: 3vh;
	font-size: 3vw;
	flex-direction: row;
}

li svg {
	width: 5vw;
	height: auto;
	color: var(--nav_text);
	padding-right: 2vw;
}

li{
	height: 10vh;
}

a {
	text-decoration: none;
	color: var(--link);
}

a:hover {
	text-decoration: underline;
	color: var(--link);
}

main {
	padding: 2rem;
	color: var(--main_text);
}

.home {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;}

.end{
	margin-top: 10vh;
	color: var(--nav_text);
}

.project{
	display: grid;
	grid-template-columns: 1fr 10fr;
	margin-top: 2vh;
	padding: 1%;
	border: var(--nav_bg) 1px solid;
	border-radius: 10px;	
}

.content a{
	text-decoration: none;
	display: block;
	margin-top: 8px;
	color: var(--link);
}

article a svg{
	width: 1vw;
	height: auto;
	color: var(--link);
	vertical-align: middle;
	display: inline-block;
}

.icons svg{
	width: 70%;
	height: auto;
	display: flex;
	flex-direction: column;
	margin: auto;
}

.icons{
	margin-top: auto;
	margin-bottom: auto;
}

.content{
	margin-top: auto;
	margin-bottom: auto;
}

.content h2{
	margin-bottom: 6px;
}

.dot{
	width: 2vw;
	height: auto;
	display: flex;
	fill: rgb(255, 0, 0);
	animation: blink 0.8s linear 0s infinite alternate;
}

@keyframes blink {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

.ongoing {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.uni{
	margin-top: 2vh;
	font-style: italic;
	opacity: 0.5;
	text-decoration: underline;
	color: var(--link);
}

.linkedin svg{
	width: 1.5vw;
	height: auto; 
	fill: var(--link);
}

.relation{
	margin-top: 0.5vh;
	font-style: italic;
}