@font-face {
font-family: 'PixChicago';
src: url('ChicagoKare-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

.titlepage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 1rem;
}

.titlepage-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titlepage-title {
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: bold;
}

.titlepage-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 0.5rem;
}

h1 {
font-size: 48px;
}

body {
  font-family: 'PixChicago', monospace, sans-serif;
  font-size: 24px;
  /* For crisp pixel rendering */
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  image-rendering: pixelated;
  text-rendering: optimizeSpeed;
  font-feature-settings: 'liga' off;

  margin: 0;
  background-color: #c0c0c0; /* fallback */
  background-image: repeating-linear-gradient(
    45deg,
    #c0c0c0 0px,
    #c0c0c0 2px,
    #b0b0b0 2px,
    #b0b0b0 4px
  );
  height: 100vh;
}

/* Top navigation bar */
#mainNav {
  background-color: white;
  color: black;
  border-bottom: 2px solid black;
  display: flex;
  align-items: center;
  padding: 8px 20px 0 20px;
  gap: 0px;
  font-size: 24px;
}

#mainNav a {
  text-decoration: none;
  color: black;
  padding: 0 20px;       /* Add horizontal padding */
  transition: background-color 0.3s, color 0.3s; /* smooth color change */
}

#mainNav a:hover {
  background-color: black;
  color: white;
  padding: 0 20px;       /* Keep same padding to avoid size changes */
}

/* Content area */

main {
  padding: 20px;
}

main img {
  display: block;
  margin: 0 auto;
}

.icon-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem; /* smaller so it's visually centered */
}

.mac-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mac-icon img {
  width: clamp(3rem, 6vw, 4.5rem);
  height: auto;
  object-fit: contain;
}

.mac-icon:hover {
  transform: scale(1.15);
  filter: brightness(1.1);
}

.icon-label {
  margin-top: 0.5rem;
  font-size: clamp(0.75rem, 2.5vw, 1.25rem);
  color: black;
  text-align: center;
  user-select: none;
  background-color: white;
  padding: 0px 2px 0px 2px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Section Navigation */
#sectionNav {
  display: flex;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  background-image: repeating-linear-gradient(45deg, #c0c0c0 0px, #c0c0c0 2px, #b0b0b0 2px, #b0b0b0 4px);
  z-index: 1000;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
}

#sectionNav.fixed {
  position: fixed;
}

#sectionNav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

#sectionNav ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 32px;
}

#sectionNav ul li a.active {
  color: #000;
}

.notecard {
  width: 90%;
  margin: 0 auto;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: -3px;
}

.tabs button {
  font-family: inherit;
  font-size: inherit;
  padding: 0.5rem 1rem;
  border: 2px solid #000;
  border-bottom: 2px solid #000;
  cursor: pointer;
  background: white;
  border-radius: 6px 6px 0 0;
  z-index: 0;
}

.tabs button[aria-selected="true"] {
  border-bottom: none;
  position: relative;
  z-index: 2;
}

/* Cards */
.cards {
  height: 40vh;
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 0 6px 6px 6px;
  position: relative;
  overflow: hidden;
}

.cards img,
.cards iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.cards p,
.cards h3,
.cards li {
  text-align: left;
}

.cards > div {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding: 1rem;
  box-sizing: border-box;
  position: absolute;
  top: 0; left: 0; right: 0;
}

.cards > div .card-content iframe {
  position: absolute;
  top: 60px; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.cards > div.active {
  display: block;
  border: 2px solid black;
  border-radius: 4px;
  background: white;
}

/* Sections */
section {
  min-height: 25vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

section h2 {
  align-self: flex-start;
}

/* Section backgrounds */
#empathize,
#ideate,
#test {
  background-image: repeating-linear-gradient(45deg, #e0e0e0 0px, #e0e0e0 2px, #d0d0d0 2px, #d0d0d0 4px);
}

#define,
#prototype {
  background-image: repeating-linear-gradient(45deg, #c0c0c0 0px, #c0c0c0 2px, #b0b0b0 2px, #b0b0b0 4px);
}

/* Card header */
.card-header {
  display: none;
}

.card-header button {
  background: none;
  border: none;
  cursor: pointer;
}

.card-header h3 {
  margin: 0;
}
