/* Reset default margin and padding */
body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

h3 {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 0px;
}

.button2{
  display: inline-block;
  padding: 4px 8px;
  background-color: #32323278;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  height:max-content;
  width: max-content;
}

.button2:hover {
  background-color: #2c6fa5;
  border-color: #03549a;
  transform: translateY(-2px);
}

.button2:focus {
  outline: none;
}

/* Style for the menu */
#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px; /* Width of the expanded menu */
  height: 100vh; /* Full height of the viewport */
  background-color: #3c3c3c8f;
  padding: 20px;
  border-right: 1px solid #ccc;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}
/* Style for the menu when expanded */
#menu.active {
  transform: translateX(0);
}
/* Style for the menu button */
#menu-btn {
  display: inline-block;
  padding: 4px 8px;
  background-color: #32323278;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  height:max-content;
  width: max-content;
}
/* Style for the hamburger icon */
.menu-icon {
  width: 30px;
  height: 3px;
  background-color: #333;
  margin: 6px 0;
  transition: background-color 0.3s ease-in-out;
}
/* Style for the hamburger icon when active */
#menu-btn.active .menu-icon:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
#menu-btn.active .menu-icon:nth-child(2) {
  opacity: 0;
}
#menu-btn.active .menu-icon:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
/* Style for the buttons inside the menu */
.menu-btn {
  display: block;
  margin-bottom: 20px;
  padding: 4px 8px;
  background-color: #32323278;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  height:max-content;
  width: max-content;
}
.menu-btn:hover {
  background-color: #45a049;
}
/* Style for the map and account sections */
#map-section, #account-section {
  display: none;
  padding: 20px;
}
/* Style for the map and account sections when active */
#map-section.active, #account-section.active {
  display: block;
}

/* Set up basic styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: url('https://firebasestorage.googleapis.com/v0/b/esp32-4a461.appspot.com/o/Logos%2FWebsite%20Background%20Photos%20-%20Trees.jpg?alt=media&token=d067d308-d1cf-48ca-8be3-3f66dc4686ab') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #f8f8f8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.miscsection {
  background-color: #3333335d;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

#loginBox {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 9999;
}

header {
  background-color: #3333335d;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  font-size: 2.5em;
}

main {
  padding: 20px 0;
}

.section-header {
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.map-container {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

#map {
  height: 400px;
  border-radius: 5px;
}

.sale-details {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.sale-details h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.login-form {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.login-form h2 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.login-form button {
  width: 100%;
  padding: 10px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.login-form button:hover {
  background-color: #555;
}

footer {
  background-color: #33333335;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer p {
  font-size: 0.8em;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
  background-color: #f2f2f248;
}
th {
  background-color: #f2f2f2;
}
.hidden {
  display: none;
}
.center {
  text-align: center;
}
#toggleButton {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
}