@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Unica+One&display=swap');

body {
    background-color: #444C38;
    background-image: url(https://i.ibb.co/j9DtjRRg/tausta.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: auto;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 14px;

}

header {
    text-align: center;

}

header img {

}

nav {
    background-color: #444C38;
    overflow: hidden;
    box-shadow: #000000 0px 0px 5px;

}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;

}

nav li {
    float: left;

}

nav li a {
    display: block;
    text-align: center;
    padding: 14px 25px;
    position: relative;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    transition: all 0.5s ease-in-out;
    animation-duration: 0.9s;
}

nav li a:hover {
    color: #FFFFFF;
    animation-name: pulse79;
    animation-iteration-count: infinite;
}

@keyframes pulse79 {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

h1 {
    letter-spacing: 1.5px;
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    font-size: 25px;
    margin-left: 20px;
    text-shadow: #000000 0px 0px 2px;
}

h2 {
    text-align: center;
    font-size: 14px;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;

}

h3 {
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    caption-side: top;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 2px;
}

h4 {
    letter-spacing: 1.5px;
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    font-size: 16px;
    margin-left: 20px;
    text-shadow: #000000 0px 0px 2px;
}

a {
    color:#000000;
}

a:hover {
    color: #444C38;
}

footer a {
    color: #FFFFFF;
}

section {
    background-color: #FFFFFF;
    width: 55%;
    margin: auto;
    padding: 25px;
    text-align: justify;
    border: #FFFFFF 2px solid;
    box-shadow: #FFFFFF 0px 0px 3px;
}

footer {
    background-color: rgba(68, 76, 56, 0.9);
    margin: auto;
    margin-top: 30px;
    height: 100px;
    text-align: center;
    padding: 20px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 13px;
}

.center {
   display: block;
   margin-left: auto;
   margin-right: auto;
   width: 50%;
}

/* Luokat */ 
.luokat {
    overflow: auto;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: #000000 0px 0px 3px;
}

.luokat table {
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}

.luokat th {
    border: #444C38 1px solid;
    background-color: #94998f;
    color: #000000;
    padding: 4px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
}

.luokat td {
    border: #444C38 1px solid;
    color: #000000;
    padding: 4px;
    font-size: 14px;
    text-align: center;
}

/* Valiolistaus */
.valiot {
    overflow: auto;
    width: 100%;
    box-shadow: #000000 0px 0px 3px;
}

.valiot table {
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}

.valiot caption {
    caption-side: top;
    text-align: left;
}

.valiot th {
    border: #444C38 1px solid;
    background-color: #94998f;
    color: #000000;
    padding: 4px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Unica One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;,
    max-width: 20px;
}

.valiot td {
    border: #444C38 1px solid;
    color: #000000;
    padding: 4px;
    font-size: 14px;
    text-align: left;
    max-width: 40px;
}