@font-face {
  font-family: 'Mona Sans';
  src:
	url('Mona-Sans.woff2') format('woff2 supports variations'),
	url('Mona-Sans.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-stretch: 75% 125%;
}

@font-face {
  font-family: 'Hubot Sans';
  src:
	url('Hubot-Sans.woff2') format('woff2 supports variations'),
	url('Hubot-Sans.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-stretch: 75% 125%;
}

/*
:root {
	--main-bg-color: #fff;
	--main-color: #223F7A; 
	--highlight-color: #E36539;
	--faded-color: rgba(227, 101, 57, 0.1);
	--faded-font-color: rgba(105, 105, 105, 1);
	--font-sans-primary: "Mona Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
*/


:root {
	--main-bg-color: #F7F7FF;
	--main-color: #5B2EFF;                  /* electric violet */
	--highlight-color: #00C2FF;             /* bright cyan */
	--faded-color: rgba(224, 239, 253, 1);
	--faded-font-color: rgba(80, 80, 80, 1);
	--font-sans-primary: "Mona Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}



html {
  font-family: 'Mona Sans';
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  margin:0;
  padding:0;
}

body {
	background: var(--main-bg-color);
	margin:0 auto;
	color: #222222;
	
	height: 100%;
	display: flex;
	flex-direction: column; 
	/* max-width: 40rem; */
}

a {
	color: inherit;
	text-decoration: none;
}

nav > ul {
	list-style-type: none;
	padding: 0;
	
}

ul.objectives, ul.responsible {
	list-style-type: none;
	padding: 0;
}

h2 {
	font-size: 2.0rem;
	font-weight: 800;
}

h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--main-color);
	text-transform: uppercase;
}


.full-bleed {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0 1.5rem;
}

nav.languages li {
	font-variation-settings: "wdth" 75;
	display: inline;
	text-transform: uppercase;
	font-size: 1.3rem;
}

nav.languages li::after {
	content: "|";
}

nav.languages li:last-of-type::after {
	content: "";
}

nav.languages li:first-of-type::after {
	content: "";
}

.wrapper {
	max-width: 40rem;
	margin-inline: auto;
	padding: 0 1.5rem;
	flex: 1;
}

.top_bar {
	width: 100vw;
	background: var(--main-color);
}

.top_bar_content {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	margin-inline: auto;
	color: #fff;
	max-width: 40rem;
	
	padding: 0 1.5rem;
}

.main_logo {
	width: 100vw;
	
	display: flex;
	justify-content: center;
	align-items: center;
	
}

.main_logo_content {
	position: relative;
	display: inline-block;
	margin-inline: auto;
	max-width: 40rem;
	padding: 0 1.5rem;
}

.main_logo h1 > a {
	font-family: 'Hubot Sans';
	font-weight: 600;
	font-variation-settings: "wdth" 125;
	font-size: 3rem;

}

.main_logo h2 {
	font-family: 'Hubot Sans';
	font-weight: 200;
	font-variation-settings: "wdth" 125;
	font-size: 1.5rem;
}

time {
	font-weight: 300;
	font-variation-settings: "wdth" 75;
	text-transform: uppercase;
	color: var(--highlight-color);
}

p.article_intro {
	font-size: 1.2rem;
}

p.disclaimer {
	font-size: 0.7rem;
	line-height: 1rem;
}

p {
	font-size: 1rem;
	line-height: 1.5rem;
}

img {
	max-width: 100%;
	height: auto;
}


figcaption {
	color: var(--faded-font-color);
	font-variation-settings: "wdth" 75;
	text-align: center;
}

ul.responsible figure {
	margin:0;
}

ul.responsible img {
	border-bottom: 1rem solid var(--highlight-color);
	max-width: 25%;
	min-width: 50%;
	height: auto;
}

ul.responsible li {
	margin: 0 0 4rem 0;
}

ul.objectives li {
	background: var(--faded-color);
	padding: 1rem;
	margin: 0 0 2rem 0;
	box-shadow: .9375rem 1.25rem 1.875rem .625rem rgba(0,0,0,.07);
	border-left: 0.5rem solid var(--highlight-color);
}

.objective_type {
	font-size: 1rem;
	font-variation-settings: "wdth" 75;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--highlight-color);
}

blockquote {
	font-style: italic;
	font-family: 'Hubot Sans';
}

.article_header {
	background: var(--faded-color);
	padding: 2rem 1.5rem;
}

.article_header h2 {
	font-size: 2rem;
	font-weight: 700;
}

.publications ul {
	list-style-type: none;
	padding: 0;
}

.publication_item {
/* 	background: var(--faded-color); */
	margin: 2.5rem 0;
	padding: 1rem;
/*	box-shadow: .9375rem 1.25rem 1.875rem .625rem rgba(0,0,0,.07); */
/*	border-left: 0.5rem solid var(--highlight-color); */ 
	border: 1pt solid var(--highlight-color);
	position: relative;
}

.publication_item:last-of-type {
	margin-bottom: 3rem;
}

.publication_item h4 {
	padding: 0 1rem;
}

.publication_item > .link {
	padding: 0 1rem;
}

.publication_item > .date {
	padding: 0 1rem;
}

.publications--upcoming li {
	background: #fff;
	
	background-color: #ffffff;
	opacity: 1;
	background-size: 10px 10px;
	background-image: repeating-linear-gradient(45deg, #f2f2f2 0, #f2f2f2 1px, #ffffff 0, #ffffff 50%);
}

.type {
	font-size: 0.9rem;
	font-variation-settings: "wdth" 75;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--highlight-color);
	background: var(--main-bg-color);
	position: absolute;
	top: -.8rem;
	padding: 0 .8rem;
}

.journal {
	font-size: 0.8rem;
	margin: 0 0 1rem 0;
	padding: 0 1rem;
}

.link {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 2rem 0;
}

.link a {
	border-bottom: 2px solid var(--highlight-color);
}

.bio {
	font-size: 1rem;
}

.home_screen {
	min-height: 100%;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	background-color: #E0EFFD;
	opacity: 1;
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #E0EFFD 40px ), repeating-linear-gradient( #F7F7FF55, #F7F7FF );
}

.home_description {
	display: inline;
}

.home_subtitle {
	background: var(--faded-color);
	color: var(--main-color);
}

.home_subtitle_content {
	max-width: 40rem;
	margin-inline: auto;
	padding: 0 1.5rem;
}

.home_subtitle h3 {
	padding: 1rem 0;
}

section > h2 {
	font-weight: 700;
}

footer {
	width: 100vw;
	background: var(--main-color);
	margin: 1rem 0 0 0;
}

.footer_content {
	margin-inline: auto;
	color: #fff;
	max-width: 40rem;
	
	padding: 0 1.5rem;
}

/* Animation */ 

.word-fade {
  display: inline-block;
  overflow: hidden;
  font-size: 2.5rem;
  color: var(--main-color);
}
.word-fade .wf-word {
  opacity: 0;
  display: inline-block;
  transform: translateY(0.4em);
  animation: wordIn 800ms ease forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .word-fade .wf-word { animation: none; opacity: 1; transform: none; }
}

.main_logo_content::before,
.main_logo_content::after {
	  content: "";
	  position: absolute;
	  width: 20px;
	  height: 20px;
	  background: var(--highlight-color); /* your highlight yellow */
	}
}

/* Top-left square */
.main_logo_content::before {
	top: 20%;
	left: 10%;
}

/* Bottom-right square */
.main_logo_content::after {
  bottom: 0;
  right: 10%;
}

/* Links */ 

.menu {
	line-height: 2rem;
	font-size: 1.3rem;
}

.menu a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 210, 172, 0);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  transition:
	text-decoration-color 160ms ease,
	color 160ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--highlight-color);
  text-decoration-color: var(--highlight-color);
}

/* EXTERNAL LINKS */
/* Target external links */
a[href^="http"]:not([href*="nedipal.eu"]) {
  position: relative;
  text-decoration-thickness: 2px;
}

/* Arrow */
a[href^="http"]:not([href*="nedipal.eu"])::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.25em;
  font-size: 0.85em;
  color: var(--faded-font-color);
  transform: translate(0, 0);
  transition: transform 160ms ease;
}

/* Nudge on hover / focus */
a[href^="http"]:not([href*="nedipal.eu"]):hover::after,
a[href^="http"]:not([href*="nedipal.eu"]):focus-visible::after {
  transform: translate(2px, -2px);
}

.icon {
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.12em;
  margin-left: 0.35em;
  fill: currentColor;
  opacity: 0.85;
}

button {
	background: var(--highlight-color);
	color: var(--main-bg-color);
	border: 0;
	font-size: 1rem;
	font-weight: 800;
	padding: 0.5rem;
}