:root {
  --sky: #f3e5ab;
  --sun: #f6d56c;
  --ground: #eca46a;
  --safe-bottom: 0px;
}

@supports (padding: constant(safe-area-inset-bottom)) {
  :root {
    --safe-bottom: constant(safe-area-inset-bottom);
  }
}

@supports (padding: env(safe-area-inset-bottom)) {
  :root {
    --safe-bottom: env(safe-area-inset-bottom);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--sky);
}

.scene {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  color: #1a211a;
}

.sky {
  background: var(--sky);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: clamp(2rem, 8vh, 6rem) 0;
}

.sun {
  width: clamp(12rem, 45vw, 25rem);
  aspect-ratio: 1;
  background: var(--sun);
  border-radius: 50%;
}

.ground {
  background: var(--ground);
  min-height: 4vh;
  padding-bottom: var(--safe-bottom);
  flex-shrink: 0;
}

.cactus {
  position: absolute;
  left: 50%;
  bottom: calc(4vh + var(--safe-bottom));
  transform: translateX(-50%);
  height: clamp(3.5rem, 14vh, 10rem);
  width: auto;
}

@media (max-width: 600px) {
  .sun {
    width: clamp(10rem, 55vw, 20rem);
  }
}
