body{
    background-image: url(/assets/backwall.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* background-position: center 100px; */
}

header{
  background: linear-gradient(to bottom, rgba(69, 72, 77, 1), rgba(0, 0, 0, 1));
  height: 100px;
  margin-top: -8px;
  margin-left: -8px;
  margin-right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.logo{
  filter: invert(1);
  display: flex;
  align-items: center;
  justify-content: center;
}


.custom-box{
    background: url(assets/aero_glass.png), rgba(74, 74, 74, 0.6);
    border-right: 2px solid #363636;
    border-bottom: 2px solid #363636;
    border-bottom-right-radius: 3px;
    backdrop-filter: blur(8px);
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    color: #dadada;
    padding: 15px 20px 15px 20px;
    /* height: 627px; */
    width: 950px;
    min-height: 300px;
    overflow: visible;
    position: relative;
}



h1, h2, h3 {
    background: linear-gradient(to bottom, rgba(119, 119, 119, 0.925) 0%, rgba(35, 35, 35, 0.925) 55%, rgba(0, 0, 0, 0.925) 55%, rgba(22, 22, 22, 0.925) 100%);
    /* box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px; */
    box-shadow: rgba(255, 0, 0, 0.25) 0px 4px 4px;
    /* border: 1px solid black; */
    border-top: 1px solid #5e5e5e;
    border-left: 1px solid #5a5a5a;
    border-bottom: 1px solid #4b4b4b;
    border-right: 1px solid #4b4b4b;
    border-radius: 5px;
    padding: 2px 5px 4px 5px;
    margin: 0px auto 0px auto;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    max-width: 970px;
    font-weight: normal;
    font-family: "Segoe UI Semilight", Tahoma, Geneva, Verdana, sans-serif, Arial, Helvetica, sans-serif;
    margin: 0px;
    position: relative;
    text-align: center;
}

h1 img{
    width: 32px;
    height: 32px;
    padding-right: 5px;
    /* margin-right: 5px; */
    vertical-align: middle;
}

.main-box{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.article-container {
  background: rgba(27, 27, 27, 0.8);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
  border-radius: 5px;
  padding: 0px 10px 10px 10px;
  max-width: 935px;
  border-top: 1px solid #5e5e5e;
  border-left: 1px solid #5a5a5a;
  border-bottom: 1px solid #4b4b4b;
  border-right: 1px solid #4b4b4b;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e8e8e8;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 15px;
}

.article-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: rgba(255, 0, 0, 0.25) 0px 4px 4px;
}

.article-container iframe{
  max-width: 100%;
  height: 534px;
  display: block;
  margin: 15px auto;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: rgba(255, 0, 0, 0.25) 0px 4px 4px;
}

.sidebar {
  background: rgba(74, 74, 74, 0.8);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
  border-radius: 5px;
  padding: 15px 10px 10px 10px;
  max-width: 935px;
  border: 1px solid #5e5e5e;
  border-color: #5e5e5e #4b4b4b #4b4b4b #5a5a5a;
  position: sticky;
  top: 20px;
  transition: top 0.3s ease;
}

.sidebar-site { margin-right: 20px; }
.sidebar-blog { margin-left: 20px; }


.list-sidebar{
  background: rgba(27, 27, 27, 1);
  border-radius: 5px;
  padding: 15px 10px 10px 10px;
  max-width: 935px;
  margin-top: -10px;
  margin-bottom: -5px;
  margin-left: -5px;
  margin-right: -5px;
}

.lista-botao {
  list-style: none;     
  padding: 0;           
  margin: 15px auto;       
  display: flex;
  flex-direction: column; 
  align-items: center;    
}


.list-item-base {
  background: linear-gradient(to bottom, rgba(119, 119, 119, 0.925) 0%, rgba(97, 97, 97, 0.925) 10%, rgba(35, 35, 35, 0.925) 55%, rgba(0, 0, 0, 0.925) 56%, rgba(0, 0, 0, 0.925) 60%, rgba(32, 32, 32, 0.925) 100%);
  box-shadow: rgba(255, 0, 0, 0.25) 0px 4px 4px;
  border-top: 1px solid #858585;
  border-left: 1px solid #616161;
  border-bottom: 3px solid #161616;
  border-right: 1px solid #616161;
  border-radius: 8px;
  padding: 2px 5px 4px 5px;
  display: flex;
  align-items: center;
  font-family: "Segoe UI Semilight", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  margin: 0 0 10px 0;
}

.lista-botao li {justify-content: center; }
.list-sidebar li {justify-content: start; }

.list-sidebar a,
.lista-botao a {
  text-decoration: none;
  color: whitesmoke;
  white-space: nowrap;
  word-break: keep-all;
}

.list-sidebar a:hover,
.lista-botao a:hover {
  text-decoration: underline;
  color: red;
  opacity: 1;
}

.sidebar-icon {
    width: 16px;
    height: 16px;
    /* margin-right: 5px; */
    vertical-align: middle;
}

@media (max-width: 1024px) {
  .main-box {
    flex-direction: column;
    align-items: center;
  }

  .custom-box {
    width: 90%;
  }

  .sidebar-site, .sidebar-blog {
    position: relative;
    margin: 10px auto;
    top: unset;
    width: 90%;
  }

  .article-container {
    width: 90%;
    font-size: 15px;
  }

  header img {
    width: 180px;
  }
}

.icon-h1 {

  width: 32px;
  height: 32px;
  vertical-align: middle;

}

/* Celulares (até 600px) */
@media (max-width: 600px) {
  body {
    background-attachment: fixed;
  }

  header {
    height: 70px;
  }

  header img {
    width: 140px;
  }

  .custom-box {
    width: 95%;
    padding: 10px;
  }

  h1, h2, h3 {
    font-size: 18px;
    padding: 6px;
  }

  .article-container {
    width: 95%;
    font-size: 14px;
    padding: 8px;
  }

  .article-container iframe {
    height: 250px;
  }

  .sidebar-site, .sidebar-blog {
    width: 95%;
    margin: 10px auto;
    padding: 10px;
  }

  .list-sidebar li {
    font-size: 14px;
    padding: 4px 6px;
  }

  .sidebar-icon {
    width: 14px;
    height: 14px;
  }
}


.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%;
  max-width: 1000px;
}

/* Esconde o checkbox */
#menu-toggle {
  display: none;
}

/* Ícone hamburguer */
.menu-icon {
  font-size: 30px;
  color: white;
  cursor: pointer;
  display: none; /* só aparece em telas pequenas */
  user-select: none;
}

/* Menu mobile oculto por padrão */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  background: rgba(25, 25, 25, 0.95);
  border-top: 1px solid #5e5e5e;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 8px 16px;
  z-index: 999;
  padding: 15px 10px;
}

/* Exibe o menu quando o checkbox estiver marcado */
#menu-toggle:checked + .menu-icon + .mobile-menu {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Seções do menu mobile */
.mobile-menu .menu-section {
  margin-bottom: 20px;
}

.mobile-menu h3 {
  text-align: left;
  font-size: 16px;
  color: #ddd;
  margin: 10px 0 5px 0;
}

/* Animação de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVIDADE === */
@media (max-width: 1024px) {
  .main-box {
    flex-direction: column;
    align-items: center;
  }

  .custom-box,
  .article-container,
  .sidebar-site,
  .sidebar-blog {
    width: 90%;
  }

  /* Oculta as sidebars laterais no mobile */
  .sidebar-site,
  .sidebar-blog {
    display: none;
  }

  /* Mostra o botão hamburguer */
  .menu-icon {
    display: block;
  }

  header {
    justify-content: space-between;
    padding: 0 15px;
  }

  header img {
    width: 150px;
  }
}

@media (max-width: 600px) {
  header {
    height: 70px;
  }

  header img {
    width: 120px;
  }

  .mobile-menu {
    top: 70px;
  }

  .mobile-menu .list-sidebar li {
    font-size: 14px;
    padding: 6px;
  }
}

.buttons, .userbars {
  display: block;
  text-align: center;
  margin-bottom: 12px;
  margin-top: 12px;
}

.blinkies {
  display: block;
  text-align: center;
  align-items: center;
  width: 300px;
  margin: 20px auto;
  overflow: hidden;
}