body {
  margin: 0;
  font-family: arial, sans-serif;
}

.header {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  box-sizing: border-box;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-right span {
  font-size: 14px;
  color: #1f1f1f;
  cursor: default;
}

.header-right button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: #0b57d0;
  color: white;
  font-size: 14px;
}
main {
  display: flex;
  flex-direction: column; /* Asjad virna */
  align-items: center; /* Horisontaalselt keskele */
  justify-content: center; /* Vertikaalselt keskele */
  height: 80vh; /* Ekraani kõrgus */
  gap: 20px;
}

input {
  flex: 1;
  border: none;
  outline: none;
}

.search-container {
  display: flex;
  margin: 0 auto;
  width: 600px;
  padding: 12px;
  border-radius: 25px;
  border: 1px solid #d6d6d6;
  font-size: 16px;
  max-height: 48px;
}
.search-container:hover {
  border: 1px solid #d2d2d2;
  box-shadow: 0px 2px 9px #d2d2d2;
}
.material-symbols-outlined {
  margin-right: 10px;
  color: #000000;
}
.buttons {
  display: flex;
  gap: 10px;
}

button {
  padding: 10px 16px;
  border: 1px solid #ffffff;
  background-color: #f7f8f9;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
button:hover {
  border-color: #d2d2d2;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
.language {
  margin-top: 20px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  color: #474747;
}

.language a {
  color: #1a0dab;
  text-decoration: none;
  margin-left: 1px;
}

.language a:hover {
  text-decoration: underline;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #f2f2f2;
  font-size: 14px;
  font-family: Arial, sans-serif;
}
.footer-top {
  padding: 15px 30px;
  border-bottom: 1px solid #dadce0;
  color: #2a2a2a;
  font-size: 15px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 35px;
}
.footer-left,
.footer-right {
  display: flex;
  gap: 30px;
}

.footer a {
  text-decoration: none;
  color: #474747;
  font-size: 14px;
}

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

@media (max-width: 600px) {
  main {
    padding: 16px;
    box-sizing: border-box;
  }
  .search-container {
    width: 100%;
    max-width: 100%;
  }
  .search-container input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .buttons button {
    width: auto;
    flex: 0 1 auto;
  }
  #main-content img {
    max-width: 100%;
    height: auto;
  }
  .buttons {
    display: flex;
    gap: 12px;
  }

  .buttons button {
    flex: 1;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-left,
  .footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer a {
    text-decoration: none;
    color: #3c4043;
  }
}