@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  font-family: "Poppins", sans-serif; /* Consistent font-family name */
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #2e2e2d;
}

a:link {
  text-decoration: none;
  font-size: 2rem; /* Removed the conflicting font-size declaration */
  color: blue;
}

a:hover {
  color: red;
}

section h3 {
  position: absolute;
  font-size: 1rem;
  color: burlywood;
  top: 2rem;
  left: 4rem;
  font-style: italic;
}

section div {
  position: absolute;
  left: 25rem;
  top: 8rem;
}

.homepage {
  background-image: url(images/lion.jpg);
  width: 40rem;
  height: 30rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

div.homepage h1 {
  font-weight: 500;
  color: white;
  font-size: 3rem;
  margin-top: 9rem;
  margin-bottom: 1.2rem;
  margin-left: 2rem;
}

div.homepage p {
  color: white;
  text-align: center;
  font-weight: 300;
  margin-bottom: 1.6rem;
}

div.homepage h2 {
  position: absolute;
  width: 6rem;
  height: 2.5rem;
  border: none;
  font-weight: bold;
  margin-left: 12rem;
  background-color: white;
}

button {
  width: 6rem;
  height: 2.5rem;
  border: none;
  font-size: 0.5rem;
  font-weight: bold;
  margin-left: 20rem;
}

/* Assuming these rules should be active based on your comment */
h2 {
  color: white;
  font-size: 1.8rem;
  font-weight: 500;
}

.i,
.ii,
.iii,
.survey,
.forum {
  position: absolute;
  padding: 1rem;
  background-color: burlywood;
  border-radius: 3rem;
}

.i {
  top: 10rem;
  left: 0.1rem;
}

.ii {
  top: 10rem;
  left: 22.3rem;
}

.iii {
  top: 20rem;
  left: 9.6rem;
}

.x {
  color: gold;
}

a:link {
  font-size: 1.5rem; /* Ensured only one font-size is declared */
  text-decoration: none;
  color: gold;
}

a:hover {
  color: red;
}
