* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 600;
  /* transition: 0.9s ease-in-out; */
}

.nav {

  width: 100%;
  padding: 20px 0px;
  background-color: #EDEBF1;
  /* the secondary color*/
  position: fixed;
  z-index: 1000;
  top: 0px;
}

.navwrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 0px;
  width: 90%;
  gap: 0px;
}

.homediv ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: auto;
  list-style: none;
}

.homediv ul a {
  text-decoration: none;
}

.contact {
  padding: 10px 30px;
  background-color: #27194C;
  /* the primary color*/
  border-radius: 10px;
  cursor: pointer;
}

.contact li a {
  color: white;
}

.contact:hover {
  background-color: #674CAE;
  transition: 0.5s ease;
}

.home a {
  color: #674CAE;
  /* the accent color*/
}

.home2 a {
  color: black;
}

.home2 a:hover {
  color: #674CAE;
  transition: 0.5s ease;
}



/* Hamburger Icon */
.hamburger {
  width: 30px;
  height: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  display: none;
}

.hamburger div {
  width: 100%;
  height: 4px;
  background-color: #674CAE;
  transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line2 {
  opacity: 0;
}

.hamburger.active .line3 {
  transform: rotate(-45deg) translate(6px, -8px);
}

/* Menu */
.menu {
  position: fixed;
  right: -300px;
  top: 0;
  width: 200px;
  background-color: #EDEBF1;
  padding-top: 60px;
  transition: right 0.3s ease;
  z-index: 1;
}

.menu ul li:hover {
  background-color: #674CAE;
  cursor: pointer;
}

.menu.active {
  right: 0;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  padding: 10px 15px;
  border-bottom: 1px solid #27194C;
}

.menu a {
  text-decoration: none;
  display: block;
}

.menu a:hover {
  color: white;
  border: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: none;
  z-index: 0;
}

.overlay.active {
  display: block;
}

.menu-bar {
  display: flex;
  align-items: center;
  font-size: 30px;
  font-weight: 600;
  padding: 20px;
  display: none;
  width: 100%;
  transition: all 0.3s ease;
}

@media(max-width:900px) {
  .inner-homediv {
    display: none;
  }

  .hamburger {
    display: block;
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
  }

  /* will later change the navbar width later */
  .navwrapper {
    width: 90%;
    margin: auto;
  }

}


/* RECENT PROJECT */

.project-card-section {
  width: 100%;
  margin: 50px 0px;
  background: #EDEBF1;
}

.project-card-innerTxt {
  padding: 40px 0px;
  font-size: 30px;
  margin: auto;
  width: 90%;
  color: #27194C;
  text-align: center;
}

.project-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: auto;
  width: 90%;
}

.project-card {
  background: #EDEBF1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}


.project-card-content-inner {
  display: flex;
  gap: 10px;
  margin: auto;
  width: 100%;
  padding: 10px;
  flex-wrap: wrap;
}

.project-card-content-inner div {
  padding: 5px 12px;
  margin: 3px;
  font-size: 15px;
  font-weight: 200;
  color: white;
  background: #674CAE;
  border-radius: 10px;
  /* flex-wrap: wrap; */
}

.live-demo a{
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 5px 12px;
  color: #27194C;
}
.live-demo a .bxr{
  /* color: #674CAE; */
  font-size: 15px;
}

.First-content {
  width: 100%;
  margin: auto;
  padding: 0px 15px;
}

.First-content h3 {
  padding: 10px 0px;
}

.First-content p {
  font-size: 15px;
  font-weight: 500;
}

.see-more {
  display: flex;
  align-items: center;
  width: 90%;
  margin: 50px auto;
  padding: 30px 0px;
}

.see-more a {
  display: flex;
  text-decoration: none;
  align-items: center;
  padding: 10px 30px;
  background-color: #674CAE;
  color: #EDEBF1;
  border-radius: 10px;
  margin: auto;
}

.see-more a:hover {
  background-color: #27194C;
  transition: 0.5s ease;
}

.see-more .bxr {
  color: white;
}

/* SECOND CARD SECTION MEDIA QUARRY */

@media (max-width: 768px) {
  .project-card img {
    height: 160px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .project-card img {
    height: 140px;
  }

}

@media(max-width:333px) {
  .project-card {
    width: 100%;
    margin: auto;
  }
}

@media(max-width:330px) {
  .project-card-content-inner {
    width: 100%;
    margin: auto;
  }

  .project-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media(max-width:270px) {
  .project-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

@media(max-width:315px) {
  .project-card img {
    width: 100%;
  }
}

/* footer...................... */
.footer-container {
  /* display: flex; */
  align-items: center;
  margin: auto;
  width: 100%;
  background: #27194C;
  margin-top: 30px;
  color: #EDEBF1;
}

.footer-wraper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: auto;
  padding: 15px 0px;
}

.footer-brands {
  display: flex;
  align-items: center;
}

.footer-brands div {
  margin: 10px;
}
.fa-brands{
  color: black;
  font-size: 20px;
}

.footer-hr {
  width: 90%;
  margin: auto;
}

.all-right {
  width: 90%;
  margin: auto;
  text-align: center;
  padding: 10px 0px;
}

@media(max-width:699px) {
  .footer-brands div {
    margin: 5px;
  }
}

@media(max-width:642px) {
  .footer-wraper {
    display: block;
    margin: auto;
    align-items: center;
    width: 90%;
  }

  .footer-wraper div {
    padding: 10px 0px;
  }

  .all-right {
    text-align: start;
  }
}