/* HABILIDADES */
.boxhab1 {
    border-bottom: 2px solid #24373b;
    padding: 1%;
    width: 60%;
    margin: -1% auto 0 auto;
  }
  
  .titleHab {
    font-size: clamp(18px, 4vw, 32px);
    font-weight: 600;
    margin-bottom: 2%;
  }
  
  .textHab1 {
    text-align: center;
    font-size: clamp(18px, 4vw, 20px);
    font-weight: 600;
  }
  
  .titleHab2 {
    font-size: clamp(18px, 4vw, 32px);
    font-weight: 600;
    margin-top: 4%;
    margin-bottom: 2%;
  }
  
  .boxEtapaMaster {
    margin: 3%;
    width: 90%;
  }
  
  .boxEtapa, .boxEtapa2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .todas {
    width: max-content;
    padding: 0.5% 1.5%;
    border: 2px solid #24373b;
    border-radius: 40px;
    font-size: clamp(12px, 4vw, 16px);
    box-shadow: 0 0.2rem 0.5rem #44c1dd;
    font-weight: 400;
    color: #ffff;
    background-color: #24373b;
    text-align: center;
    white-space: nowrap;
    margin: 1% 2%;
    cursor: pointer;
  }
  
  .todas:hover {
    transition: 100ms;
    background-color: #314c53;
    box-shadow: none;
  }
  
  .todas:active {
    box-shadow: inset -4px 4px 0 #172224;
    font-size: 1rem;
  }
  
  /* MENSAGEM */
  
  .spanMsg {
    margin-bottom: 2%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .mensagem1, .mensagem2, .mensagem3, .mensagem4, .mensagem5,
  .mensagem6, .mensagem7, .mensagem8, .mensagem9, .mensagem10 {
    border: 4px solid #111;
    background-color: #bbdec6;
    width: auto;
    margin-left: 2%;
    box-shadow: 0 0.2rem 0.5rem #44c1dd;
    display: none;
  }
  
  .msgText {
    font-size: clamp(12px, 4vw, 18px);
    font-weight: 600;
    color: #111;
    text-align: justify;
    padding-left: 3%;
    padding-right: 3%;
  }
  
  /* IMAGEM */
  
  .imgConstrucao2 {
    width: clamp(200px, 20%, 300px);
    display: block;
    margin: 2rem auto;
    filter: drop-shadow(2px 4px 6px #aaa);
    transition: transform 0.3s ease;
  }
  
  .imgConstrucao2:hover {
    transform: scale(1.05);
  }
  
  /* RESPONSIVO */
  
  @media (max-width: 767px) {
    .boxEtapa, .boxEtapa2 {
      flex-direction: column;
    }
  
    .todas {
      width: 90%;
      margin: 5px auto;
      font-size: 14px;
    }
  
    .boxhab1 {
      width: 90%;
      margin: auto;
    }
  
    .textHab1 {
      font-size: 1rem;
    }
  }
/* POP-UP */

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  .popup-box {
    background-color: #fefefe;
    color: #111;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 15px #44c1dd;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: fadeInScale 0.3s ease;
  }
  
  .fechar-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 1.2rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    font-weight: bold;
  }
  
  #popup-content p {
    font-size: 1rem;
    margin: 0.5rem 0;
  }
  
  @keyframes fadeInScale {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  