html
{
	scroll-behavior: smooth;
}

body
{
	
	margin: 0px;
	background-color: gray;
	font-family: 'Source Sans Pro';
	font-size: 16px;
}

.test
{
	border: solid 1px black;
}

/*
ul
{
	display: flex;
	flex-direction: row;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid white;
}

li
{
	float: right;
}

li a 
{

	color: black;
	text-align: center;
	padding: 30px 40px;
	text-decoration: none;
	font-size: 22px;
	font-weight: bold;
}

/* Change the link color on hover */
/*li a:hover {
	color: white;
}
*/

/* Navigation */
#navBar
{
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 2;
	display: flex;
}

#nameDisplay
{
	flex-grow: 9;
	padding-left: 10px;
	background-color: #333;
	color: white;
}

#name
{
	margin: 0;
	padding-top: 10px;
}

#socialMediaLinks
{
	flex-grow: 0.3;
	background-color: #333;
	padding-top: 10px;
}

nav
{
	flex-grow: 0.7;
}

ul 
{
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}

li 
{
  float: right;
}

li a 
{
  display: block;
  color: white;
  text-align: center;
  padding: 30px 40px;
  text-decoration: none;
  font-weight: bold;
}

/* Change the link color to #111 (black) on hover */
li a:hover 
{
  background-color: #111;
}

.fa 
{
  padding: 20px;
  font-size: 10px;
  width: 15px;
  height: 15px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.7;
}

.fa-instagram 
{
  background: #125688;
  color: white;
}

.fa-linkedin 
{
  background: #007bb5;
  color: white;
}

.flex-container
{
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: center;
}

#main
{
	padding-top: 85px;
}

#mainLeft
{
	flex: 20%;
}

#mainMid
{
	flex: 60%;
}

#mainRight
{
	flex: 20%;
}

.singleImage
{
	margin-bottom: 20px;
}

/* Pics */
/* Pics Grid */
/*.picsGridContainer
{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 20px 5px;
}*/

.picsFlexGrid
{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.gridItem
{
	display: flex;
	flex-direction: column;
	flex: 1 1 calc(50% - 20px);
	position: relative;
	border: solid 1px black;
}

.pic
{
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;
}

#mImage
{
	transition: 0.3s;
}

#mImage:hover {
  opacity: 0.7;
}


/* Slideshow gallery */
.box 
{
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.slideshowImageGallery 
{
  position: relative;
  margin-bottom: 20px;
}

/* Hide the images by default */
.mySlides 
{
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor 
{
  cursor: pointer;
}

/* Next & previous buttons */
.prev,.next 
{
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column3 {
  float: left;
  width: 33.33%;
}
.column4 {
  float: left;
  width: 25%;
}
.column5 {
  float: left;
  width: 20%;
}
.column6 {
  float: left;
  width: 16.66%;
}
.column7 {
  float: left;
  width: 14.28%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

/* Modal images */
.modal {
  display: none; /* Hidden by default */
  position: fixed;  /* Stay in place */
  z-index: 1;  /* Sit on top */
  padding-top: 100px;  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;  /* Full width */
  height: 100%;  /* Full height */
  overflow: auto;  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);  /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 30px;
}

.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 80px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover, .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}