@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Sarala:wght@400;700&display=swap');

/* style.css */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  padding-top: 90px;
}

a {
    color: white;
    text-decoration: none;
}

#cabecalho {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: #22323c;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 70px;
}

/* Vídeo */
#videoprincipal {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Texto sobre o vídeo */
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-size: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Visualizador PDF*/

#pdf-viewer {
  width: 100%;
  overflow-x: hidden;
  padding: 1rem;
  background-color: #f9f9f9;
}
canvas {
  max-width: 100%;
  height: auto;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #2c3e50;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
  display: none; /* inicia escondido */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
