@font-face {
    font-family: libre;
    src: url(Libre_Caslon_Text/LibreCaslonText-Regular.ttf);
}

@font-face {
    font-family: libre;
    src: url(Libre_Caslon_Text/LibreCaslonText-Italic.ttf);
    font-style: italic;
}



body {
    font-family: libre, sans-serif;
    background-image: url(pexels-chanwalrus-958545.jpg);
    margin: 0;
    background-attachment: fixed;
    background-size: cover;
}

.container {
    max-width: 720px;
    margin: auto;
    background: rgba(255, 255, 255, 0.781);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(5px);

    
    
}

main {
    padding: 80px 5%;
}

header {
    background-color: rgba(44, 40, 6, 0.103);
    text-align: center;
    padding: 20px;
}

nav {
    padding: 30px;
    background-color: rgba(44, 40, 6, 0.055);
}

nav a {
    color: rgb(172, 52, 58);
}

nav a:hover {
    text-decoration: none;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    columns: 2;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

h1 {
    margin: 0;
}

h2 {}

h3 {}

h4 {
    text-align: left;
    font-size: 1em;
    font-weight: normal;
    font-style: italic;
    margin-top: 1em;
    margin-bottom: 0;
}

table {
    margin-top: 1em;
    margin-bottom: 1em;
}

td:first-of-type {
    text-align: right;
    padding-right: 8px;
    white-space: nowrap;
}

td {
    vertical-align: top;
}

li {
    margin-bottom: 0.5em;
}

ol {
    margin-left: 0;
    padding-left: 1em;
}

hr {}

#alkuun {
    background-color: rgba(255, 255, 255, 0.589);
    position: fixed;
    right: -100px;
    bottom: 20px;
    padding: 5px 10px;
    border-radius: 10px;
    transition: right 0.5s ease;
}
#alkuun a {
    color: rgba(146, 40, 40, 0.733);
    text-decoration: none;
}

@media (min-width: 600px) {
    #alkuun {
        display: none;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 60px;
    }
    .rullattu #alkuun {
        right: 20px;
}