body {
  margin: 0;
  padding: 0;
  background: #0d1b18;
  line-height: 133%;
  font-size: 0.98em;
  font-family: "Open Sans", "Droid Sans", "Calibri", sans-serif;
  }
  
  

/*Miscellanous custom styling for various elements.*/
h1 {
  font-family: "papyrus", georgia, serif; 
  color: #dfbd94;
}
h2, h3 {
  font-family: "Calibri";
  }
  
a {
  color: #4d4385;
  }

a:hover, a:focus {
  color: #2a2543;
  transition: ease-in 0.1s, ease-out 0.1s;
  }
  
blockquote {
  border-left: #4d4385 3px solid;
  background: #d8d4ec;
  padding: 0.1px 0.75rem;
  margin: 0 1.5rem;
  }

hr {
  width: 75%;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  }
  
/*Sticky navigation links at the top of the page.*/
.quick-nav {
  position:fixed;
  z-index: 999;
  width: 100%;
  text-align: left;
  color: #cccccc;  
  font-size: 0.875em;
  }
  
.navbar {
  padding: 1px 16px;
  display: flex;
  gap: 16px;
  vertical-align: middle;
  }
  
   .nav-image, .nav-image a { 
   background: url(images/sign5.png);
   background-repeat: no-repeat; 
   background-size: 90% auto; 
   background-position: center; 
   padding: 0px; 
   width: 100px; 
   text-align: center; 
   color: #292329;
 }
 
 .nav-audio, .nav-audio a {
   background-color: #2d3439;
   height: 32px;
   width: 160px;
   text-align:left;
   display:flex; color: #cccccc;
 }
 
 .marquee {
   width: 100px; 
   height:24px;
 }
   
.navbar a {
  display: inline-block;
  text-decoration: none;
  padding: 5px 4px;
  margin: 0 2px;
  }
  
.navbar a:hover, .footer a:hover, .navbar a:focus, .footer a:focus {
  color: #edeef3;
  transition: ease-in 0.1s, ease-out 0.1s;
  }
  
  
/*Header image.*/
.header {
  height: 80vh;
  background: #52587c;
  top: 0;
  width: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100%;
  
  }

/*Title bar with icon and title/tagline.*/
.title {
  background: #52587c;
  min-height: 60px;
  margin-bottom: -25px;
  text-align: right;
  }
  
.title-text, .title-pic {
  padding:0;
  margin: 0;
  display: inline-block;
  vertical-align: top;
  }
  
/*Contains the text tagline.*/
.title-text {
  padding-right: 1em;
  width: calc(85vw - 110px);
  line-height: 167%;
  margin-top: -3px;
  padding-bottom: 15px;
  }
  
.title-text h1 {
  padding:0;
  font-size: 32px;
  }
  
/*Contains the profile pic. This can be left out and should still look okay.*/
.title-pic {
  height: 100px;
  margin-right: 100px;
  margin-top: -25px;
  border: 5px solid #52587c;
  border-radius: 10px;
  }
  
.title-pic img {
  height: 100%;
  overflow: hidden;
  }
  
/*Contains the main content and sidebar.*/
.page-wrapper {
  padding: 0 100px;
  margin: 0 auto;
  background: #ddd;
  background: linear-gradient(rgba(13, 27, 24, 1), rgba(13, 27, 24, .7));
}
/*Contains the sidebar boxes.*/
.sidebar {
  width: 320px;
  margin: 50px 0;
  position: absolute;
  }
  
.sidebar h1 {
  font-size: 1.2rem;
  background: #696f92;
  color: #fff;
  padding: 12px 10px 10px 10px;
  margin: auto;
  }
  
.sidebar a {
  display: block;
  border-left: 3px solid #52587c;
  background: #bcb9d6;
  padding: 5px;
  margin: 10px 0;
  color: #0e0718;
  text-decoration: none;
  }
  
.sidebar a:hover, .sidebar a:focus {
  background: #99a1c7;
  transition: ease-in 0.1s, ease-out 0.1s;
  }
  
.sidebar, .main {
  display: inline-block;
  }

/*Contains main content boxes.*/
.main {
  margin: 50px 100px 50px 350px;
  width: auto;
  width: calc(100vw - 550px);
  }
  
  
/*Basic container type for subsections of main and sidebar divs*/
.box {
  margin-bottom: 15px;
  }
  
/*Inner content div for boxes. Padding goes here so sidebar headers etc can keep their no-margin look.*/
.inner {
  background:  #edeef3;
  padding: 10px 25px;
  }

.inner img {
  max-width: 100%; /*Prevent image overflow.*/
  height: auto;
  border-radius: 5px; /*Give images in content rounded corners.*/
  }
  
.box, .title-pic img {
  border-radius: 5px;
  overflow: hidden; /*Force inner divs to conform to rounded corners.*/
  }
  
  
/*Footer section.*/
.footer {
  background: black;
  color: #fff;
  padding: 0px 20px;
  font-size: 0.75em;
  padding-bottom: 0x;
  }
  
.footer a {
  color: #fff;
  }

/*Individual column of the footer. You can have 3 of these at the current given width.*/
.footer-column {
  width: 25%;
  margin: 5px 10px;
  display: inline-block;
  vertical-align: top;
  }


/*Adapt to narrower screens.*/
@media(max-width: 900px) {
  .page-wrapper {
    padding: 0 50px;
    }
  
  .sidebar {
    width: 25vw;
    }
    
  .main {
    margin: 50px 0 50px calc(25vw + 30px);
    width: calc(75vw - 150px);
    }
    
  .title-pic {
    margin-right: 7vw;
    }
    
  .title-text {
    padding-left: 1vw;
    padding-right: 2vw;
    }
  
  }
  
/*Mobile layout.*/
@media(orientation: portrait) {  
  .page-wrapper {
    padding-top: 0.1px;
    padding-bottom: 0.1px;
    }
  
  .sidebar, .main {
    display: block;
    margin: 0 auto;
    position: static;
    width: 100%;    
    }
    
  .sidebar {
    margin-top: 50px;
    }
    
  .main {
    margin-top: 30px;
    margin-bottom: 30px;
    }
    
    
  }
  
/***
For really narrow screens which cause the title text to wrap. 
You may need to adjust the width at which this kicks in to fit 
your own title.
***/
@media(max-width: 500px) {
  .header {
    height: 60vw;
    }
  
  .title {
    padding-right: 0;
    }
  
  .title-text {
    margin-top: -5px;
    }
    
  .title-text h1 {
    font-size: 6vw;
    line-height: 75%;
    }
    
  .title {
    height: calc(auto - 25px);
    }
    
  .page-wrapper {
    padding: 0.1px 7vw;
    }
    
  /*For extra narrow screens where the columns would get too skinny.*/
  .footer-column {
    display: block;
    width: 100%;
    margin: 0 auto;
    }
  }


 /* separate css source */ 
 

/*Contains the columns of posts.*/
.column-wrapper {
  columns: 2;
  min-height: 80%;
  width: 80em;
  margin: 0px auto;
  column-gap: 20px;
  }
  
/*Variable and fixed-height boxes.*/
.altar, .altar-scroller {
 /*display: inline-block;*/
  margin: 0 auto;
  margin-bottom:10px;
  overflow-y: auto; /*To give fixed-height posts a scroller, and make images outside the post-inner div conform to rounded corners.*/
  }
  
  .altar-header {
  width: 100%;
  height: 48px;
  background: url(images/stone5.png) repeat;
  background-size: auto 100% ;
 padding-top: 8px;
 padding-bottom: 8px;
  color: white;
  text-align: center;
  vertical-align: middle;
  }
   .altar-name {
  width: 100%;
  background: #2d3439 ;
  padding-bottom: 8px;
  color: white;
  text-align: center;
  }
  
.altar img, .altar-scroller img { /*Prevent image overflow.*/
  max-width: 100%;
  height: auto;
  }
  
/*Fixed-height box.*/
.altar-scroller {
  height: 500px;
  }
  
.altar-inner { /*because padding doesn't play nice with divs directly inside columns*/
  margin: 0px 12px 10px 12px;
  border: 8px solid #2d3439;
  background: #121917;
  }
  .shelf {
    margin: 20px 0 0 0;
    border-bottom: 8px solid #2d3439;
    width: 100%;
    text-align: center;
    color: #2d3439;
    display: flex;
    align-items: baseline;
    justify-content: space-around;

  }
  
/*Special optional styling for images used as post headers.*/
.post-head-image {
  padding: 0;
  }
  
/*Looks similar to footer but just covers a big section.*/
.block-color-section {
  background: #a10000;
  color: white;
  min-height:1em;
  margin-top: 10px;
  margin-bottom:20px;
  }
  
.block-color-inner {
  padding:10px;
  padding-left: 10%;
  padding-right: 10%;
  margin: 0 auto;
  }

#footer {
  background: black;
  color: #fff;
  min-height:1em;
  margin-top: 0px;
  bottom: 0;
  }

#footer a {
  color: #ddd;
  }
  
/*Variant footer. This will stick at the bottom of the page, and overlap anything that gets too close. Use only for pages too short to scroll.*/
#footer-sticky {
  position:fixed;
  width: 100%;
  background: #a10000;
  color: #fff;
  min-height:1em;
  bottom: 0;
  margin-top: 10px;
  margin-bottom:0;
  }
  
#footer-content {
  /*For some reason the padding needs at least 1px top and bottom or else it automatically gets a giant margin instead. I still don't know why it does that. Just don't make it 0.*/
  padding:1px; 
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 auto;
  }
  
  
/*For making columns in the footer like demonstrated.*/
.footer-columns {
  columns: 3;
  width: 80em;
  margin: 0 auto;
  column-gap:10px;
  }
  
/*For when you want to make distinct columns of different stuff without a million <br>s.*/
.footer-column {
  text-align: left;
  display: inline-block;
  height:6em;
  width: 100%;
  padding: 10px;
  padding-top:0;
  }
  
/*Used to style lists of links without big obvious bullets.*/
#footer li {
  padding-left:0;
  padding-top: 2px;
  padding-bottom: 2px;
  list-style-type: none;
  }


@media(max-width:80em) { /*Allow smaller side margins on narrower screens.*/
  #header, #description, .column-wrapper, .footer-columns {
    width: 90%;
    }
    
  }  

@media(orientation:portrait) { /*Removes columns entirely for mobile*/
  .column-wrapper, .footer-columns {
    columns: 1;
    }
  }
  
  .clock-box {
  background-color: #22262B;
  position: relative;
  margin: auto;
  margin-top: 100px;
  border: 1px solid #22262B;
  height: 450px;
  width: 300px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
}
.clock-display {
  background-color: #cecece;
  position: relative;
  margin: auto;
  margin-top: 50px;
  border: none;
  height: 200px;
  width: 200px;
  border-radius: 100%;
  overflow: hidden;
}
.time-display {
  position: relative;
  text-align: center;
  margin-top: 80px;
  font-size: 30px;
  overflow: hidden;
  z-index: 1;
}
#filler {
  background: #a33535;
  height: 0px;
  width: 200px;
  position: absolute;
  bottom: 0;
}
/* --------------------------------------------------
----------------------- Controls --------------------
----------------------------------------------------*/
span {
  height: 50px;
  color: white;
}
#start:hover {
  background-color: #6f797e;
}
#start {
  float: left;
  width: 150px;
}
#stop:hover {
  background-color: #5d6d76;
}
#stop {
  float: right;
  width: 150px;
}

.clock-controls {
  position: absolute;
  bottom: 50px;
  height: 100px;
  color: white;
}

.controls-left {
  float: left;
  width: 150px;
  text-align: center;
}

.controls-right {
  float: right;
  width: 150px;
  text-align: center;
}

p {
  margin: 5px;
}

button:hover {
  background-color: #2c3e50;
}

button {
  font-size: 20px;
  margin: 5px;
  height: 25px;
  width: 35px;
  text-align: center;
  background-color: Transparent;
  border: none;
  cursor: pointer;
  outline: none;
  background-color: #a33535;
}

.start-reset {
  position: absolute;
  bottom: 0;
  text-align: center;
  line-height: 50px;
  background-color: #818181;
}

.time-adjust {
  color: white;
}

#minutes {
  color: black;
}

#colon {
  color: black;
}

#seconds {
  color: black;
}

