* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.rope {
  top: -30px;
  position: relative;
  width: 75px; /* Adjust to match your image width */
  height: 260px; /* Length of the rope */
  background: url("knot-outline-symbol.png") repeat-y center center; /* Use your image */
  background-size: contain; /* Ensure the image scales properly */
}


body, html {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
background-color:   #C8B69B;

}





.wrapper {
  display: flex;
  position: fixed;
  flex-direction: column;
  align-items: center;
  animation: swing 1.5s ease-in-out infinite alternate; /* Apply swinging motion */
  transform-origin: top center; /* Swing from the top center */
}


.shadow{
  position: relative;
  align-items: center;
  top: 140px;
  width: 100px;
  border-radius: 50px;
  background-color: grey; /* Light grey background */
  box-shadow: 0 0 20px 5px #1C1C1C;
}
/* TV Outer Frame */
.tv-box {
  display: flex;
  top: -40px;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 300px;
  border: 15px solid #332f2c;
  background: #6d5e5b;
  border-radius: 50%;
  position: relative;

}

/* TV Frame around the screen */
.tv-frame {
  width: 80%;
  height: 70%;
  background: #2e2a28;
  border-radius: 50%;
  position: relative;
  padding: 15px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
  



.screen {
  width: 90%;
  height: 60%;
  background: linear-gradient( rgba(128, 128, 128, 0.6), rgb(255, 255, 255, 0.6));
  /*background: linear-gradient(135deg, #111, #333 50%, #111 100%);*/
  border-radius: 50%;
  position: relative;
  overflow: hidden;

}

/*.screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,0.1), rgba(255,255,255,0.1) 1px, rgba(0,0,0,0.1) 1px, rgba(0,0,0,0.1) 2px);
  opacity: 2; /* Adjust opacity for subtle effect */
 /* animation: staticNoise 0.3s steps(5) infinite; /* Faster speed for more static-like effect *//*
  pointer-events: none;*//*
}*/


/* Dials for a realistic touch */
.dial {
  width: 20px;
  height: 20px;
  background: #3d3d3d;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  position: absolute;
  cursor: pointer;
}

.dial::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #222;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
  box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.5);
}

.dial-left {
  left: 80px;
  bottom: 15%;
}

.dial-right {
  right: 80px;
  bottom: 15%;
}


/* Speaker grill */
.tv-speaker {
  width: 70px;
  height: 20px;
  background: #444;
  border-radius: 8px;
  margin-top: 10px;
  display: flex;
  justify-content: space-around;
  position: relative;
}

.tv-speaker::before,
.tv-speaker::after {
  content: "";
  width: 15px;
  height: 100%;
  background: #666;
  border-radius: 50%;
}


.container{
  position: relative;
  left: 300px;
}


#time{
  color: #F5F5DC;
  position: relative;
  text-align: center;
  top: 30px;
  animation: zoomeffect 2s infinite ease-in-out;
}



#time, #date {
  font-family: 'Press Start 2P', monospace; /* For a digital screen effect */
  text-align: center;
  font-size: 1.5rem;  /* Adjust size as needed */
}


.dial-left, .dial-right{
  animation: colorChange 3s infinite ease-in-out alternate;
}

.dial-right:hover{
  transform: scale(1.2);
}
.dial-left:hover{
  transform: scale(1.2);
}

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

@keyframes swing {
  0% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(10deg);
  }
}



@keyframes zoomeffect{
  0%, 100%{ bottom: -90px;
  
}
50%{
  bottom: -70px ;
}

}




@keyframes colorChange{
  0%{  background-color: red;}
  50%{ background-color: #FFBF00;}
  100%{background-color:#00FF7F;}

}
@keyframes staticNoise {
  0% { background-position: 0 0; }
  100% { background-position: 100vw 100vh; }
}

