@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@0;1&family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body {
  background-image: url('tausta.jpg');
  background-repeat: none;
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  margin: 0;
  padding: 0;
}

a {
  color: #4988b1;
  text-shadow: 0px 2px 5px rgba(0,0,0, 0.15);
  position: relative;
}

a:hover, .content-dark a:hover, footer a:hover {
  color: #6e3a2a;
  -webkit-transition: color .5s; 
  transition: color .5s;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
}

.content-dark a, footer a {
  color: #a4c7d7;
}

header {
  width: 1100px;
  height: 350px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: url(otsikko.png) no-repeat top right;
}

.heppaotsikko {
  margin: -60px 0 0 0;
  position: relative;
  z-index: 10;
}

.wrapper {
  width: 1100px;
  margin: 0 auto;
}

.link-bg {
  width: 100%;
  height: 61px;
  background-color: rgba(63, 105, 132, 0.8);
  box-shadow: 0px 0px 14.7px 0.3px rgba(0, 0, 0, 0.3);
}

nav {
  width: 1100px;
  z-index: 35;
  margin: -61px auto 0 auto;
  position: relative;
  z-index: 30;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 0 300px;
  position: relative;
  z-index: 30;
  box-sizing: border-box;
  width: 750px;
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
}

nav ul li {
  display: inline-block;
  margin: 0;
  width: 100%;
  position: relative;
  z-index: 40;
}

nav ul li a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  text-shadow: 0px 0px 15px rgba(166, 224, 255, 0.5);
  text-decoration: none;
  position: relative;
  z-index: 40;
  padding: 20px 25px;
  margin: 0;
  display: block;
  text-align: center;
  box-sizing: border-box;
}

nav ul li a:hover, nav ul li:hover a {
  color: #fff;
  text-shadow: 0px 0px 15px rgba(0,0,0, 0.5);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
  background-color: rgba(63, 105, 132, 0.8);
}

.content-area {
  overflow: initial;
  position: relative;
  z-index: 15;
  width: 100%;
  margin: 0 auto;
}

.content {
  z-index: 15;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 30px 60px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #272727;
  line-height: 1.7;
  text-align: justify;
  background: rgba(255,255,255,.9);
  overflow: auto;
}

.content-dark {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 30px 60px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #dde5e9;
  line-height: 1.7;
  text-align: justify;
  overflow: auto;
  background-color: rgba(63, 105, 132, 0.9);
  box-shadow: 0px 0px 19.6px 0.4px rgba(0, 0, 0, 0.15);
}

footer {
  position: relative;
  z-index: 35;
  width: 1100px;
  line-height: 1.7;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 1px;
  color: #dde5e9;
  padding: 10px;
  margin: 0 auto 20px auto;
  box-sizing: border-box;
  z-index: 25;
  text-shadow: 0px 0px 6px rgba(0,0,0, 0.4);
}

h1 {
  color: #6e3a2a;
  font-weight: normal;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 30px;
  margin-left: 40px;
  text-shadow: 0px 1px 5px rgba(0,0,0, 0.2);
  display: block;
}
  
h2 {
  color: #456d87;
  font-family: 'Playfair Display', serif;
  font-weight: normal;
  font-style: italic;
  font-size: 22px;
  text-shadow: 0px 1px 10px rgba(0,0,0, 0.15);
  margin-bottom: 0px;
}

h3 {
  color: #6e3a2a;
  font-family: 'Playfair Display', serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  text-shadow: 0px 1px 5px rgba(0,0,0, 0.2);
  margin-bottom: 0px;
}

.content-dark h2 {
  color: #a4c7d7;
}

.content-dark h1, .content-dark h3 {
  color: #fff;
}

hr {
  border-bottom: 1px solid #dde5e9;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  margin: 20px auto;
  width: 80%;
  height: 1px;
  background-color: #dde5e9;
  box-shadow: 0px 4px 25px 1px rgba(0,0,0, 0.15);
}

.clearfix {
  clear: both;
}

.content ul li, .content-dark ul li {
  list-style-type: circle;
}

.keski {
  text-align: center;
}

/* Heppasivu */

.isokuva {
  max-width: 650px;
  max-height: 600px;
  margin: 10px auto 20px auto;
  display: block;
  box-shadow: 0px 4px 15px 1px rgba(0,0,0, 0.15);
}


.perustiedot td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.perustiedot td:nth-child(odd) {
  width: 35%;
  color: #6e3a2a;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  text-shadow: 0px 1px 5px rgba(0,0,0, 0.2);
}

.perustiedot td:nth-child(even) {
  width: 60%;
}

.kuvagalleria {
  text-align: center;
  margin: 20px auto;
}

.kuvagalleria img {
  height: 120px;
  box-shadow: 0px 4px 15px 1px rgba(0,0,0, 0.15);
  margin: 10px;
}

.kuvagalleriaa {
    width:100%;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:stretch;
    overflow:hidden;
}    
    
/*Näistä voit muutella korkeuksia ja marginia oman maun mukaan.*/
.kuva {height:150px;text-align:center;margin:.3em;}
.kuva.kolmekuvaa {height:200px;}
.kuva.kaksikuvaa {height:300px;}
.kuva.yksikuva {height:400px;}

.kuva img {height:100%;flex-basis:25%;flex-grow:1; flex-shrink:1; box-shadow: 3px 4px 4px 0px rgba(0,0,0, 0.15);
    
}

.kuvagalleriaa + p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #456d87;
  margin: 5px auto 20px auto;
  text-align: center;
    
}

.kuvagalleria p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #456d87;
  margin-top: 0;
}

.sukutaulu td {
  padding: 10px;
  border-bottom: 1px solid #709bb2;
  width:60%;
}


.sukutaulu strong {
  font-family: 'Playfair Display', serif;
}


.sukutaulu small {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.sukku td {
  padding: 10px;
  border-bottom: 1px solid #709bb2;
}


.sukku strong {
  font-family: 'Playfair Display', serif;
}


.sukku small {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.sijoitukset {
  text-align: center;
  color: #6e3a2a;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  text-shadow: 0px 1px 5px rgba(0,0,0, 0.2);
}

.kisat {
  width: 49%;
  float: left;
}

.kisat b, .kisat strong {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: #456d87;
} 
  
.nayttelyt {
  width: 70%;
  float: left;
}

.nayttelyt b, .nayttelyt strong {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: #456d87;

}

.kisat .win {
  color: #6e3a2a;
  text-shadow: 0px 1px 5px rgba(0,0,0, 0.2);
  text-decoration: underline;
}

.kisakalenteri td {
  padding: 2px 5px;
}

/* Heppalista */

.heppa {
  width: 24%;
  float: left;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
}

.heppa h3 a {
  text-decoration: none;
  letter-spacing: 0;
  font-style: italic;
  text-transform: none;
}

.infobox {
  text-align: center;
}

.tab-btn {
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
  color: #fff;
  background-color: #6e3a2a;
  font-family: 'Playfair Display', serif;
}

.tab-btn:hover {
  background-color: #456d87;
  color: #fff;
}

.tab-open {
  background-color: #456d87;
}



/* Myyntisivu */


.staulu td {
  width: 350px;
  padding: 10px;
}


.staulu strong {
  font-family: 'Playfair Display', serif;
}


.staulu small {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.varsa {
  width: 100%;
  padding: 10px;
  border: 2px solid #a4c7d7;
  margin: 0;
}

.varsa1 {
  width: 30%;
  float: left;
  text-align: center;
  padding: 3px;
  border: 2px solid #a4c7d7;
  margin: 4px;
}

.page-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0;
        }
        
.info-container {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .info-container img {
            max-width: 500px;
            height: auto;
            border-radius: 10px;
            object-fit: cover;
        }

        .info-box {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 10px 20px;
        }

        .info-box .row {
            margin: 5px 0;
            display: flex;
        }

        .info-box .label {
            color: #6e3a2a;
            font-family: 'Playfair Display', serif;
            font-size: 15px;
            text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
            margin-right: 10px;
            min-width: 150px;
            text-align: left;
        }

        .info-box .value {
            color: #000;
            text-align: left;
        }

.copyright {
            text-align: center;
            font-size: 12px;
            margin-top: 5px;
        }