/* Layout: center the image, adjust side margins responsively */
html, body {
  margin: 0;
  padding: 0;
  background: #b9e0e8 !important;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: #b9e0e8;
  color: CanvasText;
}

.page-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding-left: 6vw;
  padding-right: 6vw;
}

/* Increase side margins on very large screens, reduce on small screens */
@media (min-width: 1200px) {
  .page-container { padding-left: 12vw; padding-right: 12vw; }
}

@media (max-width: 600px) {
  .page-container { padding-left: 4vw; padding-right: 4vw; }
}

.image-wrapper {
  width: 100%;
  max-width: 700px; /* cap max visual width for a skinny layout */
  margin-left: auto;
  margin-right: auto;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* Stack layout for sliced mainpage */
.stacked-slices {
  display: flex;
  flex-direction: column;
  gap: 0;
  position:relative;
}

.stacked-slices img {
  width: 100%;
  height: auto;
  display: block;
}

.slice-brainteaser {
  position: relative;
  text-align: center;
}

.slice-brainteaser img {
  width: 100%;
  height: auto;
  display: block;
}

.bt-button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  width: 100%;
  max-width: 600px; /* optional: prevent giant scaling on large screens */
}

.bt-button img {
  width: 100%;
  height: auto;
  display: block;
}

.slice { position: relative; }
.slice img { display: block; width: 100%; height: auto; }

.resume-box {
  position: absolute;
  /* Debug placement: make the box large and at the top-left of the image */
  left: 0;
  top: 19%;
  width: 100%;
  height: 6%;
  display: block;
  /* outline: 3px dashed #ff4d00; 
  background: rgba(255, 77, 0, 0.15); */
  z-index: 2;
  cursor: pointer;
}

.slice-hobbies .overlay-link {
  position: absolute;
  top: 65%;
  left: 64%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  z-index: 5;
  /* debug: */
  /* outline: 2px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */
  display: block;
  box-sizing: border-box;
}

/* journal entries */

.slice-py-one-line .ans-link {
  position: absolute;
  top: 96%;
  left: 25%;
  width: 240px;         /* pick your fixed size */
  height: 40px;
  transform: translate(-50%, -50%);
  /* outline: 3px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */

  z-index: 10;
  pointer-events: auto; /* blocks clicks to the link below */
  box-sizing: border-box;
}


/* education */
.slice-education .overlay-waterloo {
  position: absolute;
  top: 65%;
  left: 28%;
  width: 280px;         /* pick your fixed size */
  height: 160px;
  transform: translate(-50%, -50%);
  /* outline: 3px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */

  z-index: 10;
  pointer-events: auto; /* blocks clicks to the link below */
  box-sizing: border-box;
}

/* company logo links */
.slice-experience .overlay-abnormal {
  position: absolute;
  top: 23%;
  left: 18%;
  width: 160px;         /* pick your fixed size */
  height: 160px;
  transform: translate(-50%, -50%);
  /* outline: 3px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */

  z-index: 10;
  pointer-events: auto; /* blocks clicks to the link below */
  box-sizing: border-box;
}

.slice-experience .overlay-borealis {
  position: absolute;
  top: 44.5%;
  left: 18%;
  width: 160px;         /* pick your fixed size */
  height: 160px;
  transform: translate(-50%, -50%);
  /* outline: 3px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */

  z-index: 10;
  pointer-events: auto; /* blocks clicks to the link below */
  box-sizing: border-box;
}

.slice-experience .overlay-awn {
  position: absolute;
  top: 66%;
  left: 18%;
  width: 160px;         /* pick your fixed size */
  height: 160px;
  transform: translate(-50%, -50%);
  /* outline: 3px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */

  z-index: 10;
  pointer-events: auto; /* blocks clicks to the link below */
  box-sizing: border-box;
}

.slice-experience .overlay-etr {
  position: absolute;
  top: 87.5%;
  left: 18%;
  width: 160px;         /* pick your fixed size */
  height: 160px;
  transform: translate(-50%, -50%);
  /* outline: 3px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */

  z-index: 10;
  pointer-events: auto; /* blocks clicks to the link below */
  box-sizing: border-box;
}

/* leadership */
.slice-leadership .overlay-htn {
  position: absolute;
  top: 47%;
  left: 18%;
  width: 160px;         /* pick your fixed size */
  height: 160px;
  transform: translate(-50%, -50%);
  /* outline: 3px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */

  z-index: 10;
  pointer-events: auto; /* blocks clicks to the link below */
  box-sizing: border-box;
}
.slice-leadership .overlay-watstreet {
  position: absolute;
  top: 78%;
  left: 18%;
  width: 160px;         /* pick your fixed size */
  height: 160px;
  transform: translate(-50%, -50%);
  /* outline: 3px dashed #ff4d00;
  background: rgba(255, 77, 0, 0.15); */

  z-index: 10;
  pointer-events: auto; /* blocks clicks to the link below */
  box-sizing: border-box;
}



