/* =========================================
   BASE GERAL DO SITE
========================================= */
body {
  background-image: url('../assets/bggrass.jpg');
  font-family: 'Consolas', monospace;
  margin: 0;
  padding: 0;
  background-color: #181818;
  color: #333;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  height: 100vh;       /* trava o body na altura da tela */
  overflow: hidden;    /* impede rolagem fora do main */

  cursor: url('../assets/rowletcur.png'), auto;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* =========================================
   ESTRUTURA PRINCIPAL
========================================= */
main {
  width: 80vw;
  padding: 3px;
  background-color: #F4F4F4;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  main {
    width: 40vw;
  }
}

.main {
  padding: 16px;
  background-color: #F4F4F4;
  border: 2px solid #262626;
  box-sizing: border-box;
}

.header {
  max-width: 100%;
  height: auto;
}

/* =========================================
   CORPO DO SITE
========================================= */
.body {
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 16px;
  gap: 16px;
  
  max-height: 50vh;           /* altura máxima para rolar dentro do main */
  overflow-y: auto;           /* ativa a rolagem interna */
  scrollbar-gutter: stable;   /* mantém o layout estável ao mostrar scroll */
}

.about {
  width: 176px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text {
  font-size: 12px;
  line-height: 3px;
  text-align: center;
}

.section {
  flex: 1;
  min-width: 200px;
  text-align: justify;
  background-color: #FFFFFF;
  z-index: 0;
  overflow: hidden;
  padding: 16px 0px;
}

/* =========================================
   RODAPÉ
========================================= */
footer {
  width: 80vw;
  padding: 3px;
  background-color: #F4F4F4;
  box-sizing: border-box;
  margin-top: 16px;
}

@media (min-width: 1200px) {
  footer {
    width: 40vw;
  }
}

.footer {
  display: flex;
  flex-grow: 1;
  padding: 16px;
  background-color: #F4F4F4;
  border: 2px solid #262626;
  box-sizing: border-box;
  justify-content: space-between;
}

/* =========================================
   MENU SUPERIOR
========================================= */
.bar {
  display: flex;
  margin-top: -4px;
  padding-top: 3px;
  background: linear-gradient(
    90deg,
    #ff6f61,
    #ffcc00,
    #4caf50,
    #2196f3,
    #9c27b0
  );
}

.botaoMenu {
  flex-grow: 1;
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background-color: #181818;
  padding: 18px 20px;
  cursor: pointer;
}

.botaoMenu:hover {
  background-color: transparent;
}

/* =========================================
   CONTEÚDO INTERNO
========================================= */

.flexrowcenter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  margin-bottom: -6px;
}

.titulo {
  color: #FFFFFF;
  background-color: #181818;
  font-weight: 600;
  padding: 10px 16px;
}

.paragrafos {
  padding: 0px 16px;
}

/* =========================================
   INÍCIO
========================================= */

.imglist {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  align-items: center;
  justify-content: start;
  padding-left: 6px;
}

.imgitem {
  display: flex;
  max-height: 90px;
}

.ultimopostbg {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 12px;
}

.ultimopostimg {
  width: 14px;
  height: auto;
}

.ultimoposttexto {
  font-size: 12px;
  margin-left: 8px;
  text-decoration: none;
  cursor: pointer;
}

.ultimoposttexto:hover {
  background-color: #C32903;
  color: #FFFFFF;
}

.pikachus {
  display: flex;
  max-height: 320px;
  height: auto;
}

/* =========================================
   TABS
========================================= */

.tablinkblu {
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.tablinkblu:visited {
  color: #181818;
}

.tablinkblu:hover {
  background-color: #5492ac;
  color: #FFFFFF;
}

.tablinkred {
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.tablinkred:visited {
  color: #181818;
}

.tablinkred:hover {
  background-color: #C32903;
  color: #FFFFFF;
}

.tablinkgrn {
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.tablinkgrn:visited {
  color: #181818;
}

.tablinkgrn:hover {
  background-color: #92A321;
  color: #FFFFFF;
}

.tabsection {
  flex: 1;
  min-width: 200px;
  text-align: justify;
  background-color: #FFFFFF;
  z-index: 0;
  overflow: hidden;
  padding: 16px 16px;
}

.tabtable {
  border-collapse: collapse;
  width: 100%;
}

.tabth {
  padding: 8px 0px;
  color: #FFFFFF;
  background-color: #181818;
  font-weight: 500;
  text-align: center;
}

.tabtr1 {
  color: #181818;
  background-color: #F4F4F4;
  text-align: center;
}

.tabtr2 {
  color: #181818;
  background-color: #FFFFFF;
  text-align: center;
}

.tabtd {
  padding: 8px 0px;
  font-size: 12px;
  
  color: #181818;
  text-align: center;
}

/* =========================================
   PÁGINAS
========================================= */

.navegacao {
  display: flex;
  flex-grow: 1;
  flex-direction: row;
  justify-content: space-between;
  padding: 0px 16px;
}

.navegacaoadjacente {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.navegacaobotoesgrn {
  color: #181818;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  margin: 0px;
}

.navegacaobotoesgrn:hover {
  background-color: #92A321;
  color: #FFFFFF;
}

.navegacaobotoesblu {
  color: #181818;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  margin: 0px;
}

.navegacaobotoesblu:hover {
  background-color: #5492ac;
  color: #FFFFFF;
}

.imagenstitulobacklog {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.imagenstitulobacklog img {
  max-width: 330px;
  height: auto;
  object-fit: contain;
}

.imagensbacklog {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.imagensbacklog img {
  max-width: 336px;
  height: auto;
  object-fit: contain;
}

.log {
  background-color: #92A321;
  padding-top: 16px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
  margin-top: 16px;
}

.logtable {
  border: 0px solid #181818;
  width: 100%;
  border-collapse: collapse;
}

.logtr, .logtd {
  border-left: 2px solid #181818;
  border-right: 2px solid #181818;
  border-bottom: 8px solid #92A321;
  
  color: #181818;
  font-weight: 600;
  text-align: center;
  margin-left: 16px;
}

/* =========================================
   TEXTO ROLANTE
========================================= */
.scroll-container {
  width: 176px;
  overflow: hidden;
  white-space: nowrap;
  background-color: #181818;
  padding: 10px;
  box-sizing: border-box;
}

.scroll-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

.scroll-content span {
  display: inline-block;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

/* =========================================
   ANIMAÇÕES
========================================= */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
