@import url("https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&family=Rubik+Doodle+Shadow&display=swap");

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: Quicksand, sans-serif;
}

body {
  background-color: #ffedf3;
}

#navigation-bar nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fcbfc7;
  padding: 1.5rem 4rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 2rem auto;
}
/********************************  About Content  ********************************/

#simpsonsContent {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 7rem;
  flex-wrap: wrap;
  margin-top: 4rem;
}

#textHolder {
  flex: 1 1 45%;
}

#textHolder h1 {
  font-size: 2.5rem;
  margin-bottom: 2.3rem;
  font-family: "Quicksand", sans-serif;
  color: #434242;
}

#textHolder p {
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 2.3rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #434242;
}

#simpsonsContent #image {
  flex: 1 1 45%;
}

#simpsonsContent #image img {
  margin-top: 5rem;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/******************************** The Simpsons Achievements Section ********************************/

.highlights-section {
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.box-holder {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 40px auto;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.publishing-achie {
  background-color: #fcbfc7;
  color: #fff;
  padding: 25px 15px;
  border-radius: 12px;
  width: 30%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publishing-achie:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

.publishing-achie::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

#publishing {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#publishing li {
  margin: 0;
}

#publishing li h2 {
  font-size: 3.5em;
  margin: 0;
  font-weight: 900;
  color: #fff;
}

#publishing li p {
  margin: 10px 0 0;
  font-size: 1.2em;
  color: #fff;
  font-weight: 600;
}

/*******************************  Responsive Design  ********************************/

@media screen and (max-width: 768px) {
  #simpsonsContent {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
    gap: 2rem;
    margin-top: 3rem;
  }

  #textHolder {
    flex: 1;
    width: 100%;
    text-align: left;
  }

  #textHolder h1 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    width: 100%;
  }

  #textHolder p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    width: 200%;
  }

  #simpsonsContent #image img {
    width: 70%;
    height: 275px;
    border-radius: 4px;
    margin-top: -20px !important;
    margin-left: 13rem;
  }

  /*******************************  Achivement Box  ********************************/

  #publishing li h2 {
    font-size: 1.5em;
  }

  #publishing li p {
    font-size: 1em;
  }

  .box-holder {
    gap: 16px;

    width: 85%;
    max-width: 1000px;
  }
}
