@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=SUSE:wght@100..800&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Permanent Marker", cursive;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #111;
  width: 100%;
  overflow: hidden;
}
.ring {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 2s ease-out; 
  max-width: 100%;
}

.ring i {
  position: absolute;
  inset: 0;
  border: 2px solid #fff;
  transition: border 1s ease-out, filter 1s ease-out; 
}
.ring i:nth-child(1) {
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  animation: animate 6s linear infinite; 
}
.ring i:nth-child(2) {
  border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
  animation: animate 4s linear infinite; 
}
.ring i:nth-child(3) {
  border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
  animation: animate2 10s linear infinite; 
}
.ring:hover {
  transform: scale(1.25);
}
.ring:hover i {
  border: 6px solid var(--clr);
  filter: drop-shadow(0 0 20px var(--clr));
}
@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes animate2 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}


.ring img {
  position: center;
  width: 500px; /* Make the image take the full width of the ring */
  height: 500px; /* Make the image take the full height of the ring */
  border-radius: 50%; /* Ensure the image fits the circular shape */
  object-fit: cover; /* Maintain the aspect ratio and cover the entire space */
  z-index: -1;
}

.homescreen h2 {
  color: #23594A;
  position: fixed;
  padding: 0;
  left: 30px;
  font-size: 40px;
}
.homescreen p {
  color: #BAB7BE;
  position: fixed;
  padding: 0;
  left: 30px;
  font-size: 40px;
}

@media screen and (max-width: 1100px) {
  .ring {
    width: 50vw;
    height: 50vw;
    display: flex;
    top: 50px
  }
  .ring i {
    border: 1px solid #fff;
  }
  .ring img {
    width: 400px;
    height: 400px;
  }
  .homescreen h2 {
    display: flex;
    text-align: center;
    font-size: 20px;
    
  }
  .homescreen p {
    font-size: 20px;
  }
  
  
}


@media screen and (max-width: 600px) {
  .ring {
    width: 80vw;
    height: 80vw;
    display: flex;
    top: 50px
  }
  .ring i {
    border: 1px solid #fff;
  }
  .ring img {
    width: 300px;
    height: 300px;
  }
  .homescreen h2 {
    display: flex;
    text-align: center;
    font-size: 20px;
    
  }
  .homescreen p {
    font-size: 20px;
  }
  
}

@media screen and (max-width: 400px) {
  .ring {
    width: 90vw;
    height: 90vw;
    display: flex;
    top: 50px
  }
  .ring i {
    border: 1px solid #fff;
  }
  .ring img {
    width: 300px;
    height: 300px;
  }
  .homescreen h2 {
    display: flex;
    text-align: center;
    font-size: 20px;
    
  }
  .homescreen p {
    font-size: 20px;
  }
  
}
