body {
  background-color: #e5e5e5;
  padding: 20px 60px;
}
html {
  font-family: "Poppins", sans-serif;
  line-height: 24px !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  color: #1a1e2c;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500 !important;
  font-size: 16px !important;
  margin: 0;
}
a {
  text-decoration: none;
  color: #1a1e2c;
}
nav {
  background-color: #fff;
  display: grid;
  grid-template-columns: 150px 1fr 250px;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(133, 139, 146, 0.06);
  border-radius: 20px;
  padding: 15px 20px;
  margin: 40px 0;
}
.innerNav {
  display: flex;
  align-items: center;
  justify-content: right;
  padding: 0 10px;
}

.firstNav a,
.thirdNav a {
  margin: auto 10px;
}
.secNav a {
  margin: auto 30px;
}
.firstNav,
.secNav {
  border-right: 1px solid #e7e9f0;
}

.secNav a {
  font-weight: 500;
  font-size: 14px;
}
.active {
  color: #27ae60;
}
.secNav a {
  color: #8e94a7;
}
header {
  display: flex;
  justify-content: space-between;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(137, 143, 150, 0.04);
  border-radius: 20px;
  background-color: #fff;
  margin: 40px 0;
  padding: 10px 20px;
  align-items: center;
}
.firstHeader {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
}
.secHeader {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
}
.secHeader a {
  color: #00d555;
}
.personBox {
  background: #ffffff;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(137, 143, 150, 0.04);
  border-radius: 20px;
  text-align: center;
  padding: 50px 0;
}
.missingList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 70px 50px;
}
.name {
  color: #27ae60;
  margin: 4px 0;
}
.location {
  font-size: 12px !important;
  margin: 4px 0;
  color: #8e94a7;
}
.age {
  font-size: 13px !important;
  margin: 4px 0;
}
.gender {
  color: #27ae60;
  background: #f2f5fe;
  border-radius: 12px;
  width: 100px;
  margin: 25px auto;
  padding: 12px 0;
}
.view {
  padding: 14px 24px;
  background: #27ae60;
  border-radius: 12px;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
}
.seeMoreDiv {
  text-align: center;
}
.seeMore {
  background: #27ae60;
  border-radius: 12px;
  align-items: center;
  color: #fff;
  padding: 15px;
}
.missingDiv {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 100px 0;
  margin: 40px 0;
}
footer {
  grid-template-columns: 1fr 230px;
  display: grid;
  grid-gap: 0 30px;
  background-color: #1a1e2c;
  margin: 60px 0 20px;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(133, 139, 146, 0.06);
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}
.backDiv {
  display: flex;
  align-items: center;
}
.totalDiv {
  display: grid;
  grid-template-columns: 1fr 50px;
  grid-gap: 0 30px;
  align-items: center;
}
.backDiv {
  border-right: 1px solid #e7e9f0;
}
.backDiv a {
  background: #f2f5fe;
  border-radius: 12px;
  color: #27ae60;
  padding: 15px;
}
.totalDiv p {
  color: #fff;
  font-size: 14px;
  margin: 2px;
}
.totalDiv a {
  color: #8e94a7;
  font-size: 12px;
}

/* LIST.HTML STYLES */

.searchPersons {
  background: #ffffff;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(137, 143, 150, 0.04);
  border-radius: 20px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
}
.searchDiv {
  display: flex;
  justify-content: space-between;
}
input {
  width: 999px;
  background: rgba(231, 233, 240, 0.19);
  border-radius: 10px;
  padding: 20px;
  border: 0;
}
input::placeholder {
  color: #8e94a7;
  font-size: 14px;
}
.close {
  border-right: 1px solid #e7e9f0;
  padding: 0 30px;
}
.tick {
  border-left: 1px solid #e7e9f0;
  padding: 0 30px;
}
.searchBtn {
  align-self: center;
  background: #27ae60;
  border-radius: 12px;
  padding: 14px 24px;
  color: #fff;
  margin: 10px 0;
}

/* CREATE REPORT STYLES */
.createReportFlex {
  display: grid;
  grid-template-columns: 26% 70%;
  grid-gap: 50px;
}
.uploadSection {
  display: flex;
  flex-direction: column;
}
.uploadDiv {
  text-align: center;
  background: #ffffff;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(133, 139, 146, 0.06);
  border-radius: 20px;
  margin: 20px 0;
  padding: 50px 0;
}
span {
  font-size: 12px;
  line-height: 20px;
  color: #8e94a7;
}
.uploadBtn {
  display: flex;
  align-items: center;
  background: #27ae60;
  border-radius: 24px;
  font-size: 12px;
  color: #fff;
  width: 160px;
  margin: 0 auto;
  padding: 10px;
  justify-content: space-around;
}
.detailsSection {
  display: flex;
  flex-direction: column;
}
.relationship {
  background: #1a1e2c;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(133, 139, 146, 0.06);
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  color: #fff;
  align-items: center;
  padding: 20px 0;
}
.SM {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 12px 25px;
  border-radius: 12px;
  border: 0;
  font-size: 13px;
}

.nameFlex {
  display: flex;
  align-items: center;
}
.nameFlex,
.date {
  border-right: 1px solid #e7e9f0;
  padding-right: 20px;
}
.date p {
  margin: 0 3px;
  font-size: 14px;
}
.dateDate {
  display: flex;
}
.dateDate p {
  color: #8e94a7;
  font-size: 12px;
}
.nameFlex p {
  margin: 0 3px;
}
.heading {
  color: #27ae60;
  font-size: 14px;
}
.fullName {
  font-size: 14px;
}
.detailsSectionDiv {
  margin-bottom: 40px;
}
.profileSection {
  background: #ffffff;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(137, 143, 150, 0.04);
  border-radius: 20px;
  padding: 40px 50px;
}
.nameSpot {
  font-weight: 200;
  font-size: 48px;
  line-height: 64px;
  margin: 2px 0;
  color: #8e94a7;
}
.dateDate p {
  margin: 2px 0;
}
.profileDetails {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ebebf9;
  padding-bottom: 10px;
}
.profileDetailsOne {
  text-align: right;
}
.profileDetailsOne p {
  margin: 4px 0;
  color: #1a1e2c;
  font-weight: 500;
}
.state {
  color: #8e94a7;
  font-size: 12px;
}
.genderBtn,
.questionBtn button {
  border-radius: 24px;
  font-size: 12px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
}
.btnFlex {
  margin: 15px 0;
}
.femaleBtn,
.yes {
  background: #1a1e2c;
  color: #fff;
}
.maleBtn,
.no {
  background: #f2f5fe;
  color: #27ae60;
}
.profileDetailsInput {
  padding: 40px 0;
}
.profileDetailsInput input {
  border-bottom: 1px dashed #ebebf9;
  background: transparent;
  padding: 10px 0;
  margin: 5px 0;
  transition: all 0.1s;
  width: 70%;
  display: block;
}
.profileDetailsInput input:focus {
  border-bottom: 1px solid #8a8a8a;
  outline: none;
  border-radius: 0;
}
.profileDetailsInput label,
.profileDetailsInput p {
  color: #8e94a7;
  font-size: 12px;
}
.profileDetailsInput input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-size: 12px;
  font-weight: 100;
}
form div {
  margin: 10px 0;
}
.ransomDiv {
  display: flex;
  justify-content: space-between;
}
#features {
  border: 1px dashed #ebebf9;
  padding: 10px;
  height: 103px;
  width: 90%;
  border-radius: 20px;
  margin: 5px 0;
  transition: all 0.2s;
}
#features::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
#features:focus-visible {
  border: 1.5px solid #636363;
  outline: none;
  border-radius: 20px;
}
.submitBtn {
  background: #27ae60;
  border-radius: 12px;
  width: 306.38px;
  height: 48px;
  font-size: 13px;
  outline: none;
  border: 0;
  color: #ffffff;
  margin: 40px auto;
  transition: all 0.2s;
  cursor: pointer;
  display: block;
}
.btn,
.view {
  transition: all 0.2s;
}
.submitBtn:hover,
.btn:hover,
.view:hover {
  opacity: 0.8;
}

/* modals */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  margin: 15% auto;
  padding: 20px;
  width: 400px;
  height: 516px;
  right: 554px;
  top: 584px;
  background: #ffffff;
  border: 0.5px solid #ebebf9;
  box-sizing: border-box;
  box-shadow: 8px 8px 16px 4px rgba(137, 143, 150, 0.04);
  border-radius: 20px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal-content h2 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #1a1e2c;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal-body {
  margin: 30px 0;
}
.modal-body p {
  font-size: 14px;
  line-height: 24px;
  color: #8e94a7;
}
.socialFlex {
  display: flex;
  align-items: center;
  margin: 40px 0;
}
.socialFlex input {
  border-bottom: 1px dashed #ebebf9;
  width: 280px;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.socialBtn button {
  padding: 14px 24px;
  width: 336px;
  height: 48px;
  border-radius: 12px;
  margin: 8px 0px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.socialBtn button:hover {
  opacity: 0.8;
}
.socialCancel {
  background: #f2f5fe;
  color: #27ae60;
}
.socialSubmit {
  background: #27ae60;
  color: #fff;
}
.anotherFlex {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
}
.secHeaderMobile {
  display: none;
}
.mobileToggle {
  display: none;
}
#mobileMenu{
  display: none;
}
/* MEDIA QUERY */
@media only screen and (max-width: 450px) {
  body {
    padding: 20px;
  }
  .createReportFlex {
    grid-template-columns: 1fr;
    grid-gap: 50px;
  }
  .secNav,
  .thirdNav {
    display: none;
  }
  .firstNav,
  .secNav {
    border: none;
  }
  .relationship {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 30px;
  }
  .date,
  .nameFlex {
    border: none;
    margin: 0 0 25px 0;
  }
  .submitBtn {
    width: 200px;
  }
  .profileDetails {
    flex-direction: column;
  }
  .profileDetailsOne {
    text-align: left;
  }
  .ransomDiv {
    flex-direction: column;
  }
  .profileDetailsInput input {
    width: 90%;
  }
  .firstHeader img {
    display: none;
  }
  .secHeaderMobile {
    display: flex;
  }
  .secHeaderDesktop {
    display: none;
  }
  .firstHeader,
  .missingList {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  .backDiv {
    border-bottom: 1px solid #e7e9f0;
    justify-content: space-between;
    margin: 10px 0;
    border-right: none;
    padding-bottom: 20px;
  }
  .close,
  .tick {
    display: none;
  }
  .mobileToggle {
    display: inline-block;
    cursor: pointer;
    justify-self: right;
    
  }

  .bar1,
  .bar2,
  .bar3 {
    width: 18px;
    height: 2px;
    background-color: #BDBDBD;
    margin: 6px 0;
    transition: 0.4s;
  
  }

  /* Rotate first bar */
  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-3px, 4px);
  }

  /* Fade out the second bar */
  .change .bar2 {
    opacity: 0;
  }

  /* Rotate last bar */
  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }
  nav {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  #mobileMenu{
   background-color: #fff;
   padding: 20px;
   border-radius: 10px;
   display: none;
   transform-origin: 0% 0%;
  transform: translate(0%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
  #mobileMenu li{
    list-style: none;
    padding: 5px 0;
  }
}
