@import "./wave-animation.css";

:root {
  --theme-brandkit-green: #19694a;
  --theme-brandkit-yellow: #fffca8;
  --theme-brandkit-cream: #fffed5;
  --theme-brandkit-lightblue: #caebf8;
  --theme-brandkit-darkblue: #004762;
  --theme-brandkit-orange: #f76335;
  --theme-brandkit-darkgreen: #027361;

  --theme-etsy: var(--theme-brandkit-orange);
  --theme-kofi: var(--theme-brandkit-darkgreen);
  --theme-twitch: #b07bec;
  --theme-panel: var(--theme-brandkit-lightblue);

  --font-light: "Alice", serif;
  --font-heavy: "Bree Serif", serif;

  --border-radius: 10px;

  --surf-height: 20%;
}

.dropshadow {
  --blur-x: 0;
  --blur-y: 0;
  --blur-amount: 0;
  --blur-spread: 0;
  --blur-color: #ffffff00;

  box-shadow: var(--blur-x) var(--blur-y) var(--blur-amount) var(--blur-spread)
    var(--blur-color);
}

.font-light {
  font-family: var(--font-light) !important;
}

.font-heavy {
  font-family: var(--font-heavy) !important;
}

html,
body {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;

  font-family: var(--font-light);
  font-weight: 400;
  font-style: normal;
  background: var(--theme-brandkit-darkblue);

  /* background: linear-gradient(
    var(--theme-brandkit-cream) var(--surf-height),
    var(--theme-brandkit-darkblue) var(--surf-height)
  ); */
}

* {
  box-sizing: border-box;
  position: relative;
}

.content-body {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.background-image {
  display: block;
  background: var(--theme-brandkit-cream);
  width: 100vw;
  height: 65vh;

  position: sticky;
  top: -40%;
}

.background-image img {
  display: block;
  width: 100vw;
  position: absolute;
  bottom: 0;
}

.panel {
  --blur-x: 4px;
  --blur-y: 5px;
  --blur-amount: 0;
  --blur-spread: 0px;
  --blur-color: #000;

  background-color: var(--theme-panel);
}

.panel :is(h1, h2) {
  -webkit-text-stroke: 0.25ch var(--theme-brandkit-cream);
  paint-order: stroke fill;
  font-size: 2em;
}

.about-us {
  color: var(--theme-brandkit-green);
  border-radius: var(--border-radius);

  width: 100%;
  padding: 1em 4em;
  font-size: 1.25em;

  text-align: center;
}

.about-us h2 {
  margin-top: 0;
  /* margin-bottom: 1em; */
}

/* .background-image:before {
  display: block;
  content: "";
  position: fixed;
  inset: 0;
  background-color: black;
  opacity: 0.5;
} */

.logo {
  width: 20rem;
  max-width: 100%;
  margin-bottom: -1em;
  filter: drop-shadow(4px 5px);
}

.container {
  width: 90vw;
  /* margin-block: 2.5vh; */
  /* max-height: 95vh; */
  max-width: 1000px;
  /* background-color: rgba(180, 180, 180, 0.5);
  backdrop-filter: blur(15px); */
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 3em;
  padding: 2em;

  /* overflow-y: auto; */
}

.links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border-radius: var(--border-radius);
  padding: 1em;

  width: 100%;
  gap: 1em;
}

.links h2 {
  color: var(--theme-brandkit-green);
}

.links a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5em;

  border-radius: var(--border-radius);
  width: 100%;
  height: 2.5em;
  background-color: grey;

  color: white;
  /* color: var(--theme-brandkit-cream); */

  font-family: var(--font-heavy);
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  font-size: 1.5em;
  padding-inline: 1em;
}

.links a img {
  /* height: 1em; */
  width: 1em;
}

.links.socials .social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: 1em;
}

.links.socials a {
  background-color: var(--theme-twitch);
  flex: 1;
}

.links .etsy {
  background-color: var(--theme-etsy);
}

.links .kofi {
  background-color: var(--theme-kofi);
}

.spacer {
  min-height: 1em;
  display: inline-block;
  width: 100%;
}

.container-block {
  background: var(--theme-brandkit-lightblue);
  color: var(--theme-brandkit-green);
  border-radius: var(--border-radius);

  width: 100%;
  padding: 1em 4em;
  font-size: 1.25em;

  text-align: center;
}

@media (max-width: 600px) {
  .about-us {
    padding-inline: 2em;
  }

  .container-block {
    padding-inline: 0;
  }
}

.coming-soon {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 5vh;
}

.coming-soon-block {
  min-width: 400px;
  max-width: 60%;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3em;

  /* position: absolute;
  bottom: 5vh;
  top: auto; */
}

.coming-soon-block img.coming-soon-fish {
  width: 30%;
  --WAVE-COUNT: 1; /* number of waves to do over the element's width */
  --r: 1; /* radius in --UNITs of circle we'll use as reference */
  animation: progress 5s linear infinite;
  cursor: pointer;
}

.coming-soon-block img.coming-soon-text {
  width: 100%;
}

.coming-soon-waves {
  max-width: 100%;
}

.bubbles {
  width: 150px;
  height: 300px;
  position: fixed;
  right: 5vw;
  bottom: 0;
}

.bubbles .bubble {
  display: inline-block;
  width: 25px;
  aspect-ratio: 1;
  border: 2px solid white;
  border-radius: 100%;
  background: linear-gradient(340deg, #ffffffaa 0%, transparent 50%);

  opacity: 0;
  top: 100%;
  animation: bubbling 3s linear infinite;
}

.bubbles.fish {
  position: absolute;
  bottom: 80%;
  width: 3em;
  right: 33%;
  height: 150px;
}

.bubbles.fish .bubble {
  position: absolute;
  width: 12px;
  animation: bubbling 2s linear;
}

@keyframes bubbling {
  0% {
    top: 100%;
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    top: 0;
    opacity: 0;
  }
}

.bubbles .bubble:nth-child(1) {
  animation-delay: 500ms;
}
.bubbles .bubble:nth-child(2) {
  animation-delay: 2500ms;
}
.bubbles .bubble:nth-child(3) {
  animation-delay: 250ms;
}
.bubbles .bubble:nth-child(4) {
  animation-delay: 1500ms;
}
.bubbles .bubble:nth-child(5) {
  animation-delay: 800ms;
}
