* {
  margin: 0;
  padding: 0;
  -webkit-print-color-adjust: exact !important;
  color-adjust: exact !important;
  print-color-adjust: exact !important;
}

#main-container {
  display: none;
  position: relative;
  margin: auto;
}

.nav {
  display: none;
}

/* nav starts here */
.nav:hover {
  cursor: pointer;
}

.nav-background {
  background-color: rgb(136, 0, 136);
  position: fixed;
  height: 30px;
  width: 30px;
  right: 10px;
  margin-top: 70px;
  z-index: 2;
  padding-top: 6px;
  border-radius: 50%;
}

.dot {
  height: 5px;
  width: 5px;
  margin: 2px auto;
  background-color: #fff;
  border-radius: 50%;
}

#nav-frame {
  display: none;
}

#nav-frame span {
  margin: 10px;
  color: white;
}

#nav-frame span:hover {
  cursor: pointer;
  padding: 5px;
  scale: 1.1;
  background-color: rgb(198, 0, 198);
}

.nav-style {
  position: fixed;
  right: 20px;
  z-index: 2;
  background-color: rgb(136, 0, 136);
  margin-top: 1px;
  border-radius: 5px;
}

/* nav ends here */

#img1,
#img2,
#img3,
#img4,
#img5 {
  width: 100%;
  object-fit: cover;
}

#img1 {
  margin-top: 60px;
}

.basic-details {
  position: relative;
  box-shadow: 0 1px 6px #9d9d9d;
  padding: 5px 5px 60px 5px;
}

#name {
  position: absolute;
  text-align: center;
  background-color: #f0f0f0;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

th {
  font-weight: 500;
  font-size: 10px;
  color: #9d9d9d;
}

td {
  text-align: center;
}

table {
  margin: 0;
  padding: 0;
}

.basic-info {
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 40px;
}

table:nth-child(2) {
  margin-top: 15px;
}

.assets-img {
  height: 15px;
  margin-right: 20px;
}

.personal-details {
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 20px;
  margin-bottom: 70px;
}

#horoscope-details {
  display: none;
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 20px;
  margin-bottom: 70px;
}

hr {
  margin-top: 10px;
  width: 60px;
  height: 2px;
  border-radius: 10px;
  background-color: purple;
}

.personal-details-elements {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.personal-details-single-element {
  margin-top: 15px;
}

.personal-details-single-element h6 {
  color: #9d9d9d;
  margin-bottom: 5px;
}

.interest-hr {
  height: 1px;
  background-color: rgb(212, 212, 212);
}

.int-hob-section {
  margin-top: 30px;
  margin-bottom: 30px;
}

.int-hob-section h5 {
  color: #9d9d9d;
}

.footer {
  position: relative;
  background-color: rgb(98, 7, 196);
  margin-top: 50px;
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 50px;
  padding-bottom: 40px;
  border-radius: 30px 30px 0px 0px;
}

.profession-details {
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 20px;
  margin-bottom: 50px;
}

.single-element-details {
  display: flex !important;
  margin-top: 10px;
}

#a-bit {
  margin-top: 40px;
}

.profession-details h5 {
  color: #9d9d9d;
  margin-top: 20px;
}

#interest {
  margin-top: 5px;
}

.family-details {
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 60px;
  margin-bottom: 80px;
}

.family-elements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 30px;
}

.family-details-single-elements {
  margin-top: 30px;
}

.family-details-single-elements H5,
.family-details h6 {
  color: #9d9d9d;
}

.family-details-single-elements h3 {
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 2px;
}

.family-details-single-elements p {
  font-style: italic;
}

.full-line {
  width: 100%;
  height: 0.5px;
  background-color: #f6f6f6;
  margin-top: 60px;
  margin-bottom: 60px;
}

.contact-details {
  margin-top: 80px;
  padding-right: 10%;
  padding-left: 10%;
}

.footer h6,
.footer p {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: auto;
  color: #fff;
}

/* home display */
#home-display {
  display: none;
  flex-direction: column;
  align-items: center;
  line-height: 40px;
  margin: auto;
  margin-top: 100px;
}

#home-display a {
  margin-top: 20px;
  background-color: blue;
  border-radius: 20px;
  padding: 5px 10px 5px 10px;
  color: white;
  text-decoration: none;
}

#home-display a:hover {
  background-color: rgb(241, 142, 159);
  text-decoration: underline;
}

#download-btn {
  display: flex;
}

/* validity dialog */
#dialog-validity {
  display: none;
  position: fixed;
  margin: auto;
  height: 200vh;
  width: 100%;
  z-index: 100;
  background-color: #3f3f3fc8;
}

.dialog-main {
  position: relative;
  margin: 200px 20px;
  padding: 20px 15px;
  background-color: white;
  text-align: center;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
}

.dialog-main h1 {
  color: red;
  margin: 0px 0px 20px 0px;
}