@charset "UTF-8";

:root {
  --color-background: #fdf6ec;       /* Bege claro */
  --color-primary: #c49a6c;          /* Dourado suave */
  --color-secondary: #8b5e3c;        /* Marrom médio */
  --color-section: #f1e1cc21;           
  --color-section1: #f1e1cc;           
  --color-accent: #e8d3b9;           /* Bege rosado */
  --color-main: #ffedd879;           /* Bege rosado */
  --color-text: #3e2f1c;             /* Marrom escuro */
  --color-h2: #462b08;             /* Marrom escuro */
  --color-heading: #5a3e2b;          /* Marrom profundo */
  --color-button: #c49a6c;           /* Dourado suave */
  --color-button-hover: #a87f54;     /* Dourado escuro */
  --color-border: #d8c2a6;           /* Bege acinzentado */
}

:root {
  --font-primary: 'Merriweather', serif;
  --font-secondary: 'Open Sans', sans-serif;
}

@font-face {
  font-family: "Merriweather";
  src: url("../fonts/Merriweather-Regular.woff2") format("woff2"),
        url("../fonts/Merriweather-Regular.woff") format("woff");
}

*{
  padding: 0;
  margin: 0;
  font-family: var(--font-primary);
  box-sizing: border-box;
}

body{
  height: auto;
  min-height: 98dvh;
  background-color:var(--color-background);
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
 }

 /* Inicio do Cabeçalho */
.header-custom{
  background-image: url('../image/mobile/header-background-widescream.webp');
  background-position: left bottom;
  background-size: cover;
  background-repeat: no-repeat;
  height: 150px;
}



/* Icone logo e Titulo */
.titulo-custom{
  display: flex;
  margin: auto;
  justify-content: center;
}

.titulo-custom h1 {
  font-size: 60px;
  letter-spacing: 2px;
  color:#7c4d10;
}

.titulo-custom img{
  width: 100px;
  height: auto;
}

/* Barra de navegação */
.navbar-custom{
  display: flex;
  width: 100%;
  justify-content: center;
  background-color: rgba(255,255,255,0.8);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  width: fit-content;
  margin: 10px auto;
  padding: 5px;

}

.navbar-custom a{
  display: inline-block;
  text-decoration: none;
  color: var(--color-text);
  font-size: 20px;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  transition: 0.3s;
}

.navbar-custom a:hover {
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
}

/* Fim do Cabeçalho */

/* Config do main */
main{
  background-color: var(--color-main);
  margin: auto;
  width: 100%;
}

/* Inicio do Section */
.conteudo{
  display: flex;
  width: 100%;
}

/* Aba de sugestões de vídeos */
.sugestao{
  background-color: var(--color-section);
  width: 600px;
  margin: auto;
  border-radius: 5px;
  text-align: center;
  padding: 5px;
}

/* Texto das Sugestão */
.sugestao h2{
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--color-h2);
}

.sugestao p{
  text-align: justify;
  margin-bottom: 10px;
}

/* Botões de seleção de aba*/
.sugestao button{
  background-color: var(--color-button);
  border: none;
  border-radius: 5px;
  padding: 5px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.295);
  transition: 0.3s;
  margin-right: 5px;
  height: 40px;
  width: 130px;
}

.sugestao button:hover{
  background-color: var(--color-button-hover);
}

.sugestao button:active{
  transform: scale(0.9);
}


.sugestao-tutilo h2{
  text-align: center;
}

.sugestao-tutilo p{
  width: 100%;
  text-align: center;
}

/* Aba de vídeos sugestivos */
.lista-sugestao{
  background-color: var(--color-section);
  margin-top: 20px;
  width: 98%;
  
}

.videos{
  background-color: var(--color-section);
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.253);
  border-radius: 5px;
  padding: 10px;
  width: 250px;
  transition: 0.1s;
  cursor: pointer;
}

.videos h3{
  height: 50px;
  font-size: 22px;
  font-weight: bolder;
}

.videos p{
  text-align: center;
}

.videos img{
  width: 100px;
  height: 100px;
  border: 1px solid black;
  border-radius: 5px;
}

.videos:hover{
  transform: scale(1.1);
}

/* Funcionalidade dos  botões sugestões */
.sermao{
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 20px;
  transition: opacity 1s ease;

}

.devocional{
  display: none;
  transition: opacity 1s ease;
}

.louvores{
  display: none;
  transition: opacity 1s ease;
}

/* Player Principal */
.player-principal{
  background-color: var(--color-section1);
  margin: auto;
  margin-top: 22px;
  width: 800px;
  height: 600px;
  border-radius: 10px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.253);
}

.player{
  width: 100%;
  position: relative;
  padding-top: 56.25%; /* Proporção 16:9 */
  margin-bottom: 20px;
}

.player iframe{
  position: absolute;
  top: 10px;
  left: 25px;
  width: 95%;
  height: 100%;
  border: 2px solid var(--color-border);
  border-radius: 5px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.253);
}


/* Botões do player */
.player-bt{
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;

}

.player-bt button{
  background-color: var(--color-button);
  border: none;
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.295);
  transition: 0.3s;
  height: 60px;
  width: 220px;
} 

.player-bt button p{
  color: var(--color-text);
  font-size: 18px;
}

.player-bt button:hover{
  background-color: var(--color-button-hover);
}

.player-bt button:active{
  transform: scale(0.9);
}

/* Player da recomendação */
.recomendado{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  box-sizing: border-box;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.recomendado.active {
  display: flex;
}

.sugestao-mobile, .lista-sugestao-mobile, .sujestao-mobile-titulo, .sugestao-buttons-mobile{
  display: none;
}

.foot-recomendado{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foot-recomendado h2{
  font-size: 20px;
  background-color: var(--color-button);
  padding: 10px ;
  border-radius: 5px;
}

.recomendado button{
  background-color: var(--color-button);
  border: none;
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.295);
  transition: 0.3s;
  height: 60px;
  width: 220px;
  margin-right: 150px;
  font-size: 18px;
} 

.recomendado button:hover{
  background-color: var(--color-button-hover);
}

/* Vericulo da semana */
#abaVersiculo{
  display: none;
}

.rec-container{
  display: flex;
}

.rec-container img{
  width: 30%;
  border: 1px solid black;
  margin: auto;
  margin-right: 5px;
}

.reflexao{
  background-color: var(--color-button);
  border: 1px solid black;
  border-radius: 5px;
  padding: 10px;
  margin: auto;
  margin-left: 0;
  width: 900px;
  height: 460px;
}

.reflexao p{
  max-height: 300px;
  overflow-y: scroll;
}

.reflexao ::-webkit-scrollbar {
  width: 10px;
  background-color: var(--color-button);

}

#abaVersiculo button{
  display: block;
  margin: auto;
  margin-top: 20px;
  justify-content: flex-end;
  padding-right: 20px;
}

/* Banner Bíblia Online */
.biblia-on{
  background-image: url("../image/biblia-on-backgroung-wide.png");
  background-size: cover;
  background-position: 0px -420px;
  background-repeat: no-repeat;

  margin: auto;
  margin-top: 20px;
  width: 98%;
  height: 340px;
  border-radius: 5px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.253);
  border: 2px solid var(--color-border);
}

.biblia-on h2{
  color: var(--color-heading);
  padding-top: 20px;
  margin-left: 20px;
  font-size: 40px;
}

.biblia-on p{
  color: var(--color-heading);
  margin-left: 20px;
  width: 600px;
  font-size: 30px;
}

.biblia-on button{
  background-color: rgb(243, 103, 17);
  border: none;
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.295);
  transition: 0.3s;
  height: 80px;
  width: 350px;
  margin-left: 30px;
  margin-top: 10px;
  font-size: 30px;
  color: var(--color-h2);
}

.biblia-on button:hover{
  background-color: rgb(202, 91, 21);
}

.biblia-on button:active{
  transform: scale(0.9);
}


/* Pedidos de Oração */
.pedidos{
  background-image: url("../image/oracao-backgroud.png");
  background-size: cover;
  background-position: left bottom;

  margin: auto;
  margin-top: 20px;
  width: 98%;
  height: 525px;
  border-radius: 5px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.253);
  text-align: right;
}

.pedidos h1{
  color: var(--color-heading);
  padding-top: 20px;
  margin-right: 40px;
  font-size: 60px;
}

.pedidos p{
  color: var(--color-heading);
  font-size: 30px;
  text-align: justify;
  margin-left: 40px;
  width: 500px;
  margin-left: 55%;
}

.pedidos input{
  display: block;
  margin-left: auto;        /* empurra pra direita */
  margin-right: 50px;
  margin-top: 10px;
  width: 500px;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 8px;
  border: none;
}

.pedidos input:focus{
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#pedido{
  height: 200px;
}

#pedido:focus{
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

form textarea{
  resize: none;
  width: 500px;
  display: block;
  margin-left: auto;
  margin-right: 3.7%;        /* empurra pra direita */
  padding: 8px;
  border-radius: 8px;
  border: none;
  margin-bottom: 10px;
}

.pedidos button{
  background-color: rgb(243, 103, 17);
  border: none;
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.295);
  transition: 0.3s;
  height: 50px;
  width: 200px;
  margin-right: 50px;
  font-size: 20px;
  color: var(--color-h2);
}

.pedidos button:hover{
  background-color: rgb(202, 91, 21);
}

.pedidos button:active{
  transform: scale(0.9);
}

#menssagem{
  margin-top: -45px;
  font-size: 20px;
  width: 280px;
}
/* Footer */
footer{
  background-color: var(--color-background);
  color: var(--color-text);
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  display: flex;
}

/* Sobre o projeto */
.sobre{
  width: 100%;
}

.sobre h3{
  color: var(--color-heading);
  padding-top: 20px;
  font-size: 30px;
}

.sobre p{
  text-align: justify;
  margin: auto;
  width: 80%;
  font-size: 18px;
}


hr{
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 80%;
  border: 1px solid var(--color-border);
}

/* Loader */
.loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  border: 8px solid var(--color-border);
  border-top: 8px solid var(--color-primary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader p {
  margin-top: 20px;
  color: var(--color-heading);
  font-size: 18px;
  font-weight: bold;
}

/* Bootstrap */
.card{
  margin: 10px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.445);
}

.card img{
  width: 100%;
}

.card-text{
  width: 250px;
  text-align: justify;
  height: 150px;
}

/* Label de estudo */

.fechar{
  position: absolute;
  left: 15px;
  top: 5px;
  border: none;
  background-color: transparent;
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.445);

  font-size: 35px;
  color: var(--color-primary);
}

.fechar:active{
  scale: 0.9;
}

.estudo.aberto{
  display: block;
  animation: esmaecerEstudo 0.55s ease forwards;
}

@keyframes esmaecerEstudo{
  from { opacity: 0; }
  to { opacity: 1; }
}

.estudo{
  display: none;
  position: absolute;
  background-color: rgb(255, 255, 255);
  border: 2px solid black;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.445);
  width: 90%;
  height: 92%;
  left: 10%;
  margin-top: 5px;
  text-align: center;
  padding: 10px;

}

.estudo h2{
  background-color: var(--color-primary);
  color: var(--color-h2);
  width: 400px;
  margin: auto; 
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.445);
}

.container-estudo{
  display: block;
  grid-template-columns: 3fr 3fr;
  height: 90%;
  gap: 3px;

  overflow-y: scroll;
}

.card-container-estudos{
  display:flex;
  width: 90%;
  margin:auto;
}

.card{
  width: 20%;

}

.card-title{
  font-size: 18px;
  font-weight: bold;
}

.card-text{
  font-size: 14px;
  text-align: justify;
  width: 90%;
}

.estudos-contain{
  width: 90%;
}

.estudos-contain h1{
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.estudos-contain h1::after{
  content: "";
  display: block;
  width: 90%;
  height: 3px;
  background-color: var(--color-primary);
  margin: auto;
  margin-top: 10px;
  border-radius: 5px;
}

.link-card{
  text-decoration: none;
  color: var(--color-text);
}

.card{
  position: relative;
  overflow: hidden;
}

.card-body{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-body h5{
  font-weight: bold;
  text-align: center;
}

.card > .card-body{
  display:none;
}

.card:hover > .card-body{
  display:block;
}
