/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* Fallback */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v166/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2');
}
/* General Styling */
body {
  font-family: 'Raleway', sans-serif;
  background-color: #f6f6f6;
}
* {
  box-sizing: border-box;
  font-family: "Raleway";
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.container {
  margin: auto;
  width: 1300px;
}
* {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/*
.home-image, .gallery-image-container, .text-img {
  border: 1px solid #ddd;
}
  */
/* Up Button */
#up {
  position: fixed;
  height: 34px;
  width: 34px;
  text-align: center;
  bottom: 30px;
  right: 30px;
  z-index: 1;
  border: none;
  outline: none;
  background-color: #111;
  color: white;
  cursor: pointer;
  border-radius: 3px;
  opacity: 0;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.19);
  transition: all 0.3s ease;
}
#up:hover {
  opacity: 0.8;
}
#up img {
  display: block;
  margin: 0 auto;
}
/* Header */
.header {
  position: relative;
  height: 120px;
  margin: 0 auto;
  border-bottom: 1px solid #ddd;
}
.sitename {
  vertical-align: center;
  line-height: 2.5em;
  font-size: 2.5em;
  font-weight: 500;
}
.subtitle {
  color: #777;
}
.sitename  {
  text-decoration: none;
}
.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  margin: 0 50px;
}
a {
	color: #333;
	text-decoration: none;
	transition: 0.3s ease;
}
ul {
	display: flex;
	flex-wrap: wrap;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 1em;
	
  a {
    padding: 0.35em 0.85em;
    border-radius: 3px;
  }
	li {
    margin: 0 0.1rem;
    }
	
	&:hover {
		a {
			color: #AAA;
			&:hover {
				color: #333;
				/*box-shadow: 0 1px 0 0 currentcolor;*/
        background-color: #E0E0E0;
			}
		}
	}
}
/* Overlay Menu */
#overlay-openbtn {
  font-size: 28px;
  cursor: pointer;
  display: none;
  transition: 0.3s;
}
#overlay-openbtn:hover {
  color: #777;
}
#overlay-closebtn {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 52px;
}
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.3s;
}
.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}
.overlay a, .overlay a:visited {
  padding: 8px;
  text-decoration: none;
  font-size: 22px;
  color: #f6f6f6;
  display: block;
  transition: 0.3s ease;
}
.overlay a:hover, .overlay a:focus {
  color: #999;
}
/* Home */
.home {
  font-size: 0;
  padding: 50px;
  text-align: center;
}
.home-image {
  max-width: 100%;
  height: auto;
  display: table;
  margin: 0 auto;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f0f0f0;
  /*padding: 1px;
  box-shadow: inset 0 0 0 1px #DDD;*/
}
/* Gallery */
.gallery {
  padding: 0 50px 50px 50px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 40px;
}
.gallery-image-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  transition: all 0.3s ease;
}
.gallery-image {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  background-color: #f0f0f0;
}
.gallery-image-container:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  opacity: 0.9;
}
.gallery-image-overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 40px;
  padding: 10px;
  text-align: center;
}
.gallery-image-content {
  font-size: 1em;
  color: #FFF;
  height: 100%;
}
/* Text */
.text {
  padding: 50px;
  min-height: 600px;
}
.gallery-text {
  padding: 50px 50px 0px 50px;
}
.text-textbox {
  padding: 30px;
  margin: 0 auto 50px auto;
  background-color: #f0f0f0;
}
.text-icon{
  vertical-align: middle;
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
  margin-right: 5px;
}
.text h1, .gallery-text h1 {
  font-size: 1.3em;
  font-weight: 400;
  margin-bottom: 1em;
}
.text h2, .gallery-text h2 {
  font-size: 1.1em;
  font-weight: 400;
  margin-bottom: 1em;
}
.text h3, .gallery-text h3 {
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 1em;
}
.text p, .gallery-text p {
  letter-spacing: 0.5px;
  font-size: 1em;
  line-height: 1.5em;
  margin-bottom: 1em;
}
.text a, a:visited, .gallery-text a, a:visited {
  box-shadow: 0 1px 0 0 currentcolor;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}
.text a:hover, .gallery-text a:hover {
  text-decoration: none;
  color: #FFF;
  box-shadow: none;
  background-color: #888;
}
#text-img {
  width: 100%;
  height: auto;
  margin: 0 auto 50px;
}
.hr {
  height: 1px;
  margin: 1.8em 0;
  border-top: 1px solid #d7d7d7;
}
/* Footer */
.footer {
  position: relative;
  height: 100px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
  text-align: center;
  overflow-y: hidden;
}
.footer p {
  letter-spacing: 0.5px;
  padding-top: 2em;
  color: #888;
}
.footer a, .footer a:visited {
  color: #888;
  transition: 0.2s;
  box-shadow: 0 1px 0 0 #DDD;
}
.footer a:hover {
  text-decoration: none;
  color: #FFF;
  box-shadow: none;
  background-color: #888;
}
/* Responsive Stuff */
@media only screen and (max-width: 1300px) {
  #up {
    bottom: 20px;
    right: 20px;
  }
  .header, .top-nav {
    height: 100px;
  }
  .sitename {
    line-height: 100px;
    font-size: 2.2em;
  }
  .container {
    width: 100%;
  }
  .footer, .header {
    margin: 0 30px;
  }
  .top-nav {
    margin: 0 20px;
  }
}
@media only screen and (max-width: 800px) {
  #up {
    bottom: 15px;
    right: 15px;
  }
  .container {
    width: 100%;
  }
  .home, .text {
    padding: 50px 20px;
  }
  .gallery-text {
    padding: 50px 20px 0px 20px;
  }
  .gallery {
    grid-template-columns: auto auto;
    gap: 30px;
    padding: 0 20px 20px 20px;
    margin: 50px 0 30px 0;
  }
  .header, .footer {
    margin: 0 20px;
  }
  .top-nav {
    margin: 0;
  }
  .menu {
    display: none;
  }
  #overlay-openbtn {
    display: inline-block;
  }
  #overlay-closebtn {
    top: 10px;
    right: 10px;
  }
  .footer {
    height: 140px; /* Footer doesn't have the correct height on small screens */
  }
}
@media only screen and (max-width: 500px) {
  .header {
    height: 70px;
    margin: 0 20px;
  }
  .top-nav {
    height: 70px;
  }
  .sitename {
    line-height: 70px;
    font-size: 1.8em;
  }
  #overlay-openbtn {
    font-size: 22px;
  }
  #overlay-closebtn {
    top: 0px;
    right: 10px;
  }
  .container {
    width: 100%;
  }
  .home, .text {
    padding: 30px 20px;
  }
  .gallery-text {
    padding: 30px 20px 0px 20px;
  }
  .text-textbox {
    margin-bottom: 30px;
    padding: 16px;
  }
  #text-img {
    margin-bottom: 30px;
  }
  .text-icon{
    margin-right: 3px;
  }
  .gallery {
    grid-template-columns: auto;
    padding: 0 20px 20px 20px;
    margin: 30px 0 10px 0;
  }
  .footer {
    margin: 0 20px;
  }
}
