/* variables */

:root {
	--coal: #222222;
	--dark-orange: #DC5D35;
	--light-orange: #FF9D28;
	--teal: #348E98;
	--dark-teal: #005A61;
	--ice-blue: #D4ECEE;
	/*
	bg turquoise light: #AEDFE4
	copy turquoise: #348E98
	*/
}

/* CSS Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
}

input,
textarea,
button,
select {
	font: inherit;
	/* this makes sure, no dark mode styling gets in the way: */
	color: inherit;
}

html {
	color-scheme: dark light;
	font-size: 100%;
}

@media (max-width: 1022px) {
	html {
		font-size: 112.5%; /* 16px to 18px */
	}
}

@media (min-width: 1023px) {
	html {
		font-size: 125%; /* 16px to 20px */
	}
}


body {
	min-height: 100vh;
}



/* Typography */

/* fira-sans-regular - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Fira Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../assets/fonts/fira-sans-v16-latin-regular.woff2') format('woff2'),
		/* Chrome 36+, Opera 23+, Firefox 39+ */
		url('../assets/fonts/fira-sans-v16-latin-regular.woff') format('woff');
	/* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* fira-sans-600 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Fira Sans';
	font-style: normal;
	font-weight: 600;
	src: url('../assets/fonts/fira-sans-v16-latin-600.woff2') format('woff2'),
		/* Chrome 36+, Opera 23+, Firefox 39+ */
		url('../assets/fonts/fira-sans-v16-latin-600.woff') format('woff');
	/* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* fira-sans-600italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Fira Sans';
	font-style: italic;
	font-weight: 600;
	src: url('../assets/fonts/fira-sans-v16-latin-600italic.woff2') format('woff2'),
		/* Chrome 36+, Opera 23+, Firefox 39+ */
		url('../assets/fonts/fira-sans-v16-latin-600italic.woff') format('woff');
	/* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* fira-sans-800 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Fira Sans';
	font-style: normal;
	font-weight: 800;
	src: url('../assets/fonts/fira-sans-v16-latin-800.woff2') format('woff2'),
		/* Chrome 36+, Opera 23+, Firefox 39+ */
		url('../assets/fonts/fira-sans-v16-latin-800.woff') format('woff');
	/* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* fira-sans-800italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Fira Sans';
	font-style: italic;
	font-weight: 800;
	src: url('../assets/fonts/fira-sans-v16-latin-800italic.woff2') format('woff2'),
		/* Chrome 36+, Opera 23+, Firefox 39+ */
		url('../assets/fonts/fira-sans-v16-latin-800italic.woff') format('woff');
	/* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* oswald-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: url('../assets/fonts/oswald-v49-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../assets/fonts/oswald-v49-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}




body {
	background-color: white;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Fira Sans', sans-serif;
	line-height: 1.5;
	font-weight: 400;
	color: var(--coal);
}

p {
	margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
	margin: 0 0 1.38rem;
	font-weight: 600;
	line-height: 1.25;
	/* margin: 3rem 0 1.38rem; */
}

h1 {
	font-size: 3.052rem;
}

h2 {
	font-size: 2.441rem;
}

h3 {
	font-size: 1.953rem;
}

h4 {
	font-size: 1.563rem;
}

small,
.text_small,
.ugic-font-08rem {
	font-size: 0.8rem;
}

a {
	color: var(--teal);
}

/* utilities */

.px-16 {
	padding-left: 16px;
	padding-right: 16px;
}

@media (min-width: 990px) {
	.px-16-over-990 {
		padding-left: 16px;
		padding-right: 16px;
	}	
}



.py-80 {
	padding-top: 80px;
	padding-bottom: 80px;
}


.text-l {
	font-size: 1.2rem;
}

/* old frontpage code */



/* atomic styles */

@media ( min-width: 720px ) {
	.ugic-grid-from-720 {
		display: grid;
	}

	.ugic-width-50-from-720 {
		width: 50%;
	}

	.ugic-flex-from-720 {
		display: flex;
	}
}

.ugic-clearfix:after {
	content: "";
	display: block;
	clear: both;
}

@media ( max-width: 919px ) {
	.ugic-padding-h-24px-to-919 {
		padding-left: 24px;
		padding-right: 24px;
	}
	.ugic-grid-col-4fr-to-919 {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media ( min-width: 920px ) {
	.ugic-padding-h-40px-from-920 {
		padding-left: 40px;
		padding-right: 40px;
	}
	.ugic-grid-col-6fr-from-920 {
		grid-template-columns: repeat(6, 1fr);
	}

}

.ugic-hidden {
	display: none;
}

@media ( max-width: 719px ) {
	.ugic-hidden-to-719 {
		display: none;
	}
}

@media ( min-width: 720px ) {
	.ugic-hidden-from-720 {
		display: none;
	}
}

.ugic-hidden-last-line:after {
	/*
		introduce empty last line for justification via
		https://stackoverflow.com/questions/6950513/justifying-the-last-line-of-text-using-css/6950718#6950718
	*/
	content: '';
	display: inline-block;
	width: 100%;
	height: 0;
	line-height: 0;
	font-size: 0;

}

/* Header */

.site-header {
	display: flex;
	justify-content: space-between;
	
	column-gap: 16px;
	align-items: center;
	padding: 8px 16px;
	position: relative;
	z-index: 101;
}
@media (min-width: 990px) {
	.site-header {
		column-gap: 40px;
		padding: 16px;
	}
}
.site-logo {
	flex: 0 0 auto;
	order: 1;
}
@media (min-width: 990px) {
	.site-logo {
		width: 172px;
	}
}

.site-logo img {
	/* flex: 1 0 auto; */
}

.trigger-menu {
	order: 4;
	border: none;
	background-color: white;
	background-image: url(/assets/img/icon-hamburger-menu.svg);
	background-repeat: no-repeat;
	background-position: center -8px;
	background-size: 40px 40px;
	width: 48px;
	height: 48px;
	font-size: .77778rem;
	display: flex;
	justify-content: flex-end;
	flex-flow: column;
	align-items: center;
	
}

@media (min-width: 990px) {
	.trigger-menu {
		display: none;
	}
}


.urgewald {
	width: 90px;
	flex-shrink: 0;
	order: 3;
	display: flex;
	flex-flow: column;
}

.urgewald .byline {
	font-size: 0.7777rem;
	color: var(--teal);
	line-height: 1.2;
	font-weight: 400;
}

nav.main-menu {
	flex: 1 0 auto;
	order: 2;
	padding: 16px;
	background-color: white;
	z-index: 80;
	/* display: none; */
}



nav.main-menu[data-visible="false"] {
	position: absolute;
	width: 100%;
	height: calc(100vh - 80px);
	z-index: 80;
	
	left: 0;
	transform: translateY(-100%);
	transition: transform 300ms ease-out;
}

nav.main-menu[data-visible="true"] {
	transform: translateY(0);
	position: absolute;
	width: 100%;
	height: calc(100vh - 80px);
	top: 78px;
	left: 0;
	z-index: 80;
}

@media (min-width: 990px) {
	nav.main-menu[data-visible="false"],
	nav.main-menu[data-visible="true"] {
		transform: translateY(0);
		display: block;
		position: inherit;
		top: auto;
		left: auto;
		width: auto;
		height: auto;
		padding: 0;
		background-color: transparent;
	}
}


nav.main-menu ul {
	display: grid;
	list-style: none;
	column-gap: 40px;
	align-content: center;
	justify-content: center;

	height: 100%;
	row-gap: 40px;
	
	list-style: none;

}
@media (min-width: 990px) {
	nav.main-menu ul {
		display: flex;
		flex-flow: row;		
		column-gap: 40px;
		height: auto;
	}
}

.main-menu .menu-item {}

.main-menu .menu-item .menu-item-link {
	text-decoration: none;
	color: var(--coal);
	font-weight: 600;
	font-size: 1.2rem;
	white-space: nowrap;
}

@media (min-width: 990px) {
	.main-menu .menu-item .menu-item-link {
		font-size: 1rem;
	}
}



/* Footer */

.site-footer {
	padding-top: 24px;
	padding-bottom: 24px;
}
.site-footer-content {
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	column-gap: 40px;
	row-gap: 40px;
}

@media (min-width: 990px) {
	.site-footer-content {
		flex-flow: row;
	}
}


/* Frontpage */

.cover h1 {
	font-size: 1.5rem;
	font-weight: 600;
	color: #FFECD3;
	/* glow for text */
	text-shadow: rgb(215, 91, 31) 0px 0px 16px;
}

.cover h1 .total-investments {
	font-family: 'Oswald';
	font-weight: 700;
	display: block;
	color: black;
	font-size: 10vw;
	/* glow for the number */
	/* text-shadow: rgba(240,131,36,0.32) 0px 0px 16px; */
	text-shadow: rgb(255, 157, 40) 0px 0px 20px;
}

@media (min-width: 990px) {
	.cover h1 {
		font-size: 2rem;
		font-weight: 600;
	}
	.cover h1 .total-investments {
		font-size: 6rem; /* 120px */
	}	
}

/* Teaser/Summaries */


.ugic-teaser  {
	margin-top: 80px;
	margin-bottom: 80px;
	display: grid;
}

.ugic-teaser-image {
	margin-bottom: 24px;
}

.ugic-teaser-title {
	/* order: 1; */
	
}

.ugic-teaser-text {
	/* order: 3; */
}



@media (min-width: 990px) {
	.ugic-teaser {
		margin-top: 120px;
		margin-bottom: 120px;
		flex-flow: row;
		grid-template-columns: 1fr 1fr;
		column-gap: 40px;
	}
	.ugic-teaser-image {
		grid-column: 2 / 3;
		grid-row: 1 / 3;
		align-self: center;
	}
	
	.ugic-teaser-title {
		grid-column: 1 / 2;
		grid-row: 1 / 2;
		
	}
	
	.ugic-teaser-text {
		grid-column: 1 / 2;
		grid-row: 2 / 3;
	}

	.ugic-teaser:nth-child(even) .ugic-teaser-text {
		grid-column: 2 / 3;
	}
	.ugic-teaser:nth-child(even) .ugic-teaser-title {
		grid-column: 2 / 3;
	}
	.ugic-teaser:nth-child(even) .ugic-teaser-image {
		grid-column: 1 / 2;
	}
	
}


#about {
	padding: 80px 16px 176px;
	color: var(--dark-teal);
	background-color: var(--ice-blue);
	background-image: 
		url(/assets/img/divider-top-coal-2.png),
		url(/assets/img/urgewald-leo-260.png),
		url(/assets/img/divider-bottom-white-2.png);

	background-repeat: 
		repeat-x,
		no-repeat,
		repeat-x;
	background-position: 
		center bottom,
		calc(50%) calc(100% - 8px),
		center top;
}

@media (min-width: 1176px) {
	#about {
		padding: 80px 16px 120px;
		background-image: 
			url(/assets/img/divider-top-coal-2.png),
			url(/assets/img/urgewald-leo-260.png),
			url(/assets/img/divider-bottom-white-2.png);
	
		background-repeat: 
			repeat-x,
			no-repeat,
			repeat-x;
		background-position: 
			center bottom,
			calc(50% - 460px) calc(100% - 8px),
			center top;
	}
}

#about h2 {
	color: var(--coal);
}

#about a, 
#about a:-webkit-any-link {
	color: var(--dark-teal);
}

#resources {
	color: #FFF;
	background-color: var(--coal);
	/* background-image: url(/assets/img/divider-bottom-ice.png);
	
	background-repeat: repeat-x;
	background-position: center top; */

	/* hacky clearfix */
	float: left;
	width: 100%;
}


#resources h2 {
	color: var(--ice-blue);
}

#resources a:-webkit-any-link {
	color: white;
}

/* Reports */

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.wmax-page {
	max-width: 1176px;
}

.wmax-800 {
	max-width: 800px;
}



.reports-section {
	padding: 80px 0;
	position: relative;
}
@media (min-width: 990px) {
	.reports-section {
		padding: 80px 0;
	}
}

.bg-coal {
	background: var(--coal);
}

.bg-darkorange {
	background: var(--dark-orange);
}

#intro {

}

.btn-primary {
	display: inline-block;
	padding: 16px 40px;
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: 24px;
	margin-bottom: 24px;
	
}
.btn-orange {
	background-color: var(--light-orange);
	color: var(--coal);
}

#biggest-two-investors {
}

#biggest-two-investors .section-text {
	max-width: 800px;
	padding: 0 16px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
}

@media (min-width: 800px) {
	#biggest-two-investors .section-text {
		margin-bottom: 80px;
	}
	
}
	
#biggest-two-investors .section-vis {
	max-width: 1176px;
	padding: 0 16px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: center;
}


#largest-investors {
	color: #FFF;
	background-image: url(/assets/img/divider-bottom-white-2.png);
	
	background-repeat: repeat-x;
	background-position: center top;
}



#investor-countries {
	background-image: url(/assets/img/divider-bottom-coal-2.png);
	
	background-repeat: repeat-x;
	background-position: center top;
}

#investor-countries h2 {
	margin-bottom: 40px;
}

#investor-countries h2,
#investor-countries	p {
	max-width: 800px;
	margin-left: auto;
	
}

#investor-countries .pie {
	margin-left: -16px;
	margin-bottom: 24px;
}

@media (min-width: 640px) {
	#investor-countries .pie {
		float: left;
		width: 574px;
		/* shape-outside: url(/assets/img/largest-investor-countries-flipped.png); */
		
		margin-bottom: 24px;
		/* shape-margin: 24px; */
		shape-outside: circle(45.69% at 330px 201px);
	}
}

#investor-countries .section-text {
}

#investor-countries .section-vis {}


#gcel-investments {
	color: #FFF;
	background-image: url(/assets/img/divider-bottom-orange.png);
	
	background-repeat: repeat-x;
	background-position: center top;
}
#gogel-investments {
	color: #FFF;
}

.gcel-inv-title, 
.gogel-inv-title {
	display: flex;
	flex-flow: column;
	margin-bottom: 40px;
}

@media (min-width: 990px) {
	.gcel-inv-title, 
	.gogel-inv-title {
		
	}
}

.gcel-inv-title-icon,
.gogel-inv-title-icon {
	flex: 1 0 auto;
	margin-bottom: 16px;
	width: 80px;
	height: 80px;
	background-color: white;
	background-repeat: no-repeat;
	background-position: center;
}

.gogel-inv-title-icon {
	background-image: url('/assets/img/icon-gogel-company.svg');
	background-size: 70%;
}

.gcel-inv-title-icon {
	background-image: url('/assets/img/icon-gcel-company.svg');						
	background-size: 90%;
}



.container {
  margin: 0 auto;
	width: 100%;
  padding: 0 24px;
}

@media (min-width: 990px) {
  .container {
    max-width: 1176px;
  }
}

.row {
	padding: 8px 16px 16px;
  display: flex;
  flex-wrap: wrap;
	justify-content: flex-start;
	align-items: baseline;
  gap: 8px;
	border-top: solid 2px #444;
}

@media (min-width: 990px) {
	.row {
		/* border-top: none; */
		padding: 8px 0;
	}
}

/* label */
.l {
  flex-basis: 100%;
}
@media (min-width: 990px) {
  .l {
    flex-basis: 320px;
    text-align: right;
  }
}

/* bars */
.b {
  background-color: var(--dark-orange);
  --w-max: 268.886; /* biggest value */
  --num-width: 64px;
  width: calc( ( 100% * var(--w) / var(--w-max) ) );
  /* width: calc( ( (100% - var(--num-width)) * var(--w) / var(--w-max) ) ); */
  height: 16px;
}
@media (min-width: 990px) {
  .b {
    /* --faktor: 0.75; */
    width: calc( 620px * var(--w) / var(--w-max) );
  }
}

.n {
  white-space: nowrap;
}
