@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500&family=Poppins:wght@400;500;600;700&family=Roboto+Slab&display=swap");

* {
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  overflow: hidden;
  background: #222;
  font-family: "Open Sans", sans-serif;
}

.card {
  background: #ffffff90;
  padding: 2rem;
  border-radius: 30px;
  width: 100%;
  max-width: 420px;
  margin: 1rem;
  color: #222;
}

.search {
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  margin: 0.5rem;
  border-radius: 50%;
  border: none;
  height: 2.5rem;
  width: 2.5rem;
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

button:hover {
  background: #888;
}

.search-box {
  border: none;
  outline: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-size: 120%;
  height: 2.5rem;
  width: 80%;
}

h1 {
  margin: 0;
  margin-bottom: 0.3em;
}

.description {
  text-transform: uppercase;
  margin-left: 0.2em;
}

.flex {
  display: flex;
  align-items: center;
}

.loading {
  visibility: hidden;
}

.loading::after {
  visibility: visible;
  content: "Loading...";
  color: #222;
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  font-family: "Open Sans", sans-serif;
  color: #f5f5f5;
  background-color: black;
  padding: 10px 0px;
  font-size: min(2vw, 15px);
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
}
