main {
    display: flex;
    flex-direction: column; /* Asjad virna */
    align-items: center;    /* Horisontaalselt keskele */
    justify-content: center;/* Vertikaalselt keskele */
    flex: 1;
}

.search-container {
    display:flex;
    margin-top: 25px;
    justify-content: space-around;
    padding: 12px 20px; /* Sisu ümber ruumi */
    border: 1px solid #dfe1e5;
    border-radius: 24px; /* Ümarad nurgad */
    max-width: 550px;
    width: 80%;
}

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

.search-container:hover {
  background-color: rgb(200, 187, 213);
  color: rgb(255, 255, 255);
}
.search-container:hover input::placeholder {
  color: rgb(62, 1, 1);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: arial, sans-serif;
}



.keeled {
    margin:100px;
    display:flex;
    align-items:center;
    gap: 5px;
}

.skip-link {
  position: absolute;
  left: -1000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {       
  position: static;
  width: auto;
  height: auto;
}

footer {
    display: grid;
    background-color: rgb(239, 239, 239);
}

.footer-all {
    display: flex;
    grid-template-columns: 1fr 1fr; /* Kolm võrdset veergu */
    grid-auto-flow: row;
    min-height: 1px;
    background-color: rgb(235, 235, 235);
    justify-content: center;
    flex-wrap: wrap;

}
.footer-stuff {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer-üles {
  padding: 0px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  border-style: hidden hidden solid hidden;
  border-color: rgb(214, 214, 214);
  border-radius: 1px;
}

/* a on linkide jaoks */
a {
  text-decoration: none;
}

a:hover {
  color:rgb(102, 42, 251);
  text-decoration: underline;
}

.nupud {
    display: flex;
    margin:20px;
    gap: 6px;
}
button {
  background-color: rgb(246, 246, 246);
  border: 1px solid rgb(246, 246, 246);
  color: rgb(52, 52, 52);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 7px;
}
button:hover {
  border: 1px solid rgb(235, 235, 235);
}

.text-white {
  color: rgb(64, 64, 64);
}

.text-white:hover {
  color: rgb(64, 64, 64);
}

.nupp-login {
  background-color: #006aff;
  border-radius: 100px;
  color:white;
}

header {
  min-height: 52px;
  background: rgb(255, 255, 255);
  display:flex;
  justify-content: flex-end;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  padding: 10px;
}

.nupp-nav {
  cursor: pointer;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.text-footer-eesti {
  padding: 15px;
  margin: 0px;
}

@media (max-width: 600px) {
  input {
    width: 90%;
  }
  #logo {
    width: 35%;
  }
  .keeled {
    margin: 10%;
  }
}