* {
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(250, 245, 240);
}

.site-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10%;
  min-height: 64px;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background-color: rgb(200, 152, 106);
  color: rgb(250, 245, 240);
  font-family: "Baloo 2", "Comic Sans MS", cursive;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 280ms ease, opacity 220ms ease, visibility 0ms linear;
  will-change: transform, opacity;
}

.site-banner-hidden {
  transform: translateY(calc(-100% - 8px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 280ms ease, opacity 220ms ease, visibility 0ms linear 280ms;
}

.site-banner-text {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  padding-right: 52px;
}

.site-banner-link {
  display: inline;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-banner-link:hover {
  opacity: 0.85;
}

.site-banner-link:focus-visible {
  outline: 2px solid rgb(250, 245, 240);
  outline-offset: 3px;
}

.site-banner-icon {
  width: 0.95em;
  height: 0.95em;
  display: inline-block;
  margin-right: 0;
  vertical-align: -0.12em;
  fill: currentColor;
}

.site-banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.site-banner-close:hover {
  opacity: 0.85;
}

.site-banner-close:focus-visible {
  outline: 2px solid rgb(250, 245, 240);
  outline-offset: 3px;
}

.canvas-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cloud-backdrop {
  position: absolute;
  bottom: 0;
  width: calc(33% + 120px);
  height: 100%;
  z-index: 0;
  background-image: url("./assets/clouds_background.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom left;
}

.cloud-backdrop-left {
  left: -60px;
}

.cloud-backdrop-right {
  right: -60px;
  transform: scaleX(-1);
  transform-origin: center bottom;
}

.logo-backdrop {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30%;
  height: 30%;
  z-index: 1;
}

.logo-backdrop-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

canvas { 
    display: block;
    position: fixed;
  z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    touch-action: none;
}
