/* General Section */
.frepe-section {
  /* height: 110vh !important; */
  padding: 20px;
}

/* Title and Heading */
/* .comic-heading {
  color: white;
  text-shadow: 3px 3px 0 #000;
  font-size: 2rem;
} */

.comic-subtext {
  color: #4e342e; /* coffee tone */
  font-family: 'Luckiest Guy', cursive;
  font-style: italic;
  font-size: 1.1rem;
}

.comic-img {
  width: 60%;
  height: auto;
  border: 4px solid #000;
  border-radius: 20px;
  box-shadow: 6px 6px 0 #000;
}

/* Wrapper for the Why Section */
.why-wrapper {
  margin-top: 50px !important;
  width: 100%;
}

/* Title Box and Content Box Styling */
.why-title-box,
.why-box {
  width: 100%;
  box-sizing: border-box;
}

.why-title-box {
  background-color: #4a9776;
  border: 4px solid #000;
  padding: 0.5rem 1.2rem;
  display: inline-block;
  width: 100%;
  border-radius: 15px 15px 0 0; /* Only top corners rounded */
  box-shadow: 3px 3px 0 #000;
  text-align: center !important;
  margin-bottom: 0; /* No space between title and box */
}

.why-box {
  /* background-color: #ffffff29; */
  backdrop-filter: blur(10px);
}

.why-title-text {
  font-family: 'Luckiest Guy', cursive;
  font-size: 24px;
  color: #ffffff;
  text-shadow: 3px 3px 0 #000;
}

/* List Style for Content */
.comic-list {
  list-style: none;
  padding-left: 0;
}

.comic-list li {
  font-family: 'Luckiest Guy', cursive;
  text-shadow: 1px 1px 0 #000;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.2rem;
}

.comic-list li::before {
  content: '➤';
  position: absolute;
  left: 0;
  color: rgb(255, 255, 255);
}

/* Image Container for Random Positioning */
.image-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
}

.random-image {
  position: absolute;
  width: 200px;
  height: 200px;
  top: -15%; /* Randomly positioned */
  left: 98%; /* Randomly positioned */
  transition: all 0.3s ease; /* Smooth transition */
}

@media (max-width: 767px) {

  
  /* Center the image for mobile devices */
  .random-image {
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center the image both horizontally and vertically */
  }

  /* Adjust Image Width for Smaller Devices */
  .comic-img {
    width: 100%;
    margin-top: 1.5rem;
  }

  /* Center the title and content boxes */
  .why-title-box {
    margin: 0 auto 1rem auto; /* Center box */
    text-align: center;
  }

  .why-wrapper{
    margin-top: 10px !important;
  }

  .why-box {
    margin: 0 auto;
    /* padding: 1rem; */
    text-align: center;
  }

  /* Adjust List for Mobile */
  .comic-list li {
    text-align: left;
    padding-left: 1.5rem;
  }

  /* Flexbox adjustments for mobile */
  .frepe-section .row {
    flex-direction: column;
    align-items: center;
  }

  .frepe-section .col-md-5,
  .frepe-section .col-md-4 {
    max-width: 100%;
    text-align: center;
  }

  /* Center subtext for mobile */
  .comic-subtext {
    padding: 0 1rem;
  }
}

