body {
	margin: 0;
	font-family: Arial, sans-serif;
}

nav {
	background-color: #f2f2f2;
	padding: 0.5em;
}

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

nav li {
	float: left;
}

nav li a {
	display: block;
	color: #333;
	text-align: center;
	padding: 0.5em 1em;
	text-decoration: none;
}

nav li a:hover {
	background-color: #ddd;
}

main {
	margin: 1em;
	padding: 20px;
}

h2 {
	color: #333;
}


p {
	line-height: 1.5;
}

footer {
	background-color: #333;
	color: white;
	text-align: center;
	padding: 1em;
} 
.terminal-box {
	background-color: black;
	color: green;
	font-family: "Courier New", Courier, monospace;
	padding: 10px;
	line-height: 0.0001;
	white-space: pre-wrap;
	border: 1px solid #555;
	border-radius: 5px;
	box-shadow: 0 0 5px #555;
}

.terminal-box-padding {
	padding: 0px;
}

.custom-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.custom-list-item {
	background-color: #f0f0f0;
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding-left: 20px;
	text-indent: -20px;
	border-left: 2px solid #4CAF50;

}

.custom-list-item:last-child {
	margin-bottom: 0;
}
code {
    background-color: #f5f5f5;
    border-radius: 3px;
    border: 1px solid #ccc;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    padding: 2px 4px;
}

header {
	background-color: #333;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
}

.header-left img {
	height: 50px;
	margin-right: 10px;
}

.header-middle h1 {
	margin: 0;
	text-align: center;
	flex-grow: 1;
}

.pdf-link {
    display: inline-block;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    padding-right: 10px;
}

.pdf-link:hover {
transform: translateY(-5px);
}
@media only screen and (max-width: 1200px) {
  .nice-table th,
  .nice-table td {
    font-size: 12px;
  }
  .caption{ 
  	font-size: 10px;
  	max-width: 96%;
  	padding: 10px;
  }
}
@media only screen and (max-width: 900px) {
  .nice-table th,
  .nice-table td {
    font-size: 9px;
  }
  .caption{
  	font-size: 7px;
  	max-width: 50%;
  	display: none; /*Removes Caption on picture page when resize*/
  }
}

@media (max-width: 990px) {
  .large-only {
    display: none;
  }
}
@media only screen and (min-width: 768px) {
  .container {
    width: 50%;
    margin: 0;
  }
}

.nice-table {
  border-collapse: collapse;
  width: 100%;
}

.nice-table th, .nice-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.nice-table th {
  background-color: #f2f2f2;
  text-align: left;
}

.nice-table tr:nth-child(even) {
  background-color: #f2f2f2;
}
.container {
  width: 90%;  /* 100 break*/
  margin: 0 auto;
  background-color: #F7F7F7;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}


.CodeMirror {
  height: auto;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  font-size: 14px;
  padding: 10px;
}

.hvr-underline-from-left{
		text-decoration: none;
		padding: 10px;
}

/* width and height of scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}

/* scrollbar track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* scrollbar handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 0;
}

/* scrollbar handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;	
}
.uploaded-picture {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.grid-small{
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(2px, 1fr));
			grid-auto-rows: minmax(2px, auto);

}
/*For photo grid*/
		.grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
			grid-auto-rows: minmax(150px, auto);
			grid-gap: 10px;
			margin: 20px;
		}

		.grid img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			cursor: pointer;
		}
		.overlay {
			position: fixed;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			background-color: rgba(0, 0, 0, 0.7);
			display: none;
			align-items: center;
			justify-content: center;
			z-index: 2;
		}

		.overlay img {
			max-width: 90%;
			max-height: 90%;
			object-fit: contain;
			margin: 20px;
		}

		.overlay.active {
			display: flex;
		}


		/**/
		.photo-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.photo {
  position: relative;
  overflow: hidden;

}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}

.photo:hover img {
  transform: scale(1.1);
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 98%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.5s;
}

.photo:hover .caption {
  transform: translateY(0);
}

.caption h3 {
  margin-top: 0;
}

.caption p {
  margin-bottom: 0;
}
.box-container{
	padding: 10px;
}
