:root {
  --clr-primary-400: 263 55% 52%;
  --clr-secondary-400: 217 19% 35%;
  --clr-secondary-500: 219 29% 14%;
  --clr-neutral-100: 0 0% 100%;
  --clr-neutral-200: 210 46% 95%;
  --clr-neutral-300: 0 0% 81%;

  --ff-primary: "Barlow Semi Condensed", sans-serif;

  --fw-400: 500;
  --fw-700: 600;

  --fs-300: 0.6875rem;
  --fs-400: 0.8125rem;
  --fs-500: 1.25rem;
  
  --clr-primary: #EAE7DC;
  --clr-secondary: #D8C3A5;
  --clr-tertiary: #8E8D8A;
  --clr-quaternary: #E98074;
  --clr-quinary: #E85A4F;
}

/* Set core body defaults */
body {
  /*min-height: 100vh;*/
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  min-height: 100vh;
  
  text-align: center;
  
  font-family: var(--ff-primary);
  font-weight: var(--fw-400);

  background-color: var(--clr-primary);
}

a.flipcard-link {
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */ 
}

a.projects-list-link {
	color: inherit;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-weight: var(--fw-700);
}

.div-squared {
	aspect-ratio: 1 / 1;
}

.div-width-third {
	width: 50%;
	margin: auto;
}

.div-timeline {
	position: static;
	
	display: flex;
	flex-flow: column wrap;
}

.div-timeline-item {
	/*border-style: solid;
	border-width: 1px;
	border-color: black;*/
	
	margin: 0 5% 5% 0;
	padding: 5px;
	
	background-color: var(--clr-secondary);
	border-radius: 20px;
}

.projects-list {
	text-align: left;
}

/* Flaired edges, by Tomas Theunissen */

hr.style-seven {
    overflow: visible; /* For IE */
    height: 30px;
    border-style: solid;
    border-color: black;
    border-width: 1px 0 0 0;
    border-radius: 20px;
}

hr.style-seven:before { /* Not really supposed to work, but does */
    display: block;
    content: "";
    height: 30px;
    margin-top: -31px;
    border-style: solid;
    border-color: black;
    border-width: 0 0 1px 0;
    border-radius: 20px;
}

h2 {
	margin: 1em 0 0.5em 0;
	font-weight: normal;
	position: relative;
	/*text-shadow: 0 -1px rgba(0,0,0,0.6);*/
	line-height: 20px;
	background: var(--clr-quinary);
	padding: 5px 15px;
	color: var(--clr-primary);
	border-radius: 0 0 0 0;
	box-shadow: inset 0 0 5px rgba(53,86,129, 0.5);
	font-family: 'Muli', sans-serif;
}

h3 {
	font-size: 1em;
}

.div-header {
	display: flex;
	flex-flow: row nowrap;
	
	max-height: 8em;
	
	justify-content: space-between;
	align-items: center;
	
	background-color: var(--clr-secondary);
	color: var(--clr-quinary);
	/*text-shadow: 0 2px rgba(0,0,0.6,0.6);*/
}

.div-header-item {
	margin: 2.5% 10px;
	padding: 5px;
}

.div-header-item-main {
	flex-grow: 2;
	display: flex;
	justify-content: left;
	text-align: left;
}

.div-header-item-links {
	flex-grow: 1;
	display: flex;
	justify-content: right;
	align-items: center;
}

.link-icon-linkedin {
	height: 50px;
	width: auto;
}

.div-footer {
	background-color: var(--clr-tertiary);
	color: var(--clr-primary);
}