body {
    margin: 0;
    padding: 0;
}

main {
  padding: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #dfe1e5;
    border-radius: 25px;
    padding: 10px;
    max-width: 650px;
    width: 100%;
    transition: transform 0.3s ease-in-out, 
                box-shadow 0.3s ease-in-out, 
                border-color 0.3s ease-in-out;
    margin-top: 30px;
    
    
}

.search-box:hover {
    border-color: #4285f4;
    box-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
    transform: scale(1.05);
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    padding: 7px;

}



.material-symbold-outlined {
    color: gray;
    outline: 0 10px;
    padding: 10px;

}


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


/* Nupud */
button {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 8px;
    color: #3c4043;
    font-optical-sizing: none;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    height: 36px;
    min-width: 54px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease-in-out, 
                box-shadow 0.3s ease-in-out, 
                border-color 0.3s ease-in-out;
}

/* Hover efekt */
button:hover {
    background-color: none;
    transform: scale(1.20);
}

.logo {
    width: 272px;
    height: 92px;
    margin-top: -160px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2;
  border-top: 1px solid #dadce0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #70757a;
  z-index: 100;
}

/* Ülemine rida - Estonia */
.footer-top {
  padding: 15px 30px;
  border-bottom: 1px solid #dadce0;
}

.country {
  color: #000000;
  text-decoration: none;
}

.country:hover {
  text-decoration: underline;
}

/* Alumine rida - lingid */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  min-height: 46px;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
  }
  .left-links,
  .right-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .left-links a,
  .right-links a {
    margin: 5px 10px;
  }
}

/* Ainult see link, mille peal hiir on, saab joone alla */
.left-links a:hover,
.right-links a:hover,
.country:hover {
  text-decoration: underline;
  color: #202124;
  text-underline-offset: 3px;        /* joon tuleb natuke allapoole */
  text-decoration-thickness: 2px;
}

/* Sujuv üleminek */
.left-links a,
.right-links a,
.country {
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease;
}


.left-links a,
.right-links a {
  margin: 0 15px;
  padding: 8px 0;
  color: #000000;
  text-decoration: none;
}



header {
  display: flex;           /* see on kõige olulisem */
  align-items: center;
  justify-content: flex-end;   /* <--- see liigutab kõik paremale */
  padding: 0 20px;
  min-height: 50px;
  flex-wrap: wrap;
  gap: 20px;
}



.apps {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
  flex-wrap: wrap;
}

.apps:hover {
  transform: scale(1.2) rotate(10deg);
  color: #4CAF50;
}

nav {
  font-family: Arial, sans-serif;
  font-size: 14px;
}

nav:hover {
  text-decoration: underline;
  color: #202124;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}