@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  position: relative;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 60px;
}
h3 {
  font-size: 1.2rem;
  padding-bottom: 1rem;
  font-weight: 500;
}
#g-btn {
  text-decoration: none;
  background: #51a995;
  color: #fff;
  padding: 9px 30px;
  border-radius: 20px;
  cursor: pointer;
}

.sec-space {
  padding: 4rem 0;
}
.extra-space {
  padding-top: 8rem;
}
.obj-width {
  max-width: 1200px;
  margin: auto;
}

header {
  background-color: #1f4a40;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 99;
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

#navbar .logo {
  width: 120px;
}

#menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}

#menu li a {
  text-decoration: none;
  color: #fff;
  margin-left: 40px;
  font-size: 1.1rem;
  font-weight: 500;
}

#w-btn {
  margin-left: 40px;
  background: #fff;
  color: #1f4a40;
  padding: 9px 30px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: none;
  border: none;
}

#bar {
  color: #fff;
  display: none;
}

.hero {
  background-color: #1f4a40;
}

.hero .hero-box {
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.h-left {
  width: 45%;
  color: #fff;
}

.h-left p {
  padding: 1.5rem 0;
}

.h-left .search {
  position: relative;
}

.h-left .search input {
  width: 100%;
  height: 4rem;
  border-radius: 35px;
  padding: 0 20px;
  font-size: 1rem;
  outline: none;
  border: none;
}

.h-left .search a {
  position: absolute;
  top: 12px;
  right: 20px;
}

.h-right {
  width: 50%;
}

.h-right img {
  width: 100%;
}

.features .fe-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.features .fe-box div {
  width: 280px;
  padding-top: 3rem;
}

.features .fe-box img {
  width: 50px;
  margin-bottom: 1rem;
}

.trust .t-box {
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.trust .t-box img {
  margin: 1rem 1rem 1rem 0;
}

.workers .fl-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.workers .fl-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #c1e1d9;
  width: 280px;
  padding: 2rem 0;
  border-radius: 20px;
  margin-top: 3rem;
}

.workers .fl-box img {
  border-radius: 50%;
  margin-bottom: 1rem;
}

.workers .skill {
  padding-bottom: 3rem;
}

#key {
  font-size: 0.8rem;
  background: #edcfee;
  padding: 10px 20px;
  border-radius: 20px;
}

.jobs .job-id {
  margin-top: 3rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 10px;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
}

.jobs .job-id li {
  padding: 20px 40px;
  color: #000;
  cursor: pointer;
}

.jobs .job-id li.active {
  background: #51a995;
  color: #fff;
}

.jobs .jList {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2rem 2rem;
  border: 1px solid #ccc;
  align-items: center;
  justify-items: start;
  cursor: pointer;
  text-decoration: none;
  color: #000;
}
.jobs .jList:hover {
  background: #ecf1ee;
}

.jobs .jList.delete {
  display: none;
}

.jobs img {
  width: 40px;
}

.jobs h3 {
  padding: 0;
}

/* footer */

.footer {
  background: #1f4a40;
  color: #fff;
  padding: 4rem 0;
}

.top {
  display: flex;
  align-items: center;
  text-align: start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top .logo {
  margin-bottom: 1rem;
  width: 170px;
}

.top i {
  color: #fff;
  font-size: 2rem;
  margin-left: 0.5rem;
}

.bottom {
  padding-top: 2rem;
  text-align: start;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bottom div {
  display: flex;
  flex-direction: column;
}

.bottom a {
  text-decoration: none;
  color: #fafafa;
  line-height: 35px;
  font-size: 1.1rem;
}

/* Browse Jobs */

.jobs form {
  margin-top: 3rem;
  width: 100%;
  border: 1px solid #51a995;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jobs form input {
  border: none;
  box-shadow: none;
  outline: none;
  padding: 1rem 0.5rem;
  width: 100%;
  font-size: 1.1rem;
}

.jobs form i {
  padding-left: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Contact */
.contact {
  display: flex;
  align-items: center;
}

.contact-img {
  width: 50%;
}

.contact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact form {
  max-width: 400px;
  /* margin: 3rem auto 0 auto; */
}

.contact label {
  padding-bottom: 1rem;
}

.contact input,
.contact textarea {
  width: 100%;
  margin: 0.5rem 0 1rem 0;
  border: 1px solid #51a995;
  box-shadow: none;
  outline: none;
  padding: 0.8rem 0.5rem;
  font-size: 1.1rem;
}

#status {
  text-align: center;
  margin-top: 20px;
}

/* Pages */
/* Job Details  */

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fcfa;
  border: 1px solid #51a995;
  border-radius: 30px;
  padding: 2rem;
}

.job-img-row {
  display: flex;
  align-items: center;
}
.job-header img {
  width: 100px;
  background: #fff;
  padding: 1rem;
  border-radius: 15px;
  margin-right: 2rem;
}

.job-description p {
  padding-bottom: 2rem;
}

@media (max-width: 1200px) {
  .obj-width {
    width: 95%;
  }
}

@media (max-width: 1200px) {
  .obj-width {
    width: 95%;
  }
}

@media (max-width: 699px) {
  /* Navbar */

  #menu {
    background-color: #fff;
    border-radius: 13px;
    display: block;
    width: 280px;
    height: auto;
    position: absolute;
    top: 80px;
    right: -100%;
    opacity: 0;
    transition: all 0.3s ease;
    align-items: stretch;
    padding: 30px 0 30px 0;
    z-index: -9;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  }

  #menu.active {
    right: 10px;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: -1;
  }

  #menu li {
    padding: 1rem;
  }

  #menu li a {
    color: #1f4a40;
  }

  #bar {
    display: block;
    font-size: 1.7rem;
    cursor: pointer;
  }

  #w-btn.reverse {
    background-color: #1f4a40;
    color: #fff;
    display: block;
    margin: 20px 0 0 50px;
  }

  .hero .hero-box {
    height: auto;
    padding: 8rem 0;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: start;
  }
  .h-left {
    width: 100%;
  }
  .h-right {
    display: none;
  }

  .features .fe-box div {
    width: 48%;
    padding-top: 3rem;
  }

  .jobs .job-id {
    position: relative;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .jobs .job-id li {
    padding: 20px 30px;
    text-wrap: nowrap;
  }

  .jobs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
  }

  .jobs .jList {
    width: 48%;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 15px;
    padding: 2rem 1rem;
    text-align: center;
    justify-items: center;
  }

  .trust .t-box {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .trust .t-box img {
    margin: 1rem 1rem 1rem 0;
    width: 100px;
    object-fit: cover;
  }

  .workers .fl-box {
    width: 48%;
    padding: 2rem 0;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
  }
  .workers .skill {
    padding-bottom: 2rem;
  }

  #key {
    font-size: 0.8rem;
    background: #edcfee;
    padding: 10px 20px;
    border-radius: 20px;
  }

  .footer i {
    margin: 1rem 1rem 0 0;
  }

  .bottom div {
    width: 50%;
  }

  /* Contact Page */

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-img {
    width: 100%;
  }
  .contact img {
    width: 70%;
    height: auto;
  }

  /* Job Details Page */

  .job-header {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 15px;
    padding: 1rem;
  }

  .job-img-row {
    margin-bottom: 1.5rem;
  }

  .job-header img {
    padding: 0rem;
    border-radius: 10px;
  }
}
