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

body, html, div {
	height: 100%;
	text-align:center;
	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;
    margin-top:3%;
}

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





.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;
}



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


.project-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	margin: 10px;
	box-sizing: border-box;
	max-width: 100%;
  }
  
  .project-box img {
	width: 100%;
	height: auto;
	max-width: 240px;  /* Keep the image size consistent */
	max-height: 160px;
  }
  
  .project-box-text {
	font-size: 20px;
	color: #252525;
	margin-top: 10px;
	height: 50px;
  }
  
  .projectdescription {
	font-weight: 500;
	color: #2b2a2a;
	margin-bottom: 10px;
	height: 100px; /* Set a fixed height for description text */
	overflow: hidden;
  }
  
  .project-button {
	font-weight: 800;
  }
  
  .project-soon-button {
	font-weight: 500;
  }


  @media (max-width: 768px) {
	.project-box {
	  max-width: 100%;
	}
	.project-box-text{
		height: auto;
	}
  }
  
  .row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
  }
  
  .col-sm-3 {
	flex: 1;
	max-width: 22%;  /* Keep four projects in a row */
	box-sizing: border-box;
	margin: 5px;
  }
  
  @media (max-width: 600px) {
	.col-sm-3 {
	  max-width: 80%;  /* Adjust for smaller screens */
	}
	.projectdescription {height: 70px;
	}
	.maindescription{
		margin-right: 1rem;
		margin-left: 1rem;
  }


/* New class to make code snippets responsive */
.code-wrapper {
	overflow-x: auto;    /* Allow horizontal scroll when the code overflows */
	-webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
	max-width: 100%;      /* Ensure the code wrapper doesn't exceed container width */
  }
  
  pre code {
	white-space: nowrap;    /* Prevent wrapping of long lines */
	word-wrap: normal;      /* Don't break words */
	display: block;         /* Ensure the code block takes up full width */
	max-width: 100%;        /* Ensure it doesn't overflow the container */
  }
  
  /* Ensure horizontal scrolling within the code block */
  @media (max-width: 768px) {
	.code-wrapper {
	  width: 100%;          /* Ensure the wrapper takes up full width */
	  padding: 10px;        /* Padding for better spacing */
	}
  
	pre {
	  white-space: pre;     /* Keep code formatting */
	  overflow-x: auto;     /* Enable horizontal scrolling when necessary */
	}
  }
  
  