

#intro-overlay {
  overflow-y: auto;
  max-height: 100vh;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  /*background: url('../ap_media/fundo_meta.webp') no-repeat center center;*/
  background-size: cover;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 700;
  animation: fadeIn 0.0s ease-in-out;
  overflow: hidden;
  /*display: none;
  overflow: hidden;*/
}

#intro-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

#overlay-content {
  color: #7a869c;
  text-align: center;
  padding: 1rem;
  max-width: 90%;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.card-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.info-card {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  padding: 1rem;
  color: white;
  font-size: 0.9rem;
  min-width: 120px; /* Largura mínima */
  max-width: 150px; /* Largura máxima */
  flex: 1 1 30%; /* Faz os cards crescerem de forma flexível */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-card i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.sevenbutton {
  transition: all 0.3s ease-in-out;
  animation: glow 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgb(122, 134, 156, 0.7);
  }
  50% {
    box-shadow: 0 0 15px rgb(122, 134, 156, 0.9);
  }
  100% {
    box-shadow: 0 0 5px rgb(122, 134, 156, 0.7);
  }
}

.button-main {
  animation: bounce 1s ease infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

#intro-bg-video2 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
opacity: 0.7;
pointer-events: none; 
transition: opacity 0.3s ease;
}

#discoveries-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.7;
  pointer-events: none; 
  transition: opacity 0.3s ease;
}

.ilogo {
  padding-bottom: 1rem;
  align-items: center;
  height: auto;          
  margin-left: 20px;        
}

.icontainer {
  transform: translateY(-4rem);
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

#slot-title-display {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  line-height: 1.23em;
  padding: 20px;
  border-radius: 10px;
  z-index: 9999;
  text-align: center;
  max-width: 95%;
  word-wrap: break-word;
}

@media only screen and (max-width: 767px) {

.ilogo {         
  margin-left: 0.5px;        
}
#slot-title-display {
  font-size: 2em;
  padding: 15px;
}

}

@media screen and (max-width: 767px) and (orientation: landscape) {
.icontainer {
  transform: translateY(0rem);
  margin-top: 3rem;
  padding: 1rem 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ilogo {         
  margin-left: 0.5px;        
}

#intro-overlay {
  align-items: center;
  overflow-y: auto;
}

#overlay-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.card-container {
  display: flex;
  flex-wrap: nowrap; /* Impede quebra de linha */
  /*justify-content: center;*/
  justify-content: space-between; /* Ajusta para distribuir melhor */
  align-items: center;
  gap: 1rem; /* Espaço entre os cards */
}

.info-card {
  flex: 1 1 auto;
  /*min-width: 30%;
  max-width: 32%;*/
  min-width: 120px;
  max-width: 150px;
  text-align: center;
  margin: 1rem auto; /* Centraliza horizontalmente */
}
}


  /*7 SEVENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN  */
  /*7 SEVENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN  */
  /*7 SEVENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN  */


  /*.hidden { display: none !important; }*/

.my-hidden {
    display: none !important;
}

#discoveries-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 750;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.discoveries-container {
  transform: translateY(-70px); /* sobe o conteúdo */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  padding: 2rem;
  box-sizing: border-box;
}

#discoveries-overlay h1 {
  color: #2385cf;
  font-size: 2.7rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#discoveries-overlay h2 {
  color: white;
  font-size: 2.1rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#discoveries-overlay h3 {
  color: #2385cf;
  font-size: 1.7rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slots-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1rem;
  width: 90%;
  max-width: 800px;
  justify-content: center;
}

/*.slots-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 90px);
  gap: 1rem;
  justify-content: center;
}*/

.slot {
  background-color: rgba(30, 58, 111, 0.3);
  height: 90px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px dashed #666;
  width: 90px;
  /*background: url('./ap_media/12r.png') center center no-repeat;*/
  background-size: contain;
  transition: transform 0.3s ease;

  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
}

.slotout {
  background-color: #333;
  height: 90px;
  border-radius: 10px;
  cursor: none;
  border: none;
  width: 90px;
  background: url('./ap_media/neova1.webp') center center no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
}

.slot.opened {
  background: none;
  background-size: contain;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

.slot-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-y: auto;
}

.modal-content {
  background: #fff;
  color: #000;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  max-width: 90%;
  width: 430px;
  text-align: center;
  font-size: 1.10rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  max-height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}

#modal-text {
  flex-grow: 1;
}

.close-modal {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border-radius: 5px;
  border: 1px dashed #659e5b;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
}

.close-overlay {
  /*position: absolute;
  top: 20px;
  right: 190px;*/

  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  align-self: flex-end;
  margin-right: 0rem;
  z-index: 10;
}

.close-overlay:hover {
  background: #2385cf;
  color: white;
}

.access-link{
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px dashed #659e5b;
  border-radius: 10px;
  font-size: 1rem !important;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 0.5rem 1rem;
  margin-top: 5px;
  align-self: center;
  z-index: 10;
}

#slot-modal .modal-content .access-link {
  font-size: 0.7rem;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

@media only screen and (max-width: 767px) {
  #discoveries-overlay h1 {
    color: #2385cf;
    font-size: 2.3rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  #discoveries-overlay h2 {
    color: white;
    font-size: 1.7rem;
  }
  #discoveries-overlay h3 {
    /*color: #659e5b;*/
    color: #2385cf;
    font-size: 1.2rem;
  }
  .slot {
    height: 70px;
    width: 70px;
  }
  .slotout {
    height: 70px;
    width: 70px;
  }
  .slots-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 1rem;
    width: 90%;
    max-width: 800px;
    justify-content: center;
  }
  .modal-content {
    text-align: center;
    font-size: 0.95rem;
  }
  /*.close-overlay {
    right: 50px;
  }*/
  .ap_kokiegoframe {
    color: #222;
    font-family: 'Segoe UI', Roboto, Oxygen,
      Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 0.73em;
    bottom: 0.5em;
  }

}

@media screen and (max-width: 767px) and (orientation: landscape) {
 
  .slot {
    height: 50px;
    width: 50px;
    font-size: 0.55rem;
    line-height: 1.1;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*overflow: hidden;*/
    word-wrap: break-word;
  }
  .slotout {
    height: 50px;
    width: 50px;
  }
  .slots-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 1rem;
    width: 90%;
    max-width: 800px;
    justify-content: center;
  }
  /*.slots-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 50px);
    gap: 1rem;
    justify-content: center;
  }*/
  .modal-content {
    text-align: center;
    font-size: 0.95rem;
    max-height: 90vh;
    z-index: 10;
  }
  /*.close-overlay {
    right: 50px;
  }*/

}

/*//////////////VIDEO - IMAGE FRAME//////////*/

  .overlayy {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }

  .overlay-contentt {
    position: relative;
    background: rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-radius: 5px;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay-contentt iframe {
    width: 80vw; 
    height: 45vw; 
    max-width: 900px; 
    max-height: 506px;
  }

  .closee {
    position: absolute;
    top: 7px;
    right: 7px;
    font-size: 30px;
    cursor: pointer;
    color: white;
  }

  .zoom-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    padding: 8px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    transition: background 0.3s ease;
  }
  .zoom-button:hover {
    background: #2772dc;
  }

  #zoomedImage {
    /*opacity: 0;
    transition: opacity 0.4s ease;*/
    display: block;
    margin: auto;
    max-width: 90vw;
    max-height: 90vh;
  }

  /*#zoomedImage.visible {
    opacity: 1;
  }*/

  @media (min-width: 768px) {
    #zoomedImage {
      width: 1000px;
      height: auto;
    }
  }

  /*///////////VOTACAO////////////*/

  #overlayVotacao {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 2000;
      justify-content: center;
      align-items: center;
  }
  #votacaoForm {
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      text-align: center;
  }
  button {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 5px;
  }
  button:hover {
      background-color: #327135;
  }
  #fecharVotacao {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
  }

    /*///////////OPEN TEXT////////////*/


  [id^="pagine"], [id^="paginn"] {
    display: block;
  }

  [id^="pagine"] a, [id^="paginn"] a {
    /*color: #2772dc;*/ 
    color: #000;
    font-family: "Montserrat", Arial, "Lato", Helvetica, sans-serif;
    font-size: 1.1em;
    padding: 0px 0px;
    text-decoration: none;
  }

  [id^="pagine"] a h1, [id^="paginn"] a h1 {
    color: #2772dc;
    /*color: #000;*/
    font-family: "Montserrat", Arial, "Lato", Helvetica, sans-serif;
    font-size: 1.1em;
  } 

  [id^="pagine"] a:hover:not(.active), [id^="paginn"] a:hover:not(.active) {
    /*background-color: #2772dc;*/
    color: #000;
  }
    
  .chapfix{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    min-height: 60px;
    width: 100%;
  }

  .chapfix a {
    text-decoration: none;
  }

  .chapfix h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1em;
    margin: 0;
  }

  /*.chapfix {
  background: #f0f0f0;
  border: 1px dashed red;
  }*/

  .textshow3{
  /*background-color: rgba(12, 81, 126, 0.1);*/
    font-family: "Montserrat", Arial, "Lato", Helvetica, sans-serif;
    background-color: #bc5a141a;
    text-align: left;
    font-size: 1.05em;
    line-height: 1.50em;
    padding-left: 3.5em;
    padding-right: 3.5em;
    padding-top: 1.3em;
    padding-bottom: 1em;
    border-radius: 1em;
  }

  @media only screen and (max-width: 767px) {

  .textshow3{ 
    background-color: #bc5a141a;
    text-align: left;
    font-size: 1.05em;
    line-height: 1.50em;
    padding-left: 1.2em;
    padding-right: 1.2em;
    padding-top: 1.3em;
    padding-bottom: 1em;
    border-radius: 1em;
  }
  }

    /*///////////OPEN TEXT////////////*/

  #btnTop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: none;
    /*background-color: #e1838383;*/
    background-color: transparent;
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 17px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
  }
  #btnTop:hover {
      background-color: #f70404;
      color: rgb(255, 255, 255);
  }

    /*///////////NEW VERSUS////////////*/

    #veroverlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(1, 1, 1, 0.7);
      display: flex;
      flex-direction: column; 
      justify-content: center;
      align-items: center;
      z-index: 800;
      opacity: 1;
      transition: opacity 0.5s ease;
    }

    #veroverlay.fade-out {
    opacity: 0;
    }

    .vercontainer {
        color:yellow;
        font-size: 1.30rem;
        text-align: center;
        font-style: italic;
        white-space: pre-wrap;
        overflow: hidden;
        height: 200px;
        width: 90%;
        max-width: 90%;
        width: 430px;
        position: relative;
        border-radius: 12px;
        background-color: transparent;
        padding: 2rem;
        box-sizing: border-box;
        line-height: 1.35;  
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /*height: auto;*/
        max-height: 100vh;
        /*overflow-y: auto;*/
        gap: 1rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    }

    .scroll-versus {
        position: absolute;
        bottom: 0px;
        left: 0;
        transform: none;
        white-space: pre-wrap;
        width: 100%;
        text-align: center;
    }

    .versus-title {
        color: white;
        font-weight: bold;
        font-size: 1.4rem;
        text-align: center;
        margin: 1.1rem;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    }

    @keyframes verscrollUp {
      from {
        bottom: -80%;
      }
      to {
        bottom: 100%;
      }
    }

    @media only screen and (max-width: 767px) {
      .vercontainer {
        width: 70%;
        height: 170px;
        font-size: 16px;
        padding: 10px;
      }
      @keyframes verscrollUp {
      from {
        bottom: -100%;
      }
      to {
        bottom: 100%;
      }
      }
      .versus-title {
        font-size: 1.3rem;
      }
    }

    @media screen and (max-width: 767px) and (orientation: landscape) {
        .vercontainer {
        width: 70%;
        height: 150px;
        font-size: 16px;
        padding: 10px;
        }
        @keyframes verscrollUp {
        from {
            bottom: -100%;
        }
        to {
            bottom: 100%;
        }
        }
        .versus-title {
        font-size: 1.3rem;
        }
    }


    /*///////////ABRE INSTA CAMPANHA////////////*/

#intro-overlayboo {
  overflow-y: auto;
  max-height: 100vh;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  background-size: cover;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 700;
  animation: fadeIn 0.0s ease-in-out;
  overflow: hidden;
}

.video-containerboo {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#intro-videoboo {
  max-width: 100%;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

#content-changedboo {
  text-align: center;
  color: white;
  font-size: 20px;
  display: none; 
}

@media screen and (min-width: 768px) {
  .video-containerboo {
    width: 80%;
    height: auto;
    max-width: 960px;
    max-height: 540px;
  }

  #intro-videoboo {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

#play-overlayboo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  color: white;
  border: none;
  font-size: 60px;
  cursor: pointer;
  z-index: 710;
  transition: color 0.3s;
}

#play-overlayboo:hover {
  color: #ddd;
}

#close-overlayboo {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 30px;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center; 
  z-index: 710; 
}