* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
}

.topbar {
  padding: 15px 30px;
  align-self: flex-end;
  display: flex;
  justify-content: row;
  height: 30px;
}

.topbar .link {
  color: #333;
  line-height: 30px;
  font-size: 14px;
  margin-left: 15px;
  cursor: pointer;
}

.topbar .link:hover {
  color: #555;
  text-decoration: underline;
}

.signinbtn {
  outline: none;
  background-color: #4285f4;
  font-weight: 800;
  color: white;
  height: 30px;
  padding: 0 15px;
  border-radius: 3px;
  border: none;
}
.signinbtn:active {
  background-color: #1b71fc;
}

.otherapps {
  background-image: url(otherapps.png);
  background-size: 528px 68px;
  height: 30px;
  width: 30px;
  background-position: -132px -38px;
  opacity: .55;
  margin: 0 15px;
  cursor: pointer;
}

.otherapps:hover {
  opacity: 0.75;
}

.maincontent {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 15px;
}

.inputgroup {
  height: 46px;
  border-radius: 23px;
  width: 100%;
  max-width: 580px;
  border: 1px solid #dfe1e5;
  display: flex;
  align-items: center;
}
.inputgroup img {
  margin: 0 15px;
}
.search-icon {
  height: 20px;
  opacity: .4;
}

.voice-icon {
  height: 24px;
}

.searchinput {
  flex-grow: 1;
  outline: none;
  height: 100%;
  padding: 2px 0;
  border: none;
  color: rgba(0,0,0,.87);
  background-color: rgba(0, 0, 0, 0);
  font-size: 16px;
}

.searchbtngroup {
  display: flex;
  gap: 10px;
}

.searchbtngroup button {
  outline: none;
  background-color: #f2f2f2;
  border-radius: 4px;
  padding: 10px 15px;
  border: 1px solid white;
  color: #5F6368;
  font-size: 14px;
}

.searchbtngroup button:hover {
  background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
  border: 1px solid #ccc;
  color: #333;
  cursor: pointer;
  background-color: #f8f8f8;
}

.searchbtngroup button:focus {
  border: 1px solid #4285f4;
}

.flexible-space {
  height: 7vh;
}

.bottombar {
  height: 50px;
  background-color: #f2f2f2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-size: 14px;
}

.bottombar .group {
  display: flex;
  gap: 20px;
  height: 100%;
  align-items: center;
}

.bottombar .group > div {
  color: #444;
  cursor: pointer;
}

.bottombar .group > div:hover {
  color: #555;
  text-decoration: underline;
}

@media screen and (max-width: 660px) {
  .topbar {
    padding: 15px;
  }
  .bottombar {
    justify-content: space-around;
  }
  .bottombar .group:first-child {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .inputgroup {
    max-width: 480px;
  }
}
