body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background-color: #202124;
  color: #e8eaed;
  overflow-x: hidden;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 0;
}
header {
  padding: clamp(10px, 1.2vw, 15px) clamp(12px, 1.6vw, 20px);
}
.top-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(8px, 1vw, 15px);
  font-size: clamp(11px, 0.9vw, 13px);
}
.top-nav a {
  text-decoration: none;
  color: #e8eaed;
}
.top-nav a:hover {
  text-decoration: underline;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e8eaed;
  cursor: pointer;
  padding: clamp(5px, 0.6vw, 8px);
  border-radius: 50%;
  transition: background-color 0.2s;
}
.icon-btn:hover {
  background-color: #2f3034;
}
.profile-icon {
  font-size: clamp(24px, 2vw, 32px);
  padding: 0;
  line-height: 1;
}
.profile-icon:hover {
  background-color: transparent;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 25px);
  padding-left: 20px;
  padding-right: 20px;
  padding-top: clamp(70px, 12vw, 180px);
  padding-bottom: 120px;
}
.logo {
  width: clamp(170px, 22vw, 272px);
  max-width: 100%;
  height: auto;
}
.logo path {
  fill: #f1f3f4;
}
.search-container {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 10px);
  width: min(100%, clamp(320px, 58vw, 720px));
  min-height: clamp(36px, 3.2vw, 46px);
  padding: 0 clamp(10px, 1vw, 14px);
  border: 1px solid transparent;
  border-radius: 24px;
  background-color: #4d5156;
  box-sizing: border-box;
}
.search-container:hover {
  background-color: #5f6368;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
input {
  border: none;
  outline: none;
  flex: 1;
  width: 100%;
  min-width: 0;
  font-size: clamp(12px, 1.1vw, 16px);
  padding: clamp(6px, 0.8vw, 8px) 0;
  background: transparent;
  color: #e8eaed;
}
input::placeholder {
  color: #bdc1c6;
}

.search-icon,
.mic-icon {
  font-size: clamp(17px, 1.5vw, 22px);
  color: #e8eaed;
  flex-shrink: 0;
}
.buttons {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
}
.buttons button {
  background-color: #303134;
  border: 1px solid transparent;
  color: #e8eaed;
  padding: clamp(7px, 0.9vw, 12px) clamp(12px, 1.2vw, 16px);
  border-radius: 4px;
  cursor: pointer;
  font-size: clamp(11px, 0.95vw, 14px);
  white-space: nowrap;
}
.buttons button:hover {
  border-color: #5f6368;
}
.languages {
  font-size: clamp(11px, 0.9vw, 13px);
  color: #bdc1c6;
  text-align: center;
}
.languages p {
  margin: 0;
}
.languages a {
  text-decoration: none;
  color: #8ab4f8;
}
.languages a:hover {
  text-decoration: underline;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #171717;
  font-size: clamp(10px, 0.95vw, 14px);
}
.footer-country {
  font-size: clamp(11px, 1vw, 15px);
  padding: clamp(10px, 1vw, 15px) clamp(16px, 2vw, 30px);
  border-bottom: 1px solid #3c4043;
  color: #e8eaed;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(10px, 1vw, 15px) clamp(16px, 2vw, 30px);
}
.footer-left,
.footer-right {
  display: flex;
  gap: clamp(10px, 1.5vw, 30px);
  white-space: nowrap;
}
footer a {
  text-decoration: none;
  color: #e8eaed;
}
footer a:hover {
  text-decoration: underline;
}
@media (max-width: 1200px) {
  .footer-bottom {
    justify-content: center;
    gap: clamp(18px, 5vw, 90px);
  }
  .footer-left,
  .footer-right {
    gap: clamp(8px, 1.6vw, 22px);
  }
}
@media (max-width: 800px) {
  main {
    padding-top: clamp(55px, 10vw, 110px);
    padding-bottom: 105px;
  }
  .footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(6px, 1.2vw, 14px);
  }
  .footer-left,
  .footer-right {
    display: contents;
  }
}
