* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background: linear-gradient(#222, #c0a650);
    background-attachment: fixed;
    height: 100vh;
}

h1 {
    background: linear-gradient(to top, #fcba03, #fce29a);
    text-align: center;
    border-bottom: 2px solid #222;
    opacity: 0.9;
    text-shadow: 2px 0px 2px rgba(117, 64, 33, 0.9),-1px 0px 1px rgba(117, 64, 33, 0.9);
    color: #eee;
}

h2 {
    background-color: #222;
    color: rgb(221, 221, 221, 0.9);
    text-indent: 1rem;
    padding: 0.25rem;
    font-size: 1.1rem;
    font-weight: 400;
    border-bottom: 1px solid rgba(221, 221, 221, 0.9);
    text-transform: uppercase;
    border-radius: 1rem 1rem 0 0;
    padding: 0.75rem;
    text-shadow: 2px 2px 4px #d4b31e;
    box-shadow: 2px 2px 2px #111, -2px -2px 2px #111;
    min-width: 25vw;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

#flicker {
    font-size: 1rem;
    vertical-align: middle;
    animation: blink 4s infinite;
    color: #fcba03;
}

canvas {
    width: 100%;
    background-color: rgb(234, 236, 204);
    border-radius: 0 0 1rem 1rem;
    box-shadow: 2px 2px 2px #111, -2px -2px 2px #111;
}

#canvas-dragon {
    border: inset 1rem rgb(31, 19, 3);
}

button {
    padding: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

section {
    padding: 1rem;
    background-color: rgba(0,0,0,0);
}

#canvas-buble {
    background: linear-gradient(#000533, #2d54c2);
}

#canvas-dragon-clear, .cdc {
    opacity: 0.8;
    font-style: italic;
    background-color: #fcf7dd;
    font-weight: 600;
    border: none;
}

.flex-container {
    display: flex;
}

img {
    width: 3rem;
    height: 3rem;
}

.btn-clear img {
    border-radius: .75rem 0 0 0.75rem;
}

.btn-clear button {
    border-radius: 0 .75rem .75rem 0;
}

.btn-clear {
    background-color: #c9c282;
    border-radius: .75rem;
    border: 2px solid #222;
}

.btn-clear:hover {
    opacity: 0.9;
    cursor: pointer;
    box-shadow: 2px 2px 2px #222;
    border: 2px solid #f1ba52;

}

.btn-clear:hover button {
    color: #f1ba52;
}

.btn-clear:active {
    background-color: #a55204;
}