body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f2f3f4;
    display: flex;
    flex-direction: column;
    height: 100vh; 
  }  

  html {
    height: 100%;
  }
 
  
header {
    background: #f2f3f4;
    padding: 0px 30px;
    z-index: 10;
  }
  
  /* Header */
  #header {
    background: #f2f3f4;
    padding: 20px 30px;
    display: flex;
    justify-content: center; 
    align-items: center;
    z-index: 10;
  }
  
  /* Menu Nav */
  .header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: "Hina Mincho", serif;
  }
  
  /* Links */
  .header-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .header-nav a:hover,
  .header-nav label:hover {
    font-style: italic;
    color: #41393E;
    cursor:pointer;
  }
  
  /* Divider */
  .divider {
    margin: 0 10px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
  }
  
  /* Dropdown menu setup */
  .dropdown {
    position: relative;
  }
  
  .dropdown-toggle {
    display: none;
  }
  
  .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    position: absolute;
    top: 100%; 
    left: 0;
    padding: 10px 0;
    border-radius: 3px;
    list-style: none;
    background: rgb(242, 243, 244, 01.0);
    z-index: 20;
  }
  
  .dropdown-menu li {
    padding: 8px 20px;
    white-space: nowrap;
  }
  
  .dropdown-menu li a {
    color: #000;
    font-weight: normal;
  }
  
  .dropdown-menu li a:hover {
    color: #666;
  }
  
  .dropdown-toggle:checked + label + .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

/* Front Page Image */
.front-page-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1; 
    height: calc(100vh - 80px);
    padding: 0px 0px 20px;
    overflow: hidden;
  }
  .front-page-image img {
    max-width: 100%;  
    max-height: 100vh; 
    object-fit: contain;  
    display: block;
  }
  .front-page-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    display: block;
  }

  
  /*About Page Specific + Buttons*/
  .mainbody {
    text-align: center;
  }
  .about {
    margin: auto;
    width: 650px;
    text-align: center;
  }
  .button {
    padding-right: 5px;
	padding-left: 5px;
	width:88px;
	height:31px;
  }
  .button:hover {
    transform: scale(1.15);
    transition: 0.3s;
  }
  /* Gallery CSS */
  .container {
    max-height: 100vh;
    overflow-y: auto;
    }
    .gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    } 
    .gallery img {
      max-height: 85vh;
      width: 100%;
      max-width: 80vw; 
      padding: 0 16px;  
      box-sizing: border-box;
      object-fit: contain;
      }
  @media (max-width: 480px) {
    .vertical-gallery img {
      padding: 0 12px;
    }
  }