/* General Section */
.frepe-section {
  height: 110vh !important;

}

/* Title and Heading */
.comic-heading {
  color: white;
  text-shadow: 3px 3px 0 #000;
  font-size: 2rem;
}

.comic-subtext {
  color: #4e342e; /* coffee tone */
  font-family: 'Fredoka One', sans-serif !important;
  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: #a77d43;
  border: 4px solid #000;
  border-top: none; /* Remove top border to seamlessly connect with title */
  border-radius: 0 0 15px 15px; /* Bottom corners only */
  box-shadow: 4px 4px 0 #000;
  backdrop-filter: blur(10px);
}

.why-title-text {
	font-family: 'Fredoka One', sans-serif !important;
  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: 'Fredoka One', sans-serif !important;
  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%;
}

.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: 1024px) {
  .frepe-section {
    height: auto !important;
    background: #b2b683 !important;
    padding-bottom: 2rem;
  }

  .comic-heading {
    font-size: 1.6rem;
    text-align: center;
  }

  .comic-subtext {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }

  .comic-img {
    width: 90%;
    margin: 1rem auto;
    display: block;
  }

  .image-container {
    position: static;
    width: 100%;
    text-align: center;
  }

  .random-image {
    position: static;
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem auto;
    transform: none;
  }

  .why-wrapper {
    margin-top: 2rem;
  }

  .why-title-box,
  .why-box {
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .why-title-text {
    font-size: 20px;
  }

  .comic-list li {
    font-size: 0.95rem;
    padding-left: 1.5rem;
    text-align: left;
  }

  .comic-list li::before {
    left: 0;
  }

  .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;
  }
}
