* {
  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;
  align-items: center;
  gap: 15px;
}

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

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

.otherapps {
  display: flex;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.otherapps:hover {
  background-color: #ddd;
}

.signinbtn {
  outline: none;
  background-color: #0b57d0;
  color: white;
  height: 40px;
  padding: 0 20px;
  border-radius: 20px;
  border: none;
}
.signinbtn:active {
  background-color: #1b71fc;
}

.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:hover {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}
.inputgroup svg {
  margin: 0 15px;
}
.search-icon {
  height: 20px;
  opacity: 0.4;
}
.voice-icon {
  height: 24px;
}

.searchinput {
  flex-grow: 1;
  outline: none;
  align-self: stretch;
  padding: 2px 0;
  border: none;
  color: rgba(0, 0, 0, 0.87);
  background-color: rgba(0, 0, 0, 0);
  font-size: 16px;
  min-width: 0;
}

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

.searchbtngroup button {
  outline: none;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 9px 15px;
  border: 1px solid white;
  color: #5f6368;
  font-size: 14px;
}

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

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

.gsearch::before {
  content: "Goo";
}

.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: #666;
  cursor: pointer;
}

.bottombar .group > div:hover {
  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;
  }
}
