//CSS code for website
nav {
  max-width: 100%;
  mask-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 25%, #ffffff 75%, rgba(255, 255, 255, 0) 100%);
  margin: 0px auto;
  padding: 0px 0;}

.banner img {
  width: 100%;
  height: auto; /* Ensure the image scales proportionally */
  position: relative; /* Change to relative for better positioning */
}

.banner ul {
  text-align: center;
  margin: -4px auto;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset 0 0 0px rgba(255, 255, 255, 0.6);}

nav ul li {
  display: inline-block;}

nav ul li a {
  padding: 20px;
  font-family: 'Playfair Display';
  font-size: 20px;
  font-weight: bold;
  text-transform:uppercase;
  color: rgba(18,96,70,1);
  text-decoration: none;
  display: block;}

h4 { font-size:40px;
  font-family: 'Playfair Display';
  color: rgba(18,96,70,1);
  margin-bottom: 10px;
  margin-top: 10px;}

//centering whole page
html, body {
    height: 100%;}
html {
    display: table;
    margin: auto;}
body {
    display: table-cell;
    vertical-align: middle;}

    h5 {
      margin-bottom: 0px;
      color: rgba(18,96,70,1);
      margin-top: 0px;
    }

    .left-align {
        text-align: left;
        display: inline-block;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    #custom-link {
      text-decoration: none; /* Removes default underline */
      font-weight: bold;
      color: inherit; /* Keeps the text color the same as the surrounding text */
      margin-bottom: 0px;
  }

  #litteradphoto-container {
    display: flex;               /* Apply flexbox */
    justify-content: center;     /* Center the image horizontally */
    align-items: center;         /* Center the image vertically */
    width: 100%;                 /* Ensure the container takes up the full width */
    margin: 0 auto;              /* Center the container within its parent */
}

#litteradphoto {
    max-width: 100%;             /* Allow the image to take full width of the container */
    width: 40%;                /* Set image width to 40% on desktop */
    height: auto;                /* Maintain aspect ratio */
    border: 1px solid rgba(18, 96, 70, 1);
}


.image-container {
  display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(3, auto); /* 3 rows */
    gap: 5px; /* Adjust spacing between images */
    max-width: 80%; /* Adjust as needed */
    margin: auto; /* Center the container */
}

.image-container img {
  max-width: 100%;             /* Allow the image to take full width of the container */
  height: auto;                /* Maintain aspect ratio */
  border: 1px solid rgba(18, 96, 70, 1);
}

@media (max-width: 768px) {
    #litteradphoto ,
    #litteradphoto-container , 
    .image-container  {
        width: 80%;             /* On smaller screens, allow the image to take full width */
        max-width: 100%;         /* Make sure it doesn’t exceed container width */
    }
} 

.body-text {width: 90%; /* Adjust width for better responsiveness */
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 0px; }

body{
    color: rgba(5,53,37,255); 
    font-family: 'Playfair Display';
    font-size: 18px;
    text-align: center;
    width: 100%;
    background-color: rgba(252,244,224,1);
    margin:0px;}

.site-footer
{
  background-color: rgba(252,244,224,1);
  padding:40px 50px 20px;
  font-size:10px;
  line-height:24px;
  color: rgba(18,96,70,1);}

.site-footer a
{
  color: rgba(18,96,70,1);
text-decoration:none;}

.site-footer a:hover
{
  color: rgba(18,96,70,1);
  text-decoration: none;
  font-weight: bold;}

.site-footer .social-icons
{
  text-align:center;
  margin: 0 auto;
  margin-bottom: 25px;}

.site-footer .social-icons a
{
  width:40px;
  height:40px;
  line-height:40px;
  margin-left:6px;
  margin-right:0;
  border-radius:100%;
  background-color: rgba(18,96,70,1);
  }

.copyright-text
{
  margin:0;}

@media (max-width:991px)
{
  .site-footer [class^=col-]
  {
    margin-bottom:30px}
  .banner-text h1 {
    font-size: 12vw; /* Adjust font size for smaller screens */
    top: 120px; left: 40px; /* Adjust positioning */
  }
  .banner-text h2 {
    font-size: 6vw; /* Adjust font size for smaller screens */
    top: 280px; left: 90px; /* Adjust positioning */
  }
  .body-text {
    font-size: 18px; /* Adjust font size for readability */
  }
  nav ul li a {
    padding: 15px; /* Adjust padding for smaller screens */
    font-size: 18px; /* Adjust font size */
  }
}

@media (max-width:767px)
{
  .site-footer
  {
    padding-bottom:0}
  
  .site-footer .copyright-text,.site-footer .social-icons
  {
    text-align:center}
  .banner-text h1 {
    font-size: 14vw; /* Further adjust font size for smaller screens */
    top: 100px; left: 20px; /* Adjust positioning */
  }
}

.social-icons
{
  padding-left:0;
  margin-bottom:0;
  list-style:none;}

.social-icons li
{
  display:inline-block;
  margin-bottom:2px;
  margin-top:4px;
  margin-right:2px;}

.social-icons a{
  color: rgba(252,244,224,1);
  font-size:16px;
  display:inline-block;
  line-height:44px;
  width:44px;
  height:44px;
  text-align:center;
  margin-right:8px;
  border-radius:100%;
  -webkit-transition:all .2s linear;
  -o-transition:all .2s linear;
  transition:all .2s linear}

.social-icons a.facebook:hover
{
  background-color: rgba(252,244,224,1);}

.social-icons a.instagram:hover
{
  background-color: rgba(252,244,224,1);}

.social-icons a.email:hover
{
  background-color: rgba(252,244,224,1);}

@media (max-width:767px)
{
  
 .social-icons li.title
  {
    display:block;
    margin-right:0;
    font-weight:600}}