html, body
{
  background: #e8e8e8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: #222;
  line-height: 1.6;
}

h1
{
  text-transform: capitalize;
  letter-spacing: -0.5px;
  padding: 0px 15px;
  font-size: 2.0rem;
}

h2
{
  text-transform: capitalize;
  padding: 10px 15px 0px 15px;
  font-size: 1.6rem;
}

h3
{
  padding: 10px 15px;
  font-size: 1.3rem;
}

p
{
  padding: 5px 15px;
  font-size: 1rem;
}

ol
{
  padding: 5px 45px;
  font-size: 1rem;
}

ul
{
  padding: 5px 45px;
  font-size: 1rem;
}

pre
{
  padding: 12px 20px;
  margin: 8px 15px;
  background: #f4f6f8;
  border-left: 3px solid #4CAF50;
  border-radius: 0 4px 4px 0;
  overflow-x: auto;
}

a {
  color: #2e7d32;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1b5e20;
  text-decoration: underline;
}

h1,h2,h3,p,ul,ol
{
  margin: 0;
  color: #222;
  font-weight: normal;
}


@media screen and (max-width: 850px) {
	h1 { font-size: 1.4rem; }
	h2 { font-size: 1.2rem; }
	h3 { font-size: 1.0rem; }
}

@media screen and (max-width: 425px) {
	h1 { font-size: 1.2rem; padding-left: 0px; }
	h2 { font-size: 1.0rem; padding-left: 0px; }
	h3 { font-size: 0.8rem; padding-left: 0px; }
	p  { font-size: 0.8rem; padding-left: 0px; }
	ul { font-size: 0.8rem; padding-left: 0px; }
	ol { font-size: 0.8rem; padding-left: 0px; }
}


div#main
{
  max-width: 1600px;
  margin: 0 auto;
  padding: 0px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

div#header
{
  background: #ffffff;
  padding: 15px 0px;
  text-align: left;
  max-height: 160px;
  border-bottom: 1px solid #e0e0e0;
}

div#picture
{
  margin-top: 5px;
  margin-bottom: 0px;
  margin-right: 30px;
  margin-left: 0px;
  float: left;
  border-radius: 6px;
}

div#name
{
  max-width: 90%;
  margin-top: 5px;
  margin-left: 20px;
  height: 52px;
}

.topnav {
  background-color: #f4f6f8;
  overflow: hidden;
  max-width: 87%;
  margin-top: 47px;
  margin-right: 28px;
  margin-bottom: 5px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #444;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  margin: 3px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #e8f5e9;
  color: #2e7d32;
  text-decoration: none;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #4CAF50;
  color: #fff;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 850 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 850px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* picture gallery container */

div#galleryheader
{
  background: #fff;
  padding: 20px 15px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

div#gallerymain
{
  max-width: 1600px;
  margin: 0 auto;
  padding: 0px;
  text-align: left;
  background: #fff;
}

div.galleryplaceholder
{
  max-width: 100%;
  width: auto;
  height: 200px;
  text-align: left;
  padding: 15px 20px;
  margin: 8px 8px;
  overflow: hidden;
  background: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

div.galleryplaceholder:hover
{
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}

div.galleryplaceholder img {
	margin-left: 15px;
	margin-bottom: 15px;
	float: right;
	max-height: 100%;
	max-width: 50%;
	cursor: pointer;
	align-self: center;
	border-radius: 6px;
	transition: opacity 0.2s;
}

div.galleryplaceholder:hover img {
	opacity: 0.92;
}


/* Individual picture galleries */

/* [THUMBNAILS] */
#gallery {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0;
}

#gallery img {
  max-width: 90%;
  max-height: 260px;
  text-align: center;
  padding: 8px;
  margin: 6px;
  background: #f4f6f8;
  object-fit: scale-down;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  transition: transform 0.2s, box-shadow 0.2s;
}

#gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

div#division
{
  float: left;
  background: #FFFFFF;
  text-align: left;
  width: 1px;
  height: 150px;
  margin: 0px 15px;
}

div#h-division
{
  clear: both;
  background: #e0e0e0;
  width: 100%;
  height: 1px;
}

div#content
{
  max-width: 100%;
  background: #FFFFFF;
  text-align: justify;
  padding: 10px 20px;
}
