* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
	font-family: 'Rubik', sans-serif;
}

::selection {
  background: rgb(255, 231, 0);
}
::-moz-selection {
  background: rgb(255, 231, 0);
}

h1 {
	font-size: 20px;
	line-height: 150%;
}

h2 {
	font-size: 18px;
	margin-bottom: 10px;
}

h3 {
	font-size: 16px;
}

p {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.5;
}

ul {
	padding: 0;
}

li {
	line-height: 1.5;
}

li, a {
	font-size: 14px;
}

p a {
	font-weight: bold;
	color: black;
}

body.is-zoomed h1 {
	font-size: 24px;
}
body.is-zoomed h2 {
	font-size: 22px;
}
body.is-zoomed h3 {
	font-size: 20px;
}
body.is-zoomed p,
body.is-zoomed li,
body.is-zoomed a,
body.is-zoomed button {
	font-size: 18px;
}

header {
	position: fixed;
  top: 0;
	z-index: 3;
	width: 100%;
	background: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 860px) {
  header {
  	position: relative;
  }
}

nav button {
	display: none;
	width: 100%;
	border: none;
	padding: 20px;
	background: #00A1A1;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.2s ease-in-out;
	color:  white;
}
nav button:hover {
	background: black;
}
nav ul {
	list-style-type: none;
	font-size: 0;
	text-align: center;
	border-top: 1px solid black;
	border-bottom: 2px solid black;
	margin-top: -1px;
}
nav li {
	display: inline-block;
}
nav a {
	text-decoration: none;
	color: white;
	border-right: 1px solid black;
	padding: 10px 14px;
	display: block;
	transition: background 0.2s ease-in-out;
	background: #00A1A1;
	font-weight: bold;
	letter-spacing: 0.5px;
}
nav a:hover {
	background: black;
	color: white;
}
nav li:first-of-type a {
	border-left: 1px solid black;
}

@media only screen and (max-width: 860px) {
	nav button {
		display: block;
	}
	nav ul { 
		display: none;
	}
	nav ul.is-open { 
		display: block;
	}
	nav li {
		display: block;
	}
  nav a {
  	border: none;
  	padding: 15px;
  }
}

.header-top {
	width: 100%;
	text-align: right;
	padding: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-top p {
	margin: 0;
}
.header-top a {
	text-decoration: none;
	color: black;
	margin: 0 5px;
	font-weight: 100;
}
.header-top a span {
	font-weight: 700;
}
.header-top a:hover span {
	text-decoration: underline;
}
.header-top img {
	width: 24px;
}
.header-top div {
	display: flex;
	align-items: center;
}
.header-top div:first-of-type a {
	font-weight: 700;
	padding: 10px;
	margin: 0;
}
.header-top div:first-of-type a:hover {
	background: rgb(255, 231, 0);
	color: black;
}

@media only screen and (max-width: 860px) {
  .header-top div:first-of-type {
  	text-align: center;
  	width: 100%;
  	justify-content: center;
  	padding: 10px 0;
  }
  .header-top div:last-of-type {
  	display: none;
  }
}

.hero {
	position: relative;
	width: 100%;
	height: 500px;
	margin-bottom: 30px;
	background-image: url('../images/hero.jpg');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: cover;
	background-attachment: fixed;
	text-align: center;
}
.hero img {
	max-width: 200px;
	max-height: 150px;
	position: relative;
	z-index: 2;
	top: 40%;
	margin: 0 20px;
	transform: translateY(-50%);
}
.hero img:first-of-type {
	padding: 5px;
}

@media only screen and (max-width: 860px) {
  .hero {
  	height: 400px;
  	background-attachment: initial;
  }
  .hero img {
  	width: 120px;
  	top: 40px;
  	transform: translateY(0);
  	margin: 0 10px;
  }
}

.subhero {
	height: 300px;
	background-image: url('../images/hero.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	text-align: center;
	margin-bottom: 40px;
}

.container {
	width:  100%;
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 20px;
}

.tagline {
	position: absolute;
	left: 50%;
	top: 60%;
	transform: translateX(-50%);
	width: calc(100% - 60px);
	text-align: center;
}
.tagline h1 {
	position: relative;
	z-index: 1;
	padding: 10px;
}
.tagline::before {
	content: '';
	position: absolute;
	left: 5px;
	top: 5px;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	height: 100%;
}
.tagline::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	background-color: rgba(255, 231, 0, 0.9);
	height: 100%;
}

.subhero .tagline {
	position: relative;
}

@media only screen and (max-width: 860px) {
  .tagline {
  	top: 50%;
  }
}

.intro {
	text-align: center;
	width: 100%;
	max-width: 960px;
	margin: 0 auto 40px;
}

.card {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
}
.card-image {
	position: relative;
	display: flex;
	flex-shrink: 0;
	width: 210px;
	height: 210px;
	background-size: cover;
	border: 1px solid rgb(255, 231, 0);
}
.card-image::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 5px;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	height: 100%;
	z-index: -1;
}
.card-content ul {
	padding-left: 20px;
	margin-bottom: 40px;
}

@media only screen and (max-width: 860px) {
  .card {
  	flex-direction: column;
  	margin-bottom: 20px;
  }
  .card-content {
  	order: 2;
  }
  .card-image {
  	width: 100%;
  	background-position: center;
  	order: 1;
  }
}

.buttons {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 60px;
}
.button {
	padding: 20px;
	background: black;
	color: white;
	text-align: center;
	width: 25%;
	font-weight: bold;
	text-decoration: none;
	background: #00A1A1;
	transition: all 0.2s ease-in-out;
}
.button:hover {
	background: rgb(255, 231, 0);
	color: black;
}

@media only screen and (max-width: 860px) {
  .buttons {
  	flex-wrap: wrap;
  	gap: 10px;
  	margin-bottom: 40px;
  }
  .button {
  	width: calc(50% - 5px);
  	padding: 20px 10px;
  }
}

footer {
	background-color: black;
	width: 100%;
	padding: 40px 0 20px;
}
footer .container {
	display: flex;
}

.footer-links {
	width: calc(100% - 320px);
	min-height: 100px;
	color: white;
	margin-right: 20px;
}
.footer-links > h3 {
	font-style: italic;
	margin-bottom: 20px;
}
.footer-links > p:last-of-type {
	margin-top: 40px;
}
.footer-links a {
	color: white;
	font-weight: 700;
	text-decoration: none;
}
.footer-links button {
	margin-top: 20px;
	background: #00A1A1;
	padding: 20px;
	border: none;
	font-weight: 700;
	cursor: pointer;
}
.footer-links button:hover {
	background: white;
	color: black;
}

@media only screen and (max-width: 860px) {
  .footer-links {
  	width: 100%;
  	margin-right: 0;
  }
}

.twitter-timeline {
	width: 100%;
	max-width: 300px;
}

@media only screen and (max-width: 860px) {
  .twitter-timeline {
  	display: none;
  }
}