* {
  box-sizing: border-box; /* 👈 Add this to the very top to fix sizing globally */
}

body {
  margin: 0px;
  padding: 10px;
  overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    width: 300px;
    display: flex;
    background-color: white;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.header-content img {
    margin: 10px;
}
.header-content .title {
    font-weight: bold;
    font-size: 32px;
    font-family: 'Times New Roman', Times, serif;
}

.title {
    font-weight: bold;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
}

.header-content p {
    margin: 0.2em;
}

/* Fix the navbar to the top */
.navbar {
  display: flex;           /* 1. Turns the navbar into a flex container */
  flex-direction: column;
  justify-content: center;  /* 2. Centers links horizontally */
  align-items: center;   
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  z-index: 1000; /* Keeps it above other elements */
  padding-top: 0.1vw;
  padding-bottom: 20px;
}

.logo {
    width: 100%;            /* Set your logo size */
  }

  .nav-links {
    display: flex;          /* Keep links horizontal relative to each other */
    justify-content: center;
    gap: 10px;              /* Modern way to add spacing between links */
  }


/* Add padding to the body so content isn't hidden behind the nav */
body {
  padding-top: 7vw; /* Should match the height of your navbar */
}

@media (max-width: 768px) {
  body {
    padding-top: 20vw; /* Increase this number if the bar is even taller on mobile */
  }
  
  .nav-links {
    flex-wrap: wrap;    /* Allows links to wrap to a new line if they don't fit */
    justify-content: center;
    gap: 5px;          /* Tighten gap for smaller screens */
  }
  table, th, td {
  border:0px;
  font-size: 11px;
  text-align: center;
}
}


a {
  text-decoration: none;
}

.links {
    display: flex;
    margin: 0px;
}

.button {
    border: 1px solid;
    background-color: black;
    padding: 5px;
    margin: 0.3em;
    color: white;
    text-decoration: none;
    text-align: center;
}

.button:hover {
    border-style: dashed;
    background-color: white;
    color: black;
}


.blog {
    width: 75vw;
    min-height: 100vh;
    padding: 10px 10px 10px 10px;
    margin: 10px auto;
    box-sizing: border-box;
    
}

.blog .img-center {
    display: block;
    margin: 10px auto; 
}

.img-seq-row {
  display: flex;
  justify-content: center; /* Centers the images horizontally */
  flex-wrap: wrap;        /* Allows images to wrap on mobile */
  gap: 5px;               /* Clean way to add space between images */
  margin: 10px 0;         /* Adds vertical spacing from text */
}

.blog .img-seq {
  display: block;          /* Better for flex children */
  
}
/* Image on the left, text wraps on the right */
.blog .img-left {
    float: left;
    margin-right: 10px; /* Space between image and text */
    margin-bottom: 10px;
}

/* Image on the right, text wraps on the left */
.blog .img-right {
    float: right;
    margin-left: 10px; /* Space between text and image */
    margin-bottom: 10px;
}

.p1 {
  font-weight: bold;
  font-size: 24px;
  font-family: "Times New Roman", Times, serif;
}

.p2 {
  font-family: Arial, Helvetica, sans-serif;
}

.p3 {
  font-family: courier;
  max-width: 70ch;
  margin:25px;
  font-size: 11px;
}

table, th, td {
  border:0px;
  text-align: center;
}

