@font-face {
  font-family: puuhamies;
  src: url(font/ruoste.ttf);
}

@font-face {
  font-family: puuhamies2;
  src: url(font/phs.ttf);
}

* {
  box-sizing: border-box;
}

/* Add a gray background color with some padding */
body {
  font-family: arial;
  padding: 20px;
  background: #f1f1f1;
margin-left : auto; 
margin-right : auto; 
width : 900px; 
}

/* Header/Blog Title */
.header {
      font-family: puuhamies;
      padding: 30px;
  font-size: 60px;
  text-align: center;
  background: white;
}

h1 {
      font-family: puuhamies;
  padding: 30px;
  font-size: 60px;
  text-align: center;
  background: white;
}

h2 {
      font-family: puuhamies;
  font-size: 20px;
  text-align: center;
  background: white;
}

h3 {
      font-family: puuhamies;
  font-size: 15px;
  text-align: center;
  background: white;
}

.p2 {
  font-family: puuhamies2;
  font-size: 25px;
  text-align: left;
  background: white;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 75%;

}

/* Right column */
.rightcolumn {
    z-index: +1;
    background-color: none;
  float: left;
  width: 25%;
  padding-left: 20px;
     background-image: url("kuvat/paper.png");
       background-repeat: no-repeat;
  background-size: 300px 200px;
  top: 0;
}

/* Fake image */
.fakeimg {
//  background-color: #aaa;
  width: 100%;
  padding: 0px;
}

img {

  max-width: 550px;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
   background-color: white;
   
   padding: 20px;
   margin-top: 20px;
}


.card2 {
   background-color: white;
   padding: 20px;
   margin-top: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
  
}  
  /* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
    
body {
margin-left : auto; 
margin-right : auto; 
width : 800px; 
}


h1 {
  font-size: 40px;
}
    
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
  
  /* Header/Blog Title */
.header {
  padding: 15px;
  font-size: 25px;
}

img {

  max-width: 350px;
  padding: 20px;
}
  
}




/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
    
    body {
margin-left : auto; 
margin-right : auto; 
width : 700px; 
}
h1 {
  font-size: 40px;
}
    
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
  
  
  
  /* Header/Blog Title */
.header {
  padding: 15px;
  font-size: 20px;
}

img, img.box {

  max-width: 350px;
  padding: 20px;
}

  
}



@media screen and (max-width: 600px) {
    
    body {
    width: 100%;
}

h1 {
  font-size: 30px;
}
    
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
  
  
  
  /* Header/Blog Title */
.header {
  padding: 5px;
  font-size: 15px;
}

img {

  max-width: 98%;
margin-left : auto; 
margin-right : auto; 
}


/* Footer */
.footer {
      font-size: 15px;
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
  
} 

body {
  font-family: Arial;
  padding: 10px;
  background: #f1f1f1;

}
  

i_frame {max-width:560px;
     max-height:315px; 
} 
}


.videoWrapperOuter {
  max-width:640px; 
  margin-left:auto;
  margin-right:auto;
}
.videoWrapperInner {
  float: none;
  clear: both;
  width: 100%;
  position: relative;
  padding-bottom: 50%;
  padding-top: 25px;
  height: 0;
}
.videoWrapperInner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

img.box {
  padding: 0px;
    max-width: 155px;
}