* {
  padding: 0;
  margin: 0;
}

.circle {
  --width: 130px;
  --height: 130px;
  position: absolute;
  top: 9px;
  right: 150px;
  transform: translate(50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--width);
  height: var(--height);
  border-radius: 100%;
  background-color: var(--primaryColor);
  margin-top: 24px;
  z-index: 10;
}

.logo {
  position: absolute;
  width: calc(var(--width) * 0.75);
  height: calc(var(--height) * 0.75);
  border-radius: 100%;
  border: 5px solid #fff;
  background-color: var(--primaryColor);
  background-size: cover;
  object-fit: cover;
}

.text {
  position: absolute;
  width: 100%;
  height: 100%;
  text-transform: uppercase;
  animation: rotateText 10s linear infinite;
  color: #fff;
}

.text .char {
  position: absolute;
  left: 50%;
  transform-origin: 0 calc(var(--width) / 2);
  transform: rotate(var(--char-rotate)) rotate(180deg);
  font-size: 12px;
}

@keyframes rotateText {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* ✅ For screens up to 500px */
@media (max-width: 500px) {
     .circle {
        --width: 82px;
        --height: 82px;
        top: 5px;
        right: 26%;
        transform: translate(50%, -50%);
    }

  .text .char {
    font-size: 10px;
  }
}

/* ✅ Specific fix for Samsung Galaxy S20 Ultra */
@media (max-width: 450px) and (min-width: 410px) {
  .circle {
    --width: 95px;
    --height: 95px;
    top: 0px;
    right: 25%;
    transform: translate(50%, -50%);
  }

  .text .char {
    font-size: 9px;
  }
}


@media (max-width: 375px) {
  .circle {
    --width: 85px;
    --height: 85px;
    top: 4px;
    right: 25%;
  }

/* ✅ For very small devices */
@media (max-width: 320px) {
  .circle {
    --width: 85px;
    --height: 85px;
    top: -3px;
    right: 50%;
  }

  .text .char {
    font-size: 8px;
  }
}
