@font-face {
  font-family: 'Lexend';
  src: url('../font/Lexend-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Lexend';
  src: url('../font/Lexend-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: bold;
}

body {
  font-family: 'Lexend', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #2c3e50;
  line-height: 1.8;
  font-size: 1.1rem;
}

header {
  background: #2c3e50;
}

.site-title {
  background-color: #1abc9c;
  color: white;
  padding: 2rem;
  text-align: center;
}

.site-title h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  background: #2c3e50;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  text-decoration: underline;
  color: #1abc9c;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
}

section {
  margin-bottom: 3rem;
}

p {
  margin-bottom: 1.2rem;
}

h2 {
  padding-left: 0.8rem;
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.intro-image,
.typeface-image {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.font-image{
  display: block;
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.typography-image{
  display: block;
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #555;
}

#intro {
  flex-direction: column;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

html {
  scroll-behavior: smooth;
}

#typeface {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  align-items: center;
  justify-items: left;
  text-align: left;
}
