/* RESET AND BASE */
body {
  margin: 0;
  background: #fdfdfd;
  color: #111;
  line-height: 1.6;
}

/* Disable styling on the unstyled section */
.no-style {
  all: unset; /* strips all CSS rules applied globally */
  display: block;
  padding: 8rem;
}
.no-style h1, .no-style p {
  all: unset;
  display: block;
  margin: 0.5rem 0;
}
.no-style h1 { font-weight: bold; font-size: 2em; }

/* ---------------- STYLED SECTION ---------------- */
#styled {
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  padding-top: 0.75rem;
  padding-bottom: 6rem;
}
/* Quote styling split */
.concept {
  display: flex;
  justify-content: space-between;   /* pushing text to opposite ends */
  align-items: center;
  width: 92%;
  margin: 1.25rem auto;
  font-family: 'IBM Plex Mono', monospace;
  font-style: regular;
  font-size: 0.875rem;
  color: #333;
  line-height: 1.4;
}

/* Left and right text spans */
.concept .left {
  
  text-align: left;
}

.concept .right {
  text-align: right;
}

/* GRID SYSTEM */
.grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 200px;
  width: 100%;
  height: auto;
}

/* COLOR BLOCKS */
.block {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.5s ease;
}

/* Colors */
.yellow { background: #FEFB00; }
.pink { background: #ea7f94; }
.blue { background: #438AC8; }
.beige { background: #F3E7B9; }
.violet { background: #7C44D1; color: #fff; }
.green { background: #00A347; }
.orange { background: #ff7e0c; }
.red { background: #E9322F; }

/* Hover animation */
.block:hover {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.2);
  cursor: pointer;
}
/* Saul Bass quote */
.saul {
  font-family: 'IBM Plex Mono', monospace;
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  color: #555;
  margin: 4rem auto 6rem auto;  
  width: 70%;
  opacity: 0;
  animation: fadeQuote 3s ease-in-out 2s forwards;
}

@keyframes fadeQuote {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  padding: 1rem;
  background: #fafafa;
  color: #000;
  font-size: 0.75rem;
}
