@font-face {
    font-family: teksti;
    src: url(Roboto-VariableFont_wdth\,wght.ttf);
}

@font-face {
    font-family: teksti;
    src: url(Roboto-Italic-VariableFont_wdth\,wght.ttf);
    font-style: italic;
}

body {
    font-family: teksti, serif;    
    background-image:url(tausta.jpg);
    margin: 0;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.container {
    max-width: 800px;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.726);
    border: 5px solid rgb(255, 255, 255);

}

main {
    padding: 60px 5%;
}

header {
    background-color: rgb(165, 157, 151);
    text-align: center;
    padding: 35px;
}

nav {
    padding: 20px;
    background-color: rgb(121, 112, 112);
    border: 2px solid rgb(255, 255, 255);
    color: aliceblue;

}

nav a {
    color: rgb(196, 203, 209);

}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    columns: 2 200px;
}

nav a:hover {
    text-decoration: none;
}

footer {
    background-color: rgb(65, 61, 61);
    color: white;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

h1 {
    font-size: 40px;
    margin: 0;
}

h3 {
    margin-bottom: 0;
}

td {
    vertical-align: top;

}

ol {
    margin-left: 0;
    padding-left: 1em;

}

table {
    margin-top: 1em;
    margin-bottom: 1em;
}

ol li {
    padding-bottom: 20px;
}

#alkuun  {
    background-color: rgb(255, 255, 255);
    position: fixed;
    right: -100px;
    bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    transition: right 0.5s ease;
}

#alkuun a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

td:first-child {

    text-align: right;
    padding-right: 20px;
}

@media (min-width: 600px) {
    #alkuun {
        display: none;
    }

}

@media (max-width: 600px) {
    h1 {
        font-size: 60px;
    }

}

.rullattu #alkuun {
    right: 20px;

}

