 .topnav {
  background: #111827;
  font-family: system-ui, sans-serif;
}

.topnav .nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.topnav .nav > li {
  position: relative;
}

.topnav a {
  display: block;
  padding: 0.75rem 1rem;
  color: #f9fafb;
  text-decoration: none;
  font-size: 0.95rem;
}

.topnav a:hover {
  background: #374151;
}

/* First-level dropdown */
.dropdown {
  list-style: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #1f2937;
  padding: 0;
  margin: 0;
  min-width: 180px;
  display: none;
  border: 1px solid #374151;
}

.nav li:hover > .dropdown {
  display: block;
}

/* Second-level dropdown (third level menu) */
.dropdown li {
  position: relative;
}

.dropdown .dropdown {
  top: 0;
  left: 100%;
  border: 1px solid #374151;
}

/* Hover styles */
.dropdown a:hover {
  background: #4b5563;
}
 
 #topbar {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      background: #111827;
      color: #f9fafb;
      font-family: system-ui, sans-serif;
      font-size: 0.9rem;
    }

    #topbar button {
      background: #374151;
      color: #f9fafb;
      border: none;
      padding: 0.25rem 0.6rem;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.8rem;
    }

    #topbar button:hover {
      background: #4b5563;
    }


    .marquee-container {
      overflow: hidden;
      white-space: nowrap;
      flex: 1;
      position: relative;
    }

    .marquee-text {
      display: inline-block;
      animation: slide-left 8s linear infinite;
    }

    @keyframes slide-left {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(-100%);
      }
    }
    
    
 body {
  margin:0;
  font-family:"Candara", Calibri, sans-serif;
  background-color: #574250;
  background-image:url('/imgs/bg_diamond.png');}

.container{
  width:900px;
  height:2550px;
  background: #f5f5f5;
  margin: 0px auto;}
     
.image{
    border:2px solid #F5F5F5; /* WhiteSmoke */
    margin:10px;
    }
 
 .flex{
   height:2340px;}
   
.image .caption{
   font-family: monospace;
  font-size:8pt;}
  
.grid{
    display:flex;}

    
p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #c7b591;
  border-width: 2px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.small {
    max-width: 70%;
    height: auto;
  }
  
.medium {
    max-width: 90%;
    height: auto;
  }
  
.big {
    max-width: 100%;
    height: auto;
  }   

.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

header{
  width:auto;
  height:150px;
  margin-top:0px;
  background: #50393c;}
  
footer a{
  color: #f6f6f6;}

div.content {
  margin-left: 240px;
  padding: 1px 16px;
  height: 1000px;
}

@media screen and (max-width: 600px) {

.container{
  width:90%;
  max-width: 900px;}
}


.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #bbb;
  position: fixed;
  height: 300px;
  overflow: auto;
}

.sidebar a {
  display: block;
  color: #444;
  padding: 16px;
  text-decoration: none;
}
 
.sidebar a.active {
  background-color: #04AA6D;
  color: white;
}

.sidebar a:hover:not(.active) {
  background-color:  #777;
  color: #bbbbbc;
}

div.content {
  margin-left: 240px;
  padding: 1px 16px;
  height: 1000px;
}

@media screen and (max-width: 600px) {
  .sidebar {
    width: 90%;
    height: 100px;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
  
.container{
  width:90%;}
}

@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
  
.container{
  width:90%;}
  
}



    /* ABOUT SECTION */
    .about {
        padding: 30px 20px;
        background: #fff;
        margin-top: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.15);
    }

    .about p {
        line-height: 1.6;
        margin-bottom: 15px;
    }

    /* ICON GRID */
    .features {
        margin-top: 30px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
    }

    .feature-box {
        background: #ffffff;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 0 8px rgba(0,0,0,0.15);
        transition: transform 0.2s;
    }

    .feature-box:hover {
        transform: translateY(-5px);
    }

    .feature-box img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .feature-box a {
        text-decoration: none;
        color: #222;
        font-weight: bold;
        display: block;
        margin-top: 8px;
    }


      .content img {
        width: 200px;
        float: left;
        margin: 10px 20px 10px 0;
        border: 3px solid slateblue;
    }

    .content img.right {
        float: right;
        margin: 10px 0 10px 20px;
    }

    .content p {
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .content a {
        color: red;
        font-weight: bold;
        text-decoration: underline;
    }

    .content a:hover {
        color: slateblue;
        background: yellow;
    }

    
    