/* ================================================== */
/* MOBILE STYLES - Sempre de Lado */
/* ================================================== */

#rotate-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  pointer-events: all;
}

#rotate-overlay .rotate-card {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 24px 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 18, 34, 0.84);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
}

#rotate-overlay .rotate-icon {
  font-size: 3rem;
  animation: rotate-loop 1.8s linear infinite;
}

#rotate-overlay .rotate-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes rotate-loop {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  #rotate-overlay {
    display: flex;
  }
}

@media (max-width: 1000px) {
  body {
    margin: 0;
    overflow: auto;
  }

  #header {
    display: flex;
    justify-content: space-between;
    height: 50px;
    width: 100%;
  }

  #pai1-topo {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 60%;
    height: 30px;
    background: linear-gradient(
      to right,
      rgba(27, 22, 22, 0.776),
      rgba(41, 36, 36, 0.861)
    );
    border: 2px solid black;
  }

  .t1, .t2, .t3 {
    display: flex;
    align-items: center;
    font-family: 'montserrat', sans-serif;
    width: 100%;
    height: 40px;
}

.t1 {
    height: 80%;
    background-color: rgba(56, 49, 49, 0.776);
    border: 0.5px solid black;
}

.t2 {
    justify-content: space-around;
}

.t3 img {
    width: 12%;
    filter: invert(1);
    margin: 20px 20px 20px 50px;
  }

  .foto-perfil {
    width: 25px;
    margin: 20px 20px;
  }

  .foto-perfil img {
    width: 70%;
    border-radius: 10%;
  }

  .t1, .t2, .t3 h1 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.4em;
  }

  #pai2-topo {
    width: 35%;
    height: auto;
    border-bottom: 1px solid #fff;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  #pai2-topo h1 {
    color: #ffffff8a;
    font-family: 'barbra', sans-serif;
    font-size: 0.9em;
    text-align: right;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  /*------------------- CENTRO --------------------*/
  #centro {
    width: 100%;
    height: 65dvh;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    margin-top: 0px;
    color: #ffffff;
  }

  .paicentro1 {
    justify-self: start;
    border: #cfdb1e;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-left: 5px;
  }

  .esquerda1, .esquerda2, .esquerda3, .esquerda4, .esquerda5 {
    display: flex;
    align-items: center;
    height: 30px;
    background-color: rgba(56, 49, 49, 0.776);
    font-size: 0.7em;
    border-end-end-radius: 8px;
    font-family: monospace;
    padding: 0 5px;
  }

  .paicentro1 img {
    width: 20px;
    margin: 5px;
  }

  .esquerda1 {
    width: 110px;
  }

  .esquerda2 {
    width: 130px;
  }

  .esquerda3 {
    width: 150px;
  }

  .esquerda4 {
    width: 125px;
  }

  .esquerda5 {
    width: 100px;
  }

  .paicentro2 {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .centro2filho img {
    width: 90px;
    height: auto;
  }

  .paicentro3 {
    display: flex;
    justify-content: end;
    align-items: top;
    height: 60dvh;
  }

  .centro3filho {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0px;
  }

  .contato-item {
    display: flex;
    align-items: center;
    border-radius: 5px;
    height: 25px;
    cursor: pointer;
  }

  .contato-item img {
    width: 25px;
    height: 25px;
  }

  .contato-label {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
  }

  .seta {
    display: none;
  }

  /* RODAPÉ */
  #baixo {
    display: flex;
    justify-content: space-around;
    align-items: end;
    border-radius: 12px;
    width: 70dvw;
    height: 10%;
    padding: 10px;
  }

  .paibaixo1 {
    display: flex;
    height: 35px;
    gap: 5px;
    justify-content: center;
  }

  .rodape {
    width: 40px;
    height: 6px;
    background-color: #cfdb1e;
    border-radius: 3px;
  }

  .paibaixo2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
  }

  .baixo2filho {
    display: flex;
    width: 100px;
    height: 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.6em;
    font-size: 1em;
  }

  .baixo2filho:hover {
    background-color: rgba(80, 70, 70, 0.9);
  }

  .baixo2filho img {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
  }

  .baixo2filho h1 {
    color: #fff;
    font-size: 0.65em;
    text-align: center;
    margin: 0;
  }

  .paibaixo3 {
    display: flex;
    justify-content: end;
    margin-right: 3%;
    padding: 8px 0;
  }

  #start {
    width: 20dvw;
    height: 12dvh;
    font-size: 0.8em;
    background-color: #cfdb1e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
  }

  #start:hover {
    background-color: #d9e93d;
    box-shadow: 0 0 10px rgba(207, 219, 30, 0.5);
  }


  /*-------secao ocultar-------*/

  #perfilpai {
    width: 80dvw;
    height: 60dvh;
  }

  #perfilmeiopai img {
    border: none;
  }

  .secaoOculta {
    width: 80dvw;
    height: 80dvh;
  }




  

    



}



