* {
  margin: 0;
  block-size: block;
}
.ledger-regular {
  font-family: "Ledger", serif;
  font-weight: 400;
  font-style: normal;
}

.mainContainer {
  min-height: 70vh;
  margin-left: 100px;
  margin-right: 100px;
  display: flex;
  flex-direction: column;
}
.navbarCon {
  height: auto;
  width: 100%;
  border-bottom: 1px solid black;
}
.navbar {
  margin-left: 100px;
  margin-right: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  color: black;
}

.navbar .logo a {
  text-decoration: none;
  cursor: pointer;
  color: black;
  font-size: 24px;
  font-weight: bold;
  border-radius: 5px;
}

.navbar .menu {
  display: flex;
  gap: 2rem;
}

.navbar .menu a {
  text-decoration: none;
  cursor: pointer;
  color: black;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1.25rem;
}

/* Hamburger Menu */
.hamburger {
  display: none; /* Hidden on larger screens */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: black;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.container {
  height: 70vh;
  display: flex;
  gap: 20px;
  justify-content: center;
  gap: 4rem;
  align-items: center;
  flex-wrap: wrap;
}

.card {
  position: relative;
  width: 30rem;
  height: 25rem;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  color: white;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  box-sizing: border-box;
}

.card .overlay h3 {
  margin: 0;
  font-size: 3rem;
}

.card .overlay p {
  margin: 5px 0 0;
  font-size: 1.5rem;
}
.projectHeader {
  width: 100%;
  height: auto;
  display: flex;
  margin-top: 3rem;
  justify-content: space-between;
}
#mainConPortfolio {
  row-gap: 50px;
}
.projectTitle {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  max-width: 45%;
}

.projectTitle h1 {
  font-size: 7rem;
  height: auto;
  width: auto;
}

.projectDiscription {
  display: flex;
  height: auto;
  width: 45%;
}
.aboutDiscription {
  display: flex;
  height: auto;
  /* width: 45%; */
}
.aboutDiscription p {
  margin-top: 20px;
  width: fit-content;
  height: fit-content;
  font-size: 22.5px;
}
.projectHeader img {
  margin-top: 2.5rem;
  width: 30rem;
  height: 20rem;
}
#projectDiscriptionContact {
  margin-top: 3rem;
  display: flex;
  height: auto;
  width: auto;
}

.projectDiscription p {
  margin-top: 20px;
  width: fit-content;
  height: fit-content;
  font-size: 22.5px;
}

.galleryContainer {
  display: flex;
  flex-wrap: wrap;

  justify-content: space-evenly;
}

.imgContainer {
  display: flex;
  flex-direction: column;
  margin: 2.5rem;
  font-weight: 900;
  row-gap: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column; /* Arrange items vertically */
  align-items: flex-start; /* Align items to the left */
}

.form-group {
  margin-bottom: 10px; /* Add spacing between form groups */
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

input,
textarea {
  width: 40rem;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  height: 40px;
  width: 40.5rem;
  background-color: #6a3092;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 1s;
}

button:hover {
  background-color: #9a56c8;
}

footer {
  width: 100%;
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

footer .footer-column {
  flex: 1;
  min-width: 200px;
}

footer .footer-column h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #6a3092;
}

footer .footer-column ul {
  list-style: none;
  padding: 0;
}

footer .footer-column ul li {
  margin: 5px 0;
}

footer .footer-column ul li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

footer .footer-column ul li a:hover {
  color: #9a56c8;
}

footer .social-media {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

footer .social-media a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #555;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
}

footer .social-media a:hover {
  background-color: #9a56c8;
}

footer .copyright {
  margin-top: 20px;
  font-size: 14px;
}
/* Responsive Menu */
@media (max-width: 1024px) {
  .navbar {
    margin-left: 0px;
    margin-right: 0px;
  }
  .navbar .menu {
    display: none; /* Hidden by default on smaller screens */
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    padding: 1rem;
    position: absolute;
    top: 12%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  .navbar .menu.show {
    display: flex; /* Show menu when active */
  }

  .hamburger {
    display: flex; /* Show hamburger icon on smaller screens */
  }

  .projectHeader {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .projectTitle h1 {
    font-size: 3rem;
    font-weight: 900;
  }
  .projectTitle {
    align-items: center;
    max-width: 100%;
  }
  .projectDiscription {
    width: 90%;
  }
  .projectDiscription p {
    font-size: 13px;
  }
  .mainContainer {
    margin-left: 0px;
    margin-right: 0px;
  }
  .imgContainer {
    width: 100%;
  }
  .container {
    height: auto;
    margin: 10px;
  }
  .card {
    height: 20rem;
  }
  .card .overlay h3 {
    font-size: 2rem;
  }

  .aboutDiscription {
    width: 90%;
  }
  .aboutDiscription p {
    margin: 30px;
    font-size: 1rem;
  }
  .projectHeader img {
    width: auto;
  }
  input,
  textarea {
    width: 20rem;
  }
  button {
    width: 20rem;
  }
  .social-media a img {
    width: 1.5rem;
    height: 1.5rem;
  }
}
