@import url('https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,200..1000&display=swap');

/*! reset */

input, textarea, button, select, ul, ol, li, h1, h2, h3, a, p, hr {
	background-color: transparent;
	border: 0;
	color: inherit;
	list-style: none;
	margin: 0;
	outline: none;
	padding: 0;
	text-decoration: none;
}

:root {
	--font-size: 1rem;
	--font-size-lead: 3.5rem;
	--font-family: 'Nunito Sans', sans-serif;
	--font-family-quote: 'Grenze Gotisch';
	--font-color-red: #DB4037;
	--width-max: 900px;
}

b {
	font-weight: 600;
}

/*! general */

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

html, body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

body {
	background-color: #E9EBE4;
	color: var(--font-color-red);
	font-family: var(--font-family), sans-serif;
	font-size: var(--font-size);
	font-weight: 300;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.wrapper {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 50px;
}

.lead {
	font-family: var(--font-family-quote);
	font-size: var(--font-size-lead);
	line-height: calc( var(--font-size-lead) );
	max-width: var(--width-max);
}

.sublead {
	font-family: var(--font-family);
	font-size: calc( var(--font-size) * 1.25 );
	max-width: calc( var(--width-max) / 2.2 );
	margin-top: 40px;
}

.menu {
	align-items: center;
	display: grid;
	column-gap: 30px;
	grid-template-columns: 1fr 100px;
	margin-top: 60px;
}

.navigation {
	font-family: var(--font-family-bold);
	display: flex;
	gap: 25px;
}

.images--wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 50px 0;
}

.images {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  gap: 5px;
}

footer {
	margin-top: auto;
	padding-top: 30px;
}

/*! media */

@media only screen and (max-width : 950px) {

  .images {
    grid-template-columns: repeat(2, 1fr);
  }

  .images img:nth-child(3) {
    grid-column: 1 / span 2;
  }

}

@media only screen and (max-width : 500px) {

	:root {
		--font-size-lead: 2.5rem;
	}

	.wrapper {
		padding: 20px;
	}

  .images {
    grid-template-columns: 1fr;
  }

}
