body {
  margin: 0;
}

main {
  display: flex;
  gap: 25px;
  flex-direction: column;
  /* Asjad virna */
  align-items: center;
  /* Horisontaalselt keskele */
  justify-content: center;
  /* Vertikaalselt keskele */
  height: 80vh;
  /* Ekraani kõrgus */
}

.buttons {
  display: flex;
  gap: 2px 17px;
}

button {
  background-color: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 8px;
  color: #3c4043;
  font-size: 14px;
  margin: 2px 1px;
  padding: 2px 16px;
  height: 36px;
  min-width: 58px;
  text-align: center;
  cursor: pointer;
}

button:hover {
  border-color: #d2d2d2;
  box-shadow: 0 0.6px 0.6px rgba(0, 0, 0, 0.2);
}

.search-container {
  display: flex;
  padding: 11px;
  /* Sisu ümber ruumi */
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  /* Ümarad nurgad */
  width: 600px;
  gap: 1px 2px;
}

.search-container:hover {
  box-shadow: 2px 2px 5px #b8b9bd;
  border: 1px solid#b8b9bd;
}

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

.langue {
  font-size: 12px;
  font-family: Arial, sans-serif;
  margin: 25px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f2f2f2;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #70757a;
}

.footer-top {
  padding: 15px 30px;
  border-bottom: 1px solid #d2d2d2;
  color: #000000;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  margin-left: -9px;
}
.footer-left,
.footer-right {
  display: flex;
  gap: 10px;
}

footer a {
  text-decoration: none;
  color: #000000;
  margin: 15px;
}

header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.header-top {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-right: 20px;
  padding: 20px;
}

.header-top > * {
  margin-left: 15px;
}

.header a {
  color: #000000;
  margin-right: 10px;
  text-decoration: none;
}

.header:hover a {
  color: #000000;
  margin-right: 10px;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .search-container {
    width: 90%;
    max-width: 350px;
  }

  .buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-top {
    padding: 10px;
    margin-right: 10px;
    font-size: 13px;
    gap: 5px;
  }

  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
    margin-left: 0;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  footer a {
    margin: 5px 10px;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
}
