:root{
  --primaria: #4a9f3d;
  --secundaria: #7ebf6c;
  --terciaria: #b2df9c;
  --fundo: #e6ffcb;
  --texto: #157f0d;
}

@font-face {
  font-family: 'Nunito';
  src: url(../fonts/Nunito-VariableFont_wght.ttf) format('truetype');
}

@media (max-width: 1023.98px) {
  #navbarContent {
    border-radius: 0.5rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.075);
    padding: 1rem;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

body {
  padding-top: 0.5%;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-section {
  position: relative;
  height: 100vh;
  border: 0;
  padding: 60px 20px;
  overflow: hidden;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../image/fundo01.jpeg') no-repeat center center/cover;
  opacity: 0.4; /* só aqui a opacidade */
  z-index: -1; /* fica atrás do conteúdo */
}

.navbar-nav .form-control {
  width: 200px;
}

.navbar .container-fluid {
  background-color: white;
  height: 70px;
  font-family: 'Nunito', Sans-serif; 
}

/*.navbar a{
  color: rgb(66, 61, 61);
  text-decoration: none;

}*/

.texto-logo{
  font-size: 25px;
  margin-top: 14px;
}

.nav-item .nav-link {
  text-decoration: none;
  position: relative;
  color: rgb(66, 61, 61); /* cor do link */
  transition: color 0.3s;
}

.nav-item .nav-link::after {
  content: '';
  position: absolute;
  width: 0px;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #035500;
  opacity: 0.5;
  transition: width 0.25s ease;
}

.nav-item .nav-link:hover {
  color: #035500; /* cor ao passar o mouse */
}

.nav-item .nav-link:hover::after {
  width: 100%;
}

.nav-item .nav-link.active {
  color: #035500; /* mesmo tom do hover */
}

.nav-item .nav-link.active::after {
  width: 100%;
}

.faixa-dados {
  background-color: #e8f5e9;
  border-top: 1px solid #c8e6c9;
  border-bottom: 1px solid #c8e6c9;
  font-size: 1rem;
  color: #2e7d32; /* verde escuro e sóbrio */
}

@media (max-width: 576px) {
  .faixa-dados {
    font-size: 0.9rem;
  }
}

.hero-section h1{
  font-size: 50px;
}

.header-img {
  max-height: 50px;
}

@media (max-width: 320px) {
  .header-img {
    max-height: 30px;  /* valor menor para telas mobile */
  }
}

.header-yt{
  text-decoration: none;
  color: rgb(92, 92, 92);
  font-size: 30px;
}

.codigo-disciplina {
  position: relative;
  padding-left: 15px; /* espaço para a bolinha */
  margin-bottom: 0.5rem;
}

.codigo-disciplina::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em; /* alinha verticalmente com o texto */
  width: 6px;
  height: 6px;
  background-color: #035500; /* cor da bolinha */
  border-radius: 50%; /* forma circular */
}

.carousel-indicators button {
  background-color: #ccc; /* Cor normal (ex: cinza claro) */
  opacity: 1;             /* Garante que a cor apareça sólida */
  border: none;           /* Remove a borda se não quiser */
}

.carousel-indicators .active {
  background-color: #035500; /* Cor da bolinha ativa (ex: azul) */
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.carousel-caption.custom-caption-bg {
  background: rgba(0, 0, 0, 0.3); /* fundo cinza escuro com transparência */
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  text-align: center;
}

.footer-map{
  margin: auto;
  max-height: 300px;
  aspect-ratio: 1;
  border-radius: 5%;

}

.footer-credito {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
  gap: 1rem;
}

.footer-text {
  flex: 1 1 100%;
  text-align: center;
}

.footer-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1 1 100%;
  gap: 1rem;
}

.footer-img {
  height: 40px;
}

/* Responsivo: abaixo de 768px, texto em cima, logos lado a lado */
@media (min-width: 768px) {
  .footer-credito {
    flex-direction: row;
  }

  .footer-text {
    flex: 0 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-logos {
    flex: 1 1 auto;
    justify-content: space-between;
    width: 100%;
  }
}


