/* Custom properties/variables  */
:root {
  --main-white: #fffff;
  --main-purple: #7b1fa2;
  --main-green: #d4e157;
  --main-pink: #cc3399;
  --main-blue: #80deea1;
}

* {
  box-sizing: border-box;
}

body {
  padding: 10px;
  background: var(--main-white);
  max-width: 960px;
  margin: auto;
  font-size: 100%;
}

/* Header scroll to sticky */
.header {
  padding: 10px;
  text-align: center;
  background: var(--main-white);
}

h1 {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 2.5em;
}

h2 {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 1.5em;
}

p {
  font-family: Georgia, serif;
}

p2 {
  font-family: Georgia, serif;
  font-size: .9em;
}

/* NAVIGATION BAR */
.topnav {
  display: flex;
  background-color: white;
  border-bottom: 6px solid #d4e157;
  border-radius: 5px;
  flex-direction: row-reverse;
  align-items: center;
  align-content: flex-end;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

.topnav > div {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 1.1em;
  font-weight: bold;
}

.topnav a {
  color: var(--main-purple);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav a:hover {
  color: #cc3399;
}

#nav_logo {
  margin-top: 8px;
  margin-bottom: 3px;
}

#nav_spacer {
  width: 240px;
}

.top-image {
  display: block;
  text-align: center;
  margin-top: 30px;
  width: 100%;
  height: auto;
}

/* start of image gallery  */
.container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.img-holder {
  flex-grow:1;
  padding: .2rem;
} 

.img-holder img {
  display: block;
  min-width: 100%;
  height: 16rem;
  object-fit: cover; 
}

/* FOOTER */
.footer {
  display: flex;
  background-color: var(--main-green);
  justify-content: space-around;
  border-radius: 5px;
}

.footer > div {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: .875em;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.footer a {
  color: var(--main-purple);
  padding: 14px 16px;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

/* Media Queries */
@media screen and (max-width: 700px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 700px) {
  .topnav {
    flex-direction: column;
  }
}

@media screen and (max-width: 700px) {
  .footer {
   flex-direction: column;
  }
}
