@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Montserrat:wght@300&display=swap');

body {
	font-family: "Montserrat";
	font-size: 24px;
	font-weight: 300;
	line-height: 1.5;
	
	background-color: blue;
	color: white;
	margin: 40px auto 40px auto;
	width: 1120px;
}/* CSS Document */

header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

h1 {
	font-family: Fraunces;
	font-weight: 700;
	font-size: 64px;
}

nav {
	margin: 80px 0 80px 0;
}

a {
	font-size: 72px;
	color: white;
	text-decoration: none;
	margin: 50px 50px 50px 50px;
	transition: all 1s;
}

a:hover {
	font-family: Fraunces;
	color: fuchsia;
}

.button {
	min-width: 80px;
	background-color: none; /* Hintergrundfarbe des Buttons */
	border: 2px solid white;
	border-radius: 70px;
	color: white; /* Schriftfarbe */
	padding: 15px 32px; /* Innenabstand */
	text-align: center; /* Ausrichtung des Textes */
	display: inline-block; /* Anzeige als Inline-Block */
	margin: 4px 2px; /* Abstand zu anderen Elementen */
	cursor: pointer;
}

.button:hover {
	background-color: white;
}

img {
	max-width: 100%;
}

section {
	margin: 50px 0 50px 0;
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	gap: 32px 32px;
	grid-auto-flow: dense;
}

section a {
	font-size: 18px;
	margin: 0 0 0 0;
}

section div.one {
	grid-column: 1 / span 3;
}

section div.two {
	grid-column: 4 / span 3;
}

section div.three {
	grid-column: 7 / span 3;
}

footer {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: flex-end;
}

footer a {
	font-size: 32px;
	margin: none;
}


@media (max-width: 1200px) {
	body {
	width: auto;
	margin: 40px 40px 40px 40px;
	}
	
	h1 {
	font-size: 48px;
	}
	
	a {
	font-size: 42px;
	}
		
}

@media (max-width: 1100px) {
	.button {
		min-width: 60px;
	}
}
	
@media (max-width: 900px) {
	body, a, section a {
	font-size: 18px;
	}
	
	section {
	grid-template-columns: repeat(4, 1fr);
	gap: 18px 18px;
	}
	
	section div.one, section div.two, section div.three {
	grid-column: 1 / span 4;
	}
	
	nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	}
	
	nav a {
	font-size: 40px;
	margin: 20px 20px 20px 20px;
	}
	
}


@media (max-width: 400px) {
	h1 {
	font-size: 36px;
	}
}