@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
}

body {
  background: #224941 url("./img/bg.jpg") no-repeat center center/cover;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  width: min(300px, 75vw, 65dvh);
  height: auto;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  position: relative;
  transform: scale(1);
}

.circle {
  background: #010f1c;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.gradient-circle {
  background: conic-gradient(
    #55b7a4 0%,
    #4ca493 40%,
    #fff 40%,
    #fff 60%,
    #336d62 60%,
    #2a5b52 100%
  );
  height: calc(100% + 20px);
  width: calc(100% + 20px);
  border-radius: 50%;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: -2;
}

.pointer {
  background-color: #fff;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  display: block;
}

.pointer-container {
  position: absolute;
  top: -40px;
  left: 140px;
  width: 20px;
  height: 190px;
  animation: rotate 7.5s forwards infinite;
  transform-origin: bottom center;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.container.grow {
  animation: grow 3s forwards;
}

.footer {
  text-align: center;
  padding: 16px 12px 12px;
  background-color: #ffcb05;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-text {
  max-width: 800px;
  margin: 0 auto;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.75rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

.heart {
  color: #ff0000;
}

.container.shrink {
  animation: shrink 3s forwards;
}

@keyframes grow {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

@keyframes shrink {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}
