body {
    font-family: teksti, serif;
    background-image: url(ompppu.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}


@font-face {
    font-family: teksti;
    src: url(Ubuntu/Ubuntu-Medium.ttf);
}

@font-face {
    font-family: teksti;
    src: url(Ubuntu/Ubuntu-Italic.ttf);
    font-style: italic;
}


.container {
    max-width: 600px;
    margin: auto;
    background-color: rgb(240, 248, 255);
    
}


footer {
    background-color: black;
    color: aliceblue;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

main {
    padding: 40px 5%;
}


header {
    background-color: rgb(117, 25, 25);
    text-align: center;
    padding: 40px;
    color: aliceblue;
}

h1 {
    text-align: center;
    margin: 0px;
}

nav {
   padding: 30px;
   background-color: rgba(177, 71, 71, 0.568);
}

nav a {
    color: rgb(255, 255, 255);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    columns: 2 200px;
}

nav :hover {
    text-decoration: none;
}

#alkuun {
    color: aliceblue;
    position: fixed;
    right: -100px;
    bottom: 20px;
    padding: 5px 10px;
    border-radius: 10px;
    transition: right 0.5s ease;
}
#alkuun a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    background-color: rgb(0, 0, 0);
    padding: 5px;
    border-radius: 10px;
}
td:first-child
{
    text-align: right;
    padding-right: 1em;
}

li {
    padding: 2px;
}

@media (min-width: 600px) {
    #alkuun {
        display: none;}
}



@media (max-width: 600px) {
    h1  {
        font-size: 60px;
    }
    .rullattu #alkuun {
        right: 20px;
    }
}

