
@import url("https://fonts.googleapis.com/css2?family=Libertinus+Math&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=News+Cycle:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&family=Libertinus+Math&display=swap');


* {box-sizing: border-box}

body {
  margin: 30px 0 30px 0;
  background: #283324;
  font-family: Arial, Helvetica, sans-serif;
}

#main{
  width: 75%;
  margin: auto;
  background: #66785F;
  box-shadow: 0 0 17px #141813;
  font-family: "News Cycle", sans-serif;
  font-weight: 400;
  color: #333333;

}

.otsikkoalue {
  background: url(.png) #4B5945 ;
  background-size: cover;
  padding: 60px 0px 60px 0px;
  line-height:40pt;
}
A:link{color:#4B5945;text-decoration:underline;cursor:hand;font-weight:bold;}
A:visited{color:#4B5945;text-decoration:underline;cursor:hand;font-weight:bold;}
A:active{color:#66785F;text-decoration:none;cursor:hand;font-weight:bold;}
A:hover{color:#66785F;text-decoration:none;cursor:hand;font-weight:bold;transition: all .3s linear;
}


.navbar {
  width: 100%;
  background-color: 66785F;
  overflow: auto;
}

.navbar a {
  float: left;
  padding: 12px;
  color: #283324;
  font-family: "Bodoni Moda", serif; 
  font-weight: bold;
  font-size: 13pt;
  letter-spacing:-0.5px;
  text-transform:uppercase;
  text-decoration: none;
  width: 33.33%; 
  text-align: center;


}

.navbar a:hover {
  background-color: #91AC8F;
  color: #f6cb8d;
    transition: all .3s linear;
}

.navbar a.active {
  background-color: #7886C7;
}

.content {
  background-color: #FFF2F2;
  padding: 30px;

}
.otsikko{
  font-family: "Bodoni Moda", serif; 
 font-size: 48pt;
  letter-spacing: 1px;
  font-weight: 700;
  font-style: bold;
  color: #ffce8a;
  text-align: center;
  text-shadow: 0px 0px 17px #2f2619;

}
.alaotsikko{
  font-family: "Bodoni Moda", serif;
  font-size: 35pt;
  letter-spacing: 4px;
  color: #eaeaea;	
  text-align: center;
  text-shadow: 0px 0px 17px #141813;
}
hr.yla {
  border: 1px solid #dcd2d2;
  margin: 30px 0px 30px 0px;
}

.teksti, .txt{
  font-family: "News Cycle", sans-serif;
  font-weight: 400;
  font-size: 13pt;
  color: #333333;
  line-height:16pt;
}
.tekstip{
  font-family: "News Cycle", sans-serif;
  font-weight: 400;
  font-size: 11pt;
  color: #333333;
  line-height:16pt;
}
.h2{
    font-family: "Bodoni Moda", serif;
  font-weight: 700;
  color: #141813;
  font-style: bold;
  font-size: 28pt;
}
.h2h{
    font-family: "Bodoni Moda", serif;
  font-weight: 700;
  color: #141813;
  text-transform:uppercase;
  text-align:center;
  font-style: bold;
  font-size: 28pt;
}
.h3{
    font-family: "Bodoni Moda", serif;
  font-weight: bold;
  color: #141813;
  font-style: italic;
  font-size: 17pt;
}
.copy{
  font-family: Tahoma;
  font-size: 8pt;
  padding:10px 0 10px 0;
  letter-spacing: 0,5px;
  color: #91AC8F;
  text-align: center;

}
.img {
  max-width: 100%;
  padding:6px 6px 6px 6px;
  margin: 10px 10px 10px 10px;
  background-color:#ffffff;
  box-shadow: 0 0 6px #2D336B;
}
.img2 {
  max-width: 100%;
  padding: 0px; 
  border-radius: 25px;
  background-color:#36391e;
  box-shadow: 0 0 30px #36391e;
}
.img4 {
  height:180px;
  padding: 0px; 
  border-radius: 25px;
  background-color:#36391e;
  box-shadow: 0 0 20px #36391e;
}
img.rounded {
  object-fit: cover;
  border-radius: 50%;
  max-width: 60%;
  box-shadow: 0 0 30px #36391e; 
}


.tab {
  overflow: hidden;
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
  padding: 20px 0px 20px 0px;
}

.tab button {

	border: none;
	outline: none;
	padding: 7px 20px;
	transition: 0.3s;
    	background-color: transparent;
	font-family: "Bodoni Moda", serif;
	text-shadow: 1px 1px #ffffff;
	font-weight: bold;
	text-transform:uppercase;
	font-size: 13pt;
	color: #283324;
  	text-shadow: 0px 0px 1px #FFFFFF;
	line-height: 26pt;
	text-align: center;
	cursor: default;
 
  
}

.tab button:hover {
	background-repeat: no-repeat;
	background-position: 0;
	color: #f6cb8d;
    	transition: all .3s linear;

}

.tabcontent {
	display: none;
	padding: 0px;
	border-top: none;
	animation: fadeEffect 1s;
}
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.haka
{
font-family: Times New Roman;
font-size: 4em; 
color:#333333; 
text-align:left;
}
.pikkuhaka
{
font-family: Times New Roman;
font-size: 2em; 
color:#333333; 
text-align:center;
}

.column0 {
  float: left;
  width: 33.33%;
  font-family: "Bodoni Moda", serif;
    text-transform:uppercase;
  padding: 35px;
}
.column0 a:link{
    color: #4B5945;
    text-transform:uppercase;
    font-size:16pt;
    font-weight:bold;
    text-decoration:none;
}
.column0 a:hover{
    color: #f6cb8d;
    text-transform:uppercase;
    transition: all .3s linear;
    font-size:16pt;
    font-weight:bold;
    text-decoration:none;
}
.column0 a:visited{
    color: #4B5945;
    text-transform:uppercase;
    font-size:16pt;
    font-weight:bold;
    text-decoration:none;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.column1 {
  float: left;
  width: 60%;
  font-family: "Bodoni Moda", serif;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.column2 {
  float: left;
  width: 40%;
  font-family: "Bodoni Moda", serif;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}



@media screen and (max-width: 1024px) {
  #main{
    width: 95%;
    }
  .column0 {
    width: 100%;
    display: block;
    }
  .column1 {
    width: 100%;
    padding: 5px;
    display: block;
}

.column2 {
    display: block;
    width: 100%;
    padding: 5px;
}



@media screen and (max-width: 768px) {
  #main{
    width: 95%;
    }
  .column0 {
    width: 100%;
    display: block;
}
.otsikkoalue{
  padding: 60px 0px 40px 0px;

  }
  .img3{
   width:38%;
}
.teksti, .txt{
  font-family: "News Cycle", sans-serif;
  font-weight: 400;
  font-size: 11pt;
  color: #333333;
  line-height:16pt;
}
.tekstip{
  font-family: "News Cycle", sans-serif;
  font-weight: 400;
  font-size: 10pt;
  color: #333333;
  line-height:16pt;
}
.h2{
    font-family: "Bodoni Moda", serif;
  font-weight: 700;
  color: #141813;
  font-style: bold;
  font-size: 24pt;
}
.h3{
    font-family: "Bodoni Moda", serif;
  font-weight: bold;
  color: #141813;
  font-style: italic;
  font-size: 14pt;
}

@media screen and (max-width: 600px) {
  #main{
    width: 95%;
    }
  .navbar a {
    float: none;
    display: block;
    width: 100%;
    text-align: center; 
}
.otsikko{
  font-size: 35pt;
  letter-spacing: 1px;
  text-align: center;
  line-height:16pt;

}
.alaotsikko{
  font-size: 20pt;
  letter-spacing: 4px;
  text-align: center;

}

.haka
{
font-family: Times New Roman;
font-size: 3em; 
color:#333333; 
text-align:left;
}
.pikkuhaka
{
font-family: Times New Roman;
font-size: 1em; 
color:#333333; 
text-align:center;
}

