* {
  margin: 0;
  padding: 0;
  list-style: none;
    box-sizing: border-box;
}

html {
  background: #fff;
    font-size: 16px;
}
body {
  color: #555;
  font-family: 'Open Sans', sans-serif;
      font-family: Helvetica, Arial,sans-serif;
  font-size: 1em;
  line-height: 1.5;
}
img{
    max-width: 100%;
    height: auto;
}
header {
  background-image: url(banner.png);
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 14px;
  border-bottom: 1px solid #dcdcd5;
}
nav {
  background-color: #fff;
  border-bottom: 1px solid #dcdcd5;
}
nav ul {
  width: 80%;
  height: 50px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 15px;
  display: flex;
  background-color: #fff;
  flex-wrap: wrap;
  justify-content: space-around;
}
nav li {
  text-decoration: none;
  list-style-type: none;
  text-align: center;
}
nav li a {
  text-decoration: none;
  font-size: 1.1em;
  text-transform: uppercase;
  color: #777;
}

hr{
    margin:40px 0 25px 0;
    border: 10px solid green;
    border-radius: 5px;
}
a {
  text-decoration: underline;
  color: #5E3200
}
h1 {
  color: #666666;
  text-align: left;
  letter-spacing: 0.09em;
  font-family: 'Open Sans', sans-serif;
font-size: 32px;
  line-height: 1;
  margin-top: 50px;
  margin-right: 0;
  margin-bottom: 30px;
  margin-left: 0;

}
pre {
      
}
h2 {
  font: 22px Georgia, "Times New Roman", Times, serif;
  color: #9c8d6c;
  margin: 60px 0 20px;
  text-transform: uppercase;
}
h3 {
     color: #6D4911;
  margin: 30px 0 20px;
    text-transform: uppercase;
}
p {
  margin: 10px 0 10px;
}
a:hover {
  color: #0f698d;
}
article {
  width: 70%;
    margin-left: auto;
    margin-right: auto;
}


article ul, article ol {
  margin: 10px 30px; 
    line-height: 2em;
}
article ol li{
 
list-style-type:decimal;    
}
article ul li{
 
list-style-type:circle;    
}

section {
  padding-top: 24px;
  float: left;
  width: 420px;
}

.ylos_linkki{
    text-decoration: none;
    font-size: 0.9em;
    color: blue;
    margin-top: 100px;
}
footer p {
  font-size: .8em;
}
img{
    margin: 50px;
}
@media screen and (max-width: 1250px) {
  nav ul {
    width: 100%;
  }
  nav li a {
    font-size: 0.9em;
  }
}
@media screen and (max-width: 800px) {
  header {
    border-bottom: hidden;
  }
    nav{
        border-bottom: hidden;
    }    
  nav ul {
    display: block;
    height: auto;
  }
  nav li {
    width: 100%;
    height: 60px;
      padding-top: 15px;
    border-bottom: 1px solid #dedede;
    background-color: #686363;
  }
  nav li a {
    color: #fff;
  }
}