@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;
}

html,
body {
  overflow-x: hidden !important;
}

body {
  background-color: #ffedfa;
}

/* Blurred background image */
.blurred-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/characters\ wall.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(6px);
  z-index: -2;
  pointer-events: none;
}

.blurred-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(171, 239, 253, 0.25);
  z-index: -1;
  pointer-events: none;
}

#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;
}

/******************************** Characters Heading ********************************/

.text {
  display: flex;
  justify-content: flex-start;
  margin: 80px 0;
}

#textHolder {
  position: relative;
  background-color: #ffedf3;
  border: 2px solid #fcbfc7;
  border-radius: 12px;
  padding: 30px 25px;
  max-width: 650px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-left: 100px;
}

#textHolder h1 {
  margin-bottom: 15px;
  font-size: 2em;
  color: #434242;
}

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

#textHolder::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background-color: #fcbfc7;
  border-radius: 50%;
  opacity: 0.7;
}

#textHolder:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/********************************  Characters Images and Buttons ********************************/

.displayCharacters {
  background-color: #ffedf3;
  border-radius: 12px;
  padding: 30px 70px;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  justify-content: flex-start;
  gap: 70px;
  align-items: flex-start;
  border: 3px solid #fcbfc7;
}

.displayCharacters figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
}

.displayCharacters figure img {
  width: auto;
  height: 320px;
  object-fit: contain;
  margin-bottom: 15px;
}

.displayCharacters figure svg.character-btn {
  width: 180px;
  height: 70px;
  cursor: pointer;
  overflow: visible;
  transition: transform 0.2s ease;
}

.displayCharacters figure svg.character-btn .border {
  stroke: #0392dd;
  stroke-width: 2;
}

.displayCharacters figure svg.character-btn text {
  font-size: 20px;
  font-weight: 700;
  fill: #0392dd !important;
  transition: fill 0.3s ease;
}

/********************************  Responsive Design Start Here  ********************************/

@media screen and (max-width: 768px) {
  .text {
    display: flex;
    justify-content: flex-start;
    margin: 80px 0;
  }

  #textHolder {
    max-width: 420px;
    margin-left: 20px;
  }

  #textHolder h1 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  #textHolder p {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 0.9rem;
    width: 416px;
  }

  .displayCharacters {
    padding: 20px 50px;
    max-width: 92%;
    width: 100%;
    margin: 20px 0;
    display: flex;
    gap: 70px;
  }

  .displayCharacters figure {
    margin-left: -4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
  }

  .displayCharacters figure img {
    width: auto;
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
  }

  .displayCharacters figure svg.character-btn {
    width: 120px;
    height: 76px;
  }
}
