body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('kuvat/1.jpg') center center / cover no-repeat fixed;
  background-color: #f0f0f0; /* näkyy jos kuva ei peitä */
}

header {
  width: 100%;
  box-sizing: border-box;
  background: #222;
  color: #fff;
  padding: 10px 0px;
}

header .logo {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 0px 0px 10px white;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

nav li {
  margin: 0 10px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9em;
}

.hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  text-shadow: 0px 0px 3px white;
}

.content {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  flex: 1;
  text-shadow: 0px 0px 3px white;
}


footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  width: 100%;
  margin-top: auto;
  font-size: 0.9em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;

}




@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    margin: 3px 0;
  }

  .hero {
    height: 200px;
    font-size: 90%;
  }
}
