@font-face {
    font-family: "poppins regular";
    src: url(Poppins/Poppins-Regular.ttf);


}
@font-face {
    font-family: "poppins bold";
    src: url(Poppins/Poppins-Bold.ttf);
}

@font-face {
    font-family: "poppins italic";
    src: url(Poppins/Poppins-Italic.ttf);
}

.container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-color: antiquewhite;

}
body {
    background-image: url(taustakuva.jpg);
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    font-family: "poppins regular";
}

h1 {
font-size: 50px;
}

h2 {}

h4 {
    text-align: left;
    font-size: 1em;
    font-weight: normal;
    font-style: italic;
    margin-top: 1em;
    margin-bottom: 0;
}

table {

}

td:first-child {
    text-align: right;
    padding-right: 15px;
    white-space: nowrap;
}

td {
    vertical-align: top;
}

li {
    margin-bottom: 0.5em;
    
}

ol {

    margin-left: 0;
    padding-left: 1em;
}

hr {

}

nav {
    padding: 30px;
    background-color: #f5e9ba;
}

nav a {
    color: black;
}

nav ul {
    list-style-type: none;
    margin: 0;
    columns: 2 200px;

}

footer {
    background-color: black;
    color: aliceblue;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

main {
    padding: 80px 5%;
}

h1, h2, h3, h4 {
    font-family: "poppins bold";
}

li {
    margin-bottom: 0sem;
}

header {
    background-color: #fff2be;
    text-align: center;
    padding: 30px;
}

#alkuun {
    background-color: #4a3f39;
    position: fixed;
    right: -100px;
    bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    transition: right 0.5s ease;
}

#alkuun a {
    color: aliceblue;
    text-decoration: none;
}

@media (min-width: 600px) {
    #alkuun {
        display: none;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 60px;
    }
    .rullattu #alkuun {
        right: 20px;
    }
}

