/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

/* Styling the main header with an image on the left */
header {
  background-color: #007BFF; /* Blue header */
  padding: 10px 20px; /* Adjust padding to control header height */
  display: flex;
  align-items: center;
  justify-content: start; /* Align content to the left */
  height: 70px; /* Set a fixed height for the header */
}

.logo,
.logo img {
  height: 100%;
}

.logo img {
  width: auto; /* Maintain the aspect ratio */
  display: block;
}

/* Search container positioned below the header, aligned to the left */
.search-container {
  display: flex;
  align-items: center; /* Align items vertically in the center */
  gap: 10px;
  padding: 20px 40px; /* Add some padding for spacing */
  background-color: #f0f0f0; /* Light gray background for the search area */
  min-height: 82px;
}

/* Styling the search bar and dropdown combined */
.search-container input[type="text"],
.search-container select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #007BFF;
  border-radius: 5px;
}

/* Styling the search bar */
.search-container input[type="text"] {
  width: 200px; /* Adjust width as needed */
}

/* Styling the dropdown */
.search-container select {
  width: 180px; /* Adjust width as needed */
}

/* Styling the search button */
.search-container button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.search-container button:hover {
  background-color: #0056b3;
}

#container3D {
  height: calc(100vh - 70px - 82px - 56px);
  min-height: 360px;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

#container3D canvas {
  display: block;
  width: 100%;
  height: 100%;
}

footer {
  background-color: #007BFF; /* Same blue as the header */
  font-family: "Montserrat", sans-serif;
  color: white;
  text-align: center;
  padding: 8px 20px;
  height: 56px;
  width: 100%;
}

footer p {
  margin: 0;
}

@media (max-width: 700px) {
  body {
    overflow: auto;
  }

  .search-container {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 18px;
  }

  .search-container input[type="text"],
  .search-container select,
  .search-container button {
    width: 100%;
  }

  #container3D {
    height: 58vh;
  }
}
