header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;

    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.logotext {
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
}

header h1 {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}

.dice {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    background-color: #ffffffec;
    border: #a0a0a09d 1px solid;
    border-radius: 20px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.dice-container {
    border-radius: 100%;
    margin-bottom: 20px;
    background-color: seagreen;
    width: 6rem;
    height: 6rem;
    border: none;
    cursor: pointer;
}

.dice-container {
    margin-top: 2rem;
    font-size: 2rem;
}

body {
    background: url(./images/pexels-punttim-168121.jpg) center/cover no-repeat fixed;
    margin: 0;
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    padding: 2rem;
    flex: 1;
}


@supports not ((backdrop-filter: blur(0)) or (-webkit-backdrop-filter: blur(0))) {
    header {
        background: rgba(255, 255, 255, 0.85);
    }
}

footer {
    display: flex;
    
    padding: 0.75rem 1.25rem;

    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);

    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 0.875rem;
}

footer a {
    color: #00ffbf;
    text-decoration: none;
}

