/*****************************Geral*****************************/
body {
  overflow: hidden;
  padding: 0;
  margin: 0; 
  background: yellow;
  background-color: #ccc;
  overflow-y: scroll;

}

header{
  border: 1px solid #ccc;
  background: #f2f2f2;
  padding: 10px;

}

footer{
  background: #ffffe0;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
}

article {
  background: linear-gradient(135deg, rgba(230,230,250,0.6), rgba(255,255,255,0.3));
  padding: 10px;
  text-align: center;
  border-radius: 12px;
}

#preloader { /*Tela de carregamento*/
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:black; 
  z-index:999; 
}

#img { /*Img Tela de carregamento*/
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*****************************Index*****************************/
.footerIndex {
  width: 100%;
  text-align: center;
  padding: 15px 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.3); /* transparente para ver o parallax */
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.content { /* Uma única tela cheia */
  height: 100vh; /* ocupa a tela inteira */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centraliza verticalmente */
  align-items: center;     /* centraliza horizontalmente */
  text-align: center;
  background: linear-gradient(to bottom, #4b0082, #8a2be2);
  padding: 20px;
}

.hero-header {
  color: #ffffff; /* branco */
  text-shadow: 0 2px 8px rgba(0,0,0,0.4); /* sombra sutil para destaque */
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.marcador { /*Efeito na região dos botões*/
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(0,0,0,0.15));
  backdrop-filter: blur(8px); /* deixa o fundo “frosted glass” */
  align-items: center;
}

.tooltip { /*Inicio Tooltip*/
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltiptext { /* Tooltip text */
  visibility: hidden;
  width: 220px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* acima do botão */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.tooltip:hover .tooltiptext { /* Mostrar tooltip ao passar o mouse */
  visibility: visible;
  opacity: 1;
}

.tooltip-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.tooltip-link .tooltip-text {
  visibility: hidden;
  width: 180px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px 10px;

  position: absolute;
  z-index: 1;
  bottom: 125%; /* posição acima do botão */
  left: 50%;
  transform: translateX(-50%);
  
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-link:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
} /*Fim Tooltip*/

/*****************************Simples*****************************/

/*Evitar exportar essa classe ao gerar o PDF*/
@media print {
  .no-print {
    display: none;
  }
}

/*****************************Estiloso*****************************/
.caixa { /*Usado no index também*/
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* espaçamento entre idiomas */
}

.idioma {
  border: 1px solid #ccc;   /* borda leve */
  border-radius: 8px;       /* cantos arredondados */
  padding: 8px 12px;        /* espaço interno */
  background-color: #f9f9f9; /* fundo suave */
  min-width: 150px;          /* largura mínima */
}

.img-flag {
  border-right: 2px solid #ccc; /* borda entre a imagem e o texto */
  padding-right: 8px;          /* espaço entre a borda e o texto */
}

.card-custom { /*ínicio card-custom*/
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #fff; /* deixa o texto branco para destacar */
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  font-weight: 500;
  height: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.card-custom ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-custom li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.card-custom li:last-child {
  border-bottom: none;
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  color: #007bff !important;
}

.card-custom p {
  margin: 0;
  line-height: 1.8;                /* dar respiro entre linhas */
} /*fim card-custom*/

#cursosCarousel .carousel-control-prev-icon,
#cursosCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.9); /* cor preta semitransparente */
  border-radius: 50%; /* deixa circular */
  width: 40px;
  height: 40px;
  background-size: 20%, 20%;
}

/******************************Portfólio******************************/

/*Nada único*/