@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;600&display=swap');

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
	--color-green: #036767;
	--color-text:  #666;
	--vertical-space:  3rem;
}



html {
	scroll-behavior: smooth;
}
body {
	color: var(--color-text);
	font-family: 'Raleway', sans-serif;
	line-height:  180%;
}

.row {
	max-width:  1400px;
	width:  90%;
	margin:  0 auto;
}

section {
	scroll-margin: 68px 0 0 0;
}

section .row {
	padding:  var(--vertical-space) 8vw;
}

.row > * + * {
	margin-top: calc(var(--vertical-space)/2);
}

.row--lined {
	border-top:  1px solid var(--color-green);
}

a {
	color:  var(--color-green);
	text-decoration: none;
}

.logo {
	display: block;
	max-width: 300px;
	height:  auto;
	margin:  0 auto;
}

header {
	text-align: center;
	margin-top: calc(var(--vertical-space) /2 );
}


nav.sticky {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 1.5rem 0;
	margin:  0;
	border-bottom:  1px solid var(--color-green);
}

nav {
	background-color: rgba(255, 255, 255, .9);
	z-index: 10;
	margin-top: calc(var(--vertical-space));
}

nav ul {
	list-style:  none;
	padding:  0;
	margin:  0;
	display: flex;
	justify-content: center;
	text-transform: lowercase;
	font-size:  1.2rem;
}
nav ul li {
	line-height: 100%;
}
nav ul > * + *:before {
	content: '|';
	display: inline-block;
	padding: 0 30px;
}

article p:first-of-type {
	font-size:  1.2rem;
	line-height: 200%;
}

.hero {
	min-height:  600px;
	display:  flex;
	flex-direction: column;
	justify-content: center;
	background: url(hero.webp);
	background-size:  cover;
	background-position: center;
	position: relative;
	margin-top:  calc(var(--vertical-space) / 2);
}
.hero::before {
	content: '';
	position: absolute;
	width:  100%;
	height:  100%;
	top:  0;
	left:  0;
	background-color: rgba(0,0,0,0.5);
}
.hero__content {
	color:  white;
	text-align: center;
	position: relative;	
}



.hero__title {
	display: block;
	font-size: clamp(2rem, 4vw, 5rem); 
	line-height: 100%;
	margin-bottom:  1rem;
}
.hero__sub-title {
	display: block;
	font-size: clamp(1.25rem, 2.5vw, 2.5rem); 
	line-height: 100%;
}


.text-green {
	color:  var(--color-green);
}
.text-lower {
	text-transform: lowercase;
}

.fill-tint {
	background-color: rgba(0, 0, 0, 0.05);
}

h2 {
	font-size: 3rem;
	font-weight:  300;
}


.button {

	display:  block;
	padding: 0.85rem;
	font-weight: 700;
	text-align: center;
	background:  url(brockworth.jpg);
	background-size:  cover;
	position: relative;
	padding: var(--vertical-space) 0;
	text-transform: uppercase;
}

.button:hover:before {
	opacity:  0.8;
}


.button::before {
	content:  '';
	position: absolute;
	width:  100%;
	height:  100%;
	top:  0;
	left:  0;
	background-color: rgba(255,255,255,0.85);
	transition: opacity 0.5s ease-out;
}
.button span {
	--size:  0.5rem;
	position: relative;
	padding: var(--size) 0em;
	color:  var(--color-green);
}

.icon-button {
	--height: 25px;
	margin-top:  0.5rem;
	display: inline-block;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}
.icon-button:hover svg {
	fill: var(--color-green);
}
.icon-button svg {
	width: var(--height);
	aspect-ration:  1/1;
	fill: #6f6f6f;
	margin-right:  5px;	
}

aside.support {
	display: flex;
	justify-content: center;
	align-items: center;
}
aside.support--left {
	justify-content: flex-start;
}
aside.support--top {
	align-items: flex-start;
}
aside ul {
	list-style: none;
	margin:  0;
	padding:  0;
	color:  var(--color-green);
}
article.content--center {
	display:  flex;
	justify-content: center;
}
aside ul > * + * {
	margin-top: 0.5rem;
}
article > * + * {
	margin-top: 1rem;
}

.contact {
	list-style: none;
	padding:  0;
	margin:  0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap:  30px;
}
.contact__name {
	font-size:  1.2rem;
	font-weight:  700;	
}
.contact img {
	max-width:  180px;
	aspect-ratio:  1/1;
	border-radius:  100%;	
	margin:  0 auto;
}

footer {
	font-size: 80%;
	text-align: center;
	padding:  var(--vertical-space) 0;
	color:  white;
	background-color:  var(--color-green);
}



@media screen and (min-width: 1200px) {

	.row--flex {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 60px;
	}

	aside.support {
		justify-content: flex-start;
	}

	article.content--center {
		justify-content: flex-start;
	}

	section .row {
		padding-left: 0;
		padding-right: 0;
	}

	.row > * + * {
		margin-top: 0;
	}
}