* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

.container {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("pildid/background.jpg");
  background-position: center;
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  padding-top: 120px;
}

.headerContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.headerContent h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.headerContent p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.nupp-peamine {
  background-color: #f1c40f;
  color: #333;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.nupp-peamine:hover {
  background-color: #e1b000;
}

.kategooriate-sektsioon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.kategooria-kaart {
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.kategooria-kaart:hover {
  transform: scale(1.05);
}

.kategooria-kaart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}