html {
  padding: 0;
  margin: 0;
  height: 100%;
  font-family: "Archivo Narrow", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Archivo Narrow", sans-serif;
}

main {
  flex: 1;
}

.section-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("./media/photobg.jpg") no-repeat center;
  padding: 9.7rem 2rem;
}

.section-1 h1 {
  font-size: 5rem;
  margin-bottom: 0;
  color: white;
  padding-bottom: 0;
  margin-top: -3px;
}

.section-1 h2 {
  font-size: 1.87rem;
  padding-top: 0;
  color: white;
  margin-top: -0.3rem;
}

.section-2 {
  background-color: darkblue;
  padding: 2.5rem 0rem;
}

.section-2 h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  margin-top: 0px;
  text-align: center;
}

.section-2 img {
  float: right;
  width: 400px;
  height: 300px;
  margin-left: 1rem;
  margin-bottom: 1.5rem;
  object-fit: cover;
  border: 1px solid white;
}

.middle {
  margin: 0 auto;
  max-width: 960px;
  padding-bottom: 12px;
}

.section-2 p {
  color: white;
  line-height: 1.48;
  font-size: 17px;
  word-spacing: 0.2rem;
  margin-bottom: 0;
}

.section-3 {
  background-color: gainsboro;
  padding: 2.2rem 0rem;
}

.section-3 h2 {
  font-size: 2.5rem;
  margin-top: 0.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.section-3 img {
  width: 200px;
  height: 150px;
  object-fit: cover;
}

.section-3 ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 1rem 0rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
}

.section-3 li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

.section-3 li div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.section-3 h4 {
  margin: 0;
  font-size: 1.25rem;
  padding: 0;
}

.section-3 p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  padding-top: 0.5rem;
  word-spacing: 0.2rem;
  max-width: 230px;
}

.section-4 {
  padding: 6.3rem 2rem;
  background-color: olive;
}

.section-4 h2 {
  font-size: 2.5rem;
  margin-top: -60px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-4 p {
  line-height: 1.5;
  font-size: 24px;
  word-spacing: 0.3rem;
  margin-bottom: 0;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

footer {
  background-color: gray;
  color: white;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer p {
  text-align: left;
  padding-left: 28.3rem;
  font-size: 17px;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0px;
  letter-spacing: 0.03rem;
}
