:root {
  --color-text: #727586;
  --color-navigation: #d7dcf2;
  --color-link: #0066cc;
  
  --font-normal: 18px;
  
  --color-bg-body: #F4F5FF;
  --color-bg-navigation: #36344D;
  --color-bg-content-300: #CFF9F1;
  --color-bg-footer: #D5D6F7;
  
  --font-family: 'DM Sans', sans-serif;
}

body {
	margin: 0px;
	display: flex;
	flex-direction: column;
	align-items: center;
	/*justify-content: center; cannot be used because of absolute div elements*/
	/*width: 100vw;*/
	height: 100vh;
	gap: 16px 0;
	background-color: var(--color-bg-body);
}

footer {
	width:100%;
	margin-top:20px;
	background-color: var(--color-bg-footer);
	padding:16px;
	box-sizing: border-box;
}

footer div {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width:100%;
}

p {
	left: 0px;
	font-size: var(--font-normal);
	font-family: var(--font-family);
	font-weight: 400;
	letter-spacing: 0px;
	text-align: center;
	vertical-align: top;
	width: 100%;
	max-width: 550px;
	color: var(--color-text);
	margin: 0px;
}

.headerP {
	font-size: 36px;
	font-family: var(--font-family);
}

a {
	text-decoration: none;
	color: var(--color-link);
}

a:hover {
	cursor: pointer;
	color: #673DE6;
	text-decoration: underline;
}
h1 {
	font-family: var(--font-family);
	font-size: 36px;
	font-weight: 700;
	letter-spacing: 0px;
	text-align: center;
	margin: 8px;
}

h2 {
	font-family: var(--font-family);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0px;
	text-align: center;
	/*margin: 8px;*/
}

picture {
	overflow:hidden;
}
/* image inside picture element */
picture img {
	object-fit:cover;
	object-position: center;
	height:100%;
	width:100%
}

.readmoreDiv { /*similar to .content */
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	gap:16px 0;
}

.readmore {
	color: var(--color-link);
	cursor: pointer;
}

.readmore::after {
	content: "read more";
	font-style: italic;
}

.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap:16px 0;
	flex: auto; /* 1 1 auto */
	/*height: 100%;*/
}

/* wrapper for big menu items */
.content-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
	width: 100%;
	height: 100%;
	gap: 10px;
}

.content-wrapper img{
	max-width:90%;
	height:auto;
}

.content-300 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: var(--color-bg-content-300);
	max-width: 300px;
	height: 300px;
}

.ic-launch  {
	margin-left: 10.5px;
	width: 21px !important;
	height: 20px !important;
}
.link-container {
	margin-top: 32px;
	margin-bottom: 32px;
}
.link {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	font-family: var(--font-family);
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	color: #673DE6;
	margin-top: 8px;
	text-decoration: none;
}
.main-image {
	width: 100%;
	max-width: 650px;
	max-height: 406px;
	height: auto;
}
/* a navigation bar at top, 72px height */
.navigation {
	width: 100%;
	height: 72px;
	flex: 0 0 72px;
	display: flex;
	margin: 0;
	padding: 0;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	background-color: var(--color-bg-navigation);
	color: var(--color-navigation);
}

/* style for Share & Grow */
.navigation a {
	color: var(--color-navigation);
}

.navigation a:hover {
	/*cursor: pointer;*/
	color: var(--color-navigation);
	text-decoration: none;
}

.menu-container {
	position: absolute;
	max-width: 600px;
	right: 0px;
	top:72px;
	overflow: hidden;
	display: flex;
	justify-content: space-evenly;
	gap: 0 20px;
	z-index: 100;
	opacity: 0.85;
	transition: opacity 0.5s;
	flex-flow: row wrap;
	margin:0;
	background: #3e1901;
}

.menu-list-subcontainer {
max-width: 300px;
display: flex;
flex-flow: column wrap;
gap: 10px 5px;
overflow: hidden;
cursor: pointer;
padding:10px;
}

.menu-list-subcontainer a{
	color:white;
	font-family: var(--font-family);
}
.menu-list-subcontainer p{
	color: yellow;
	font-weight: 700;
	font-size: var(--font-normal);
}

.hidden {
	display:none;
}
/*iframes for worldbank charts */
iframe.wbank {
	width:600px;
	height:400px;
}

@media screen and (max-width: 580px) and (min-width: 0px) {
	h1, p, .link-container {
		width: 80%;
	}
	h1 {
	font-size: 24px;
	}
	h2 {
	font-size: 20px;
	}
	iframe.wbank {
		width:420px;
		height:280px;
	}
}
@media screen and (min-width: 650px) and (min-height: 0px) and (max-height: 750px) {
	.link-container {
		margin-top: 12px;
	}
}