html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  min-height: 100vh; /* Ensure full height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically */
}
body {
  font-family: Arial, sans-serif;
  text-align: center;
  background: url('stockmarket.webp') no-repeat center center/cover;
  min-height: 100vh;
  color: white;            
}

.container {
  padding: 20px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid white;
}

h1 {
  font-size: 24px;
  margin: 10px 0;
}

.subscriber-count {
  font-size: 18px;
  font-weight: bold;
}

.section {
  margin: 20px 0;
  font-size: 22px;
  font-weight: bold;
}

.btn {
  display: inline-flex;
  align-items: center;
  background: #cc0029;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.whatsapp-btn{
  background: green;
  color: white;
  font-size:14px;
  border-radius: 25px;
  padding: 10px 20px;  
}

@keyframes horizontalPulse {
  0% {
      transform: scaleX(1);
  }

  20% {
      transform: scaleX(0.5);
      /* Shrink horizontally */
  }

  40% {
      transform: scaleX(1);
      /* Back to normal */
  }

  100% {
      transform: scaleX(1);
      /* Hold still for 3 seconds */
  }
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  color: white;
  background-color: #cc0029;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  animation: horizontalPulse 2.5s infinite ease-in-out;
  /* Runs every 4s (1s transition + 3s pause) */
}

.btn img {
  width: 20px;
  margin-right: 10px;
}

@media (max-width: 600px) {
  .btn {
      font-size: 14px;
      /* Reduce font size for smaller screens */
      max-width: 90%;
      /* Ensure it adapts to mobile screens */
  }
}

.btn:hover {
  background: #cc0029;
  transform: scale(1.05);
}
