/* ---------------- Base ---------------- */
body {
  background: rgba(255, 255, 234, 0.817);
  color: rgb(59, 157, 255);
  font-family: 'Futura', 'Arial', sans-serif;
  font-weight: lighter;
  padding: 40px;
  line-height: 1.4;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------------- Typography ---------------- */
h1 {
  font-size: 5em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2em;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

p {
  font-size: 2em;
  max-width: 600px;
}

/* ---------------- Links (FIXES PURPLE ISSUE) ---------------- */
a {
  color: rgb(59, 157, 255);   /* same as your text */
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:visited {
  color: rgb(59, 157, 255);   /* prevents purple */
}

a:hover {
  color: #5db3ff;
  opacity: 0.8;
}

a:active {
  color: #3a9cff;
}

/* ---------------- Sections ---------------- */
section {
  width: 80%;
  max-width: 800px;
  margin-top: 50px;
  padding: 20px;
  border-top: 1px solid rgb(59, 157, 255);
}

/* ---------------- Work Boxes ---------------- */
.work-box {
  display: block;
  text-decoration: none;
  color: inherit;

  padding: 20px;
  margin: 10px auto;
  width: 250px;

  border: none;
  background: none;

  transition: transform 0.2s ease, opacity 0.2s ease;
}

.work-box:hover {
  transform: scale(1.6);
  opacity: 0.7;
  cursor: pointer;
}

/* ---------------- Home Link ---------------- */
.home-link {
  text-decoration: none;
  color: inherit;
}

.home-link:hover h1 {
  color: #5db3ff;
  cursor: pointer;
}