html,
body {
  height: 100%; /* full height of viewport */
  margin: 0;
  display: flex;
  flex-direction: column; /* stack children vertically */
}

body {
  background: linear-gradient(to bottom, #97d4e7, #fcfcf1) fixed;
  font-family: "Comic Sans MS", cursive, sans-serif;
  /* height: calc(100vh - 24px); */

  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;

  margin: 0;
  padding-top: 24px;
  color: #000;
}

main {
  flex: 1;
}

div.layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 0px 40px;
}

.card {
  border: 3px solid #000;
  box-shadow: 4px 4px 0px #333;
  padding: 10px;
  background: #fff;
  min-width: 240px;
  max-width: 240px;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}

button {
  border: 3px solid #000;
  padding: 0;
  height: 28px;
  width: 28px;
}

.description.hidden {
  display: none;
}

img.cookie {
  width: 236px;
  height: 177px;
  /* height: auto; */
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

#bg img {
  position: absolute;
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
  pointer-events: none;
}

h1 {
  background: aliceblue;
}

footer {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 60px;
  height: 48px;
}

footer .snow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  image-rendering: pixelated;
  height: 48px;
  width: auto;
  z-index: 0;
}

footer .credits {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 14px;
  font-family: "Courier New", monospace;
  color: #000;
  z-index: 1;
}
