*, *::before, *::after {
  box-sizing: border-box;
}

body {
  text-align: center;
  color: #000;
  overflow-wrap: anywhere;
}


ul, ol {
  text-align: left;
  display: inline-block; 
  margin-left: 0;
  padding-left: 1.2rem; 
}

li {
  text-align: left;
}

p {
  font: normal 18px/1.6 "Helvetica", Arial, sans-serif;
  color: #000;
  text-align: left;
}


.id {
  margin-bottom: 15px;
}

#class {
  line-height: 1.1;
  font-family: "Roboto Slab", serif;
  font-weight: 300;
}

#img {
  border: none;
}
*/ Seperate colors for different types */
.org {
  color: #54ba6a;
  text-decoration: underline;
}

a {
  color: #9fbada; 
}

a:visited {
  color: #4b0082; 
}

a:hover,
a:focus {
  color: #e985e7; 
  text-decoration: underline;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #000;
}


.page-website {
  font-family: Arial, sans-serif;

  margin: clamp(12px, 4vw, 40px);
  background: url('Greydiant.jpg') center/cover no-repeat fixed;
  background-color: #afadad;
}

*/ Upper tab navigation color changing */
.tab {

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px solid #1a034e;
}

.tab button {
  background-color: #eda6dd;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 24px;
  transition: 0.3s;
  flex: 0 1 auto; 
}

.tab button:hover {
  background-color: #acdeff;
}

.tab button.active {
  background-color: #0067a6;
}



.tabcontent {
  display: none;

  padding: clamp(12px, 3vw, 20px);
  border: 4px solid #000000;
  border-top: none;
  max-width: 100%;
}

/* Make media responsive */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}


figure {
  margin: 1rem 0;
  display: inline-block;
}

figure img {
  border: 4px solid #000;
  display: block;
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.9em;
  color: #000000;
  font-style: italic;
  text-align: left;
}

iframe {
  max-width: 100%;
}

/* Responsive video embeds */
.video-wrapper {
  max-width: 800px;
  margin: 1rem auto;
}
.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border: 0;
}

/*fluid*/
@media (max-width: 600px) {
  .tab button {
    padding: 8px 12px;
  }
}


/* Current Hyperfixations tab: white text styling */
[id="Current Hyperfixations"] {
  /* Keep content readable edge-to-edge */
  min-height: 50vh;
}

[id="Current Hyperfixations"] h1,
[id="Current Hyperfixations"] h2,
[id="Current Hyperfixations"] h3,
[id="Current Hyperfixations"] h4,
[id="Current Hyperfixations"] h5,
[id="Current Hyperfixations"] h6,
[id="Current Hyperfixations"] p,
[id="Current Hyperfixations"] li,
[id="Current Hyperfixations"] header,
[id="Current Hyperfixations"] label,
[id="Current Hyperfixations"] a {
  color: #000000;
}

[id="Current Hyperfixations"] select {
  padding: 8px 12px;
  font-size: 16px;
  border: 5px solid #000000;
  background-color: rgba(170, 167, 167, 0.359);
  color: #000000;
  cursor: pointer;
  border-radius: 4px;
  margin: 10px 0;
}

[id="Current Hyperfixations"] select option {
  background-color: #959191;
  color: #000000;
}

[id="Current Hyperfixations"] .hyperfixation-content {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

[id="chase-atlantic"] {
  background: url('Empty.jpg') center/cover no-repeat;
  background-color: rgba(255, 255, 255, 0.1);
}

[id="chase-atlantic"] header,
[id="chase-atlantic"] p {
  background-color: rgba(191, 191, 191, 0.85);
  padding: 8px 12px;
  border-radius: 4px;
  display: inline-block;
  width: auto;
}

[id="chase-atlantic"] header {
  display: block;
  text-align: center;
  font-weight: bold;
  width: 100%;
}

[id="Current Hyperfixations"] a:hover,
[id="Current Hyperfixations"] a:focus {
  color: #4982c8;
  text-decoration: underline;
}

/* Two-column grid layout */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(12px, 2.5vw, 24px);
}
@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; }
}


/* Table Styling */
table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: auto;
}

th,
td {
  border: 1px solid #7b7878;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #646464;
  color: #fff;
}

td:nth-child(even) {
  background-color: #949494;
}

td:nth-child(odd) {
  background-color: #bbbbbb;
}



