/* ===== Layout ===== */
.home {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* ===== Header ===== */
.header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 60px;
  padding: 0 15px;
  font-size: 13px;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__link {
  color: rgba(0, 0, 0, 0.87);
  padding: 5px 0;
}

.header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
}

.header__icon-btn:hover {
  background: rgba(60, 64, 67, 0.08);
}

.header__apps svg {
  fill: #5f6368;
}

.header__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  margin-left: 6px;
}

/* ===== Main ===== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -40px;
  justify-content: center;
}

.logo {
  margin-bottom: 25px;
}

.logo img {
  width: 272px;
  height: 92px;
}

/* ===== Search ===== */
.search {
  width: 100%;
  max-width: 584px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search__box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 0 14px;
  box-shadow: none;
  background: #fff;
}

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

.search__icon {
  display: inline-flex;
  align-items: center;
  color: #9aa0a6;
  fill: #9aa0a6;
}

.search__input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 0 12px;
  background: transparent;
  color: #202124;
}

.search__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search__action {
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.search__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 29px;
}

.btn {
  background: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 4px;
  color: #3c4043;
  font-size: 14px;
  height: 36px;
  padding: 0 16px;
  line-height: 27px;
}

.btn:hover {
  border-color: #dadce0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  color: #202124;
}

.search__lang {
  margin-top: 30px;
  font-size: 13px;
  color: #4d5156;
}

.search__lang a {
  color: #1a0dab;
}

/* ===== Footer ===== */
.footer {
  background: #f2f2f2;
  font-size: 15px;
  color: #70757a;
}

.footer__country {
  padding: 15px 30px;
  border-bottom: 1px solid #dadce0;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
}

.footer__links a {
  padding: 15px 15px;
  display: inline-block;
}

@media (max-width: 500px) {
  .logo img {
    width: 200px;
    height: auto;
  }
  .footer__row {
    justify-content: center;
  }
}
