@font-face {
    font-family: otsikko;
    src: url(fontit/Frijole/Frijole-Regular.ttf);
}
@font-face {
    font-family: leipis;
    src: url(fontit/Aleo/Aleo-VariableFont_wght.ttf);
}
@font-face {
    font-family: leipis;
    src: url(fontit/Aleo/Aleo-Italic-VariableFont_wght.ttf);
    font-style: italic;
}
body {
    font-family: Arial, sans-serif;
    background-color: mediumspringgreen;
    margin: 0;
    background-image: url(tausta.jpg);
    background-attachment: fixed;
    font-family: leipis;
}
.container {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}
main {
    padding: 10px 50px;
}
header, nav, footer {
    text-align: center;
    padding: 10px
}
header {
    color: crimson;
    text-shadow: 5px 5px white;
    background-color: rgb(255, 140, 163);
}
nav {
    background-color: crimson;
    color: white;
    text-align: left;
}
nav a {
    color: white;
    text-decoration: none;
}
nav ul {
    columns: 200px;
    list-style-type: none;
}
footer {
    color: white;
    background-color: #333;
}
td {
    vertical-align: top;
}
td:first-child {
    text-align: right;
    padding-right: 0.69em;
}
table h4 {
    font-weight: normal;
    text-align: left;
    margin-top: 1em;
    margin-bottom: 0;
    font-style: italic;
}
table tr:first-child h4 {
    margin-top: 0;
}
ol li {
    margin-bottom: 1em;
}
ol {
    padding-left: 1em;
}
h1 {
    font-family: otsikko;
    font-weight: normal;
    font-size: 70px;
    margin: 0;
}
#alkuun {
    background-color: crimson;
    color: white;
    text-decoration: none;
    padding: 0.3em;
    border-radius: 10px;
    position: fixed;
    left: 20000px;
    bottom: 20px;
}
.rullattu #alkuun{
    left: 20px;
}
@media (max-width:500px) {
    main {
        padding: 10px 1em
    }
    ol {
        list-style-position: inside;
        padding-left: 0;
    }
}
