* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'MyCustomFont';
  src: url('Font/Gliker-Black.ttf') format('truetype');
}

body, html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at center, #f5f8f8 0%);
}
 
.content {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.content img {
  max-width: 400px;
  height: auto;
  border-radius: 22%;
}

.content h1 {
  margin-top: 20px;
  font-size: 2.5rem;
  color: #222;
}

.animated-text {
  position: fixed;
  bottom: 70px;
  width: 300px;
  height: auto;
  z-index: 999;
  opacity: 0.95;
  font-family: 'MyCustomFont', sans-serif;
}

.imggg {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 80px;
  height: auto;
  z-index: 999;
  opacity: 0.95;
}

.center-fruits {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: -200px;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.fruit {
  width: 700px;
  height: auto;
  transition: transform 0.4s ease-in-out;
  animation: popIn 0.6s ease forwards;
  opacity: 0;
 /* cursor: pointer;*/
}


.fruit.strawberry {
  --rotation: -15deg;
 /* transform: rotate(var(--rotation));*/
  z-index: 3;
  margin-right: -550px;
}

.fruit.blueberry {
  --rotation: 0deg;
 /* transform: rotate(var(--rotation)) scale(1.1);*/
  z-index: 4;
}

.fruit.lemon {
  --rotation: 15deg;
 /* transform: rotate(var(--rotation));*/
  z-index: 3;
  margin-left: -550px;
}

@keyframes popIn {
  0% {
    transform: scale(0.7) rotate(var(--rotation));
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(var(--rotation));
    opacity: 1;
  }
}
.bubble {
  position: absolute;
  bottom: -100px;
  border-radius: 50%;
  animation: rise 5s infinite ease-in;
  opacity: 0.6;
  background: rgba(0, 0, 0, 0.2); /* default color */
}


.bubble.red { background: #D76B69; }
.bubble.green { background: #C1CD8F; }
.bubble.blue { background: #84ADDD; }



.ring {
  position: absolute;
  bottom: -100px;
  border-radius: 50%;
  animation: rise 5s infinite ease-in;
  opacity: 0.6;
  background: transparent;
  border: 12px solid white; 
}


.ring.orange { border-color:#D76B69; }
.ring.cyan { border-color:#C1CD8F; }

.ring.purple { border-color: #84ADDD; }

@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-130vh) scale(1);
    opacity: 0;
  }
}

@media (max-width: 530px) {
  .center-fruits {
   flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
   gap: 0px;
    top: 55%;
  /*  transform: translate(-50%, -50%);*/
    padding: 0 10px ;
    
  }

  .fruit {
    width: 300px;
    margin: 0 310px; /* مهم لإلغاء السلبي */
   
   
  }
  .bubble {
    transform: scale(0.4) !important; /* تصغير حجم الفقاعات */
    opacity: 0.5;
  }

  .animated-text {
    font-size: 1.5rem;
    bottom: 110px;
    width: 90%;
    text-align: center;
  }

  .imggg {
    width: 50px;
    top: 10px;
    left: 10px;
  }

  .content h1 {
    font-size: 1.6rem;
  }


}



/*rgba(116, 13, 13, 0.6);*/