/* CSS Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 16px;
	font: inherit;
	vertical-align: baseline;
}
html {
	scroll-behavior: smooth
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	background-color: #BED3DC;
	line-height: 1.5;
	position: relative;
}
ol, ul {
	list-style: none;
}
blockquote {
	border-left: 4px solid #BED3DC;
	margin: 0 auto;
	max-width: 560px;
	padding-left: 24px;
}
.secondary-color:nth-child(odd) blockquote {
	border-color: #ffffff;
}
blockquote:before, q:before {
	color: #BED3DC;
	content: "\201C";
	font-size: 3rem;
	line-height: 0;
	position: relative;
  	top: 1rem;
}
.secondary-color:nth-child(odd) blockquote:before, .secondary-color:nth-child(odd) q:before {
	color: #ffffff;
}
@media only screen and (min-width: 660px) {
	blockquote:before {
		font-size: 4rem;
  	top: 1.5rem;
	}
}
blockquote:after, q:after {
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Fonts */

@font-face {
  font-family: "Chillax";
  src: url("fonts/Chillax-Semibold.woff2") format("woff2"),
       url("fonts/Chillax-Semibold.woff") format("woff");
}

p, ul, ol, figcaption {
	color: #2B3A42;
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
}

a {
	color: #2B3A42;
	cursor: pointer;
}

a:hover {
	text-decoration: none;
}

a:focus {
	border-radius: 2px;
	outline: 2px solid #2B3A42;
	outline-offset: 2px;
}

strong, .strong {
	font-weight: 600;
}

.logo {
	align-items: center;
	display: flex;
}
a.logo:focus {
	border-radius: 4px;
	outline: 2px solid #ffffff;
}

nav.main-nav a {
	color: #ffffff;
	font-family: 'Poppins', sans-serif;
	text-decoration: none;
}

nav.breadcrumbs a {
	font-weight: 600;
}

nav.breadcrumbs ol li {
	display: inline-block;
}

nav.breadcrumbs ol li.current {
    margin-left: 16px;
    padding-left: 16px;
	position: relative;
}

nav.breadcrumbs ol li.current:before {
	content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    width: 8px;
    height: 8px;
    margin: auto 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border: solid;
    border-width: 2px 2px 0 0;
}

.mega, .super {
	color: #2B3A42;
	font-family: 'Chillax', sans-serif;
	letter-spacing: -0.1rem;
}

.mega {
	font-size: 3rem;
	line-height: 1;
}
@media only screen and (min-width: 660px) {
	.mega {
		font-size: 4rem;
		line-height: 1.125;
	}
}

.super {
	font-size: 2rem;
	line-height: 1.1;
}
@media only screen and (min-width: 660px) {
	.super {
		font-size: 2.5rem;
		line-height: 1.09;
	}
}

.giant, .large {
	color: #2B3A42;
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	letter-spacing: -0.02rem;
}

.giant {
	font-size: 1.5rem;
	line-height: 1.25;
}

.large {
	font-size: 1.25rem;
}

.subheading {
	font-size: 1.25rem;
	font-weight: 600;
}

.tiny {
	font-size: 0.75rem;
	line-height: 1.6;
	text-align: center;
}

.text-dark-50 {
	color: #959CA0;
}

.text-dark-75 {
	color: #606B71;
}

.text-green {
	color: #00BB00;
}

.list {
	padding-left: 24px;
}

.list li {
	list-style: disc;
	padding-left: 8px;
}

.inverted-text {
	color: #ffffff;
}

/* Layout */

header {
	background-color: #2B3A42;
	width: 100%;
}

nav.main-nav {
	display: flex;
	margin-right: -8px;
}

nav.main-nav ul {
	align-items: center;
	display: flex;
	grid-gap: 16px;
}

nav.main-nav ul li a {
	background-color: initial;
	display: block;
	padding: 8px;
}
nav.main-nav ul li a.selected, nav ul li a:hover {
	border-bottom: 2px solid #ffffff;
}
nav.main-nav ul li a:focus {
	border-radius: 4px;
	outline: 2px solid #ffffff;
	outline-offset: -2px;
}

.header-width {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px;
	padding: 16px;
}
@media only screen and (min-width: 660px) {
	.header-width {
		padding: 16px 32px;
	}
}

.page-width {
	margin: 0 auto;
	max-width: 1200px;
	padding: 64px 16px;
}
@media only screen and (min-width: 660px) {
	.page-width {
		padding: 64px 32px;
	}
}

.page-width-small {
	margin: 0 auto;
	max-width: 752px;
}

.section-height {
	padding-top: 64px;
	padding-bottom: 64px;
}

.page-width-flex {
    display: block;
	margin: 0 auto;
	max-width: 1200px;
	padding: 64px 16px;
}
@media only screen and (min-width: 660px) {
  .page-width-flex {
	display: flex;
	flex-flow: row wrap;
	padding: 64px 32px;
  }
}

.half-container {
	display: flex;
	flex-direction: column;
	grid-gap: 32px;
}
@media only screen and (min-width: 660px) {
	.half-container {
		flex-direction: row;
	}
}

@media only screen and (min-width: 660px) {
	.half-reverse {
		flex-direction: row-reverse;
	}
}


.company-logos {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.company-logos .single-logo {
	display: block;
	flex-grow: 1;
	flex-shrink: 1;
	flex: 0 0 47%;
}
.company-logos .single-logo img {
	width: 100%;
}
@media only screen and (min-width: 660px) {
	.company-logos {
		flex-wrap: nowrap;
	}
	.company-logos .single-logo {
		flex: 1 1 100%;
	}
}

.half {
	flex: 1;
	width: 100%;
}
@media only screen and (min-width: 660px) {
  .half {
    width: 50%;
  }
}

.half-container .half {
	align-self: center;
}

.half-container .align-top {
	align-self: baseline;
}

.half-container .align-start {
	align-self: start;
}

.column {
	flex-direction: column;
}

figure.half img {
	object-fit: contain;
}

.column {
	display: flex;
	flex-flow: column;
	justify-content: center;
}

.align-center {
	align-items: center;
}

.push-bottom-quarter {
	margin-bottom: 8px;
}

.push-bottom-half {
	margin-bottom: 16px;
}

.push-bottom-part  {
	margin-bottom: 24px;
}

.push-bottom {
	margin-bottom: 32px;
}

.push-bottom-double {
	margin-bottom: 64px;
}

.padding-bottom-half {
	padding-bottom: 16px;
}

.padding-bottom-none {
	padding-bottom: 0;
}

.padding-top-half {
	padding-top: 16px;
}

.padding-top {
	padding-top: 32px;
}

.padding-top-none {
	padding-top: 0;
}

.list-with-discs {
	list-style: disc;
	padding-left: 32px;
}

@media only screen and (min-width: 660px) {
  .desktop-no-bottom-push {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 660px) {
	.home-hero {
		overflow: hidden;
		padding-top: 0px;
		padding-bottom: 0px;
	}
}

.hero {
	height: 280px;
	width: 100%;
}
@media only screen and (min-width: 660px) {
	.hero {
		height: auto;
	}
}

.hero img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
@media only screen and (min-width: 660px) {
	.hero img {
		min-height: 504px;
	}
}

@keyframes slideUp {
  	0% {
	  	opacity: 0;
	    transform: translateY(100%);
	  }
	100% {
	  	opacity: 1;
	    transform: translateY(0);
	}
}

@keyframes fadeIn {
	0% {
  	opacity: 0;
  }
  100% {
  	opacity: 1;
  }
}

.me {
	height: 100%;
	max-height: 400px;
	max-width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	.me {
		animation: 1.2s ease-out 0s 1 slideUp;
	}
}

.portfolio {
	background-color: #ffffff;
}

footer {
	background-color: #2B3A42;
}

footer p {
	color: #ffffff;
}

.deets {
	flex-direction: column;
}

.deets ul li:first-child {
	margin-bottom: 4px;
}

.deets ul li * {
	display: inline-block;
	vertical-align: middle;
}

.deets ul i {
	margin-right: 8px;
}

.deets ul span {
	text-decoration: underline;
}

.deets ul span:hover {
	text-decoration: none;
}

.hide-mobile {
	display: none;
}
@media only screen and (min-width: 660px) {
	.hide-mobile {
		display: inherit;
	}
}

/* Colours */

.secondary-color:nth-child(even) {
	background-color: #ffffff;
}

/* Components */

.button {
	background-color: #2B3A42;
	border-radius: 4px;
	color: #ffffff;
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	padding: 16px 24px;
	text-decoration: none;
}
@media only screen and (min-width: 660px) {
  .button {
    padding: 16px 32px;
  }
}

.button-secondary {
	background: none;
	color: #3B3A42;
	text-decoration: underline;
}

.button-secondary:hover {
	text-decoration: none;
}

.card {
	margin-bottom: 64px;
}
@media only screen and (min-width: 660px) {
  .card {
    margin-bottom: 128px;
  }
}

.card:last-child {
	margin-bottom: 0;
}

.card a {
	display: block;
	text-decoration: none;
	transition: transform .2s ease-out;
}

.card a:hover {
	transform: scale(1.02);
}

.card a:focus {
	border-radius: 8px;
	outline: 2px solid #2B3A42;
	outline-offset: 2px;
	transform: scale(1.02);
}

.card-img {
	height: 100%;
	line-height: 0;
	width: 100%;
}

.card-img img {
	border-radius: 8px;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.card-content {
	padding-top: 16px;
}
@media only screen and (min-width: 660px) {
  .card-content {
    padding-top: 32px;
  }
}

.mini-card {
	margin-bottom: 32px;
}
@media only screen and (min-width: 660px) {
	.mini-card {
	  margin-bottom: 0;
	}
  }

.mini-card-content {
	padding-top: 16px;
}

/*
figure {
	margin: 0 auto;
	max-width: 752px;
	padding: 0px 16px 8px 16px;
}
*/
figure img, figure video {
	border: 1px solid #BED3DC;
	border-radius: 8px;
	/*-webkit-box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.1); 
	box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.1);*/
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.back-to-top-wrapper {
  bottom: 0px;
  display: flex;
  flex: 16px;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  top: 120vh;
  width: 100%;
}

.back-to-top {
	background-color: #ffffff;
	border: 4px solid #2B3A42;
	border-radius: 16px;
	bottom: 40px;
	display: inline-block;
	height: 56px;
	left: calc(100vw - 88px);
    margin-right: 16px;
    margin-top: auto;
	opacity: 0.5;
	padding: 4px;
	pointer-events: all;
	position: fixed;
	position: sticky;
	width: 56px;
}

.back-to-top:focus {
	border-radius: 16px;
	-webkit-box-shadow: 0px 0px 0px 4px #2B3A42; 
box-shadow: 0px 0px 0px 4px #2B3A42;
	outline: 2px solid #ffffff;
	outline-offset: 0;
}

.flex-container {
	display: flex;
    max-width: 1426px;
    width: 100%;
    flex-flow: row-reverse;
}

.stat-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	align-content: stretch;
}

.stat-column {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
	align-self: center;
	order: 0;
	width: 100%;
}

.stat {
	background-color: #2B3A42;
	border-radius: 8px;
	color: #ffffff;
	padding: 16px;
	text-align: center;
}

.arrow {
	color: #2B3A42;
	display: flex;
	height: 32px;
  }
  .arrow:before {
	content: "";
	background: currentColor;
	width: 16px;
	clip-path: polygon(0 10px,calc(100% - 16px) 10px,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,calc(100% - 16px) calc(100% - 10px),0 calc(100% - 10px));
	animation: arrow-move 2s ease-out;
	animation-fill-mode: forwards;
  }
  @keyframes arrow-move {
	90%,100%{
		flex-grow: 1
	}
  }

code {
	background: #292929;
	border-radius: 8px;
	border: 1px solid #BED3DC;
}

code p {
	font-family: 'Courier New', monospace;;
	color: #ffffff;
	font-size: 1.25rem;
	margin: 16px;
}