body {
   margin: 0;
   padding: 0;
   font-family: Arial, sans-serif;
   background-color: white;
  }

#query {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: purple;
  border-top: 1px solid #555;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 16px;
  color: white;
  z-index: 999;
}

/* Targeting input within #query and styling its placeholder */
#query::placeholder {
  color: gray; /* White placeholder text */
  opacity: 1; /* Override any default opacity */
}


  .image-container {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-evenly;
   gap: 10px;
   padding-left: 30px;
   padding-right: 30px;
   margin-top: 60px;
  }

  .image-container img {
   width: calc(25% - 10px);
   height: auto;
   max-height: 200px;
    cursor: pointer;
  }

  .result {
   margin-bottom: 20px;
  }

  .result-title {
   font-size: 18px;
   font-weight: bold;
   padding-left: 30px;
   padding-right: 30px;
  }

  .result-content {
   font-size: 14px;
   overflow: hidden;
   cursor: pointer;
   padding-left: 30px;
   padding-right: 30px;
  }

  .expanded {
   overflow: visible;
  }

footer {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

footer p {
  font-size: 14px;
  color: white;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: purple;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  height: 40px;
}

header h1 {
  text-align: center;
  color: white;
  width: 100%;
  font-size: 20px;
}

header img {
  float: left;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid white;;
}
header label {
  float: right;
  font-size: 30px;
  margin-right: 50px;
  color: white;
  cursor: pointer;
}

#start-recording,
#stop-recording {
  position: fixed;
  bottom: 55px;
  right: 3%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 999999;
}

#stop-recording {
  display: none;
}


#language-container {
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
  display: flex; /* Use flexbox to center contents */
  flex-direction: column; /* Arrange items in a column */
  justify-content: center; /* Center vertically in the column layout */
  align-items: center; /* Center horizontally in the column layout */
  height: 100vh; /* Full viewport height */
  width: 100vw; /* Full viewport width */
}

#select_language {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

#api-icon {
   cursor: pointer;
   z-index: 9999;
   position: fixed;
   top: 50%;
 }
#tavily-icon {
   cursor: pointer;
   z-index: 9999;
  position: fixed;
   top: 70%;
 }

#closeLanguageModal {
  float: left; 
  top: 40px; /* 20px from the top of the container */
  left: 60px; /* 20px from the right of the container */
  cursor: pointer; 
  z-index: 9999999;
  font-size: 26px;
  position: fixed;
}
#closeLanguageModal:hover {
  color: #ccc;
}