* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 62.5%;
}

*:focus {
  outline: none;
}

ul {
  list-style-type: none;
}

ul li {
  display: inline;
}

a {
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

body {
  background-color: #ffffff;
  min-height: 100vh;
  min-width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: Arial, Helvetica, sans-serif;
}

.google-header {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 2rem;
}

.google-header ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
}

.google-header ul li a {
  font-size: 1.3rem;
  color: #000000;
}

.google-header ul li a .icon {
  width: 4rem;
  padding: 8px;
}

.google-header ul li a .icon:hover,
.google-header ul li a:focus .icon {
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.07);
}

.google-header ul li a .profile {
  width: 4rem;
  border-radius: 50%;
}

.google-header ul li a .profile:hover,
.google-header ul li a:focus .profile {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.07);
}

.google-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 8rem;
}

.google-main header a:focus .google-logo {
  border: 2px solid black;
}

.google-main form {
  display: flex;
  flex-direction: row;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  padding: 1rem;
  gap: 2rem;
}

.google-main form:hover,
.google-main form:focus {
  box-shadow: 0 1px 6px rgb(32 33 36 / 28%);
}

.google-main form label {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

.google-main form #g-search {
  border: none;
  font-size: 1.6rem;
  width: 30vw;
}

.google-main form img {
  color: rgba(0, 0, 0, 0.07);
  width: 2rem;
}

.google-main .button-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.google-main button {
  background-color: #f8f9fa;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #3c4043;
  font-size: 1.4rem;
  padding: 0.7rem 1.6rem;
  text-align: center;
  cursor: pointer;
}

.google-main button:hover,
.google-main button:focus {
  box-shadow: 0 1px 1px rgb(0 0 0 / 10%);
  border: 1px solid #dadce0;
  color: #202124;
}

.google-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.google-footer .top,
.google-footer .bottom {
  padding: 1.5rem 2.5rem;
  background-color: #f2f2f2;
}

.google-footer .top {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.google-footer .top p,
.google-footer .footer-nav ul li a {
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.6);
}

.google-footer .bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.google-footer .footer-nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2.5rem;
}

@media (max-width: 76.8em) {
  .google-footer .bottom {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .google-footer .footer-nav ul {
    justify-content: center;
    gap: 2rem;
  }

  .google-main form #g-search {
    width: 50vw;
  }
}
