
/* FONT FACES */
@font-face
{
  font-family: Versatylo;
  src: url(./fonts/versatylo_rounded.ttf);
}

@font-face
{
  font-family: Moonchild;
  src: url(./fonts/moonchild.ttf);
}

@font-face
{
  font-family: "Creato Display";
  src: url(./fonts/creatodisplay.otf);
}

/* HTML */
html, body
{
  scroll-behavior: smooth;
  margin: auto;
}

/* HEADER */
header
{
  display: grid;
  grid-template-columns: auto auto;
  background-color: #f0f0f0;
  padding: 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  padding: 20px;
  box-shadow: 0px 2px 15px 0px #d0d0d0;
}

.header-title h1
{
  font-size: 3.5em;
  letter-spacing: 3px;
  margin: auto;
  font-family: Moonchild !important;
}

/* NAV BAR */
.navbar
{
  display: flex;
  justify-content: space-around;
  height: 100%;
}

.navbar p
{
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: auto;
  font-family: Moonchild;
  font-size: 2em;
}

.navbar a, .navbar a:visited
{
  color: #7AC57C;
  transition: color 0.25s ease-in-out;
}

.navbar a:hover
{
  color: #6AB56C;
  transition: color 0.25s ease-in-out;
}

.navbar a.selected
{
  color: #5CA85F;
}

/* MAIN */

main
{
  margin-top: 8em;
  margin-bottom: 2em;
  display: grid;
  grid-template-columns: 25% 50% 25%;
}

/* HEADINGS */
h1
{
  font-size: 2em;
  font-weight: 400;
  letter-spacing: 2px;
  font-family: "Creato Display", sans-serif;
  color: #344234;
}

h2
{
  font-weight: 200;
  color: #344234;
  letter-spacing: 2px;
  font-family: "Creato Display", sans-serif;
}

/* PARAGRAPHS */
p
{
  font-size: 1.2em;
  font-weight: 0;
  font-family: Helvetica, sans-serif;
  letter-spacing: 0.5px;
  color: #000000;
  line-height: 1.4em;
}

.links p
{
  margin: 20px;
  font-size: 1em;
  letter-spacing: 1px;
}

/* ANCHORS */
a
{
  text-decoration: underline;
  font-weight: 800;
  color: #7AC57C;
}

a:visited
{
  color: #68A76A;
}

/* IMAGES */
figure
{
  display: block;
  margin: 20px auto 40px auto;
  max-width: 250px;
}

figure img
{
  width: 250px;
  height: auto;
  margin-bottom: 5px;
  box-shadow: -2px -2px 10px 1px #5C7960;
  transition: box-shadow 0.5s ease-in-out;
}

figure img:hover
{
  box-shadow: -5px -5px 12px 2px #4C6950, 3px 3px 10px 1px #4C6950;
  transition: box-shadow 1s ease-in-out;
}

figure figcaption p
{
  color: #4B5F4B;
  font-size: 1em;
  text-align: center;
}

img.icon
{
  width: auto;
  height: 2.5em;
}

/* BUTTONS AND BUTTON HOVERS */
button
{
  padding: 6px 10px;
  margin: 25px;
  font-size: 1em;
  font-family: "Creato Display", sans-serif;
  font-weight: 600;
  color: #344234;
  background-color: #B4DBB5;
  border: 2px solid #344234;
  border-radius: 5px;
  letter-spacing: 1px;
}

button:hover
{
  background-color: #A4CBA5;
}

button:active
{
  background-color: #80A090;
}

hr
{
  color: #5C7960;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
 background-color: #B4DBB5;
 box-shadow: 0px -5px 9px 0px #c0c0c0, 0px 5px 9px 0px #c0c0c0;
}

::-webkit-scrollbar-thumb:hover {
 background-color: #94BB95;
}


/* LISTS */

ol
{
  list-style-type: decimal;
  list-style-position: outside;
}

ul
{
  list-style-type: disc;
}

/* SECTIONS */
.sidebar
{
  text-align: center;
  padding: 30px;
}

.content
{
  text-align: left;
  padding: 30px;
}

.gallery
{
  width: 100%;
  display: grid;
  grid-template-columns: 500px 500px 500px;
  grid-template-rows: 400px;
  background-color: #f3f3f3;
  justify-content: space-around;
  box-shadow: 0px 1px 5px 0px #f5f5f5, 0px -1px 5px 0px #f5f5f5;
  padding: 25px 0;
}

.gallery figure
{
  display: inline-grid;
  min-height: 100%;
  min-width: 100%;
  grid-template-rows: 300px 100px;
  text-align: center;
}

.gallery figure img
{
  height: 300px !important;
  width: 300px !important;
  margin: auto;
  object-fit: cover;
}

.gallery figcaption
{
  display: flex;
}
.gallery figcaption p
{
  margin: auto;
}

/* FOOTER */

footer
{
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #B4DBB5;
  border-top: 2px solid #5C7960;
  box-shadow: 0 50vh 0 50vh #B4DBB5; /* stretches footer to bottom of page */
}

footer .footer-text
{
  font-size: 0.75em;
}
