@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,300');

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

html {
  background-color: WhiteSmoke;
  height: 100%; /* Full height for html */
}

body {
  background-color: white;
  font-family: 'Poppins';
  min-height: 100vh; /* Use viewport height instead of 80vh */
  animation: fadeInAnimation ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;

  /* Add these flex properties to create a column layout */
  display: flex;
  flex-direction: column;
}

/* Make the container fill available space */
.container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1; /* This makes it take up all available space */
}

.catalogue {
  color: #000080;
  width: 100%;
  padding-top: 20px;
  flex: 1; /* This makes it expand to push footer down */
  background-image: url('../images/mtnb07_101_cropped.jpg');
  background-position: center;
}

.catalogue ul {
  list-style: none;
}

.ntbk-title {
  font-weight: bold;
  font-size: 20pt;
}

.ntbk-description {
  margin-left: 2em;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Responsive Layout */
@media screen and (max-width: 1200px) {
  /* Adjust styles for smaller screens */

  .container {
    width: 100%;
  }

  header {
    flex-direction: column;
    height: auto;
  }

  header nav h1.nav-title a {
    font-size: 20pt;
  }

  .main-section {
    flex-direction: column;
    height: auto;
  }

  .main-section-item {
    padding: 1em;
  }

  .item-1, .item-2, .item-3 {
    font-size: 35pt;
    font-weight: bold;
  }

  footer {
    flex-direction: column;
    height: auto;
  }

  .footer-content {
    flex-direction: column;
    height: auto;
  }

  .background-caption {
    font-size: 10pt;
  }
}

header {
  text-align: left;
  background-color: WhiteSmoke;
  color: #000080;
}

header nav {
  color: #000080;
  padding-top: 10px;
  padding-left: 20px;
}

header nav .nav-title {

  color: #000080;
  display: block;
  font-weight: normal;
}

header nav .nav-title a {
  
  text-decoration: none;
  color: #000080;
}

header nav .nav-item {
  font-size: 18pt;
}

header nav .nav-item a {
  color: #000080;
  text-decoration: none;
}

header nav .nav-item:hover {
  text-decoration: underline;
}

.main-section {
  display: flex;
  font-size: 50pt;
  color: white;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  clear: right;
}

.item-1, .item-2, .item-3 {
  text-align: center;
  font-weight: bold;
}

.item-1 a:hover {
  color: lightblue;
  transition: ease;
  transition-duration: 0.5s;
}

.item-2 a:hover {
  color: lightblue;
  transition: ease;
  transition-duration: 0.5s;
}

.item-3 a:hover {
  color: lightblue;
  transition: ease;
  transition-duration: 0.5s;
}

.item-1 a,
.item-2 a,
.item-3 a {
  color: WhiteSmoke;
  text-decoration: none;
  text-shadow: 2px 2px 7px black;
  -webkit-text-stroke: .5px black;
}

.neh img {
  float: left;
  display: inline;
  max-width: 120px;
  background-color: white;
  padding: 5px 10px 5px 10px;
  margin-right: 1em;
}

footer {
  text-align: center;
  display: flex;
  justify-content: center;
  clear: both;
  padding: 10px 15px 10px 15px;
  background-color: WhiteSmoke;
  margin-top: auto; /* This pushes the footer to the bottom */
}

.footer-content {
  background-color: WhiteSmoke;
  height: auto;
  padding: 5px 10px 5px 10px;
  font-size: 10pt;
}

.about-section {
  max-width: 80%;
  margin: auto;
  clear: right;
}

.about-text {
  color: white;
  font-size: 14pt;
  float: left;
  max-width: 50%;
}

.about-menu {
  color: white;
  font-size: 14pt;
  float: right;
  max-width: 30%;
}

.donate-section {
  max-width: 80%;
  margin: auto;
  clear: right;
  color: white;
}

h1::after {
  white-space: pre;
}

h2::after {
  white-space: pre;
}

p::after {
  white-space: pre;
}

.background-caption {
  background-color: WhiteSmoke;
  display: block;
  padding: 2px 5px 2px 5px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: fit-content;
}
