* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-image: url("images/aboutpage-grid.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

nav {
  position: relative;
  z-index: 10;
  padding: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

nav a {
  text-decoration: none;
  color: #000;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.6;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 33.33vh);
  gap: 0;
  width: 100%;
  height: calc(100vh - 80px); /* Adjust based on nav height */
  padding: 0 40px;
  position: relative;
}
.top-left-text {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  font-size: 12px;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
  width: 180px;
  font-size: 14px;
  margin-left: 65px;
  margin-top: 10px;
}
.intro-text {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  align-self: flex-start;
  justify-self: start;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #2f30d6;
  font-weight: 700;
  margin-top: 60px;
  width: 150px;
  margin-left: -80px;
  line-height: 30px;
}

.intro-text strong {
  color: #2f30d6;
  font-weight: 700;
}
.title {
  grid-column: 2 / 2;
  grid-row: 2 / 3;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  margin-top: -90px;
  margin-left: -30px;
  text-align: right;
  justify-self: center;
  line-height: 27px;
}

.description {
  grid-column: 3 / 3;
  grid-row: 2 / 3;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  justify-self: flex-start;
  margin-top: 60px;
  margin-left: -70px;
  width: 280px;
}

.image-block {
  grid-column: 4 / 4;
  grid-row: 2 / 3;
  justify-self: flex-start;
  align-self: center;
  margin-top: -113px;
  margin-left: -37px;
}

.image-block img {
  max-height: 350px;
  width: auto;
  object-fit: cover;
  border-radius: 2px;
}
.scroll-up {
  position: absolute;
  bottom: 80px;
  right: 60px;
  font-size: 50px;
  color: #000;
  z-index: 10;
  transition: opacity 0.3s;
  font-family: didot, sans-serif;
}

.scroll-up a {
  text-decoration: none;
  color: #000;
  font-size: 50px;
}
