:root {
  --tekstit: rgb(70, 55, 41);
  --headerbg: rgb(52, 160, 151);
  --vaaleateksti: rgb(255, 251, 246);
  --navlinkki: rgb(28, 255, 179);
  --linkki: rgb(94, 163, 123);
  --white: rgba(255, 255, 255, 0.37);
  --bg: rgba(230, 230, 230, 0.37);
}

@font-face {
  font-family: "Envato_font";
  src: url("https://kuippana.net/laajalaakso/font/Astrid.woff") format("woff"), url("https://kuippana.net/laajalaakso/font/Astrid.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
body {
  margin: 0 auto;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 26px;
  color: var(--tekstit);
  margin-bottom: 50px;
  overflow-x: scroll;
  background-color: var(--bg);
}
.header {
  background-color: var(--headerbg);
  height: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header h1 {
  margin: 0;
  font-size: 36px;
  color: var(--vaaleateksti);
  font-family: "Envato_font", sans-serif;
  font-weight: lighter;
  padding: 10px 0;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}
.nav a {
  text-decoration: none;
  color: var(--vaaleateksti);
}
.nav a:hover {
  color: var(--navlinkki);
}

.nav-title {
  font-size: 36px;
  color: var(--vaaleateksti);
  font-family: "Envato_font", sans-serif;
  font-weight: lighter;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  display: block;
  padding-bottom: 10px;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--headerbg);
  border: 1px solid var(--headerbg);
  padding: 5px 10px;
  z-index: 10;
  min-width: 120px;
  white-space: nowrap;
}

.dropdown-content a {
  display: block;
  color: var(--vaaleateksti);
  padding: 5px 0;
  text-decoration: none;
}

.dropdown-content a:hover {
  color: var(--navlinkki);
}

.dropdown:hover .dropdown-content {
  display: block;
}

a {
  color: var(--linkki);
  text-decoration: none;
}
a:hover {
  color: var(--navlinkki);
  text-decoration: none;
}

main {
  width: 1000px;
}

pre {
  font-family: Arial, sans-serif;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

h2,
h3,
h4,
h5 {
  margin-top: 35px;
  margin-bottom: 8px;
}

table {
  width: 100%;
  border: 1px solid rgba(206, 206, 206, 0.575);
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.096);
  padding: 10px;
  background: var(--white);
}
th {
  text-align: left;
  padding-left: 8px;
}
td {
  padding-left: 8px;
}

.otsikko {
  background-color: var(--headerbg);
  color: var(--navlinkki);
  text-transform: uppercase;
  padding: 10px;
  border-radius: 10px;
}
.light {
  font-weight: lighter;
}

hr {
  border: none;
  height: 1px;
  background-color: rgba(206, 206, 206, 0.568);
}

@media (max-width: 600px) {
  .header {
    width: 100%;
  }

  main {
    width: 100%;
    padding: 0px 20px;
  }
}

img {
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.096);
  margin-right: 20px;
}

.listakuva {
  max-height: 120px !important;
}
