/* General Styles */
body {
    margin: 10px;
    font-family: "Noto Serif JP", serif;
    color: #813129;
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    transform: scale(1);
    transform-origin: top left;
    width: 100%;

    
    
  }
  
  header, footer {
    width: 80%;
    margin: 0 auto;
    background-color: #ccc8c8;
    color: #813129;
    padding: 3px 0;
    position: sticky;
    z-index: 1000;
  }
  
  header {
    top: 0;
  }
  
  footer {
    bottom: 0;
    text-align: center;
  }
  
  .social {
    align-items: center;
    vertical-align: baseline;
  }
 



.large-text {
    font-size: 22px;
}

.medium-text {
  font-size: 20px;
}

.medium-text2{
  font-size: 20px;
  width: 80%;
  align-items: justify;

}

.small-text {
  font-size: 18px;
}
  
  .header-content, .footer-content {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #813129;
  }
  
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  nav ul li {
    margin-left: 40px;
  }
  
  nav ul li a {
    color:  rgb(0, 0, 0);
    text-decoration: none;
  }
  
  .hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    cursor: pointer;
  }

  
  
  /* Main Content */
  main {
    flex: 1;
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    color: #813129;
  }
  
  .page {
    margin-bottom: 40px;
    font-size: 1.25rem;
  }
  
  .page2 {
    margin: 0 auto;
    width: 80%;
    font-size: 1.25rem;
    background-color:#ccc8c8;;
    border: solid;
    color: #813129;
    text-decoration:none;
  }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-top: 30px;
    gap: 30px;

  }
  
  .image-grid img {
    width: 80%;
    height: auto;
    border-radius: 8px;
  }

   /* Layout 2: 3 columns */
   .layout-2 {
    grid-template-columns: repeat(3, 1fr);
}

.table-container {
  width: 90%;
  background-color: #fff;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
  border-radius: 8px;
  overflow: hidden;
}

table {
  width: 90%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 15px;
  text-align: left;
}

th {
  background-color: #fff;
  color: #fff;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Ensure price and date stay on the same line */
td:nth-child(2) {
  white-space: nowrap; /* Prevent wrapping */
}

tr:hover {
  background-color: #ddd;
}
  /*
  table {
    margin-left: 40px;
    
    width: 80%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  */
  
  /* menu */
  /*
  table th, table td {
    width: auto;
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
*/

  /*wrapping text around photo*/
  .wrap-right {
    float: right; /* Float the image to the left */
    margin: 10px 10px 15px 15px; /* Add margin to the right and bottom */
    width: auto;
  }

  .wrap-left {
    float: left; /* Float the image to the left */
    margin: 10px 10px 15px 15px; /* Add margin to the right and bottom */
    width: auto;
  }
  
  img {
    max-width: 100%;
    height: auto;
    text-decoration:none;
}

  /* Responsive Design */
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
  
    nav ul {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 40px;
      right: 0%;
      padding-left: 60px;
      background-color: #dad5d5;
      width: 30%;
    }
  
    nav ul.active {
      display: flex;
    }
  
    nav ul li {
      margin: 10px 0;
    }

    
    .offset-text {
        position: relative;
        left: -20px;
    }
  }

  /* Media query for extra-large screens*/
/*@media screen and (min-width: 1200px) {
  h1 {*/
      /* font-size: 2rem; /* Smaller font size for extra-large screens */
  /*}
  */
/*
  p {
  */
     /* font-size: 1rem; /* Smaller font size for extra-large screens */
  /*}
}*/


/* back to top floating icon*/
#go-to-top {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 60px;
  right: 20px;
  font-size: 18px;
  /*background-color: #d88f88;*/
  color: rgb(20, 20, 20);
  padding: 10px 5px;
  border-radius: 20%;
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s;
}

/* Show the icon when the page is scrolled down */
#go-to-top.visible {
    display: block;
}

#go-to-top:hover {
  background-color: #ccc8c8;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  #go-to-top {
      bottom: 10px;
      right: 10px;
  }

  #go-to-top img {
      width: 20px;
      height: 20px;
  }

}
/*carousel code*/

.carousel {
  position: relative;
  width: 80%;
  max-width: 600px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  
}

.carousel-item img {
  width: 100%;
  display: block;
}


/* social media */

i.fab {
  font-size: 25px;
  color: #3b5998; /* Facebook blue */
  margin-right: 15px;
  padding: 3px;
  text-decoration:none;
}
i.fa-instagram {
  color: #e4405f; /* Instagram pink */
}

i.fa-youtube {
  color: #ff0000; /* YouTube red */
}

/*media videos*/
.video-container {
  position: relative;
  width: 60%; /* Reduce size by 50% */
  padding-bottom: 28.125%; /* 16:9 aspect ratio (height/width * 50%) */
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}