*{
  font-family: Arial, Helvetica, sans-serif;
  flex-wrap: wrap;
  outline: none;
  transition: all 0.2s ease-in-out;
  /*border: 1px solid red; /*border for flexbox testing*/
}

html{
	display: flex;
	height: 100%;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	word-break: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
	scroll-behavior: smooth;
	justify-content: center;
	align-items: center;
  background-color: #000;
  color: #fff;
}

body{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: 1.5em;
	max-width: 60em;
}

header{
  margin-top: 2em;
  align-items: center;
  justify-content: center;
	width: 100%;
	display: flex;
  text-align: center;
}

header a img {
  align-items: center;
  max-width: 150px;
  height: auto;
}

main {
	width: 100%;
	display: flex;
	flex-direction: column;
}

main a {
  text-decoration: underline;
}

.main-logo {
  max-width: 300px;
  width: 90%;
  height: auto;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 2rem;
  font-size: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.resource-nav{
  line-height: 2em;
  font-size: 1.2em;
}

.resource-nav a {
  text-decoration: none;
}

.images {
  margin-top: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.images p {
  text-align: center;
  width: 100%;
}

image {
  display: flex;
  justify-content: center;
}

.image img,
.image video{
  max-width: 100vw;
  max-height: 100vh;
}

.image a:hover {
	opacity: 1;
  filter: brightness(1.4);
	text-decoration: none;
}

footer{
	display: flex;
  flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	margin-top: 0.67em;
  margin-bottom: 2em;
  text-align: center;
  font-size: 0.8em;;
}

footer nav{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

a{
  text-decoration: none;
	color: #fff;
}

a:hover{
	opacity: 0.7;
	text-decoration: underline;
}

ul, ol{
  list-style: none;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

::selection{
	background-color: white;
	color: black;
}

.background-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  background: url('MAD-BENZ-Logo-White-updated.png') no-repeat center center;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
}