body {
  font-size: 100%;
  font-family: sans-serif;
  color: rgba(0, 0, 0, 0.85);
  font-weight: lighter;
}
#container {
  margin: auto;
  max-width: 100%;
  padding-bottom: 30%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banner {
  max-width: 100%;
  margin: auto;
}
#nav {
  position: fixed;
  bottom: 0%;
  background-color: rgba(240, 255, 255, 0.85);
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
h1,
h2,
h3 {
  text-align: center;
}
h1 {
  font-family: cursive;
  font-weight: bolder;

  font-size: 1.7rem;
}
h2 {
  font-size: 1.2rem;
  text-align: center;
  font-weight: bold;
}
h3 {
  font-family: cursive;
  font-weight: bold;
}
p {
  font-size: 0.9rem;
}
article {
  margin: 3%;
}
li {
  margin-bottom: 2%;
}
#minakuva {
  max-width: 100%;
  float: right;
  width: 25%;
}
#tervetuloa {
  margin: 1.25% auto 1.25%;
}

.sectionpadding {
  text-align: left;
  margin: 5%;
}
.button {
  text-decoration: none;
  color: black;
  font-size: 0.8rem;
  padding: 1.25%;
  margin: 1.25%;
}

.button:hover {
  /* border: dotted lightblue 1px; */
  background-color: rgba(188, 225, 237, 0.6);
  border-radius: 10px;
}
.hinnasto p {
  font-size: 1rem;
}
.rivi {
  font-family: cursive;
  border-radius: 10px;
  padding: 0% 1% 0%;
  background-color: rgba(139, 101, 142, 0.5);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  margin: 0.8rem;
  align-items: start;
}
.hoitonimi {
  justify-self: start;
  font-weight: 600;
  grid-column: 1 / 2;
}
.aika {
  font-weight: 600;
  justify-self: center;
  grid-column: 2 / 3;
}
.hinta {
  font-weight: 600;
  justify-self: end;
  grid-column: 3 / 4;
}
span > ul li {
  margin: 0.5rem;
  font-size: 0.8rem;
}
#footer {
  position: static;
  padding: 1%;
  text-align: center;
  width: 100%;
  line-height: 80%;
  font-size: 0.7rem;
  background-color: rgba(229, 229, 250, 0.5);
}
footer > p {
  font-size: 0.7rem;
}
#palvelut {
  font-size: 1rem;
  line-height: 1.5rem;
}
.hoidot {
  text-align: center;
  font-size: 1.1rem;
  font-weight: lighter;
}
#ajanvaraus {
  margin-top: 10%;
  width: 100%;
}
@media screen and (min-width: 480px) {
  #container {
    max-width: 90%;
    margin: auto;
  }
}

@media screen and (min-width: 600px) {
  #container {
    max-width: 85%;
    margin: auto;

    line-height: 1.2rem;
  }
  article,
  section {
    max-width: 90%;
  }

  #minakuva {
    width: 30%;
  }
  .hinnasto span {
    font-size: 0.9rem;
  }

  #footer {
    padding: unset;

    margin-top: 1.25%;
    position: static;
    bottom: 0%;
  }
}
@media screen and (min-width: 750px) {
  #container {
    max-width: 75%;
    padding-bottom: unset;
  }
  article,
  section {
    max-width: 80%;
  }
  #nav {
    position: fixed;
    top: 0%;
    bottom: unset;
  }
}
@media screen and (min-width: 850px) {
  #container {
    line-height: 1.5rem;
  }

  article,
  section {
    max-width: 65%;
  }
}
@media screen and (min-width: 1150px) {
  article,
  section {
    max-width: 60%;
  }
}
