html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family:
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    "Liberation Sans",
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";


  background-image: url('../assets/texasFlag.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;


  /* background-image:
    url('../assets//texasFlag.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; */

}


h1 {
  font-size: calc(1.475rem + 2.7vw);
  font-weight: 300;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

h2 {
  font-size: calc(1rem + 2vw);
  font-weight: 300;
  margin-top: 0;
}

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
  margin: 1rem 0;
}

.glow-box {
  background-color: rgba(231, 237, 242, 0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .5);
  /* subtle outer glow */
}

.heroHeader {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  /* prevent wrapping */
  gap: 1rem;
  /* adds space between seal and title */
  background-image: url('../assets/bluebonnets.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 2rem;
}

.seal {
  height: 100px;
  max-width: 100%;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 2));
}

.heroTitle {
  margin: 0;
  font-size: 2.5rem;
  color: white;
  text-shadow:
    0 0 5px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6);
}

.textBodyOverall {
  width: 70%;
  margin: 0 auto;
  margin-bottom: 50px;
}

.coreTextTitle {
  /* background-color: #e7edf2; */
  background-color: rgba(231, 237, 242, 0.9);
  /* soft transparent version*/
  padding: 5px 30px;
  margin: 30px 0;
  border-radius: 10px;
}

.coreText {
  /* background-color: #e7edf2; */
  background-color: rgba(231, 237, 242, 0.9);
  /* soft transparent version*/
  padding: 30px;
  border-radius: 10px;
}

.textBox {
  margin-bottom: 40px;
}

.subHeadings {
  margin-top: 2px;
}

.note {
  font-style: italic;
  padding-left: 20px;
}



.faq-button {
  background: linear-gradient(to bottom, #2c4a91, #050a14);
  color: #ffffff;
  padding: 1em 2.5em;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 10px rgba(0, 0, 0, 0.4),
    0 2px 2px rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease-in-out;
}

.faq-button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 14px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(255, 255, 255, 0.1);
}

.faq-button:active {
  background: linear-gradient(to bottom, #0c1838, #020716);
  box-shadow:
    inset 0 4px 6px rgba(0, 0, 0, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(2px);
}


/* For Access Code box and Continue to Survey button */
.container {
  display: flex;
  width: 100%;
}

.left-column {
  width: 50%;
  padding: 1rem;

}

.right-column {
  width: 50%;
  padding: 1rem;

}

/* ----------------------------- Styles for survey/index.html */

/* Basic HR break */
.smallBreakHR {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
  margin: 10px;
}

/* Header style for long list/tickbox selection question */
.megaListHeading {
  background-color: #f5f5f5;
  /* soft light gray */
  border-radius: 4px;
  color: #333;
  padding: 5px;
  margin: 5px;
  font-weight: bold;
}

#tblInfluence {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.9375rem;
  /* ~15px */
  color: #333;
  background-color: #fafafa;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  overflow: hidden;
  word-wrap: break-word;
}

/* Header row */
#tblInfluence tr:first-child {
  background: linear-gradient(to right, #e0eafc, #cfdef3);
  color: #2f2f2f;
  font-weight: 600;
}

#tblInfluence tr:first-child td {
  font-size: 0.75rem;
  padding: 0.5rem;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

/* General cells */
#tblInfluence td {
  padding: 0.75rem 0.625rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #eaeaea;
  word-break: break-word;
}

/* First column (labels) */
#tblInfluence td:first-child {
  text-align: left;
  font-weight: 500;
  /* background: #f7f9fc; */
  border-right: 1px solid #ececec;
  font-size: 0.875rem;
}

/* Alternating row backgrounds */
.cssExitItemStyle {
  background: linear-gradient(to right, #ffffff, #f9f9f9);
}

.cssExitAlternatingItemStyle {
  background: linear-gradient(to right, #f5f8fb, #ebf1f7);
}

/* Radio buttons */
#tblInfluence input[type="radio"] {
  transform: scale(1.1);
  cursor: pointer;
  accent-color: #5c9ded;
  transition: transform 0.1s ease;
}



/* ----------------------------- Media query for smaller screens */
@media (max-width: 1000px) {

  .textBodyOverall {
    width: 80%;
  }

  .headerImage {
    flex-direction: column;
    text-align: center;
  }

  #tblInfluence td {
    font-size: 14px;
    padding: 10px 6px;
  }

  #tblInfluence input[type="radio"] {
    transform: scale(1);

  }

}

/* Improve display on very small screens */
/* Mobile-specific adjustments */
@media (max-width: 480px) {


  #tblInfluence tr:first-child td {
    font-size: 0.6875rem;
    /* ~11px */
    padding: 0.4rem 0.3rem;
  }

  #tblInfluence td {
    font-size: 0.8125rem;
    padding: 0.5rem 0.3rem;
  }

  #tblInfluence td:first-child {
    font-size: 0.8125rem;
  }

}