@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hero h2 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 1em;
  }

  #intro .content {
    flex-direction: column;
    text-align: center;
  }

  #intro .content img {
    width: 100%;
    max-width: 300px;
  }

  #intro .content blockquote {
    padding-top: 1em;
  }

  main {
    width: 95%;
    padding: 15px;
  }

  blockquote {
    padding: 0 1em;
  }

  #struct p,
  #facts ul {
    padding: 0 1em;
  }
}

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

*::selection {
	background-color: rgba(200,100,150,0.5);
	color: maroon;
}

body {
	height: 100%;
	font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
	background-image: url('https://drunkpink.github.io/miscellaneous/images/scenery-open-sky-field-clouds.jpg');
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #333;
	color: #333;
	padding-top: 80px;
}

header {
	background-color: rgba(78,62,200,0.5);
	color: white;
}

nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
/* for navigation bar to be fixed at top */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(78,62,200,0.5);
	backdrop-filter: blur(6px);
	z-index: 1000;
}

nav h1 {
	font-size: 1.8em;
    letter-spacing: 1px;
}

.nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
	list-style: none;
	display: flex;
	gap: 15px;
}

.nav-links li a {
	color: white;
	font-weight: bold;
	text-decoration: none;
	transition: color 0.3s ease, text-decoration 0.3s ease;
}

.nav-links li a:hover {
	color: rgba(200,200,200,0.9);
	text-decoration: underline;
}

.hero {
	text-align: center;background: linear-gradient(to right, rgba(150,54,123,0.6), rgba(54,123,150,0.6));
    padding: 40px 20px;
    margin-top: 60px;
    border-radius: 0 0 12px 12px;
}

.hero h2 {
	font-size: 2.5em;
	margin-bottom: 5px;
	color: cyan;
}

.hero p {
	font-size: 1.25em;
	color: pink;
}

main {
	width: 80%;
	max-width: 1200px;
	margin: auto;
	padding: 20px;
	background-color: rgba(150,150,200,0.4);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
	text-align: justify;
	color: #112233;
}

main section {
	border-bottom: 5px dotted maroon;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

main section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
}

main section h2 {
	text-decoration: underline;
}

#intro h2 {
	margin: 0 0 0 2.1em;
}

#intro .content {
	display: flex;
	align-items: center;
	gap: 25px;
}

#intro .content img {
	height: auto;
	max-width: 40vh;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#intro .content .right-side {
	flex: 1;
}

#intro .content blockquote {
	padding-top: 2.5em;
}

#struct p {
	padding: 0 2em;
}

#facts ul {
	padding: 0 2em;
	list-style: square inside;
}

blockquote {
	font-family: 'Times New Roman', Times, sans-serif;
	font-weight: bold;
	padding: 0 2.5em;
}

footer {
	text-align: center;
	padding: 10px;
	background-color: rgba(60,150,123, 0.5);
	color: #333;
	border-radius: 12px;
}

footer h3 {
	font-size: 1.2em;
	color: #eeee00;
}

footer p {
	text-decoration: underline;
}

footer p a {
	color: inherit;
	font-weight: bold;
}
