/* Estilos personalizados para a tela de carregamento */
#loading-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

/* Animação do logo */
#loading-content img {
  width: 200px;
  height: auto;
  animation: fade-in 2s ease-in-out, grow 2s ease-in-out;
}

/* Deixe o spinner usar a animação padrão do Bootstrap */
.spinner-border {
  margin-top: 20px;
}

/* Animações */
@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes grow {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

/* Estilos personalizados */
#loading-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

#loading-content img {
  width: 200px;
  height: auto;
  /* Garantir que a altura seja proporcional */
  animation: fade-in 2s ease-in-out;
}

.spinner-border {
  margin-top: 20px;
}

/* Estilos gerais */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#main-content {
  background: rgb(0, 0, 0);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0px 4px 15px rgb(255, 0, 0);
  width: 100%;
  max-width: 400px;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1a73e8;
}

.form-label {
  color: #bbb;
  font-size: 1rem;
}

.form-control {
  background-color: #2b2d3c;
  border: 1px solid #444;
  color: #fff;
}

.form-control:focus {
  border-color: #1a73e8;
  box-shadow: 0px 0px 8px #1a73e8;
}

.btn-dark {
  background-color: #1a73e8;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-dark:hover {
  background-color: #1359ba;
}

.btn-outline-success {
  border-color: #1a73e8;
  color: #1a73e8;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-outline-success:hover {
  background-color: #1a73e8;
  color: #fff;
}

a {
  text-decoration: none;
  color: #1a73e8;
}

a:hover {
  text-decoration: underline;
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#bg1 {
  z-index: -2;
}

#bg2 {
  z-index: -3;
}



.bg-image img {
  width: 33.33%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}


/* Painel de login */
.login-panel {
  position: relative;
  z-index: 1;
  /* Garante que o painel de login fique acima da imagem */
}

/* Responsividade adicional para celular */
@media (max-width: 768px) {
  #main-content {
    margin: 0 10px;
    padding: 20px;
  }

  .col-md-5 {
    flex: 1 0 100%;
    max-width: 100%;
  }
}