:root {
  --background-blue: #2F4858;
  /* --font-cream: #EDDEA4; */
  --font-cream: #E1CDB5;
  --font-link :#FF4000;
}

body {
  background-color: var(--background-blue);
  color: var(--font-cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

header {
  margin-bottom: 30px;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 5px;
}

h2 {
  margin-top: 0px;
  /* border-bottom: 1px solid #EDDEA4; */
  padding-bottom: 0px;
}

.tool-entry {
  margin-bottom: 2.5rem;
}

.chromatopy-entry {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

.pysotope-entry {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

.tool-figure {
  max-height: 100%;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  align-self: stretch;
}

.tool-text {
  flex: 1;
}

.intro-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.portrait {
	border: 2px solid#E1CDB5;
   width: 250px;
   border-radius: 10px;
}

.about-text h2 {
  margin-top: 0;
}

.about-text h2:not(:first-child) {
  margin-top: 2rem;
}

.profile-links {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.profile-icon {
  width: 1em;
  height: 1em;
  object-fit: contain;
  vertical-align: middle;
}

.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--font-cream);
  margin-bottom: 30px;
}

.tab-button {
  background: none;
  border: none;
  color: var(--font-cream);
  font: inherit;
  font-size: 1.1rem;
  padding: 0 0 10px 0;
  cursor: pointer;
  opacity: 0.7;
}

.tab-button:hover {
  opacity: 1;
}

.tab-button.active {
  opacity: 1;
  font-weight: bold;
  border-bottom: 3px solid var(--font-cream);
  margin-bottom: -2px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.install-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--font-cream);
  border-radius: 8px;
  font-size: 0.95rem;
}

.install-note p {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.install-note code {
  display: block;
  padding: 0.6rem;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.25);
  color: var(--font-cream);
  overflow-x: auto;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .chromatopy-entry,
  .pysotope-entry {
	 flex-direction: column;
  }

  .tool-figure {
	 max-width: 100%;
	 width: 100%;
  }
}

/* a {
  color: var(--font-cream);
} */
a {
	color: var(--font-link)
}

a:hover {
  color: white;
}