*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: .5s;
}

*:focus{
    outline: 0;
}

:root{
    --brand-color: #1e943d;
    --text-color-light: #222;
    --text-color-dark: #ddd;
}

@media(prefers-color-scheme: light) {
	html{
		background: var(--text-color-dark);
		color: var(--text-color-light);
	}
	
	.search{
		background: #eee
	}
	
	#content button:hover{
	    background-color: #ccc;
	    transform: scale(.975);
	}
	
	#books-list li button{
		color: var(--text-color-light);
	}
	
	#modal{
	    background-color: var(--text-color-dark);
    	color: var(--text-color-light);
	}
	
	.loader{
		color: var(--text-color-light);
	}
}

@media(prefers-color-scheme: dark) {
	html {
		background: var(--text-color-light);
		color: var(--text-color-dark);
	}
	
	.search{
		background: #333;
		color: var(--text-color-dark);
	}
	
	#content button:hover{
    	background-color: #333;
    	transform: scale(.975);
	}
	
	#modal{
	    background-color: var(--text-color-light);
    	color: var(--text-color-dark);
	}
	
	select{
		color: var(--text-color-dark);
	}
	
	.loader{
		color: var(text-color-dark);
	}
}

/* ::-webkit-autobar{
    background-color: red;
}

::-webkit-autobar-button{
    background-color: red;
}

::-webkit-autobar-track{
    background-color: #12b142;
} */

html{
    position: relative;
    accent-color: var(--brand-color);
}

body{
    overflow: hidden;
}

#searchinfo{
    width: 75%;
    font-size: 1.2rem;
    text-align: center;
    margin: auto;
}

button{
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

header{
    padding: .5rem;
    background-color: var(--brand-color);
    color: var(--text-color-dark);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    height: 3.5rem;
}

header img{
	object-fit: contain;
}

#options nav{
    padding: 0 .5rem;
}

#options ul{
    display: flex;
    justify-content: space-around;
}

#options ul button{
    font-size: 2rem;
    color: var(--text-color-dark);
}

#not-header{
    transform: translateY(4.25rem);
    /* overflow-y: auto; */
}

#info{
    background-color: #ccc7;
    border-radius: .5rem;
    padding: .5rem;
    text-align: center;
    font-size: 1.5rem
}

#content{
    display: grid;
    grid-template-columns: 1.5fr 5fr 2fr;
    column-gap: 1rem;
    padding: .25rem;
}

#content section{
    padding: .5rem;
}

#bible-reading{
    overflow-y: auto;
    height: 89dvh;
}

#left-sidebar ul{
    overflow-y: auto;
    height: 80dvh;
}

#left-sidebar button{
    font-size: 1rem;
    color: #ddd;
}

#right-sidebar ul{
    overflow-y: auto;
    height: 80dvh;
}

#left-sidebar button{
    display: block;
    width: 100%;
    text-align: left;
    padding: .5rem;
    border-radius: .5rem;
}

#right-sidebar ul{
    height: 84dvh;
}

#chapter-name{
    text-align: center;
}

#right-sidebar ul li{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#right-sidebar ul li button{
    padding: .25rem;
    width: 3rem;
    height: 3rem;
    border-radius: .5rem;
    font-size: 1.25rem;
    margin: auto .5rem;
}

#chapters-list p{
    display: block;
    text-align: center;
    width: 100%;
    height: 100%;
}

.testament{
	margin: .5rem auto;
	text-transform: uppercase;
	text-align: center;
	font-size: 1.5rem
}

.search-wrap{
    padding: .5rem;
}

.search{
    padding: .75rem;
    width: 100%;
    border-radius: .5rem;
    border: 0;
    margin: auto;
    display: block;
}

.loader{
    text-align: center;
    font-size: 4rem;
    margin-top: 25dvh;
}

.loader-con{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-bg{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3337;
    display: none;
}

#modal{
    width: 80%;
    padding: 1rem;
    margin: auto;
    margin-top: 25dvh;
    border-radius: .75rem;
}

#mod-list li{
    display: flex;
    padding: .5rem;
    margin: .25rem 0;
    justify-content: space-between;
}

#mod-list select{
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: .25rem;
}

#mod-list option{
    appearance: none;
    font-size: 1rem;
}

#Ubuntu{
    font-family: "Ubuntu";
}

#kode-mono{
    font-family: "Kode Mono";
}

@media screen and (max-width: 600px) {
    #not-header{
        transform: translateY(3rem);
        /* overflow-y: auto; */
    }

    .not-mobile{
       
    }

    header h1{
        font-size: 1.5rem;
        text-align: center;
    }

    body{
        overflow: auto;
    }

    #content{
        display: flex;
        flex-direction: column;
    }

    #bible-reading{
        height: auto;
    }
    
    #left-sidebar ul{
        height: auto;
    }
    
    #right-sidebar ul{
        height: auto;
    }
    
    #info::after{
        font-style: italic;
        font-size: .75rem;
    }
    
    .search{
    	font-size: 1.25rem;
    }
    
    #books-list li button{
    	font-size: 1.25rem;
    	margin: .25rem auto;
    	padding: .75rem;
    	font-weight: 600;
    	border-bottom: 1px solid;
    }
}
