* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Oswald', sans-serif;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f9f9f9;
}


.login {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cabecalho {
  background-color: #9c0f0f;
  color: #fff;
  z-index: 2;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px;
  position: fixed;
  height: 7%;
  width: 100%;
}

#logo{
  color: white;
  font-size:25px;
  text-decoration: none;
  width: 20%;
}

.principal {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5%;
  width: 20%;
}


.conteudo_login {
  width: 100%;
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 5%;
} 

h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 30px;
}

.conteudo_login button {
  margin-top: 20px;
  background-color: #9c0f0f;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 20px;
  text-align: center;
  justify-content: center;
  text-decoration: none;
  max-width: 80%;
}

.botoes{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.botoes a button {
  margin-left: 0;
}

.botoes button {
  min-width: 40%;
}

.conteudo_login button:hover {
  background-color: #df1818;
}

.conteudo_login label {
  text-align: left;
  grid-column: 1;
  font-size: 20px;
}

.conteudo_login input {
  grid-column: 2;
  padding: 8px;
  border-radius: 3px;
  border: 1px solid #ccc;
  width: 100%;
}

.rodape {
  background-color: #9c0f0f;
  color: #fff;
  text-align: center;
  padding: 10px;
  position: fixed;
  bottom: 0%;
  width: 100%;
}

.erros > p {
font-size: 1.4rem;
font-weight: 300;
color: #FFF;
background-color: #ff4500;
padding: 10px 25px;
margin-top: 0px;
margin-bottom: 10px;
}

img{
  display: block;
  margin: 0 auto;
}


.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
}


.modal-content h3 {
  margin-bottom: 15px;
  color: #333;
}

.modal-content p {
  margin-bottom: 15px;
  color: #666;
}

.modal-content a {
  color: blue;
  text-decoration: underline;
  margin-bottom: 15px;
  display: block;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.modal-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.cancel-button {
  background: #ff4d4d;
  color: white;
}

.confirm-button {
  background: #4caf50;
  color: white;
}