.glasses {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  transform-origin: center center;
}

.screendots {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 96px;
  height: 10px;
  background-color: rgb(41, 41, 41);
  transform: translate(-50%, 0);
  border-radius: 0 0 8px 8px;
}

.outer-container {
  aspect-ratio: 16/12;
  position: relative;
  border-radius: 28px;
  width: 80%;
  height: 100%;
  border: 10px solid rgb(41, 41, 41);
  overflow: hidden;
}

.liquid {
  margin: 0;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(
    circle,
    rgba(255, 0, 0, 0.7),
    rgba(0, 0, 255, 0.7),
    rgba(0, 0, 0, 0)
  );
  background-size: 200% 200%;
  background-position: center;
  background-repeat: no-repeat;
  animation: liquidFlow 20s ease-in-out infinite;
  box-shadow: none;
  border: none;
}

@media (prefers-color-scheme: dark) {
  .liquid {
    background: radial-gradient(
      circle,
      rgba(255, 94, 0, 0.7),
      rgba(58, 89, 209, 1),
      rgba(0, 0, 0, 0)
    );
    background-size: 200% 200%;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@keyframes liquidFlow {
  0% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 50% 0%;
  }
}