@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");
:root{
    --main-color: #d92123;
    --primary-text-color: #fff;
    --secondary-text-color: #191919;
    --secondary-color: #dadada;
    --tertiary-color: #eff3f4;
    --secondary-bg-color: #5c1011;
}
*{
    font-family: 'Inter', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}
html {
    scroll-behavior: smooth;
}
img{
  width: 100%;
  border-radius: 30px;
}



/*
****************
header index*/



#header{
    min-height: 65vh;
    color: var(--primary-text-color);
    margin-bottom: 2rem;
    position: relative;
    background-image:url('views/templates/css/img/wallpaper_biblioteca.jpg'); 
    background-size: cover;
    background-position: center;
    
}

.functions{
  background-color: #04aa6d;
  width: 100%;
}
.nav-bar{
  background-color: #04aa6d;
  display: flex;
  justify-content: right;
  padding: 0.1rem 2rem;
}
.nav-list {
  display: flex;
  align-items: center;
}

.nav-list ul {
  display: flex;
  justify-content: left;
  list-style: none;
}

.nav-item {
  margin: 0 0 0px;
 
}

.nav-link {
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  font-weight: 400;
}
.login-button button {
  border: none;
  padding: 1.15rem;
  margin-right: -2rem;
  background-color: #2E8B57;
}

.login-button button a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 1.4rem;
}




li{
    float: left;
}
li a{
    display: flex;
    color: var(--primary-text-color);
    text-align: center;
    align-items: center;
    text-decoration: none;
    padding: 1.4rem;
}
li a:hover:not(.active){
    background-color: #2E8B57;
}
.active{
  text-decoration: none;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 400;
  background-color: #2E8B57;
}
#header h1{
    color: var(--primary-text-color);
    font-size: 3rem;
    margin: 2rem 2rem 7rem;
    display: flex;
    z-index: 2;
    position: relative;

}
body{
  background-color: #f8f8ff;
}

.areaatuacao{
  padding-top: 1.5rem;
}
.secao {
  width: 100%;
  display: flex;
  justify-content: left;
  text-align: center;
  box-shadow: 5px solid red;
}

.titulo-descricao{
  display: inline-block;
  width: 100%;
  align-items: center;
  margin-bottom: 2rem;
}

.subtitulo {
  font-size: 2rem;
  font-weight: bold;
  color:#04aa6d;
  margin-bottom: 2rem;
}
.descricao{
  text-align: justify;
  color: var(--secondary-text-color);
  font-size: 1.4rem;
  font-weight:300;
  margin: 0 25px 50px 25px;
}

.imagem-container {
  display: inline-block;
  margin-right: 2rem;
}

.secao .btn{
  color:aliceblue;
  text-decoration: none;
  padding: 1.2rem 1.8rem;
  font-size: 1.4rem;
  font-weight: bold;
  background-color: #04aa6d;
  border-radius: 15px;
}
.btn:hover, .service .btn:hover{
  background-color:#1e7243;
}


.text-image-section {
  position: relative;
  margin-top: 7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  z-index: 100;
}

#other-services {
  text-align: center;
  width: 100%;
  display: flex;
  gap: 2rem;
  margin-top: 5rem;
  padding: 2rem;
}
.service {
  width: 300px;
  display: inline-block;
  align-items: center;
  justify-content: center;
}
.service-curso {
  width: 400px;
  display: inline-block;
  align-items: center;
  justify-content: center;
}
.service-info .btn{
  text-decoration: none;
  padding: 1.2rem 1.8rem;
  font-size: 1.4rem;
  font-weight: bold;
  background-color: #04aa6d;
  color: var(--primary-text-color);
  align-self: end;
  margin-left: 2rem;
  border-radius: 15px;
}

.service-info{
  align-items: center;
  justify-content: center;
}

.service-info h3{
  text-align: center;
  margin: 10px 0 10px 0;
}
@media (max-width: 768px) {
  .service,
  .service-curso {
    width: 50%;
    margin-bottom: 20px;
  }

  .img_views {
    width: 100%;
  }

  .service-info .btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}


.contato{
  align-items: center;
  margin-bottom: 2rem;
  margin-left: 3rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.outras-informacoes{
  text-align: center;
}

/*
******************
header 2*/

.header-cabecalho{
  background-color: #04aa6d;
  display: flex;
  justify-content: left;
  padding: 0.1 1rem;
}


.botao-voltar{
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #2E8B57;
  font-size: 1.2rem;
}
.voltar{
  justify-content: center;
  display: flex;
  color: var(--primary-text-color);
  text-align: center;
  align-items: center;
  text-decoration: none;
  padding: 1.5rem 1rem;
}

.texto-cabecalho{
  justify-content: center;
  align-items: center;
  border: none;
  margin-left: 1.5rem;
}

.h1-cadastro{
  color: #fff;
  margin-top: 1rem;
}

.sign-up{
  justify-content: center;
  align-items: center;
  display: flex;
  margin-top: -20px;
}

.btn-sign-up{
  color: white;
  background-color: #04aa6d;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  text-decoration: none;
  background-color: #2E8B57;
  padding: 1.4rem;
  font-size: 1.4rem;
}


/*
****************
tela de login*/



.input-cadastro{
	width: 25vw;
  height: 6vh;
	text-align: left;
  justify-content: left;
  margin-left: 2rem;
  margin-bottom: 2rem;
  background-color: #eff3f4;
  border: 1px solid #378B74;
  border-radius: 5px;
  padding: 10px;
}

.input-cadastro::placeholder{
  font-weight:500;
  padding-left: 10px;
}

input[type="password"]{
	width: 25vw;
  height: 7vh;
	text-align: left;
  justify-content: left;
}


.bt-input-submit{
  padding: 15px 30px;
	justify-content: center;
  align-items: center;
	cursor: pointer;
	background-color:#378B74;
	border: 0 none;
	border-radius: 10px;
	font-size: 15px;
  margin-bottom: 2rem;
  color: #eff3f4;

}

.body-login{
  background-color:#eff3f4;
  /*background-image: url("img/wallpaper_biblioteca.jpg");*/
  /* background-size: cover; */
  background-color: red;
}


.div-image{
  width: 640px;
}
.fieldset a{
  position: relative;
  margin-left: 15rem;
  margin-bottom: 2rem;
  flex-direction: column;
  justify-content: right;
}
.fieldset p{
  margin-left: 2rem;
  position: absolute;
}


/*
****************************
tela de consulta de livros*/

.table-container {
  max-height: 250px; 
  max-width: 95%; 
  overflow-x: auto; 
  overflow-y: auto; 
  margin: 1rem 2rem 3rem; 
  padding: 1rem; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  border-radius: 5px; 
  background-color: #ffffff; 
   
}

/* Estilo da Tabela */
table {
  width: 100%;
  border-collapse: collapse;
 
}
thead th {
  position: sticky;
  /* top: 0; */
  background-color: #f9f9f9; 
  /* z-index: 1;  */
  border-bottom: 1px solid #ddd; 

}

tbody tr:nth-child(even) {
  background-color: #f2f2f2; 
}
.table-container {
  width: 100%;
  max-height: 400px; 
  overflow-x: auto; 
  overflow-y: auto; 
  margin: 1rem 2rem 3rem; 
  padding: 1rem; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px; 
  background-color: #ffffff; 
}

/* Estilo da Tabela */
#customers {
  width: 100%; 
  min-width: 800px; 
  border-collapse: collapse;
}

#customers td, #customers th {
  border: 1px solid #ddd;
  padding: 8px;
  font-weight: 500;
  color: #282828;
}

#customers td {
  text-transform: lowercase;
}

#customers td:first-letter {
  text-transform: uppercase;
}

#customers tr:nth-child(even) {
  background-color: #f2f2f2;
}

#customers tr:hover {
  background-color: #ddd;
}

#customers th {
  /* padding-top: 0; */
  /* padding-bottom: 12px; */
  text-align: center;
  background-color: #04aa6d;
  color: white;
  padding: 25px;
  width: 45px;
}
.filter-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px; 
}

/* Estilo dos Campos de Pesquisa */
.campo-pesquisa {
  width: 25vw;
  height: 6vh;
  text-align: left;
  justify-content: left;
  border-top: none;
  border-right: none;
  border-left: none;
}

.pesquisa {
  padding: 15px 30px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: #2E8B57;
  color: white;
  border: 0 none;
  border-radius: 10px;
  font-size: 15px;
}

.ficha-codigo {
  background-color: #28a745; 
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  margin-right: 10px;
  display: inline-block;
  text-align: center;
}

.bt-submit {
  background-color: #04aa6d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}


.a-paginacao{
  text-decoration: none;
  color: #04aa6d;
  font-weight: 500;

}
.bt-submit {
    background-color: #04aa6d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    max-width: 180px; 
    margin: 10px;
    text-align: center;
}

.bt-submit:hover {
  background-color: #038d58; 
  transform: translateY(-2px); 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bt-submit:active {
  background-color: #026b44; 
  transform: translateY(0); 
}


/* tela de cadastro*/

main h2{
  margin-top: 2rem;
  margin-left: 2rem;
  color: #4d4c4c;
}

.fieldset-cadastro{
  border: none;
	background-color: var(--primary-text-color);
  margin: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(190, 186, 186, 0.726);
}

.form-cadastro{
  position: relative;
  margin: 2rem 2rem;
}
.div-label-input{
  align-items: center;
  justify-content: center;
  margin-left: 0;
}
.label-input{
  display:inline-table;
  width: max-content;
  margin: 1rem 2rem 1rem 0;
  justify-content: left;

}

#campo,#campo-cdd, #campo-autor, #campo-barcode{
  border: 1px solid rgba(190, 186, 186, 0.726);
  box-shadow: 0.5px 0.5px 0.5px 0.5px rgba(227, 226, 226, 0.726);
}


form input[type="text"]{
  padding: 8px;
  height: 6vh;
  border: 1.5px solid black;
  margin-left: 0.4rem;
  border-radius: 6px; 
  font-weight: 500;
}

form input[type="number"]{
	width: 5vw;
  height: 6vh;
  border: 1.5px solid black;
  margin-left: 1rem;
  border-radius: 8px;
}
.bt-submit{
	padding: 15px 30px;
	justify-content: center;
  align-items: center;
	cursor: pointer;
	background-color:#04aa6d;
	color: white;
	border: 0 none;
	border-radius: 5px;
	font-size: 15px;
}
.bt-submit:hover{
  background-color: #047f52;
  transform: translateY(-2px);
}

.bt-reset{
  display:block;
	padding: 15px 30px;
	justify-content: center;
  align-items: center;
	cursor: pointer;
	background-color:#d92123;
	color: white;
	border: 0 none;
	border-radius: 5px;
	font-size: 15px;
}

.bt-reset:hover{
  background-color: #921d1f;
}
.campo::placeholder{
  color:gray;
  bottom: 0;
}

.label-strong{
  color: #4d4c4c;
}




.bi-facebook{
  color: red;
}

.label-input select, .label-input div select{
  width: 70px;
  height: 6vh;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1.5px solid black;
}

.label-input textarea{
  height: 8vh;
  border-radius: 8px;

}


/*tela alterar*/
.h1-alterar-select{
  text-align: center;
  margin-bottom: 2rem;
}


/*tela opcao de cadastro*/
.div-opcao-cadastro{
  margin: 5rem 10 rem auto;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
#div-opcao-cadastro:hover{
  background-color: #f0f0f0;
  transform: translateY(-3px); 
}
#a-opcao-cadastro{
  padding: 2rem 2rem;
  margin: auto;
  color: #191919;
  text-decoration: none;
}

.div-cadastro .div-opcao-cadastro #a-opcao-cadastro i{
  background-color: #d92123;
}

.bi-house{
  margin: 0 15px;
}


.imagem-container img{
  height: 500px;
  width: 600px;
  border-radius: 30px;
}

.ficha-codigo{
  float: right;
  padding: 15px 30px;
	justify-content: center;
  align-items: center;
	cursor: pointer;
	background-color:#d92123;
	color: white;
	border: 0 none;
	border-radius: 5px;
	font-size: 15px;
  margin-right: 3rem;
  margin-bottom: 2rem;
  }
  
@media screen and (max-width: 984px){
  .secao{
    display: block;
  }
  .titulo-descricao{
    display: inline-block;
    width: 100%;
  }
  .imagem-container{
    display: block;
  }
  .service{
    display: block;
  }
  #other-services{
    justify-content: center;
    align-items: center;
    display: block;
  }
  .service{
    justify-content: center;
    align-items: center;
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
  }
  .service-curso{
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    font-size: 25pt;
  }

  .imagem-container img{
    height: 300px;
    width: 400px;

  }
  .descricao{
    font-size: 25pt;
  }
  .nav-link {
    font-size: 30pt; 
    padding: 15px; 
  }
  .service-info h3{
    font-size: 37pt;
  }
  
.subtitulo {
  font-size: 3rem;

}
.service-info .btn{
  font-size: 25pt;
}


}

@media screen and (max-width: 768px){
  #div-opcao-cadastro{
    width: 400px;
    display: inline-block;
    padding: 20px 20px;
    box-shadow: 2px 2px gray;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 2rem;
    border-radius: 10px;
  }
  .h1-cadastro{
    font-size: 25px;
    margin-top:1rem;
    margin-bottom:1rem;
  }
  .nav-item{
    display: none;
    font-size: 70pt;
  }
  .secao{
    display: block;
  }
  .titulo-descricao{
    display: inline-block;
    width: 100%;
  }
  .imagem-container{
    display: block;
  }
  *{
    font-size: 0.9rem;
  }
  #other-services{
    justify-content: center;
    align-items: center;
    display: block;
  }
  .service{
    justify-content: center;
    align-items: center;
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
  }
  .service-curso{
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .imagem-container img{
    height: 300px;
    width: 400px;

  }
  .filter-container {
    flex-direction: column;
}
.filter-container select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s ease; 
}
.filter-container select:focus {
    border-color: var(--main-color); 
    outline: none;
}

.bt-submit {
    width: 80%;
    margin: 10px auto;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

}

@media screen and (max-width:580px) {
  #div-cadastro{
    display: flex;
    width: 100%;
    justify-content: left;
    margin: 5.4rem 1rem 0 1rem;
    }
    #div-cadastro:hover
    {
      transform: scale(1.01);
      background-color: #047f52;
    }
  #div-opcao-cadastro{
    width: 50px;
    display: inline-block;
    padding: 20px 20px;
    box-shadow: 2px 2px gray;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 2rem;
    border-radius: 10px;
  }
}