/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
#root, #__next {
  isolation: isolate;
}

/* VARIABLES */
:root {
	--ppg-header: #001a35;
	--ovol-blue:  #1c6b8f;
	--the-grey:   #b2b6ba;
	--light-grey: #d8d8d8;
	--page-padding-large:  76%;
	--page-padding-medium: 90%;
	--page-padding-small:  100%;
}

/* SPECIFIC */
@font-face {
  font-family: 'GeneralSans';
  src: url('fonts/GeneralSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'GeneralSans';
  src: url('fonts/GeneralSans-Semibold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

body {
  font-family: 'GeneralSans', sans-serif;
}

body  { font-size: 18px; }
main  { width: 76%; margin: 0 auto; padding: 0 1rem; }
h1    { font-size: 4rem; }
h2    { font-size: 3rem; }
h3    { font-size: 1.75rem; }
h4    { font-size: 1.375rem; }
h5    { font-size: 1.125rem; }
h6    { font-size: 1rem; }

header {
	width: 100%;
	margin-bottom: 3rem;
	background-color: var(--ppg-header);
}
header h1 {
	display: flex;
	justify-content: center;
}

.intro {
	text-align: center;
	margin: 4rem 0;
	font-weight: normal;
}

.companies {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.divider {
  background-color: var(--the-grey);
}

.card img { margin-bottom: 1rem; max-height:90px; }
.card h3 { margin-bottom:0.6rem; }

hr {
	border: none;
	margin-bottom: 4rem;
	border-top: 1px solid var(--the-grey);
}

.global { 
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: auto auto;
	column-gap: 5rem;
	row-gap: 3rem;
	margin-bottom: 3rem;
}
.global .ovol {
	grid-column: 1; grid-row: 1;
	display: flex;
	justify-content: center;
}
.global .gfx {
	grid-column: 1; grid-row: 2;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.global .gfx .numbers {
	font-size: 2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
    gap: 1rem;
}
.global .gfx .numbers .number {
	font-size: 4rem;
	font-weight: normal;
	color: var(--ovol-blue);
}
.global .gfx .numbers .divider {
	height: 100%;
	width: 1px;
	background-color: var(--light-grey);
}
.global .text {
	grid-column: 2; grid-row: 2;
}
.global .text h3 {
	font-weight: normal;
	margin-bottom: 1rem;
}
.global .text p {
	margin-bottom: 2rem;
}

footer { 
	display: flex;
	justify-content: start;
	margin-top: 3rem;
	color: #FFF;
	background-color: var(--ovol-blue);
	padding: 2rem 1rem;
	font-size: 0.7rem;
}
footer p {
	width: var(--page-padding-large); 
	margin: 0 auto;
}

@media (max-width: 1024px) {

	body  { font-size: 17px; }
	main  { width: var(--page-padding-medium); }
	h1    { font-size: 3rem; }
	h2    { font-size: 2.4rem; }
	h3    { font-size: 1.5rem; }
	h4    { font-size: 1.25rem; }
	h5    { font-size: 1.1rem; }
	h6    { font-size: 1rem; }
	.companies { gap: 2rem; }
	footer p { width: var(--page-padding-medium); }
}

@media (max-width: 768px) {
	
	body  { font-size: 16px; }
	main  { width: var(--page-padding-small); }	
	h1    { font-size: 2rem; }
	h2    { font-size: 1.625rem; }
	h3    { font-size: 1.375rem; }
	h4    { font-size: 1.125rem; }
	h5    { font-size: 1rem; }
	h6    { font-size: 0.875rem; }
	hr { display:none; }
	.companies { grid-template-columns: 1fr; gap: 1rem; }
	.divider { display: none; }
	.card { margin-bottom: 1rem; border-bottom: solid 1px var(--the-grey); padding: 1rem; }
	.global { grid-template-columns: 1fr; }
	.global .gfx .numbers {
    	display: grid;
    	grid-template-columns: auto 1fr;
    	width: fit-content;
    	margin: 0 auto;
    }
	.global .ovol,
	.global .gfx, 
	.global .text {
		grid-column: unset;
		grid-row: unset;
	}
	footer p { width: var(--page-padding-small); }
}