html, body {
  height: 100%;
  margin: 0; /* Reset default margin */
}


body {
  font-family: Raleway, Verdana, sans-serif;
  background-color: #000;
  margin: 0; /* Reset default margin */
}

* {
  box-sizing: border-box;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}
/* CV Table and Links*/
.cvlink-box {
	padding-left: 10%;
	padding-right: 10%;
	padding-top: 2%;
}

.cv-table {
	table-layout: fixed;
	width: 100%;
	color: #FFF;
	margin-left: 25px;
}

.cv-table td {
	text-align: left;
	vertical-align: text-top;
	overflow-wrap: break-word;
	border: none;
	border-style: none;
}

.cv-div {
	display: flex;
	flex-direction: row;
	width: 100%;
	background-color:#34363B;
	margin-left: 25px;
	color: #FFF;
	overflow-wrap: break-word;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: 0.025em;
	line-height: 1.65;
}

/* Added Flexbox first*/

.artbox {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	flex-direction: row;
	background-color: #000;
	background-size: cover;
}

.artbox div {
	max-height: 360px;
	width: 360px;
	margin-bottom: 90px;
	margin-top: 20px;
	padding-left:10px;
	padding-right:10px;
}

.artbox img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.artbox figcaption {
	margin-top: 5px;
}

/*Single Art Image Pages */

.artimage {
	display: block;
	max-height:80vh; 
	margin-left:auto; 
	margin-right:auto;
	max-width:100%;
	height:auto;
	width:auto;
}

.figure {
    margin: auto;
	max-width: 1024px;
	display: grid;
	height: 100%;
    padding: 0;
}

.figcaption {
	text-align: center;
	width: 100%;
	padding-bottom: 20px;
}

.figthumbs {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	width: 100%;
}

.figthumbs img {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10%;
	max-height: 100px;
}

.description {
	padding-left: 8%;
}
/*Magnifier Glass */

* {box-sizing: border-box;}

.art-container {
  max-width: 100%;
  margin: 1% auto;
  display: flex; /* Enable flexbox for centering */
  justify-content: center; /* Horizontally center the child elements */
  align-items: center;
  padding-top: 40px;
  padding-bottom: 20px;
}

.magnifier-lens {
    position: absolute;
    border: 1px solid #000;
    border-radius: 50%;
    cursor: crosshair;
    box-shadow: 0 0 5px #000;
    pointer-events: none;
    visibility: hidden;
    background-repeat: no-repeat;
}

/* Define the magnifier container */

.img-magnifier-container {
  position:relative;
  cursor:none;
}
.img-magnifier-container:hover .img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 100px;
  height: 100px;
  display:block;
}
.img-magnifier-glass {
  display:none;
}

/*Menu Under Space of Gallery */

.menuspace {
	width: 100%; 
	height: 50px;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

.modaltopbox {
	position: fixed;
	top: 0;
	display: inline-flex;
	flex-direction: row;
    justify-content: space-between;
	min-width: 0;
	height: 30px;
	width: 100%; 
	margin-bottom: 20px;
	font-size: 1.5em;
	font-weight: bold;
	z-index: 1;
}

/* The Close Button Top*/
.close {
  color: white;
  border: none;
  padding-right: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  line-height: 1; /* Adjusts vertical alignment of 'X' */
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.cursor {
  cursor: pointer;
}

.topcenter {
  padding-left: 20px;
}

/* Position the "next button" to the right */
.topnext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.topprev:hover,
.topnext:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

img {
  margin-bottom: -4px;
  width: 100%;
  height: auto;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Footer/Header Previous Next Links */
#header {
	display: flex;
	flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footprevbar {
	display:inline-block;
	white-space: nowrap;
	font-size: 1.3em;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
}
.footimage {
	width: 30px; 
	height: 22px;
}

.footmenu {
	display:inline-block;
	font-size: 1.3em;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
}

.copyright {
	width: auto;
	text-wrap: none;
}

.desktop-display{display: block}

.mobile-display{display:none}

	@media screen and (max-width: 821px) {
		.desktop-display {display:none}

		.mobile-display {
			display: block;
			top: 0px;
			position: absolute;
		}
		
		.modaltopbox {display: none}
		
		#footer {display: none;}
		}
		
		#wrapper {
			display: none;
		}
		
		.header-mobile {
			position:relative;
			display: flex;
			flex-direction: row;
			flex-wrap: nowrap;
			justify-content: space-between;
			align-content: center;
			width: 100%;
			height: 50px;
			padding-right: 20px;
			padding-left: 20px;
			background: #3c3c3c;
		}
		
		#header-align {
			text-align: left;
			padding-top: 20px;
		}
		
		#m-btn {width: 36px; padding-top: 6px;}
		
		#responsive {
			position: absolute;
			top: 65px;
			right: 0px;
			margin-right: 76px;
			box-shadow: 0 2px 5px rgba(0,0,0,0.1);
			width: 400px;
			z-index: 10; /* Ensures menu is above other elements */
		}
		
		#responsive li {
			width: 399px;
		}
		
		.art-container-mobile {
			display: flex;
			flex-direction: column;
			justify-content: center;
			padding-top: 5px;
			padding-bottom: 15px;
		}
		
		.art-image-mobile {
			display: block;
			margin-left: 20px;
			margin-right: 20px;
			margin-bottom: 20px;
		}
		
		.figcaption {
			flex: 100%;
			padding-bottom: 10px;
		}
		
		.modalbottombox {
			position: relative;
			bottom: 0;
			display: flex;
			flex: 100%;
			flex-direction: row;
			justify-content: space-between;
			height: 10px;
			width: 100%; 
			margin-bottom: 5px;
			font-size: 1.5em;
			font-weight: bold;
		}
	
		.bottomclose {
		  color: white;
		  border: none;
		  text-align: center;
		  text-decoration: none;
		}

/* Position the "next button" to the right */
		.bottomnext {
			padding-right: 20px;
			border-radius: 3px 0 0 3px;
			text-align: center;
		}
		
		.bottomprev {
			padding-left: 20px;
			border-radius: 3px 0 0 3px;
			text-align: center;
		}
	
		.menuspace {
			display:none;
		}
		.art-container {
			margin-left:10px;
			margin-right:10px;
		}
		.img-magnifier-container:hover .img-magnifier-glass {
			display:none;
		}


	
      @media screen and (max-width: 481px) {
		.header-mobile {
			padding-left: 10px;
			padding-right: 10px;
		}
		  
		#responsive {
			position: absolute;
			top: 65px;
			right: 0px;
			margin-right: 15px;
			width: 300px;
			box-shadow: 0 2px 5px rgba(0,0,0,0.1);
			z-index: 10; /* Ensures menu is above other elements */
		}
		
		#responsive li {
			width: 299px;
		}
	}
	
      @media screen and (max-width: 321px) {
		.header-mobile {
			padding-left: 10px;
			padding-right: 10px;
		}
		
		#responsive {
			position: absolute;
			top: 65px;
			right: 0px;
			margin-right: 10px;
			width: 300px;
			box-shadow: 0 2px 5px rgba(0,0,0,0.1);
			z-index: 10; /* Ensures menu is above other elements */
		}
		
		#responsive li {
			width: 299px;
		}
		
		#header-align {
			font-size: 14px;
		}
		
		.art-image-mobile {
			margin-left: 10px;
			margin-right: 10px;
		}
	}

