:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-navbar-a: #202124;
  --color-navbar-button-bg: #1a73e8;
  --color-footer-bg: #f2f2f2;
  --color-footer-a: #70757a;
  --color-section-button-bg: #f2f2f2;
  --color-section-button: #5f6368;
}
body {
  font-family: arial, sans-serif;
  margin: 0;
}
header {
  width: 100%;
}
#nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px 10px 10px;
}
#nav-bar a {
  margin-left: 15px;
  color: var(--color-navbar-a);
  font-size: 13px;
  text-decoration: none;
}

#nav-bar a:hover {
  text-decoration: underline;
}

#nav-bar button {
  margin-left: 15px;
  padding: 8px 15px;
  border: none;
  background-color: var(--color-navbar-button-bg);
  color: var(--color-white);
  font-size: 13px;
  border-radius: 4px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#search p {
  text-align: center;
  font-size: 14px;
  color: gray;
}
#logo img {
  width: 310px;
  margin-top: 60px;
}

.search-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 584px;
  display: flex;
  align-items: center;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 0;
  height: 44px;
}

.search-box:hover {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  border-color: rgba(223, 225, 229, 0);
}

.search-icon {
  display: flex;
  align-items: center;
  padding-left: 14px;
}

.search-icon img {
  width: 15px;
  height: 15px;
  opacity: 0.6;
}

.search-engine {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 0 15px;
  background: transparent;
  height: 100%;
}

.mic-icon {
  display: flex;
  align-items: center;
  padding-right: 14px;
  cursor: pointer;
}

.mic-icon img {
  width: 24px;
  height: 24px;
}

section button {
  background-color: var(--color-section-button-bg);
  border: 1px solid #f2f2f2;
  border-radius: 4px;
  color: var(--color-section-button);
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  margin: 0 4px;
}

section button:hover {
  border: 1px solid #dadce0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--color-footer-bg);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid #dadce0;
  box-sizing: border-box;
}
footer img {
  width: 30px;
}
#middle-div {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer a {
  text-decoration: none;
  font-size: 17px;
  color: #000000;
  margin-left: 5px;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .search-box {
    width: 90%;
  }
  #nav-bar {
    padding: 10px 20px;
  }
}
