/* header */
h1{
	color: rgb(255, 0, 0);
	font-family: 'Magneto', 'Crimson Text', serif;
}
h2, h3, h4, h5, h6 {
	color: #505050;
	font-family: 'Crimson Text', serif;
}
/* links */
a{
	color: rgb(255, 0, 0);
	text-decoration: none;
}
/* default settings */
body{
	--header-height: 70px;
	--sidebar-width: 200px;
	margin: var(--header-height) 5 5 5 5;
	color:  #505050;
	background: #F0F0F0;
	font-family: 'Work Sans', sans-serif;
	overflow-y: scroll;
	padding-left: calc(var(--sidebar-width) + 5%);
}

/* header div */
.header {
	position: fixed;
	left: 0;
    top: 0;
	width: calc(100% - 12% - var(--sidebar-width));
	height: var(--header-height);
	display: flex;
	background: #F0F0F0;
	text-align: center;
	justify-content: center;
	padding-left: calc(var(--sidebar-width) + 5%);
}
.header > hr{
	border: 0px;
	border-top: 1px solid #F0F0F0;
}
.header__button {
    width: var(--header-height);
    flex-shrink: 0;
    background: none;
    outline: none;
    border: none;
    color: #505050;
    cursor: pointer;
	display: none;
	opacity: 0;
}
.logo {
	max-width: 90%;
}

/* navigation sidebar menu */
.sidenav__links {
	padding-top: 1%;
	z-index: 2; /* overlay over other content */
	position: fixed; /* stay in place on scrolling */
	top: 0;
	left: 0;
	height: 100vh;
	width: var(--sidebar-width);
	border-right:1px solid rgb(255, 0, 0);
	background-color: #3C3C3C;
    transition: transform 0.3s;
	text-align: center;
	justify-content: center;
}
.sidenav--open .sidenav__links {
    transform: translateX(0);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.sidenav__links > hr {
	margin-right: 5%;
	margin-left: 5%;
}
.sidenav__link {
	display: flex;
	align-items: center;
	color: #F0F0F0;
	font-size: 18px;
	text-decoration: none;
	padding: 15px;
	background: transform 0.3s;
}
.sidenav__link > i {
	margin-right: 15px;
}
.sidenav__link--active {
	color: #F0F0F0;
}
.sidenav__link:hover {
	color: rgb(255, 0, 0);
}
.sidenav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}
.sidenav--open .sidenav__overlay {
    visibility: visible;
    opacity: 1;
}

/* image */
.image {
	max-width:95%;
	height: auto;
	justify-content: center;
}

/* content div */
.content {
	height: calc(auto + 3%);
	width: auto;
	margin-top: calc(var(--header-height)+1);
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	border: 1px #505050;
	padding: 10px;
	color: #505050;
	text-align: center;
}

.content-leftbound {
	text-align: left;
}


/* responsive design */
@media screen and (max-height: 500px) {
	h1 {font-family: 'Crimson Text', serif;}
}

@media screen and (max-width:480px){
	h1 {font-family: 'Crimson Text', serif;}
	body {padding-left: 0px;}
	.header {
		width: calc(100% - 10%);
		margin-left:5%;
		text-align: left;
		justify-content: left;
		padding-left: 0px;
	}
	.image {
		height: auto;
		max-width:95%;
	}
	.content {margin-left:5%;}
    .sidenav__links { 
		transform: translateX(calc(-1 * var(--sidebar-width)));
	}
	.header__button {
		display: inline;
		opacity: 1;
	}
}


/* gallery */
.row > .column {
	padding: 4px 4px;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
	float: left;
	text-align: center;
	justify-content: center;
}

.cursor {
	cursor: pointer;
}
.hover-shadow:hover {
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}