body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: blue;
    color: yellow;
    font-family: 'Ubuntu', sans-serif;
  }

  .header {
    background: yellow;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .header button {
    color: blue; /* Ensures text visibility over potentially complex backgrounds */
    border: none;
    padding: 10px 20px;
    margin: 0 50px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 15px;
    background-size: cover; /* Ensures the background image covers the entire button */
    background-position: center; /* Centers the background image in the button */
    text-align: center;
    display: inline-block;
    transition: background 0.3s ease;
    
  }

  .header button:hover {
    
    background: #555;
    background-image: url('./img/hand.jpg'); /* URL of the background image */
    background-size: cover; /* Cover the entire area of the button */
    background-position: center; /* Center the background image */
    color: black;
  }

  .emoji-banner {
  position: absolute;
  font-size: 24px;
  animation: scrollBanner 10s linear infinite; /* Increased from 10s to 20s */
  white-space: nowrap;
}
/* Specific styles for each button */
.home-btn {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/cc/X_icon.svg');
}

.about-btn {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Telegram_logo.svg/1024px-Telegram_logo.svg.png');
}

.services-btn {
  background-image: url('https://images.seeklogo.com/logo-png/52/1/dex-screener-logo-png_seeklogo-527276.png');
}

.contact-btn {
  background-image: url('./img/pump.jpg');
}

@keyframes scrollBanner {
  from {
    left: 100%;
  }
  to {
    left: -100%;
  }
}
/* Base styling for larger screens */


/* Media query for small screens */
@media (max-width: 768px) {
    .content-section {
        margin-top: 40%; /* Increased top margin for small screens */
    }
}

@keyframes jump {
    0%, 100% {
        transform: translateY(0); /* Start and end in the original position */
    }
    50% {
        transform: translateY(-20px); /* Move the title up by 20 pixels at the peak of the jump */
    }
}

.title-area h1 {
    animation: jump 1s infinite; /* Apply the animation to the title, looping continuously */
    display: inline-block; /* Ensure the element can be transformed */
}

.content-section {
    display: flex;
    align-items: center; /* Aligns items vertically in the center */
    justify-content: space-between; /* Distributes space between elements */
    padding: 20px; /* Adjust overall padding if needed */

}

.title-area {
    flex: 1.5; /* Allocates a bit more space to the title */
    padding-right: 10px; /* Reduces right padding to bring the title closer to the image */
}
@media (min-width: 1024px) {
    .title-area {
        padding-left: 200px; /* Shifts the title more to the right on desktop screens */
        font-size: 40px;
    }
}

.image-area {
    flex: 1; /* Adjust if you want the image smaller or larger */
    display: flex;
    justify-content: flex-end; /* Keeps the image aligned to the right */
}

.image-area img {
    width: 100%; /* Ensures the image uses the full width of its container */
    height: auto; /* Maintains the aspect ratio of the image */
}


/* General CSS for all devices */
.gif-background img {
  width: 100%; /* Normal width setting for other devices */
  height: auto; /* Normal height setting for other devices */
}

.list-section {
  margin: 20px;
  padding: 20px;
  background-color: #f9f9f9; /* Light grey background for the section */
  border-radius: 8px; /* Rounded corners for the section */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
  background-image: url('./img/pwead-onplanet.gif'); /* Specify your background image here */
  background-size: contain; /* Adjust size to fit the area well, use 'cover' or specific px dimensions if preferred */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-position: center bottom; /* Positions the image at the bottom center of the section */
  animation: bounce 2s infinite; /* Applies the bouncing animation */
}

.section-title {
  color: #333; /* Dark grey color for the title */
  font-size: 24px; /* Larger font size for visibility */
  margin-bottom: 10px; /* Space between the title and the list */
}

.item-list {
  list-style-type: none; /* Remove default list styling */
  padding: 0;
  margin: 0;
}

.item-list li {
  display: flex; /* Enables flexbox layout */
  justify-content: space-between; /* Spaces children (question and answer) at the ends */
  padding: 12px 8px; /* Increased padding for better spacing around the text */
  border-bottom: 1px solid blue; /* Light line between items */
  font-size: 18px; /* Larger font size for better readability */
  line-height: 1.5; /* Improved line spacing for better readability */
}

.item-list li:last-child {
  border-bottom: none; /* Remove bottom border from the last item */
}

.question {
  flex: 1; /* Allows the question to take up the required space */
  text-align: left; /* Aligns the text to the left */
  color: black;
}

.answer {
  flex: 0; /* Keeps the answer text from stretching */
  text-align: right; /* Aligns the answer to the right */
  color: chartreuse;
  font-weight: bold;
}

@keyframes bounce {
  0%, 100% {
      background-position: center bottom; /* Start and end at the bottom */
  }
  50% {
      background-position: center 10px; /* Moves up slightly at the halfway point */
  }
}