@charset "utf-8";
/* CSS Document */
#sec3 {
  background-image: url('images/sec3back.jpg');
  background-repeat: no-repeat;
  background-position: center bottom;
  text-align: center;
  min-height: 640px;
}
#sec3 h3 {
  font-size: clamp(28px, 4vw, 34px);
  margin: 20px 0 50px 0;
  color: #0087c8;
  line-height: 1.2em;
  text-shadow: 2px 2px 0 #fff, 10px 15px 7px #ada38e;
}
#sec3 strong {
  font-size: 1.1em;
  font-weight: bold;
}
.bubbles-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  margin: 0 -30px 0 -30px;
  text-align: left;
}
.bubble {
  background: #fff;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: visible;
}
.bubble .label {
  display: inline-block;
  background: #0087c8;
  color: #fff;
  padding: 0 10px 1px 12px;
  margin: -3px 6px 0 -4px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  line-height: 23px;
  vertical-align: middle;
}
.bubble .question {
  position: relative;
  font-size: 18px;
  line-height: 28px;
  background: #f0faff;
  border-radius: 14px;
  padding: 4px 4px 4px 11px;
}
.bubble .answer {
  display: none;
  font-size: 17px;
  line-height: 24px;
}
.bubble:hover .answer {
  display: block;
  margin: 12px 5px 2px 5px;
}
.bubble:hover .question {
  background: linear-gradient(to right, #d6cf5a 0%, #f0e68c 50%, #d6cf5a 100%);
}
.bubble:hover::after {
  border: none;
}
.spacer {
  visibility: hidden;
  height: 0;
}
@media (min-width: 900px) {
  #sec3 {
    height: 540px;
    padding: 0 0 100px 0;
  }
  .bubble:nth-of-type(2) {
    margin: -20px 0 75px 0;
  }
  .bubble:nth-of-type(4) {
    margin: 0 30px 0 -30px;
  }
  .bubble:nth-of-type(6) {
    margin: 0 -30px 0 30px;
  }
  .bubble:nth-of-type(1)::after {
    content: "";
    position: absolute;
    bottom: -12px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 25px solid #fff;
    left: 280px;
    transform: rotate(-45deg);
  }
  .bubble:nth-of-type(2)::after {
    content: "";
    position: absolute;
    bottom: -12px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 25px solid #fff;
    left: 47%;
    bottom: -20px;
    transform: rotate(0deg);
  }
  .bubble:nth-of-type(3)::after {
    content: "";
    position: absolute;
    bottom: -12px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 25px solid #fff;
    left: -10px;
    transform: rotate(45deg);
  }
  .bubble:nth-of-type(1):hover::after, .bubble:nth-of-type(2):hover::after, .bubble:nth-of-type(3):hover::after {
    border: none;
  }
  .bubble:hover {
    transform: scale(1.05);
    z-index: 10;
  }
  .bubble:nth-of-type(1):hover {
    margin: -55px 0 -60px 0;
  }
  .bubble:nth-of-type(2):hover {
    margin: -55px 0 -80px 0;
  }
  .bubble:nth-of-type(3):hover {
    margin: -120px 0 -215px 0;
  }
  .bubble:nth-of-type(4):hover {
    margin: -65px 30px -50px -30px;
  }
  .bubble:nth-of-type(6):hover {
    margin: -55px -30px -40px 30px;
  }
  .bubble:nth-of-type(7):hover {
    margin: -155px 0 -10px 0;
  }
  .bubble:nth-of-type(9):hover {
    margin: -80px 0 -10px 0;
  }
}
@media (max-width: 899px) {
  .spacer {
    display: none;
  }
  #sec3 {
    background: #f4f5f0;
  }
  .bubbles-wrapper {
    margin: 0 auto 0 auto;
    width: 94%;
  }
}
@media (max-width: 768px) {
  .bubbles-wrapper {
    display: flex;
    flex-direction: column;
    width: 94%;
  }
}