@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@600&display=swap");
@import url(https://fonts.googleapis.com/css?family=Open+Sans);


body {
  /* Light Mode styles */
  --background-color: #f5f5f5;
  --text-color: #333333;
  font-family: "Rubik", sans-serif;
  /* Dark Mode styles */
  --dark-background-color: #111111;
  --dark-text-color: #f5f5f5;
  font-family: "Rubik", sans-serif;
}

body.dark-mode {
  background-color: var(--dark-background-color);
  color: var(--dark-text-color);
}

h1,
h2,
h3 {
  color: #555555;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
  color: #ffffff;
}

/* Add responsive styles for the container and QR code */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#qrcode-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50vw; /* Set maximum width to 50% of the viewport width */
  width: 100%; /* Ensures the QR code takes the full container width */
  height: auto; /* Allows the QR code to adjust its height based on the width */
  padding: 20px;
}

/* Add responsive styles for the input container */
#input-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

input {
  width: 70%; /* Adjust the input field width for responsiveness */
  max-width: 300px; /* Limit the maximum width of the input field */
  padding: 10px;
}

button {
  padding: 10px 20px;
}



/* button related css */

.search {
  width: 100%;
  position: relative;
  display: flex;
}

.searchTerm {
    width: 100%;
    height: 60px!important;
    border: 3px solid #00B4CC;
    border-right: none;
    padding: 5px;
    height: 20px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #333333;
    font-size: 1.4em;
}

.searchTerm:focus{
  color: #00B4CC;
}

.searchButton {
    width: 140px;
    height: 76px;
    border: 1px solid #00B4CC;
    background: #00B4CC;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/
.wrap{
  width: 30%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
