*{
    margin: 0;
    padding: 0;
    font-family: 'Courier', sans-serif;
}

.name {
  font-size: 5rem;
}

.sectionHeader {
  font-size: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}


.introBlurb {
  font-size: 2rem;
}

.vizBlurb {
  font-size: 2rem;
}


.headerTitle {
  font-size: 10rem;
  background-color: #FFFFFF;
  
}


.projectTitle {
  font-size: 4rem;
  background-color: #FFFFFF;
  
}

.section-background {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  height: 300vw;
  width: 100%;
  color: black
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-background-small {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  height: 25vh;
  width: 100%;
  color: #00000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-bloc p {
  margin: 75px;
  font-size: 1.5rem;
}

.socLink {
    font-size: 3rem;
    color: #FFFFFF;
}

#nbregSummary {
  display: flex;
  justify-content: center;
  margin: 5px;
  overflow-x: auto;         /* enables horizontal scroll if needed */
  width: 100%;
  box-sizing: border-box;   /* makes sure padding/margin are respected */
}

#nbregSummary table {
  width: auto;
  max-width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.5rem, 1vw + 0.1rem, 1rem);  /* responsive font size */
}

#nbregSummary th,
#nbregSummary td {

  text-align: center;
  word-break: break-word;
}

/* Fix the nav at the top */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: none;
  display: flex;
  justify-content:left;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Add spacing below the menu so it doesn't overlap content */
body {
  margin: 0;
  padding-top: 60px;  /* adjust to match nav height */
}

/* Dropdown core styling */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #333;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
}

.dropdown-content a {
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #555;
}


.plot-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  display: flex;
  padding-top: 0;
  align-items: center;
  justify-content: center;
}

.plotly-graph-div {
  padding-top: 0;
  width: 90% !important;
  height: 40% !important;
}

.vizBlurb {
  padding-left: 5vw;
  padding-right: 5vw;
  max-width: 900px;    /* Optional: limit max width so lines don’t get too long */
  margin-left: auto;   /* Center the block */
  margin-right: auto;
  text-align: center;  /* Keep text centered inside the paragraph */
  box-sizing: border-box; /* Ensure padding doesn’t overflow */
}


  /* Hide modal by default */
  #ctaModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 150vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    font-family: monospace;
  }

  .modal-buttons {
    margin-top: 1rem;
  }

  .modal-buttons button {
    margin: 0 1rem;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .modal-buttons button:first-child {
    background-color: #728370;
    color: black;
  }

  .modal-buttons button:last-child {
    background-color: #bf9494;
    color: black;
  }

  /* Show modal only on screens <= 600px */
  @media (max-width: 600px) {
    #ctaModal {
      display: flex;
    }
  }

.mobileModal {
  color: black;
  font-size: 2rem;
}