@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
*{
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: "Roboto";
}
html{color-scheme: dark;}
.dnone{display: none !important;}
.dflex{display: flex !important;}
.fadeout{animation: fadeout 1s forwards;}
.fadein{animation: fadein 2s forwards;}
body{
  background: rgb(30, 30, 30);
}
.maindiv{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#searchbar{
  background:#444;
  color: #fff;
  border: none;
  outline: none;
  border-radius: 10px;
  font-size: 30px;
  margin: 40px 0px 40px 0px;
  padding: 15px;
  width: 500px;
  transition: ease-in-out 200ms;
  box-shadow: 0 0 0pt 0pt #757575;
  appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: 0 0 0pt 0pt #757575;
}
#searchbar::placeholder {
  color: #ddd;
}
#searchbar:focus{
  box-shadow: 0 0 3pt 3pt #757575;
  -webkit-box-shadow: 0 0 3pt 3pt #757575;
}
.card{
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 37px;
  transition: ease-in-out 200ms;
  background: rgba(71, 71, 71, 1);
  width: 600px;
  max-width: 100%;
  height: 85px;
  margin: 15px 0px;
  border-radius: 15px;
  user-select: none;
  outline: none;
}
.card:hover{
  background: rgba(71, 71, 71, .6);
  cursor: pointer;
}
.Suggestion{
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 37px;
  transition: ease-in-out 200ms;
  background: rgba(71, 71, 71, .9);
  width: 600px;
  max-width: 100%;
  height: 85px;
  margin: 15px 0px;
  border-radius: 15px;
  user-select: none;
  outline: none;
}
.Suggestion:hover{
  background: rgba(71, 71, 71, .6);
  cursor: pointer;
}
#loader {
  fill: none;
  stroke: hsl(214, 97%, 59%);
  stroke-width: 2.5;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#loader label{
  margin: 30px 0px 0px 20px;
  font-size: 30px;
}
svg {
  width: 200px;
  transform-origin: center;
  animation: rotate4 2s linear infinite, dash4 2s ease-in-out infinite;
}
@keyframes rotate4 {
  100% {
      transform: rotate(360deg);
  }
}
@keyframes dash4 {
  0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0;
  }

  50% {
      stroke-dasharray: 90, 200;
      stroke-dashoffset: -35px;
  }

  100% {
      stroke-dashoffset: -125px;
  }
}
@keyframes fadein {
  0%{
      opacity: 0;
  }
  100%{
      opacity: 1;
  }
}
@keyframes fadeout {
  0%{
      opacity: 1;
  }
  100%{
      opacity: 0;
  }
}
@media (max-width: 780px) {
  #searchbar{
    margin: 30px 0px 40px 0px;
    font-size: 27px;
    width: 95%;
    height: 65px;
    padding: 10px 15px;
  }
  .card{
      font-size: 30px;
      width: 95%;
      height: 70px;
      border-radius: 15px;
      -webkit-border-radius: 15px;
      margin: 10px 0px;
      padding:  0px 15px;
  }
  .Suggestion{
    font-size: 30px;
    width: 100%;
    height: 70px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    margin: 10px 0px;
    padding:  0px 15px;
  }
}