@media (min-width: 48em) {
  html {
    font-size: 18px;
  }
}

body, html, div {
	height: 100%;
	text-align:left;
	margin:0;
	padding:0;
	width:100%;
	
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #333;
}

.container-main {
    text-align: center;
	background-color:#f2f2f2;
	width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
	margin-left: auto;
	max-width: 1400px;
}

.main-box {
	display: table;
	height: 100%;
	min-height: 100%;
}

.project-box{
  margin-right: auto;
	margin-left: auto;
	margin-top: auto;
	margin-bottom: auto;
}

.project-box-text{
	font-size:25px;
	color:#252525;
	margin-top:5px;
}


.nav-link {
	display:inline-block;
	padding: 1rem;
	color:white;
}

.nav{
	text-align:center;
	display:inline;
}

.top-nav-bar {
    background-color: #292929;
    box-sizing: border-box;
    box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.1);

}
.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
  background-color: #202020;
}


.nav-link.active::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -.3rem;
  vertical-align: middle;
  content: "";
  border-right: .3rem solid transparent;
  border-bottom: .3rem solid;
  border-left: .3rem solid transparent;
}

.site-wrapper-inner {
	display: table-cell;
	vertical-align: top;
	position:absolute;
	height:100%;
	background-color: #faf8e2;
	/*box-shadow: inset 0 0 5rem rgba(0,0,0,.5); */
}

.projectboxpersonal{
	background-color:#fdfdfd;
}

.cover-container{
	margin-right: auto;
	margin-left: auto;
}

.cover-heading{
	color:white;
}

.inner{
	background-color: #f2f2f2;
}


.subheading{
	color:#d9d9d9;
	font-family: "Times New Roman";
	letter-spacing: .1em;
	word-spacing: .5em;
	font-size:115%;
	text-transform: uppercase;
	padding:1rem;
}

.project-button{
	font-weight:800;
}

.project-soon-button{
	font-weight:500;
}

.maindescription{
    font-weight:500;
    color:#ffffff;
    margin-right: 5rem;
    margin-left: 5rem;
    font-size: 100%;
}


.projectdescription{
    font-weight:500;
    color:#2b2a2a;
}

/* Project CSS */
.project-post-title {
    margin-bottom: .25rem;
    font-size: 2.5rem;
  }
  
  .project-text{
      text-align:justify;
  }
  
  .project-footer {
    padding: 1rem 0;
    text-align: center;
    font-weight: 500;
  
  }
  /* End Project CSS */


  .project-sidebar {
    position: fixed;
    top: 50px; /* Offset by the height of your navbar */
    right: 200px;
    width: 450px;
    height: calc(100vh - 50px); /* Subtract the navbar height from full viewport height */
    padding: 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
  }
  
  @media (max-width: 768px) {
    .project-sidebar {
      width: 200px;
      transform: translateX(100%);
    }
  
    .project-sidebar.open {
      transform: translateX(0);
    }
  
    .project-sidebar-toggle {
      display: block;
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1100;
    }
  }




@media (min-width: 95em) {
  .mainheading {
    margin-left:3rem;
	margin-right:3rem;
  }
  .projectbox{
	  margin-bottom:35px;
	  margin-top:3rem;
  }
  .cover-heading{
	  margin-bottom:35px;
  }

}

@media (max-width: 95em) {
  .inner {
    background-color: #f2f2f2;
  }
  .mastfoot{
	  background-color:#f2f2f2;
	  min-height:100px;
  }
  .cover-heading{
	margin-top:0px;
  }
}

@media (max-width: 1100px) {
    .project-sidebar {
        display:none;
    }
}
a.disable {
  pointer-events: none;
  cursor: default;
}


ol {
  margin: 0 0 1.5em;
  padding: 0;
  counter-reset: item;
}

ol > li {
  margin: 0;
  padding: 0 0 0 2em;
  text-indent: -2em;
  list-style-type: none;
  counter-increment: item;
}

ol > li:before {
  display: inline-block;
  width: 1em;
  padding-right: 0.5em;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
}


/* Ensure pre and code blocks are styled for responsive behavior */
pre {
  white-space: pre-wrap; /* Wrap text */
  word-wrap: break-word; /* Allow long words to break */
  overflow-x: auto; /* Enable horizontal scroll within the block */
  max-width: 100%; /* Prevent the block from exceeding container width */
  background-color: #f4f4f4; /* Light gray background for code readability */
  padding: 10px; /* Add some padding */
  border-radius: 5px; /* Rounded corners for aesthetics */
  font-size: 14px; /* Adjust font size for mobile readability */
}

code {
  font-family: monospace; /* Use a monospace font for code */
  color: #333; /* Dark text for contrast */
}

/* Optional: Add a mobile breakpoint for further fine-tuning */
@media (max-width: 768px) {
  pre {
      font-size: 12px; /* Slightly smaller font on smaller screens */
  }
}