@charset "utf-8";
@import "https://fonts.googleapis.com/css?family=Raleway:100,400,700";
@font-face {
  font-family: 'LMRomanSlant10';
  src: url("fonts/lmromanslant10-regular-webfont.eot");
  src: url("fonts/lmromanslant10-regular-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/lmromanslant10-regular-webfont.woff") format("woff"), url("fonts/lmromanslant10-regular-webfont.ttf") format("truetype"), url("fonts/lmromanslant10-regular-webfont.svg#latin_modern_roman_slante10Rg") format("svg");
  font-weight: normal;
  font-style: normal
} 
body{
  background-color:#efefef;
}
header {
  position:fixed;
  display: block;
  width:98%;
  height: 80px;
  text-align:right;
  z-index: 10;
}
header .flags {
  display: block;
  width: 50px;
  cursor: pointer;
  background-color:#efefef;
  position: absolute;
  right:-5px;
}
header .flags img {
  width:20px;
}
header .nav-toggle {
  position: absolute;
  right:0px;
  top:44px;
  display: block;
  width: 65px;
  height:30px;
  cursor: pointer;
}
header .nav-toggle p {
    position:absolute;
    left:32px;
    top:-9px;
    font-size: 14px;
    font-family: "Raleway", Helvetica, sans-serif;
    text-transform: uppercase;
    height: 20px;
}
header .nav-toggle span, header .nav-toggle span:before, header .nav-toggle span:after {
  content: "";
  position: relative;
  display: block;
  width: 23px;
  height: 2px;
  background-color: #111
}
header .nav-toggle span:before {
  bottom: 7px;
}
header .nav-toggle span:after {
  top: 5px
}
section{
    background-color: #efefef;
    overflow: hidden;
    justify-content:center;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    /* display: flex; */
    height: 100%;
    padding: 15px 50px;
    -webkit-box-align: top;
    -webkit-align-items: top;
    -ms-flex-align: top;
    align-items: top;
    /* padding: 30px; */
}

h1 {
  margin-top: 0;
  margin-bottom: 0px;
  padding-bottom:25px;
  font-size: 42px;
  font-family: "Raleway", Helvetica, sans-serif;
  font-weight: 100;
 

}
#engsection{
    background-color: #efefef;
    height: 100%;
    padding: 15px 50px 100px 0px;
    align-items: center;
    width:100%;;
    column-count: 1;
}
#engsection img{
  margin-top:25px;
    width:100%;;

}
#engsection p {
  display:block;
  width:100%;
  max-width:550px;
  padding:0;
  margin:0 0 15px;
}
/*SERPENTTI*/
#serpentti {
    flex-direction: row-reverse;

}

#serpentti .logo{
     align-items: top;
    max-width: 400px;
    margin: 15px;
}
#serpentti .welcome{
    max-width:550px;
    margin: 15px;
}
.logo img{
    width: 100%;
    height: auto;
    object-fit: contain;
}


.welcome p .serpenttikuva {
    float: left;
}

.serpenttikuva {
 margin-right:10px;
}
/*MEMBERS*/
#members{
  display:block;
  text-align:center;

}
#members h1{

}
.soittajat {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width:80%;
    max-width:950px;
    margin:0 auto;
}
.soittaja {
  width:150px;

  margin:0 25px 15px
}
.soittaja span {
   display:block;
  clear:both;
}
.soittaja span:first-of-type {
  background: #e6dfdf;
  font-weight:bold;
}
/*AJANKOHTAISTA*/
#ajankohtaista{
  padding:0;
  flex:100%;
  width:100%;
  text-align:center;
}
.acol{
  width:100%;
  max-width:550px;
}
#ajankohtaista h1{
  padding:30px 0 10px;
  font-weight:bold;
}
#ajankohtaista p, #ajankohtaista h1{
  text-align:center;
  margin:0 auto;
  width:100%;
  max-width:650px;
}
/*matkat*/
#matkat{
  flex-direction:column;
  align-items:center;
  margin-top:25px;
}
#matkat h1{
  
  margin:0 auto;
  max-width:650px;
}
#matkat_kaikki{
  display:flex;
  flex-direction:row;
  flex-wrap: wrap;
  justify-content:center;
  width:100%;
  max-width:950px;
  align-items:center;
}
.matka{
  padding: 10px 12px 12px;
  max-width:250px;
  flex:1;
  cursor: pointer;
  transition:transform 300ms ease-in-out ;
  border-radius:10px;
}


.matka h3{
  margin-top:0px;
  margin-bottom:0px;
  font-size:100%;
  
}
.matka:hover:not(.selected){
  background-color:#e1e1e1;
  transform: translateY(-10px);
  transform: scale(1.05);
}
.matka .vuosi{
  display:block;
}
.matka .cont{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
}
#matkat_kaikki .selected{
  font-size:120%;
  flex:1 1 100%;
  max-width:100%;
  padding:3% 5%;
  background: #e6dfdf;
  border-radius:20px;
  margin:20px 0;
}
#matkat_kaikki .selected .cont{
  display:block;
}
#matkat_kaikki .selected h3{
  font-size:120%;
}
#matkat_kaikki .selected .vuosi{
  font-size:120%;
  margin-bottom:10px;
}
#matkat_kaikki .selected span {
  display:block;
}
#matkat_kaikki .selected img{
  width:100%;
  margin-bottom:50px;
}
.matka .cont span{
  display:none;
}
.matka:nth-child(odd) :nth-child(3){
 // flex-direction:row-reverse;
}
.matka .cont span{
  max-width:550px;
  margin-bottom:30px;
}
.matka .cont img{
  width:250px;
  height:auto;
  margin-right:25px;
  align-self: top; 
}

#historia{
    flex-direction:column;
    height: auto;
    padding: 30px auto;
    background-color: #efefef;
    overflow: hidden;
    justify-content:space-between;
  align-items:center;
}
#historia h1{
    width:100%;
    max-width: 900px;

}

.col2{
  column-count: 2;
  column-width: 400px;
  margin:0px auto auto auto;
  max-width: 900px;
  column-gap: 10%;
}
.konno{
  margin:0px auto;
  max-width: 1000px;
  padding:30px 50px;
  background: #e6dfdf;
  border-radius:20px;
}
.konno .levy{
  margin:0px auto;
  max-width: 600px;
}
.konno h3{
  margin:0px;

}
.konno img{
  float:left;
  margin-right:20px;
  margin-bottom:20px;
  max-width:100%;
}
.konno .vihko{
  margin:0px auto;
  max-width: 600px;
  margin-top:50px;
}
.konno #avaavihko{
  clear:both;
  margin:10px auto;
  text-align:center;
  font-weight:bold;
  cursor:pointer;
}
.hidden{
  display:none !important;
}
  

@media (max-width: 1180px) {

   
}
@media (max-width: 1023px) {
    #serpentti {
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
#ajankohtaista {
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    
}
@media (max-width: 900px) {
    
}
@media (max-width: 767px) {
    
}
@media (max-width: 640px) {
     .soittaja{
      width:100%
    } 
    .soittaja img{
      width:100%;
      height:auto;
      max-width:300px;
    }
}
@media (max-width: 415px) {
    
}