body {
  margin: 20px;
  padding: 20px;
  font-family: 'Lucida Grande', Verdana, Arial, sans-serif;
  font-size: 16px;
  text-align: justify;
}

h1 { 
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; 
  font-size: 24px; font-style: normal; 
  font-variant: normal; 
  font-weight: 700; 
  line-height: 26.4px; 
} 

h3 { 
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; 
  font-style: normal; 
  font-variant: normal; 
  font-weight: 700; 
  line-height: 15.4px;   
  margin-top: 35px;
  margin-bottom: 0px;
} 

p { 
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; 
  font-size: 14px; 
  font-style: normal; 
  font-variant: normal; 
  font-weight: 400; 
  line-height: 20px; 
} 

blockquote { 
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; 
  font-size: 21px; 
  font-style: normal; 
  font-variant: normal; 
  font-weight: 400; 
  line-height: 30px; 
} 

pre { 
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; 
  font-size: 13px; 
  font-style: normal; 
  font-variant: normal; 
  font-weight: 400; 
  line-height: 18.5714px; }

DIV.content {
  border: 0px solid #5f5f5f;
  width: 600px;
  margin: auto;
  padding: 5px;
  position: relative;
  background-color: transparent;
  top: -20px;
  overflow: auto;
}

header {
  display: flex;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  background-color: #ffffff;
}

header h1 {
  margin: 0;
}

header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
}

header ul li {
  margin: 0 30px 0 0;
}


.vspacer {
   margin-bottom: 3px;
}

p.link {
  color: black;
  font-size: 16px;
/*  font-weight: bold;*/
  text-align: left;
}

a.barlink{
  color: #000000;
  text-decoration: none;
/*  font-weight: bold;*/
}

a.barlink:hover {
  color: #ffbf00;
/*  color: #000000 ;*/
  text-decoration: none;
  font-weight: bold;
}

a.barlink.active {
  color: #ffbf00;
/*  color: #000000 ;*/
  text-decoration: none;
  font-weight: bold;
}

a.inlink {
  color: #428bca;
  text-decoration: underline;
}
a.inlink:hover {
  color: #ffbf00;
  text-decoration: none;
  font-weight: bold;
}

figure {
  text-align: center;
}

figcaption {
  font-style: italic;
  font-size: 10pt;
  color: #888;
  text-align: center;
  margin-top: 2px;
}

.spaced-list li:not(:first-child) {
    margin-top: 5px;
    padding-top: 5px
}

.math li:not(:first-child) {
  font-size: 13pt;
  margin-top: 5px;
  padding-top: 5px;
  text-decoration: none;
}

DIV.myfooter {
  border: 0px;
  width: 600px;
  margin: auto;
  padding-top: 10px;
  position: relative;
  bottom: -15px;
  overflow: auto;
  color: grey; 
  font-style: italic;
  font-size: 10pt;
  text-align: center;
}


.top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 0;
}

.top-bar span {
    cursor: pointer;
    padding: 5px 15px;
    font-size: 16px;
    text-decoration: underline;
    transition: text-decoration 0.2s ease;

  color: #428bca;
}

.top-bar span.active {
  text-decoration: none; 
  font-weight: bold;
  color: #ffbf00 ;
}

.top-bar span:hover {
  text-decoration: none;
  color: #ffbf00 ;
  font-weight: bold;
}


.masonry-grid {
    column-count: 3;
    column-gap: 15px;
    padding: 20px;
}

.photo {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.photo img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.photo .overlay {
    position: absolute;
    bottom: 40%;
    right: -10px;
    width: 100%;
    padding: 8px;
  background-color: transparent;
    color: black;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center the text vertically */
    flex-wrap: wrap; /* Allow the text to wrap */
}

.photo:hover img {
    transform: scale(1.05);
    opacity: 0.2;
}

.photo:hover .overlay {
    opacity: 1;
}

.photo .overlay p {
    margin: 0; /* Remove default margins from paragraphs */
}


#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    max-width: calc(100vw - 800px);
    max-height: calc(100vh - 40px);
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
}

#lightbox-img {
    max-width: 100%;
    max-height: calc(100% - 50px);
/*    border-radius: 8px;*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.description {
    background-color: transparent;
    padding: 10px;
    color: white;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}



#meow {
  display: block;
}

#meoww {
  display: none;
}

#meowww {
  display: none;
}
