/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Globals */
h3 {
   font-weight: normal;
}

a {
    color: rgba(0,0,0,0.75);
}
/* Body Styling */
body {
    /*font-family: Arial, sans-serif;*/
    line-height: 1.6;

    /*background-color: #deefef;*/
    /*color: #335555;*/
    background-color: rgba(222,239,239,1);
    color: rgba(0,0,0,0.75);

    font-family: "Courier New", Courier, monospace; /* Typewriter style */
    background: url('images/paper_clean2.jpg') repeat center center;
    /*background-size: cover;*/
    /*min-height: 100vh;*/
}

/* Container */
.container {
    min-width: 300px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
header #head {
    padding: 60px 20px;
    text-align: center;
}
header #head a  {
   text-decoration: none;
   color: rgba(0,0,0,0.75);
   font-size: 1.75em;
}
header #sub-title {
   font-style: italic;
}

/* Navigation Menu */
nav {
    /*background-color: rgba(0,0,0,0.15);*/
    color: color: rgba(0,0,0,0.8);
    width: 100%;
}

.nav-wrapper {
    border-top: 1px solid rgba(0,0,0,0.7);
    border-bottom: 1px solid rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    justify-content: center;
    position: relative;
    height: 3em;
}

.logo a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon span {
    /*background: #fff;*/
    background: rgba(0,0,0,0.75);
    height: 3px;
    width: 25px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: rgba(0,0,0,0.7);
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
   /*color: rgba(51,135,85,1);*/
   text-decoration: underline;
}

/* Main Content Styling */
main {
    padding: 20px 0;
}

section {
    padding: 40px 0;
}

.section-content {
    display: flex;
    flex-direction: column;
    /*display: block;*/
    align-items: center;
    text-align: center;
    /*color: rgba(51,85,85,1);*/
    color: rgba(0,0,0,0.65);
}

.section-content h2 {
    /*color: rgba(51,85,85,1);*/
    color: rgba(0,0,0,0.65);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-content img {
    max-width: 100%;
    width: 20%;
    height: auto;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.9);
    /*float: left;*/
}
.section-content p {
   /*float: left;*/
   /*clear: both;*/
}
.section-content p, .section-content ol {
    max-width: 800px;
}
.section-content ol {
    margin: 0 40px;
}
.section-content li {
    text-align: left;
}

.section-block {
   display: block;
}
.primary .section-block img {
   float: left;
   margin-right: 24px;
}
.alternate .section-block img {
   float: right;
   margin-left: 24px;
}

.section-separator {
  height: 1px;
  background-color: rgba(0,0,0,0.2);
  /*border-radius: 10px;*/ /* Rounded edges */
  margin: 20px 10%;
  padding: 0 !important;
}

.primary {
    /*background-color: #0050a0;*/
    /*background-color: rgba(0,0,0,0.025);*/
}
.primary h2 {

}
.alternate {
    /*background-color: #004080;*/
    /*background-color: #101060;*/
    /*background-color: rgba(0,0,0,0.05);*/
}

/* Contact Form Styling */
form {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    text-align: left;
}

input, textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid rgba(0,0,0,0.8);
    border-radius: 5px;
    background: none;
}

button {
    margin-top: 35px;
    padding: 10px;
    background-color: rgba(0,0,0,0.75);
    color: #fff;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 5px;
    cursor: pointer;
    font-family: "Courier New", Courier, monospace; /* Typewriter style */
}

button:hover {
    background: none;
    border: 1px solid rgba(0,0,0,0.8);
    color: rgba(0,0,0,0.8);
}

/* Footer Styling */
footer {
    /*color: #333;*/
    /*background-color: #f4f4f4;*/
    text-align: center;
    padding: 15px 0;
}

/* Top Button */
#top-button {
   display: none; /* Hidden by default */
   position: fixed; /* Fixed/sticky position */
   bottom: 20px; /* Place the button at the bottom of the page */
   right: 30px; /* Place the button 30px from the right */
   z-index: 99; /* Make sure it does not overlap */
   border: none; /* Remove borders */
   outline: none; /* Remove outline */
   cursor: pointer; /* Add a mouse pointer on hover */
   padding: 14px 22px; /* Some padding */
   border-radius: 10px; /* Rounded corners */
   font-size: 24px; /* Increase font size */

   /*background-color: red;*/ /* Set a background color */
   /*color: white;*/ /* Text color */

   background-color: rgba(0,0,0,0.25);
   color: rgba(255,255,255,0.5);
}

#top-button:hover {
  background-color: rgba(0,0,0,0.75);
  color: rgba(255,255,255,1);
}

#thanks {
   text-align: center;
   padding: 50px;
}
#thanks h2 {
   font-size: 20px;
}
#thanks p {
   padding: 16px;
}
#thanks a {
    font-weight: bold;
    text-decoration: none;
    color: rgba(0,0,0,0.75) !important;
}
#thanks a:hover {
   text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 825px) {
    nav {
      width: 100% !important;
    }
    .menu-icon {
        display: flex;
    }
    .menu-icon span {
        color: rgba(0,0,0,0.9);
    }
    .nav-links {
        position: absolute;
        right: 0;
        top: 60px;
        background-color: rgba(0,0,0,0.9);
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in;
    }
    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    .nav-links a {
      color: rgba(255,255,255,0.8);
    }
    .nav-links.open {
        max-height: 300px; /* Adjust as needed */
    }
   .section-block img {
      float: none !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
   }
   .section-block p {
      margin: 0 32px;
   }


}
