@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

body {
	padding: 0;
    margin: 0;
    background-color: #eee;
	font-family: "Source Sans 3", sans-serif;
	overflow: auto;
	font-size: 20px;
}

	sup {
		font-weight: bold;
		font-size: .7em;
	}
	sc {
		font-variant:small-caps;
	}
	a > titulo {
		font-weight: normal;
		text-transform: none;
	}

	titulo {
		text-transform:uppercase;
		font-weight: bold;
		display: block;
		margin: .2em .3em;
		cursor: pointer;
		
	}
	titulo > n {
		margin-right: .2em;
		min-width: 3em;
		background: #000;     /* fundo preto */
		color: #fff;          /* texto branco */
		padding: 0 .2em;
		border-radius: .4rem; /* borda bem arredondada (pill) */
	}
	verso, coro{
		display: block;
		margin: .3em 0;
		white-space: pre-line;
		line-height: 1.2em;
	}
	coro {
		font-weight: bold;
	}
	verso > n {
		font-weight: bold;
		padding-right: .15em
	}	
	
	
#container {
    width: 100vw;
    height: 100vh;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}
#c_mode {
	width: .8em;
    filter: invert(95%);
    cursor: pointer;
    flex: 0;
    margin: .4em .7em 0;
}
.day {
	filter: invert(0%);
}
.night {
	filter: invert(100%);
}
.night heb:hover, .night alm:hover, .night exp:hover, .night num:hover ~ heb, .night num:hover ~ alm, .night num:hover ~ exp {
	filter: invert(100%);	
}
.night iheb:hover, .night ialm:hover {
	filter: invert(100%);	
}
.night t::after {
	text-shadow: 0 0 .1em #000000aa;
}
.night ~ #letra_bottom {
	filter: invert(100%);
}

::selection {
    background-color: #eee; /* Cor de fundo da seleção */
    color: inherit; /* Cor do texto selecionado */
}

.hide {
    display: none;
}
.disabled {
    pointer-events: none; /* Desabilita o clique */
    color: white !important; /* Altera a aparência */
    text-decoration: none; /* Remove o sublinhado */
}
.nav_chapters {
    position: fixed;
    right: .3em;
    top: 2em;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .2em;
	font-size: .6em;
    padding: .9em;

}
.nav_chapters a {
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: black;
    justify-content: center;
    align-items: center;
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 25%;
    background: #eee;
    text-align: center;
    padding: 0 .1em .2em;
}
.nav_chapters a:hover {
	background: #333;
	color: white;
}
#next_chapter {

}
#previous_chapter {
	
}
#title {
	flex: 1;
	text-align: center; /* Centraliza o texto */
}
#superior {
	font-family: 'Source Sans 3', sans-serif;
	background-color: black;
    width: 100vw;
    position: fixed;
    color: white;
    top: 0;
    font-size: .45em;
	letter-spacing: .2em;
	font-weight: 600;
	cursor: default;
	display: flex;
    align-items: center;
    justify-content: space-between;
    height: 2em;
	z-index: 9999;
}
#inferior {
    font-family: 'Source Sans 3', sans-serif;
    background-color: black;
    width: 100vw;
    position: fixed;
    color: white;
    bottom: 0;
    font-size: .45em;
    letter-spacing: .2em;
    font-weight: 600;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2em;
	z-index: 9999;
}
#site {
	position: fixed;
    left: 0;
    bottom: 0;
    margin: .3em .5em;
	font-weight: 100;
	font-size: 1em;
	cursor: pointer;
	filter: grayscale(1);
}
#max {
    margin: .2em .5em;
	font-weight: 400;
	cursor: pointer;
	flex: 0;
}
#logo {
	width: 20em;
    position: fixed;
    right: 0;
    bottom: 0;
    background: gray;
}

/* INDEX */
bx {
    position: fixed;
    right: 0;
    top: 0;
    font-size: 2em;
    font-weight: 100;
    color: #aaa;
    cursor: pointer;
    line-height: 0;
    width: .5em;
    margin: .95em .3em;
	z-index: 9999;
}
a {
	text-decoration: none;
	color: black;
}
a:hover {
	text-decoration: none;
	color: darkgreen;
}
index {
    position: fixed;
    background: #eee;
    z-index: 9999;
   // font-family: "Lora", serif;
   // font-weight: 400;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
	//grid-auto-flow: column;
    //width: 100vw;
    /* top: .9em; */
    height: calc(100% - 2.6em);
    gap: .15em;
    /* box-sizing: border-box; */
    align-content: start;
    /* border: .3em solid #eee; */
    overflow: scroll;
    margin: 2em .3em;
}
#index_bottom {
	padding-bottom: 3em;
}
.fullscreen #index_bottom {
	padding-bottom: 0;
}


/* BIBLE */


hino {
   // font-family: "Lora", serif;
    //font-weight: 600;
    background: white;
    display: grid;
    //width: 100vw;
    height: calc(100% - 2.6em);
   // gap: .4em;
    background: white;
    margin: .3em;
    box-sizing: border-box;
    align-content: baseline;
	padding: .2em;
}
#letra_top {
    position: fixed;
    height: .7em;
    top: 4em;
	left: .3em;	
    width: calc(100% - .6em);
    border-top: solid .2em white;
    background: linear-gradient(to bottom, rgb(255 255 255), rgb(255 255 255 / 0%));
    z-index: 10;
	display: none;
}
#letra_bottom {
    position: fixed;
    height: .7em;
    bottom: .9em;
	left: .3em;	
    width: calc(100vw - .6em);
    border-bottom: solid .35em #eee;
    background: linear-gradient(to top, rgb(255 255 255), rgb(255 255 255), rgb(255 255 255 / 0%));
    z-index: 10;
	display: none;
}
letra {
	//margin-top: 2.2em;
	display: grid;
    gap: .15em;
    overflow: auto;
    padding: .5em .3em;
	//margin-bottom: 2em;
}
.fullscreen letra {
    margin-bottom: 0;
}