* {
  padding: 0;
  margin: 0;
  overflow: auto;
  box-sizing: border-box;
  font-family: sans-serif;
}
html,
body {
  height: 100%;
  width: 100vw;
}

.main {
  width: 100%;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 2rem;
  padding: 20px 40px;
}
ul {
  display: flex;
  gap: 2rem;
}
.navigation {
  cursor: pointer;
  text-decoration: none;
  color: black;
  font-size: 2rem;
  font-weight: 600;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: black;
  border-radius: 2px;
}
.hero {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
}
.hero1 {
  width: 60%;
}
.hero1 h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero1 p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}
.hero1 button {
  background-color: #ff6464;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
.hero2 {
  width: 40%;
  display: flex;
  justify-content: space-around;
}
.hero2 img {
  align-items: end;
  border-radius: 50%;
  object-fit: cover;
  height: 100%;
  max-height: 600px;
  width: 100%;
  max-width: 400px;
}

.section3 {
  background-color: rgb(237, 247, 250);
}

.top {
  display: flex;
  justify-content: space-between;
  padding: 40px 60px;
}

.top p {
  font-weight: 600;
  font-size: 1.5rem;
  color: #333;
}
.top a {
  text-decoration: none;
  color: skyblue;
}

.bottom {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.bottom .posts {
  width: 40%;
  background-color: white;
  width: 30rem;
  /* height: 20rem; */
  padding: 10px;
  margin-bottom: 25px;
}
.posts h1 {
  margin: 20px;
}
.posts p {
  margin: 20px;
  padding: 10px;
}

.Head-fea {
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#fea {
  font-weight: 600;
  padding: 40px 60px;
  font-size: 1.5rem;
  color: #333;
  /* margin-bottom: 2rem; */
}
.scroll {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.scroll-img {
  object-fit: cover;
  padding-bottom: 2rem;
}

.line {
  width: 70%;
  border: 1px solid grey;
  opacity: 0.2;
  margin-bottom: 2rem;
}

.h-year {
  background-color: rgb(0, 0, 86);
  color: white;
  border-radius: 25px;
  border: 1px solid;
  font-weight: 600;
  padding: 3px 8px;
}

.heading-scroll {
  margin: 10px;
}
.second-head-scroll {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2rem;
  margin-top: 1rem;
}
.second-head-scroll p {
  color: #555;
  opacity: 0.6;
}

footer {
  text-align: center;
  padding: 30px;
  background: #fff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 15px;
}

.social-icons a {
  font-size: 1.5rem;
  color: #1a1a2e;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #3333cb;
}

footer p {
  color: #333;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .hero2 {
    margin-bottom: 20px;
    text-align: center;
  }
  .hero2 img {
    max-height: 550px;
    max-width: 450px;
    margin: 20px auto;
  }

  .hero1 {
    width: 100%;
  }

  .top {
    display: flex;
    justify-content: center;
  }
  .top a {
    display: none;
  }

  .bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
  }

  .posts {
    max-width: 330px;
    height: 26rem;
  }

  .section4 {
    text-align: center;
  }
  .scroll {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .scroll img {
    max-width: 100%;
    object-fit: cover;
  }
  .scroll-text {
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-bottom: 30px;
  }
  .line {
    width: 100%;
  }

  .social-icons a {
    font-size: 1rem;
    transition: 0.3s;
  }
}
