* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: #0c0d0f;
}

body {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

button {
  cursor: pointer;
}
.google-header {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  gap: 1rem;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.text-link,
footer a {
  color: inherit;
  text-decoration: none;
}

.text-link:hover,
footer a:hover {
  text-decoration: underline;
}

.nav-container-second .text-link {
  display: none;
}

.icon-link {
  font-size: 1.1rem;
  color: inherit;
  width: 30px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 100%;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.icon-link:hover {
  background-color: rgb(240, 239, 239);
}

.img-button {
  border: none;
  background: transparent;
}

.img-button img {
  width: 30px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 100%;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 4 rem 1rem;
}

.input-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 550px;
  border: 1px solid rgb(240, 239, 239);
  padding: 1rem;
  border-radius: 1rem;
}

.input-bar:hover,
.input-bar:focus-within {
  box-shadow: 0 0 4px 1px rgb(238, 236, 236);
}

.input-bar input {
  flex: 1;
  border: none;
  outline: none;
  width: 100%;
}

.input-bar div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.input-icon {
  background: transparent;
  border: none;
}

.input-icon:hover {
  opacity: 70%;
}

.button-grid {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.button-grid button {
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  background-color: rgb(247, 243, 243);
  border-radius: 0.25rem;
}

.button-grid button:hover {
  box-shadow: 0 0 1px 1px rgb(163, 163, 163);
}

footer {
  background-color: rgb(250, 248, 248);
  font-size: 0.8rem;
}

footer > div {
  padding: 1rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-grid {
    flex-direction: row;
  }
  .nav-container-second .text-link {
    display: block;
  }
}
