html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.app {
  overflow: hidden;
  position: absolute;
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  --color-sky-start: #99bde1;
  --color-sky-end: #d6c9d0;
  --color-land: #c5ccde;
  --color-snow: #f6f2ec;
  --color-button: #0b140c;
  --color-carrot: #d14c23;
  --color-tree: #3a2d20;

  --size-snowman-body: 100px;
  --size-snowman-head: 70px;
}

.sky {
  width: 100%;
  flex: 1;

  background: linear-gradient(
    to bottom,
    var(--color-sky-start),
    var(--color-sky-end)
  );
}

.land {
  width: 100%;
  height: 20%;

  background-color: var(--color-land);
  box-shadow: 0 0 5px 5px var(--color-land);
}

.snowman-area {
  position: absolute;

  bottom: calc(20% - 50px);
  left: 50%;
  transform: translateX(-50%);
}

.snowman-head,
.snowman-body {
  position: absolute;

  left: 50%;
  transform: translateX(-50%);

  background-color: var(--color-snow);
  box-shadow: 0 0 3px 3px var(--color-snow);
}

.snowman-head {
  bottom: calc(var(--size-snowman-body) - 10px);
  width: var(--size-snowman-head);
  height: var(--size-snowman-head);
  border-radius: 50%;
}

.snowman-body {
  bottom: 0;
  width: var(--size-snowman-body);
  height: var(--size-snowman-body);
  border-radius: 50%;
}

.snowman-eye {
  position: absolute;

  top: 30%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-button);
  box-shadow: 0 0 2px 2px var(--color-button);
}

.snowman-eye-left {
  left: 20%;
}

.snowman-eye-right {
  right: 20%;
}

.snowman-nose {
  position: absolute;

  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-carrot);
  box-shadow: 0 0 1px 1px var(--color-carrot);
}

.snowman-arm {
  position: absolute;

  top: 25%;
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-tree);
  box-shadow: 0 0 2px 2px var(--color-tree);
}

.snowman-arm-left {
  left: -30px;
  transform-origin: right;
  transform: rotate(30deg);
}

.snowman-arm-right {
  right: -30px;
  transform-origin: left;
  transform: rotate(-30deg);
}

@keyframes snow-animation {
  100% {
    transform: translateY(100vh);
  }
}

.snow {
  position: absolute;

  transform: translateY(0);
  border-radius: 50%;
  background-color: var(--color-snow);
  box-shadow: 0 0 2px 2px var(--color-snow);
}
