body {
  margin: 0;
  padding: 0;
  background-color: white;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.top-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #0167d4;
  padding: 10px 30px;
}

.connect-button {
  background-color: white;
  border-radius: 5px;
  box-shadow: #dae4ff 0px 4px 0px 0px;
  padding: 15px 10px;
  background-repeat: no-repeat;
  /* box-sizing: border-box; */
  width: 150px;
  height: 40px;
  color: #000;
  border: none;
  font-size: 15px;
  transition: all .3s ease-in-out;
  z-index: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  outline: none;
  margin-left: 30px;
}

.connect-button::before {
  content: "";
  background-color: whitesmoke;
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: width 700ms ease-in-out;
  display: inline-block;
}

.connect-button:hover::before {
  width: 100%;
}

.logo-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.logo-center img {
  width: 14%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: white;
  height: 50px;
}

nav h2 {
  margin-left: 40px;
}

.button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0167d4;
  /* Blue color */
  color: #fff;
  /* White text color */
  text-decoration: none;
  border-radius: 4px;
  margin-right: 150px;
}

.button:hover {
  background-color: #0056b3;
  /* Darker blue on hover */
}

h2 {
  color: #0167d4;
  padding-left: 60px;
  font-size: 30px;
}

.hero {
  position: relative;
  background-color: aliceblue;
  /* Replace with your desired background color */
  padding: 50px;
  /* Adjust the padding as needed */
  height: auto;
}

.hero-content {
  max-width: 800px;
  /* Adjust the width as needed */
  margin: 10px;
  margin-left: 50px;
}

.hero-heading {
  letter-spacing: normal;
  font-size: 48px;
  color: #0167d4;
  margin-top: 0px;
}

.hero-subtitle {
  font-size: 22px;
  /* Adjust the font size as needed */
  font-weight: 200;
  color: rgb(83, 82, 82);
}

.card-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.card {
  position: relative;
  top: 180px;
  left: 10px;
  /* Adjust the distance from the right side as needed */
  transform: translateY(-50%);
  background-color: #ffffff;
  /* Replace with your desired background color */
  padding: 20px;
  /* Adjust the padding as needed */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* Add a subtle box shadow */
  width: 300px;
  /* Adjust the width as needed */
  border-radius: 10px;
  height: 280px;
}

.card-content {
  margin-bottom: 20px;
  /* Add spacing between heading and form */
}

.card-heading {
  font-size: 24px;
  margin-bottom: 10px;
  /* Add spacing between heading and form */
  margin-left: 20px;
}

.card-inner-content {
  max-height: 100%;
  overflow-y: auto;
  padding: 10px;
}

.card-inner-content p {
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 18px;
  color: grey;
  padding: 10px;
}

.card-content {
  max-width: 100%;
  /* Adjust the maximum width as needed */
}

form {
  display: flex;
  flex-direction: column;
}

input[type="file"] {
  margin-bottom: 10px;
}

button {
  background-color: #007bff;
  /* Replace with your desired button color */
  color: #fff;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 5px;
}

.file-input-label {
  display: inline-block;
  background-color: #007bff;
  /* Replace with your desired button color */
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  position: relative;
}

/* Style the label in its rest state (when no file selected) */
#fileInputLabel:after {
  content: " - Click to Upload";
}

/* Style the label after file selection */
#fileInput:not(:placeholder-shown)+#fileInputLabel:after {
  content: " - Image Uploaded";
}

/* Hide the default file input button */
input[type="file"] {
  display: none;
}

/* Style the hidden submit button after file selection */
#fileInput:not(:placeholder-shown)+#fileInputLabel+#submitButton {
  display: inline-block;
  background-color: #007bff;
  /* Replace with your desired button color */
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.file-input-label span {
  margin-right: 10px;
}

/* table part */
/* .table-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: 100px; 
} */

/* table part */
.table-card {
  display: flex;
  justify-content: flex-end;
  /* Move the card to the right end */
  margin-bottom: 0px;
  margin-right: -550px;
  width: 100%;
  height: auto;
}

.cards {
  width: 100%;
  max-width: 600px;
  /* Adjust the maximum width as needed */
  background-color: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.card-label {
  flex: 1;
  font-weight: bold;
  color: #0167d4;
  font-size: large;
}

.card-content {
  flex: 2;
}

.card-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.image-container {
  width: 300px;
  /* Adjust the desired width for the uploaded image */
  height: 100px;
  /* Adjust the desired height for the uploaded image */
  overflow: hidden;
  border: 1px solid #ccc;
}

.uploaded-image,
.default-image {
  width: 100%;
  height: 100%;
}

.uploaded-image {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.default-image {
  /* Set a smaller height and width for the default image */
  width: 50px;
  height: 50px;
}

/* .dataframe {
  position: absolute;
  right: 30px;
  width: 40%;
  top: 200px;
  
} */
/* popup form styles */
/* Popup container styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  overflow-y: auto;

}

/* Popup content styles */
.popup-content {
  background-color: #fff;
  margin: 1% auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 850px;
}

.close {
  position: relative;
  top: -10px;
  left: 800px;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  font-size: 30px;
}

.close:hover {
  color: #000;
}

/* Form styles (you can customize these further) */
#contactForm {
  display: grid;
  gap: 15px;
  margin-left: 50px;
  margin-top: 20px;
}

.flex {
  display: flex;
  width: 93%;
  gap: 30px;
}

#input-text,
input[type="email"] {
  width: 90%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #ccc;
}

#input-text,
input[type="email"]:focus {
  outline: none;
}

input::placeholder {
  /* color: #04AA6D;  */
}

label {
  font-size: 12px;
}

select {
  height: 40px;
}

option {
  border-radius: 0px;
}

.message-textarea {
  resize: none;
  height: 100px;
  overflow-y: auto;
  width: 91%;
  padding: 5px;
  border-radius: 5px;
}

.message-textarea:focus {
  outline: none;
}

.form-submit-button {
  background-color: #000;
  color: #fff;
  padding: 10px 11px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 90%;
}

.form-submit-button:hover {
  background-color: rgb(37, 36, 36);
}

.container {
  display: block;
  position: relative;
  padding-left: 28px;
  padding-right: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container a {
  text-decoration: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
}

.container:hover input~.checkmark {
  background-color: #ccc;
}

.container input:checked~.checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked~.checkmark:after {
  display: block;
}

.container .checkmark:after {
  left: 7px;
  top: 2px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  color: black;
  bottom: 0;
  font-size: 13px;
  /* margin: 0rem 2rem; */
  padding: 5px 5px;
  letter-spacing: 0.5px;
  background-color: whitesmoke;
}

footer a {
  text-decoration: none;
  color: rgb(4, 79, 253);

}

footer .copyright {
  font-weight: 600;
  text-align: end;
  margin-top: 1rem;

}

footer .policy {
  text-align: justify;
  width: 70%;
  /* margin-top: 1rem; */
  margin-left: 20px;
  line-height: 1.2rem;
  font-size: 15px;
}

#openFooterPopup {
  border: none;
  background-color: transparent;
  font-weight: 600;
  color: rgb(4, 79, 253);
  cursor: pointer;
}

/* .dataframe {
  box-shadow: 5px 5px;
  background-color: white;
  margin-left: -45%;
  margin-right: auto;
  text-emphasis-color: white;
  font-size: 120%;
  height: 30%;
  width: 30%;
  border: 5px solid hsl(245, 13%, 35%);
  position: absolute;
  left: 55%;
  top: 45%;
}

th,
td {
  padding: 2%;
  width: 50%;
  text-align: center;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
} */