@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');

* {box-sizing: border-box}


body {
background:url(https://jodochus.net/y/k/stardust4.png) repeat fixed;

}

#main{
  padding: 20px 0px 20px 0px;
  width: 75%;
  margin: auto;
  font-weight: 400;
  color: #333333;


}

.otsikkoalue {
  padding: 4px 0px 4px 0px;
}

A:link{color:#a69584;text-decoration:none;cursor:hand;font-weight:normal;}
A:visited{color:#a69584;text-decoration:none;cursor:hand;font-weight:normal;}
A:active{color:#c5b6a7;text-decoration:none;cursor:hand;font-weight:normal;}
A:hover{color:#c5b6a7;text-decoration:none;cursor:hand;font-weight:normal;transition: all .3s linear;}
}
table, tr, td{
    border-color: #c5b6a7;
}
ol, li{
      font-family: "Cormorant Garamond", serif; 
      font-size: 13pt;
      text-shadow: 1px 1px #fff9f2;
    
}


.navbar {
  width: 100%;
  align:center;
  background-color: 66785F;
  overflow: auto;
  padding: 0px;
}

.navbar a {
  float: left;
  padding: 15px;
  color: #5c5147;
  font-family: "Cormorant Garamond", serif; 
  font-weight: bold;
  font-size: 12pt;
  letter-spacing:3px;
  text-transform:uppercase;
  text-decoration: underline;
  width: 33.33%; 
  text-align: center;
  border-bottom: transparent solid 2px;
  padding-bottom: 5px;


}

.navbar a:hover {
  color: #ffffff;
  transition: all .3s linear;
  text-decoration: none;
  border-bottom: #fcf6f1 solid 2px;
}

.navbar a.active {
  background-color: #fcf6f1;
  text-decoration: none;
}

.content {
  padding: 20px;
  background: url(https://jodochus.net/y/k/visconti_ot.png) center top no-repeat;


}


.column1 {
  float: left;
  width: 50%;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.column2 {
  float: left;
  width: 50%;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.columnkisa {
  float: left;
  width: 50%;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.columne {
  float: left;
  width: 60%;
  padding: 15px;
}

.columne2 {
  float: left;
  width: 40%;
  padding: 15px;
font-size: 13pt;
font-weight:200;
line-height: 25px;
color:#251e17;
font-family: "Cormorant Garamond", serif;
letter-spacing: 0px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.columnh {
  float: left;
  width: 60%;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.columnh2 {
  float: left;
  width: 40%;
  padding: 15px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}


.img4 {
    
	overflow: hidden; 
	border-radius: 30px; 
	box-shadow: 0 0 6px #d3cbc4; 
	filter: opacity(100%) saturate(0%) sepia(30%);
    height:180px;
    padding: 0px; 

}
.img {
	max-width:100%;
	overflow: hidden; 
	border-radius: 30px; 
	box-shadow: 0 0 6px #d3cbc4; 
	filter: opacity(100%) saturate(0%) sepia(30%);
}
.imgn {
	max-width:80%;
	filter: drop-shadow(4px 4px 4px #c3bbb3);"
}
.imgh {
	max-width:60%;
	overflow: hidden; 
	border-radius: 30px; 
	box-shadow: 0 0 6px #d3cbc4; 
	filter: opacity(100%) saturate(0%) sepia(30%);
}
.img2 {
	max-width:100%;
	filter: drop-shadow(1px 1px 1px #ffffff);
}

.palk{
font-family: "Cormorant Garamond", serif;
text-align:center;
font-style:italic;
font-weight:600;
font-size: 17pt;
letter-spacing:0.5pt;
line-height: 15px;
color: #251e17;
text-shadow: 1px 1px #fff9f2;
cursor: default;
margin: 15px 0 0px 0;
}

.txt
{
font-family: "Cormorant Garamond", serif;
text-align: justify;
font-size: 15pt;
letter-spacing:0.5pt;
line-height: 24px;
color: #251e17;
text-shadow: 1px 1px #fff9f2;
cursor: default;
}
.kisat
{
color:#251e17;
}


.hot {
    margin: 40px 0 5px 0;
    font-family: "Cormorant Garamond", serif;
    text-transform:uppercase;
    font-size:49pt; 
    text-align: center;
    padding: 15px 0px 10px 0px;
    text-shadow: 1px 1px #fffbf7;
    letter-spacing:3px;
    color:#5c5147; 
    border-bottom: #c5b6a7 2px solid; 
    font-weight:200;
}


.hot2 {
    margin: 40px 0 5px 0;
    font-family: "Cormorant Garamond", serif;
    text-align: left;
    letter-spacing:1px;
  font-weight: 200;
  font-size: 26pt;
  color: #5c5147;
    text-shadow: 1px 1px #fffbf7;
  display:inline-block;
  position:relative;
}
.hot2::after{
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background: #5c5147;
    margin-left: 0;
    margin-top: 13px;
    margin-bottom: 0px;

}
.esi{
	font-size: 13pt;
	text-transform:uppercase;
	text-align:left;
	font-weight:400;
	line-height: 25px;
	text-shadow: 1px 1px #fff9f2;
	color:#251e17;
	font-family: "Cormorant Garamond", serif;
	letter-spacing: 0px;
}

.suku{
font-size: 15pt;
text-align:left;
font-weight:200;
line-height: 25px;
color:#251e17;
font-family: "Cormorant Garamond", serif;
letter-spacing: 0px;
}

.ot {
    font-family: "Cormorant Garamond", serif;
    font-size:20pt; 
    text-align: left;
    padding: 15px 0px 10px 0px;
    text-shadow: 1px 1px #fff9f2;
    letter-spacing:3px;
    color:#5c5147; 
    border-bottom: #c5b6a7 1px solid; 
    font-weight:200;
}
.otsikko{
  font-family: "MonteCarlo", cursive;
  font-weight: 200;
  font-style: normal;
 font-size: 58pt;
  padding: 0px 0px 0px 0px;
  letter-spacing: 0px;
    text-shadow: 1px 1px #fffbf7;
    color:#7b6e62; 
  text-align: center;
}

.alaotsikko{
    margin: -8px 0 0px 0;
    font-family: "Cormorant Garamond", serif;
    text-transform:uppercase;
    font-size:32pt; 
    text-decoration:overline solid 2px;
    text-align: center;
    padding: 0px 0px 0px 0px;
    text-shadow: 1px 1px #fffbf7;
    letter-spacing:2px;
    color:#5c5147; 
    font-weight:200;

}
hr.yla {
  border: 1px solid #c5b6a7;
  margin: 30px 0px 30px 0px;
}


hr{
    margin: 30px 0 30px 0;
    color: #3d3c3f;

}


b
{
font-weight:600;
}

small
{
color: #685d52;
}


.txtiso
{
font-size: 17pt;
text-align:left;
font-weight:200;
line-height: 25px;
color:#251e17;
font-family: "Cormorant Garamond", serif;
letter-spacing: 0px;
}


.tiedot
{
font-size: 16.5pt;
text-align:center;
line-height: 23px;
color:#251e17;
text-shadow: 1px 1px #fff9f2;
  font-family: "Cormorant Garamond", serif;
letter-spacing: 1px;
}
.alat
{
text-align: center;
font-size: 12pt;
color:#251e17;
letter-spacing: 1px;
  font-family: "Cormorant Garamond", serif;

}
.copyt{
  font-family: "Cormorant Garamond", serif;
color:#555555;
text-transform:uppercase;
text-align:center;
font-size: 8pt;

}
.tab {
  overflow: hidden;
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
}
.paikkyot {
  font-family: "Cormorant Garamond", serif;
    font-size:16pt; 
    letter-spacing:1px;
    font-weight:bold;
    color:#251e17; 
text-shadow: 1px 1px #fff9f2;
  text-decoration:none;

 
}
.paikkyot:hover {
	color:#c5b6a7;
	  cursor:hand;
	    text-decoration:underline;
}
    
.piilodiv {
	display:none;
}

.text-wrapper {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    font-family: "Karla", sans-serif;
}

.text-container {
    max-height: 13.5em;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    line-height: 1.5em;
}

.text-container.expanded {
    max-height: 2000px; 
    transition: max-height 0.4s ease-in;
}

.fade-overlay {
    position: absolute;
    bottom: 40px; 
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #eee7df); 
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fade-overlay.hidden {
    opacity: 0;
}

#toggleBtn {
    display: block;
    margin-top: 10px;
    background: #eee7df; 
    text-decoration:underline;
    font-weight:bold;
    color:#251e17; 
    text-shadow: 1px 1px #fff9f2;
    border: none;	
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Instrument Serif", serif;
    font-size: 16pt;
}

#toggleBtn:hover {
    color:#251e17; 
    text-shadow: 1px 1px #fff9f2;

}
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}


@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;
}
.columne, .columne2, .columnh, .columnh2 {
    display: block;
    width: 100%;
    padding: 5px;
}

.hot{
  text-transform:uppercase;
  font-size: 44pt;

}

.columnkisa {
    display: block;
    width: 100%;
    padding: 5px;
    font-size: 10pt; 
}




@media screen and (max-width: 768px) {
  #main{
    width: 98%;
  }
  .navbar a {
    float: none;
    display: block;
    width: 100%;
    text-align: center; 
}

.content {
  padding: 15px;

}

.hot2
{
font-size: 20pt;
}


.txtiso
{
font-size: 14pt;
}
.suku{
font-size: 14pt;
}

.tiedot{
  font-size: 14pt;
}
.hot{
  font-size: 33pt;
}
.kisat
{
font-size: 11pt; 
}
.copyt{

font-size: 8pt;

}
@media screen and (max-width: 600px) {
  #main{
    width: 100%;
    }
.content {
  padding: 8px;

}

.tiedot{
  font-size: 14pt;
}

.palk{
  font-size: 15pt;
}
.hot{
  font-size: 28pt;
}
.esi{
	font-size: 10.5pt;
}
.kisat
{
font-size: 10pt; 
}
.txt
{
text-align: justify;
font-size: 13pt;
letter-spacing:0.5pt;
line-height: 22px;
cursor: default;
}


.haka
{
font-family: Times New Roman;
font-size: 3em; 
text-align:left;
}
.pikkuhaka
{
font-family: Times New Roman;
font-size: 1em; 
text-align:center;
}