/* @import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap"); */
/* @import url("https://fonts.googleapis.com/css2?family=Allerta+Stencil&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Allerta+Stencil&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");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
nav {
  font-family: "Ubuntu", sans-serif;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  transition: all 0.4s ease;
  background-color: #090b0f;
  z-index: 10;
  overflow-x: hidden;
}
nav.sticky {
  padding: 15px 20px;
  background: #4070f4;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
nav .nav-content {
  height: 100%;
  margin: 0.6rem 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .logo a {
  font-weight: 500;
  font-size: 35px;
  color: #fff;
}
nav.sticky .logo a {
  color: #fff;
}
.nav-content .nav-links {
  display: flex;
}
.nav-content .nav-links li {
  /* color: #fff;   */
  list-style: none;
  margin: 0 8px;
}
.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 4px;
  transition: all 0.3s ease;
}
.nav-links li a:hover {
  color: #b8b8b8;
}
nav.sticky .nav-links li a {
  color: #fff;
  transition: all 0.4s ease;
}
nav.sticky .nav-links li a:hover {
  color: #0e2431;
}

/* hero section */
.hero {
  width: 100vw;
  height: 98vh;
  position: relative;
}
.background-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.main-heading {
  position: absolute;
  font-size: 4rem;
  color: aliceblue;
  font-family: "Allerta Stencil";
  display: flex;
  width: 500px;
  top: 25%;
  left: 10%;
}

.divider {
  width: 100%;
}

/* about the project section  */

.wrapper {
  width: 100vw;
  background-color: #345163;
  overflow-x: hidden;
  background: radial-gradient(circle at 0% 50%, #325165 50%, #101a23 100%);
}

.main {
  width: 80%;
  margin: 30px auto;
}
.component-heading,
.about-heading,
.working-heading {
  color: white;
  font-size: 2.5rem;
  /* font-family: "Poppins"; */
  /* font-weight: 100; */
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  padding-bottom: 1.5rem;
  position: relative;
  width: fit-content;
}
.component-heading::after,
.about-heading::after,
.working-heading::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 100%;
  background-color: gray;
  left: 0;
  bottom: 18px;
}

.about-content {
  display: flex;
  flex-direction: column;
  background-color: #132128;
  padding: 40px 60px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #090b0fb0;
  gap: 20px;
  margin-bottom: 35px;
}
.about-upper-section,
.about-middle-section,
.about-lower-section {
  font-family: "Poppins";
  font-size: 18px;
  color: white;
  line-height: 1.5;
  text-align: justify;
}
.about-middle-section p {
  width: 50%;
  text-align: justify;
}
.about-middle-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.about-project-img {
  min-width: 42%;
  width: 400px;
  height: 240px;
  border-radius: 12px;
  object-fit: fill;
  object-position: center;
}

/* components of the project section */
.component-img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
}
.component-content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.component-box {
  margin: 0 auto;
  background-color: #132128;
  box-shadow: 2px 2px 10px #090b0fb0;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  width: 290px;
}
.component-label {
  font-size: 22px;
  padding: 8px 0;
  color: rgb(255, 255, 255);
  text-decoration: solid;
  font-family: Arial, Helvetica, sans-serif;
}
.component-desc {
  font-size: 16px;
  padding: 0 30px;
  text-align: justify;
  font-family: Arial, Helvetica, sans-serif;
  /* font-family: "Poppins", sans-serif; */
  color: #fff;
  line-height: 1.3;
}
#about,
#component,
#working {
  scroll-behavior: smooth;
}

.working-content {
  width: 100%;
  background-color: #132128;
  border-radius: 10px;
  padding: 40px 60px;
  box-shadow: 2px 2px 10px #090b0fb0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 20px;
}
.working-subheading {
  color: white;
  font-size: 22px;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}
.working-content p {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.4;
}
