@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body, html {
  padding:0;
  margin:0;
  height:100%;
  width:100%;
  background:#333;
  --dark-gray: rgb(90, 90, 90);
  --light-gray: rgb(200,200,200);
  --focus-blue: rgb(69, 159, 189);
  --srda: rgb(0,125,138);
  --light-srda: rgb(99,177,188);
  --focus-srda: rgb(0,125,138);
  font-family: "Poppins", sans-serif !important;
}
body {
  background:url('/assets/hero3.jpg') no-repeat fixed center;
  background-size:cover;
}

.tile {
  display:inline-block;
  width:100%;
  height:48px;
  color:#fff;
  text-decoration:none;
  text-align:center;
  padding:6px 6px 0 6px;
  border-radius:16px;
}
.tile:hover {
  background-color:rgba(0,125,138,0.6);
}


.overlay {
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5967757936507936) 0%, rgba(0,0,0,0.09518849206349211) 100%);
}
.searchbox {
--target-size: 48px; /* https://web.dev/accessible-tap-targets/ */
--box-height: var(--target-size);
--border-radius: calc(var(--box-height) / 2);
--border-width: 2px;
--icon-size: calc(var(--box-height) * 3/4 );
--side-margin: calc(var(--border-radius) / 2);
--icon-vertical-margin: calc( ( var(--box-height) - var(--icon-size) ) / 2 );
  height: var(--box-height);
  position: relative;
  background-color:rgba(0,0,0,0.3);
  border-radius:24px;
}

/* Styling each component */
.searchbox svg {
  fill: var(--light-gray);
  color: var(--light-gray) !important;
  height: var(--icon-size);
  width: var(--icon-size);
  position: absolute;
  left: var(--side-margin);
  top: var(--icon-vertical-margin);
  bottom: var(--icon-vertical-margin);
  -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
  filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
}
.searchbox input[type="search"] {
  -webkit-appearance: none; /* to prevent Safari from ignoring font-size */
  color: #fff !important;
  font-family: 'Noto Sans', Verdana, sans-serif;
  font-size: 1rem;
  padding-left: calc( var(--side-margin) + var(--icon-size) + 4px);
  padding-right: var(--side-margin);
  border: var(--border-width) solid var(--light-gray);
  border-radius: var(--border-radius);
  height: 100%;
  width: 100%;
}
.searchbox input[type="search"]::placeholder {
  color: var(--light-gray);
  opacity: 1; /* to override the default of Firefox */
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; /* Remove the left padding inside the box for Safari; see https://github.com/filipelinhares/ress/blob/master/ress.css */
}


/* Ensuring that tapping the icon focuses the search box */

.searchbox input[type="search"] {
  background: transparent;
}

/* Styling focus state */
.searchbox input[type="search"]:focus {
  border-color: var(--focus-blue);
  box-shadow: 0px 0px 5px var(--focus-srda);
  outline: 1px solid transparent; /* fallback for forced color modes; see https://www.sarasoueidan.com/blog/focus-indicators/#tips-for-styling-focus-indicators */
  /* it also removes the default focus ring imposed by browsers */
}

/* Custom-style the delete button that appears once the user enters text (Chrome and Safari only); see https://css-tricks.com/webkit-html5-search-inputs/#aa-styling-search-graphical-widgets */
.searchbox input[type="search"]::-webkit-search-cancel-button {
  /* Remove default */
  -webkit-appearance: none;
  /* Now your own custom styles */
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgb(148, 148, 148)' %3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z' /%3E%3C/svg%3E%0A");
  height: calc(var(--box-height) / 2);
  width: calc(var(--box-height) / 2);
}

input[type="search"] {
  -webkit-tap-highlight-color: transparent; /* Otherwise, tapping will show a flash of grey background on iOS Safari; see https://twitter.com/masa_kudamatsu/status/1429387005658468356 */
}
