html{
    height: 100%;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
    font-size: 1.125em;
    line-height: 1.6;
    color: #333;
    background-color: white;
    background-size: cover;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}



header{
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 100px;
    background: brown;
    width: 100%;
    box-sizing: border-box;
    background-position: center;
}



header .logo{
    color: honeydew;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    float: left;
    font-weight: bold;

}

header nav{
    float: right;
}

header nav ul{
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li{
    list-style: none;
}

header nav ul li a{
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    color: honeydew;
    text-decoration: none;
    display: block;
}

header nav ul li a:hover,
header nav ul li a.active
{
    color: #333;
    background: white;
}

.image{
    text-align:center;
    max-width: 100%;
    height: auto;
    position:absolute;
    top:200px;
    left:50%;
    transform:translate(-50%, -20%);
}

.menu-toggle
{
    color: white;
    float: right;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
}


.box{
    width: 80%;
    height: 270px;
    background: brown;
    margin: 100px auto;
}


.section{
    background: white;
    padding: 5px;
    display: flex;
    flex-direction: column;
}



h1 { 
    display: block;
    font-size: 2em;
    margin-top: 0.17em;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    color: #333333;   
}



.footer{
    display: block;
    overflow: hidden;
    padding: 26px 0;
    box-sizing: border-box;
    background-color: #333;
    margin-top: 200px;
    margin-bottom: 0px;
}

.footer img{
    position: relative;
    width: 200px;
    height: auto;
    position:relative;
    top:95%;
    left:50%;
    transform:translate(-50%, -5%);
}

@media only screen and (max-width: 999999990px) {
    p{
        display: block;
        font-size: 1.125em;
        margin-top: 4.67em;
        margin-bottom: 3.7em;
        margin-left: 200px;
        margin-right: 200px;
        font-weight: bold;
        color: #333333;
    }




}



@media (max-width: 991px){
    .inner_footer{
    width: 90%;
    }

    header
    {
        padding: 0 20px;
    }
    .menu-toggle
    {
        display: visible;
        display: block;
    }
    header nav
    {
        position: absolute;
        width: 100%;
        height: calc(100vh - 50px);
        background: #333333;
        top: 50px;
        left: -100%;
        transition: 0.5s;
    }
    header nav.active
    {
        left: 0;
    }

    header nav ul
    {
        display: block;
        text-align: center;
    }
    header nav ul li a
    {
        border-bottom: 1px solid rgba(0,0,0,.2)
    }



    .h1{
        display: block;
    font-size: 2em;
    margin-top: 70px;
    text-align: center;
    font-weight: bold;
    color: #333333;
    }

    p{
        display: block;
        font-size: 1em;
        margin-top: 2.67em;
        margin-bottom: 2.7em;
        margin-left: 30px;
        margin-right: 30px;
        font-weight: bold;
        color: #333333;
    }


}













/*kirjojen kuvat*/






h2{
  display: block;
font-size: 2em;
margin-top: 70px;
text-align: center;
font-weight: bold;
color: #333333;

}

h3{
  display: block;
  font-size: 2em;
  margin-top: 50px;
  text-align: center;
  font-weight: bold;
  color: #333333;
  margin-top: 150px;
}

h5{
  display: block;
  font-size: 1.2em;
  margin-top: 4px;
  margin-bottom: 5px;
  text-align: center;
  font-weight: bold;
  color: #333333;
  margin-top: 150px;
}

p{
    text-align: center;
}

ul{
    text-align: center;
}


/*curriculum taustakuvat*/

.taustakuvahenkilotiedot{
    width: 60%;
    height: 300px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 4px;
    margin-bottom: 20px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("seurahuone.jpg");
    background-size: 100%;
    border: 0px solid;
    background-repeat: no-repeat;
}



  .taustakuvakoulutus{
    width: 60%;
    height: 250px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 4px;
    margin-bottom: 20px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("helsinginyliopisto.jpg");
    background-size: 100%;
    border: 0px solid;
    background-repeat: no-repeat;
  }

  .taustakuvatyotehtavat{
    width: 60%;
    height: 250px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 4px;
    margin-bottom: 20px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("vnk2.png");
    background-size: 100%;
    border: 0px solid;
    background-repeat: no-repeat;
  }

  .taustakuvaluottamustehtavat{
    width: 60%;
    height: 250px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 4px;
    margin-bottom: 20px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("saatytalo.jpg");
    background-size: 100%;
    border: 0px solid;
    background-repeat: no-repeat;
  }

  .taustakuvahuomionosoitukset{
    width: 60%;
    height: 250px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 4px;
    margin-bottom: 20px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("ritarihuone.jpg");
    background-size: 100%;
    border: 0px solid;
    background-repeat: no-repeat;
  }
  .taustakuvaasevelvollisuus{
    width: 60%;
    height: 250px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 4px;
    margin-bottom: 20px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("puolustusministerio0.jpg");
    background-size: 100%;
    border: 0px solid;
    background-repeat: no-repeat;
  }





@media screen and (min-width: 0px) and (max-width: 900px) {
    .taustakuvahenkilotiedot{
        width: 60%;
        height: 300px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(24%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("seurahuone2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
    }
    
    
    
      .taustakuvakoulutus{
        width: 60%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(24%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("helsinginyliopisto2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
    
      .taustakuvatyotehtavat{
        width: 60%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(24%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("vnk3.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
    
      .taustakuvaluottamustehtavat{
        width: 60%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(24%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("saatytalo2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
    
      .taustakuvahuomionosoitukset{
        width: 60%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(24%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("ritarihuone2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
      .taustakuvaasevelvollisuus{
        width: 60%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(24%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("puolustusministerio2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
      h3{
        display: block;
        font-size: 2em;
        margin-top: 20px;
        text-align: center;
        font-weight: bold;
        color: #333333;
        margin-top: 150px;
      }
}

@media screen and (min-width: 0px) and (max-width: 600px) {
    .taustakuvahenkilotiedot{
        width: 80%;
        height: 300px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(9%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("seurahuone2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
    }
    
    
    
      .taustakuvakoulutus{
        width: 80%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(9%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("helsinginyliopisto2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
    
      .taustakuvatyotehtavat{
        width: 80%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(9%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("vnk3.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
    
      .taustakuvaluottamustehtavat{
        width: 80%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(9%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("saatytalo2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
    
      .taustakuvahuomionosoitukset{
        width: 80%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(9%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("ritarihuone2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
      .taustakuvaasevelvollisuus{
        width: 80%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: 4px;
        margin-bottom: 20px;
        transform:translate(9%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("puolustusministeri&ouml;2.jpg");
        background-size: 100%;
        border: 0px solid;
        background-repeat: no-repeat;
      }
      h3{
        display: block;
        font-size: 2em;
        margin-top: 2%;
        text-align: center;
        font-weight: bold;
        color: #333333;
        margin-top: 150px;
      }
}



.hankkeet1{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("jkpaasikivi.JPG");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }

.hankkeet2{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("itsenaisyys100.JPG");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }
.hankkeet3{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("savonhistoria.JPG");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }
.hankkeet4{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("kyostikallio.JPG");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }
.hankkeet5{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("santerialkiosivusto.jpg");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }
.hankkeet6{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("snellmanninkootut.JPG");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }
.hankkeet7{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("chydenius.JPG");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }
.hankkeet8{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("demokratianpolku.JPG");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }
.hankkeet9{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 40px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("kansakuntaarakentamaan.jpeg");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }
.hankkeet10{
    width: 60%;
    height: 240px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(24%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("snellman200verkkosivu.jpeg");
    background-size: 100%;
    border: 4px solid;
    background-repeat: no-repeat;
  }



  @media screen and (min-width: 0px) and (max-width: 1514px) {
    .hankkeet1{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("jkpaasikivi.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  
  .hankkeet2{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("itsenaisyys100.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet3{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("savonhistoria.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet4{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kyostikallio.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet5{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("santerialkiosivusto.jpg");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet6{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snellmanninkootut.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet7{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("chydenius.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet8{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("demokratianpolku.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet9{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 40px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kansakuntaarakentamaan.jpeg");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet10{
      width: 80%;
      height: 240px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(7%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snellman200verkkosivu.jpeg");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  }


  @media screen and (min-width: 0px) and (max-width: 1146px) {
    .hankkeet1{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("jkpaasikivi.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  
  .hankkeet2{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("itsenaisyys100.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet3{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("savonhistoria.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet4{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kyostikallio.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet5{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("santerialkiosivusto.jpg");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet6{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snelmanninkootut.jpg");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet7{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("chydenius.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet8{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("demokratianpolku.JPG");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet9{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 40px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kansakuntaarakentamaan.jpeg");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet10{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snellman200verkkosivu.jpg.jpeg");
      background-size: 100%;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  }



  @media screen and (min-width: 0px) and (max-width: 1018px) {
    .hankkeet1{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 4px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("jkpaasikivi.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  
  .hankkeet2{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("itsenaisyys100.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet3{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("savonhistoria.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet4{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kyostikallio.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet5{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("santerialkiosivusto.jpg");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet6{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snelmanninkootut.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet7{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("chydenius.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet8{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("demokratianpolku.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet9{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 40px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kansakuntaarakentamaan.jpeg");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet10{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snellman200verkkosivu.jpeg");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  }


    @media screen and (min-width: 0px) and (max-width: 1018px) {
    .hankkeet1{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 4px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("jkpaasikivi.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  
  .hankkeet2{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("itsenaisyys100.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet3{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("savonhistoria.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet4{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kyostikallio.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet5{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("santerialkiosivusto.jpg");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet6{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snelmanninkootut.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet7{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("chydenius.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet8{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("demokratianpolku.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet9{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 40px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kansakuntaarakentamaan.jpeg");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet10{
      width: 90%;
      height: 240px;
      margin-left: 4%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snellman200verkkosivu.jpeg");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  }



  @media screen and (min-width: 0px) and (max-width: 846px) {
    .hankkeet1{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 4px;
      margin-bottom: 10px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("jkpaasikivi2.JPG");
      background-size:120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  
  .hankkeet2{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("itsenaisyys1002.JPG");
      background-size: 100%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet3{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("savonhistoria3.JPG");
      background-size: 140%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet4{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kyostikallio2.JPG");
      background-size: 140%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet5{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("santerialkiosivusto2.jpg");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet6{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snelmanninkootut2.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet7{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("chydenius2.JPG");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet8{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 10px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("demokratianpolku2.JPG");
      background-size: 130%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet9{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 40px;
      transform:translate(1%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("kansakuntaarakentamaan2.jpeg");
      background-size: 90%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  .hankkeet10{
      width: 80%;
      height: 350px;
      margin-left: 5%;
      margin-right: auto;
      margin-top: 45px;
      margin-bottom: 30px;
      transform:translate(5%, 50%);
      border: 3px solid #333333;
      text-align: center;
      background-image: url("snellman200verkkosivu2.jpg");
      background-size: 120%;
      background-position: center;
      border: 4px solid;
      background-repeat: no-repeat;
    }
  }

  @media screen and (min-width: 0px) and (max-width: 610px) {
  .hankkeet2{
    width: 80%;
    height: 350px;
    margin-left: 5%;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 10px;
    transform:translate(5%, 50%);
    border: 3px solid #333333;
    text-align: center;
    background-image: url("itsenaisyys1002.JPG");
    background-size: 120%;
    background-position: center;
    border: 4px solid;
    background-repeat: no-repeat;
  }
}



ul2{
  text-align: center;
  font-size: 2vw;
  margin-top: 70px;
  margin-bottom: 40px;
}

/*tv- ja radio-ohjelmat*/


.ohjelmat1{
        width: 60%;
        height: 250px;
        margin-left: 5%;
        margin-right: auto;
        margin-top: -15rem;
        margin-bottom: 20px;
        transform:translate(24%, 50%);
        border: 3px solid #333333;
        text-align: center;
        background-image: url("seitsemantoista.png");
        background-size: 100%;
        border: 3px solid;
        background-repeat: no-repeat;
}



/*etusivu*/

section .text1 p{
  width: 80%;
  font-size: 1.05em;
  line-height: 1.45em;
  letter-spacing: .1em;
  color: rgb(64, 64, 64);
}


section .landingtext{
  margin-top: 1em;
}



.parallax1 {
  position: relative;
  background-image: url("library-5612441.jpg");
  min-height: 50vh; 
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax2 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-image: url("old-books-436498.jpg");
  min-height: 50vh; 
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .4);
  position: absolute;
}
.parallax2 h2 {
  font-size: 5em;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--white);
  z-index: 1;
}
.parallax3 {
  position: relative;
  background-image: url("library-5612441.jpg");
  min-height: 50vh; 
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.paragraph {
  margin: 1em 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.paragraph p {
  width: 60%;
  font-size: 1.05em;
  line-height: 1.45em;
  letter-spacing: .1em;
  color: rgb(64, 64, 64);
}
.first span {
  font-size: 4em;
  color: var(--red);
  float: left;
  font-weight: 400;
  line-height: 55px;
  padding: .05em .2em 0 0;
}
.second span {
  font-size: 4em;
  color: var(--teal);
  float: left;
  font-weight: 400;
  line-height: 55px;
  padding: .05em .2em 0 0;
}
.third span {
  font-size: 4em;
  color: var(--cyan);
  float: left;
  font-weight: 400;
  line-height: 55px;
  padding: .05em .2em 0 0;
}

::selection {
  color: var(--white);
  background: rgba(161, 181, 201, .8);
}

::-webkit-scrollbar-track {
      background-color: #F5F5F5;
}
::-webkit-scrollbar {
      width: 12px;
      background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
      background-color: rgba(161, 181, 201, .8);
}
