 @import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family;=Merriweather:wght@300&family;=Poppins:wght@300;400&display;=swap");

body {
  margin: 0 auto;
  height: 100%;
  font-family: "Helvetica", sans-serif;
  font-weight: 200;
}

.lisays {
  font-family: "Helvetica", sans-serif;
  color: #8207DB;
}

.korostus {
  font-family: "Helvetica", sans-serif;
  color: #000000;
  font-weight: bold;
}

#wrapper {
  display: flex;
  box-sizing: border-box;
}

#palkki {
  z-index: 1;
  position: fixed;
  width: 250px;
  height: 100%;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  background-color: #414141;
  background-image: url(img/palkki_bg.jpg);
  transition: 0.5s;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  font-family: "Garamond", serif;
  font-size: 24px;
}

#sisalto {
  width: calc(100% - 300px);
  position: absolute;
  padding: 15px;
  left: 250px;
  transition: all 0.5s;
  text-align: justify;
}

#menu-toggle {
  transition: all 0.3s;
  font-size: 2em;
  display: none;
}
#wrapper.menuDisplayed #palkki {
  width: 250px;

  border-right: 2px solid #fff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

#wrapper.menuDisplayed #sisalto {
  left: 0;
  padding-left: 10px;
  width: 100%;
}

nav {
  padding: 0;
  list-style: none;
  transition: 0.5s;
  width: 90%;
  text-align: center;
}

nav ul {
  margin: 0 auto;
  padding: 0;
}

nav ul li {
  list-style: none;
  width: 100%;
  transition: 0.5s;
  padding: 10px;
  text-align: center;
}

nav ul li a {
  display: block;
  text-decoration: none;
  color: #ffffff;
}

nav ul li a:link {
  display: block;
  text-decoration: none;
  color: #ffffff;
}

nav ul li a:visited {
  display: block;
  text-decoration: none;
  color: #ffffff;
}

nav li:hover {
  background: rgba(255, 255, 255, 0.2);
}

#sisalto {
  text-align: center;

  max-width: 1000px;
}

article {
  padding: 10px;
  text-align: justify;
}

h1,
h2 {
  font-family: "Garamond", serif;
}

h3 {
  font-family: "Garamond", serif;
  padding-top: 35px;
}

h1 {
  font-size: 32px;
}

.logo {
  width: 100%;
  text-align: center;
  font-size: 62px;
  font-family: "Garamond", cursive;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
}

b {
  font-weight: 400;
}

a {
  color: #1447E6;
}

a:hover {
  color: #414141;
}

a:visited {
  color: #9F0712;
}

.paakuva {
  max-width: 100%;
  border: 5px solid #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.copy {
  width: 100%;
  text-align: center;
  font-size: 10px;
}

table.suku {
  	border: 1px solid #8207DB;
	border-collapse:collapse;
	width: 90%;
	margin-right:5%;
	margin-left:5%;
	margin-top:15px;
	margin-bottom:15px;
	font-family:"Helvetica";
	clear:both;
}

tr {
  border: 0px;
}

td {
 	font-family:"Helvetica";
	font-size:90%;
	border: 1px solid #000000;
	border-collapse:collapse;
	padding: 2px;
}

@media screen and (max-width: 950px) {
  #palkki {
    width: 0;
  }
  #menu-toggle {
    display: flex;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99;
    background-color: #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    color: #fff;
  }

  #menu-toggle:hover {
    background-color: rgb(31, 31, 31);
    color: #dadada;
  }

  .menuOpen {
    left: 222px !important;
    transition: 2s;
  }
  #sisalto {
    width: calc(100% - 40px);
    left: 10px;
    top: 50px;
    padding: 10px;
  }

  #wrapper.menuDisplayed #sisalto {
    left: 10px;
    width: calc(100% - 40px);
    padding: 10px;
  }
}