* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

a {
  text-decoration: inherit;
  color: inherit; }

@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  src: url(/fonts/CrimsonText-Regular.ttf) format("truetype"); }

@font-face {
  font-family: 'Crimson Text';
  font-weight: 700;
  src: url(/fonts/CrimsonText-Bold.ttf) format("truetype"); }

@font-face {
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 100 1000;
  src: url(/fonts/OpenSans-VariableFont_wdth\,wght.ttf) format("truetype"); }

.hidden {
  display: none !important; }

body {
  font-family: "OpenSans";
  position: relative;
  display: flex;
  flex-direction: column; }

nav {
  z-index: 1;
  padding: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  font-size: 18px;
  text-decoration: none; }
  nav a:hover {
    text-decoration: underline; }

nav.sticky {
  position: sticky;
  top: 0;
  background: white; }

nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1; }

nav.twocolumn {
  justify-content: space-between; }

menu.hamburger {
  z-index: 5;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 50px;
  background-color: white;
  font-size: 30px; }
  menu.hamburger a {
    padding: 25px 0;
    text-transform: uppercase;
    border-bottom: 1px solid lightgray; }
  menu.hamburger a:last-child {
    border-bottom: none; }

menu.main {
  display: none;
  flex-direction: row;
  gap: 24px;
  align-items: center; }
  menu.main a {
    cursor: pointer; }
  menu.main div.menuitem {
    position: relative; }
  menu.main menu.submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    visibility: hidden;
    top: 100%;
    left: -32px;
    z-index: 10;
    padding: 20px 32px;
    gap: 20px;
    width: max-content; }
    menu.main menu.submenu a:hover {
      text-decoration: underline; }
  menu.main div.menuitem:hover menu.submenu {
    visibility: visible !important;
    animation: 0.5s ease fadeIn; }

@media (min-width: 880px) {
  nav {
    padding-left: 40px;
    padding-right: 40px; }
  menu.main {
    display: flex; }
  a.hamburger {
    display: none; } }

@media (min-width: 1200px) {
  nav {
    padding-left: 100px;
    padding-right: 100px; } }

footer {
  width: 100%;
  background-color: #4a4a4a;
  padding: 50px;
  color: white;
  text-align: right;
  font-size: 15px; }
  footer a {
    text-decoration: underline; }
  footer div.phone::before {
    content: "Phone: "; }
  footer div.location::before {
    content: "Location: "; }
  footer div {
    margin: 20px 0; }

body {
  background-color: black; }

nav {
  color: white; }
  nav a.hamburger {
    border: 1px solid white;
    border-radius: 12px;
    padding: 10px 15px; }

section {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  align-items: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end; }
  section figcaption {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 20px;
    font-size: 20px;
    text-align: center; }
  section svg {
    width: 75px;
    height: 75px;
    font-size: 60px;
    align-self: center;
    padding: 15px; }
  section svg:hover {
    cursor: pointer; }

section:last-child svg {
  visibility: hidden; }

section#buddha {
  background-image: url("/images/shakyamuni-painting-by-hakuin-zenji.jpg"); }

section#bodhidharma {
  background-image: url("/images/bodhidharma-painting-by-hakuin-zenji.jpg"); }

section#rinzaigigen {
  background-image: url("/images/rinza-gigen-painting-by-hakuin-zenji.png"); }

section#mumonroshi {
  background-image: url("/images/yamada-mumon-roshi.jpg"); }

section#haradaroshi {
  background-image: url("/images/harada-shodo-roshi.jpg"); }

section#shakubodhidhamma {
  background-image: url("/images/shaku-bodhidhamma.jpg"); }
