@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  box-sizing: border-box;
}

body {
  background: #224941 url('./image/bg.jpg') no-repeat center center/cover;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  height: 300px;
  width: 300px;
  position: relative;
  transform: scale(1);
}

.circle {
  background-color: #010f1cfb;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0%;
  /* push behind text */
  z-index: -1;
}

.gradient-circle {
  background: conic-gradient(
    rgba(87, 183, 164, 0.068) 0%,
    rgba(76, 164, 146, 0.411) 40%,
    rgba(255, 255, 255, 0.404) 40%,
    rgba(255, 255, 255, 0.603) 60%,
    rgba(51, 109, 98, 0.603) 60%,
    rgba(42, 91, 82, 0.753) 100%
  );
  height: 320px;
  width: 320px;
  z-index: -2;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  left: -10px;
}

.pointer {
  background-color: #fff;
  border-radius: 20px;
  height: 20px;
  width: 20px;
  display: block;
}

.pointer-container {
  position: absolute;
  top: -40px;
  left: 140px;
  width: 20px;
  height: 190px;
  animation: rotate 7.5s linear forwards infinite;
  transform-origin: bottom center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    } to {
        transform: rotate(360deg);
    }
}

.container.grow {
    animation: grow 3s linear forwards;
}

@keyframes grow {
    from {
        transform: scale(1);
    } to {
        transform: scale(1.2);
    }
}

.container.shrink {
    animation: shrink 3s linear forwards;
}

@keyframes shrink {
    from {
        transform: scale(1.2);
    } to {
        transform: scale(1);
    }
}