/* :root{
  --dynamic-gridW: 0px ;
} */

#searchBox {
  font-size: 1.5em;
  position: fixed;
  z-index: 9;
  display: grid;
  justify-items: end;
  grid-template-rows: auto auto;
  grid-template-columns: auto auto;
  padding: 5px;
  gap: 5px;
  white-space: nowrap;
  right: 0px;
}

#searchForm {
  display: none;
  align-items: center;
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  gap: 5px;
  z-index: 6;
}

#searchForm input {
  font-family: Roboto;
  font-size: 0.5em;
  color: white;
}

#searchForm input:focus {
  outline: 2px solid #00FF00;
  border-radius: 5px;
}

#searchForm button {
  background-color: transparent;
  font-family: Roboto;
  color: white;
  border-color: white;
  border-radius: 5px;
  border-style: solid;
}

#searchForm button:active {
  border-color: #00FF00;
}

#results {
  line-height: 1.5;
  min-height: 150px;
  max-height: 55vh;
  overflow-y: auto;
  /* Scroll vertically if needed */
  overflow-x: hidden;
  text-align: right;
  display: none;
  grid-row: 2 / 3;
  grid-column: 1 / 2;
  z-index: 5;
  padding: 0.5em;
  color: white;
}

#results a {
  font-family: Roboto;
  color: white;
}

#navbar {
  grid-row: 2 / 3;
  grid-column: 1 / 2;
  padding: 0%;
  z-index: 5;
}

/* Burger Icon */
#burger {
  grid-row: 1 /2;
  grid-column: 2 /3;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z"/></svg>') no-repeat center;
  border-radius: 5px;
  cursor: pointer;
}

/* Nav links hidden by default */
#nav-links {
  text-align: right;
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.9);
  margin-top: 10px;
  padding-right: 5px;
  padding-left: 5px;
  border-radius: 7px;
  align-items: flex-end;
}

#nav-links a {
  font-family: Colombo;
  color: rgb(224, 206, 255);
  text-decoration: none;
  padding: 5px 0;
}

/* When expanded */
#navbar.expanded #nav-links {
  display: flex;
}

#navbar.expanded #burger {
  align-self: flex-end;
}