:root {
    --cor-principal-azul: #004AAD;
    --cor-navbar: #a4d7f1;
    --cor-principal-azul: #000080;
    --cor-body: rgba(113, 101, 101, 0.364);
    --cor-container: white;
}

#navbar {
    background-color: var(--cor-principal-azul) !important;
    width: 100%;
    z-index: 2;
}
.nav-item{
font-weight: bolder;
}

.img {
    height: 50px;
}

/* Define as cores e tamanhos que você quer usar */
:root {
    --cor-navbar: #00a0ff;
    --cor-link: #000000;
    --cor-link-hover: #f1f1f1;
    --largura-sidebar: 250px;
  }
  
/* Barra lateral */
.sidebar {
  height: 100%;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background: #5964e0; /* Azul mais claro */
  overflow: hidden;
  transition: width 0.5s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding-top: 60px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Links da barra lateral */
.sidebar a {
  padding: 15px;
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  display: inline-block;
  transition: color 0.3s;
   white-space: nowrap;

}

/* Efeito de hover dos links da barra lateral */
.sidebar a:not(.closebtn):hover {
  color: #ffc107; /* Amarelo ao passar o mouse */
  background-color: rgba(255, 255, 255, 0.1); /* Fundo ao passar o mouse */
  width: 100%;
}

/* Ícone de casa antes do link "Home" */
.sidebar a.home::before {
  content: "\1F3E0"; /* Código Unicode do ícone de casa */
  margin-right: 10px; /* Espaçamento entre o ícone e o texto */
}

/* Botão de fechar a barra lateral */
.sidebar .closebtn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 14px;
  color: #fff;
  transition: color 0.1s;
}

/* Cor do X */
.sidebar a:hover {
  color: #9c9c9c; /* Vermelho ao passar o mouse */
}

/* Botão de abrir a barra lateral */
.openbtn {
  font-size: 24px;
  cursor: pointer;
  background-color: #343a40; /* Cinza escuro */
  color: #fff;
  padding: 15px;
  border: none;
  transition: background-color 0.3s;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  outline: none;
  position: relative;
}

/* Efeito de hover que faz parecer que o botão está sendo puxado para a tela */
.openbtn:hover {
  background-color: #495057; /* Cinza mais escuro ao passar o mouse */
}

.openbtn:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent 49%, #495057 51%);
  transition: background-position 0.3s;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}

/* Posição do botão de abrir a barra lateral */
.openbtn:hover::before {
  background-position: -100% 0;
  transition: background-position 0.3s;
}
