@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

* {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
}

/* 🔸 Max-width container */
.container {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  /* top 40px and center horizontally */
}

.header {
  display: flex;
  justify-content: center;
}

.navbar {
  width: 25%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  border: 2px solid #002aff;

  /* Make it sticky */
  position: fixed;
  top: 20px;
  z-index: 1000;
  /* Optional: To ensure it stays above other content */
}

.nav-li {
  font-size: larger;
  font-weight: 500;
  color: black;
}

.navbar a {
  text-decoration: none;
}


/* Optional: Hover effect */
.navbar span:hover {
  color: #002aff;
  cursor: pointer;
}


/* Responsive text size and layout */
@media (max-width: 768px) {
  .nav-li {
    font-size: 0.95rem;
  }

  .navbar {
    width: 95%;
    padding: 8px 20px;
  }
}

@media (max-width: 480px) {
  .nav-li {
    font-size: 0.9rem;
  }

  .navbar {
    gap: 10px;
    width: 90%;
    padding: 10px 15px;
  }
}



.about-div {
  background: white;
  display: flex;
  flex-direction: column;
}

.about-h1 {
  text-align: start;
  border-left: 2px solid #002aff;
  font-size: 1.2rem;
  font-weight: 300;
  padding-left: 10px;
  line-height: 35px;
}

.about-btn {
  display: flex;
  margin-top: 40px;
  gap: 40px;
  flex-direction: row;
  justify-content: start;
  align-items: center;
}

.btn1,
.btn2 {
  padding: 9px 20px;
  border-radius: 5px;
  border: 2px solid #002aff;
  font-size: medium;
}

.btn1 {
  background-color: #002aff;
  color: white;
  text-decoration: underline;
}

.btn2:hover {
  background-color: #002aff;
  color: white;
}

.btn1,
.btn2:hover {
  cursor: pointer;
}


/* Responsive: Tablet */
@media (max-width: 768px) {

  .about-div {
    margin: 100px 20px;
  }

  .about-h1 {
    font-size: 1.3rem;
    line-height: 30px;
  }

  .about-btn {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
  }
}

/* Responsive: Mobile */
@media (max-width: 480px) {

  .about-h1 {
    font-size: 1.4rem;
    line-height: 30px;
    font-weight: 400;
  }

  .about-btn {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
  }

  .btn1,
  .btn2 {
    padding: 9px 13px;
    font-size: medium;
  }
}


.project-h1 {
  /* font-size: x-large; */
  font-size: 5rem;
  /* font-weight: 900; */
  /* font-style: italic; */
  margin-top: 40px;
  text-align: center;
  /* border-bottom: 2px solid #002aff; */
  /* text-decoration: underline 2px solid #002aff; */

  color: rgb(0, 0, 0)
}




#project {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

#project>div {
  background-color: white;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 1rem;
  transition: transform 0.2s ease-in-out;
  /* border-radius: 10px; */
}

/* #project > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
} */

.p-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease-in-out;
  /* Add transition for smooth effect */
}


.hrline {
  margin: 0.5rem 0;
  /* top and bottom margin */
  border: none;
  /* remove default border */
  border-top: 1px solid #000000;
  /* red horizontal line */
  width: 100%;
  /* full width line */
}


.p-img:hover {
  transform: scale(1.05);
  /* Zoom in effect */
}


.p-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
}

.p-para {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0.5rem 0 1rem 0;
}

.buttondiv {
  display: flex;
  justify-content: start;
  gap: 0.5rem;
}


.gitbtn,
.livebtn {
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #002aff;
  text-decoration: none;
}

.gitbtn:hover,
.livebtn:hover {
  background-color: #000;
  color: white;
}



.madeby {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px;
}

.made-h1 {
  font-size: large;
  font-weight: 400;
  color: rgb(114, 113, 113);
}

.madeby a {
  color: black;
  font-weight: 500;
  text-decoration: none;
}
