@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Roboto+Condensed&display=swap');

body {
	margin: 0;
	padding: 0;
}

body a {
	text-decoration: none;
}
header {
	background-size: cover;
    background-position:center bottom;
	text-align: center;
}
.logo {
	padding: 3.5rem 0 1rem 0;
	background: rgba(0, 0, 35, 0.6);
	color: #fff;
}
header, footer {
	width: 100%;
	background-color: #000;
}
/* Add a black background color to the top navigation */

.topnav {
	background-color: rgba(0, 0, 0, 0.7);
	overflow: hidden;
	font: 500 18px 'Josefin Sans', sans-serif;
	padding: 14px 0;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	margin: 0 auto;
    z-index: 1; 
}
/* Style the links inside the navigation bar */

.topnav a {
	display: inline;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 12px;
	text-decoration: none;
}
/* Change the color of links on hover */

.topnav a:hover {
	background-color: rgba(255, 255, 255, 0.5);
	color: black;
}

h1 {
	font: 700 24px 'Josefin Sans', sans-serif;
	text-transform: uppercase;
}
h2 {
	font: 400 14px 'Roboto Condensed', sans-serif;
}

footer {
	color: #fff;
	text-align: center;
	padding: 8px 0;
	font: 400 14px 'Roboto Condensed', sans-serif;
}
/* Page content */

.content {
	font: 400 20px 'Roboto Condensed', sans-serif;
    text-align:center;
}

#main {
    text-align: center;
	padding: 0;
	background: rgba(127, 127, 127, .8);
    padding:10px;
    margin: auto auto;
}

#mainpage {
    padding: 10px;
    overflow:auto;
    text-align: justify;
    font-size:20px;    
}

#mainpage img {
    float:left;
    margin:0 10px 0 0;
    max-width:150px;
}

#main .galthumb {
    display:block;
    position:relative;
    margin: 15px 0;
    }

.galthumb img {width:260px; max-width:260px; border-radius: 10px;margin-bottom:-4.7px;}

.galthumb .text {background-color: rgba(255,255,255,0.7);
text-align:center;
position:absolute;
bottom:0px;
left:20px;
border-radius: 0 0 10px 10px;
padding:10px 0;
width:260px;
color: #000;
text-shadow: 1px 1px 1px #00f;
border-top:1px solid #00f;
font-size:18px;}

.galthumb .text:hover {
    background-color: rgba(255,255,255,0.9);
    transition: background-color 0.5s;
}

.galthumb .galdate {
    font-size: 12px;
    text-shadow: none;
}

/* Page navigation links */

#pagenav {
	margin: 20px auto 0 auto;
	padding: 0 0 25px 0;
}
#pagenav a {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 4px;
	font: 700 24px 'Roboto Condensed', sans-serif;
	color: #000;
	margin: 5px;
	padding: 10px;
}
#pagenav a:hover {
	background: rgba(255, 255, 255, 1);
}
#pagenav a.active {
	background: rgba(255, 255, 255, 0.8);
}

.display-none {
	display: none;
}
.thumb {
	display: inline;
	max-height: 150px;
	object-fit: cover;
	opacity: 1;
	transition: transform 1s, opacity 1s, box-shadow 0s, margin 0s;
	box-shadow: 2px 2px 5px #000;
	margin: 0.5vw;
}
.thumb:hover {
	opacity: 0.5;

}
#thumblist {
	text-align: center;
	padding: 0;
	background: rgba(127, 127, 127, .8);
    margin:-8px auto auto;
}

#thumblist img {
	border-radius: 5px;
}
.description {
	color: white;
	text-decoration: none;
}

#prevnextgal {
    background: #000;
    padding-bottom:8px;
}

#prevnextgal a {color: #bbb; padding: 5px 0 8px 0; font-size: 14px;}
#prevnextgal a:hover {color: #fff;}
#prevnextgal a:active {color: #000; background: rgba(255, 255, 255, 0.8);}

/** relevant CSS Below **/

.lightbox {
	display: none;
	/**sets the default display to hide the lightbox until it's the :target**/
	position: fixed;
	/**the rest of this styling makes the lightbox full screen when selected**/
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, .8);
}
.lightbox img {
	/**sets the styling of the image in the lightbox**/
	max-width: 80%;
	max-height: 90%;
	text-align: center;
	margin-top: 2%;    
}

.lightbox:target {
	/**this is where the magic happens. makes the lightbox display when it's the target of a clickable link**/
	outline: none;
	display: block;
}
.previous {
	/**styling the left arrow**/
	position: fixed;
	left: 4px;
	top: 40%;
	width: 20px;
}
.exit {
	/**styling the exit button**/
	position: fixed;
	top: 4px;
	right: 4px;
	width: 20px;
}
.next {
	/**styling the right arrow**/
	position: fixed;
	right: 4px;
	top: 40%;
	width: 20px;
}