/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
  
   body {
    font-family: 'Rokkitt', serif;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at center, #e1cfad 0%, #e1cfad 70%, #d5bd8d 100%);
    background-attachment: fixed;
    /* padding: 0 50px; */
   }

   .nav-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #e1cfad;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  backdrop-filter: saturate(1.05) blur(2px);
}

/* nav container and border line */
.nav-bar nav {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(59,52,40,0.12);
  transition: box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

/* remove bottom border when nav is stuck (use the sentinel script you already have) */
.nav-bar.stuck nav {
  border-bottom: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* link styles */
.nav-bar a {
  color: #3b3428;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.35rem;
  transition: color .15s ease, transform .08s ease;
  border-radius: 4px;
}

/* hover / focus */
.nav-bar a:hover,
.nav-bar a:focus {
  color: #111;
  transform: translateY(-2px);
  outline: none;
  background: rgba(59,52,40,0.04);
}

/* active/current link visual (add .active to current link) */
.nav-bar a.active {
  color: #111;
  box-shadow: inset 0 -3px 0 #3b3428;
}

/* accessible focus ring */
.nav-bar a:focus-visible {
  box-shadow: 0 0 0 3px rgba(59,52,40,0.12);
}

   .container {
    justify-content: center;
    text-align: center;
    /* border: 2px solid black; */
    width: 80%;
   }

   h1 {
    font-size: 3em;
    line-height: 1;
   }

   .content h2 {
    text-align: left;
    font-size: 2em;
    padding-left: 95px;
   }


   .biography{
    display: flex;
    gap: 50px;
    padding-left: 95px;
    padding-right: 95px;
    margin-bottom: 50px;
    /* border: #000 2px solid; */
    align-items: center;
   }

   .portrait {
    width: 350px;
  height: auto;
  max-width: 100%;
  display: block;
  box-sizing: border-box;

  /* picture-frame effect */
  padding: 16px;               /* "mat" space between image and frame */
  background: #f7efe0;         /* mat color (paper) */
  border: 10px solid #3b3428;  /* outer wooden frame color */
  border-radius: 6px;          /* rounded frame corners */
  box-shadow:
    0 12px 30px rgba(0,0,0,0.25), /* drop shadow */
    inset 0 3px 0 rgba(255,255,255,0.06); /* subtle inner highlight */
  align-self: center;
   }

   .content p {
    font-size: 1.35em;
    line-height: 1.6;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
   }

   .timeline p{
    padding-left: 95px
   }
   
   .timeline h3 {
    text-align: left;
    padding-left: 95px;
    font-size: 1.5em;
   }




   .info {
    text-align: left;
    /* border: #000 2px solid; */
   }


/* PAGE 2 */

.content-saskia {
  padding-left: 95px;
  padding-right: 95px;
}

.biography-saskia {
  display: flex;
  margin-top: 25px;
}

.info h1 {
  font-size: 3em;
  padding-bottom: 10px;
  margin-top: 0;
  padding-left: 20px;
}

.portrait-saskia {
  width: 300px;
  height: auto;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 14px;
  background: #f7efe0;
  border: 8px solid #3b3428;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.20), inset 0 2px 0 rgba(255,255,255,0.05);
  align-self: center;
}

.info ul {
    font-size: 1.35em;
}

.about h2 {
  font-size: 2rem;
  margin-top: 50px;
  text-decoration: underline;
}


.about-text p {
  font-size: 1.35em;
  line-height: 1.6;
  text-align: left;
}


.site-footer {
  /* full-bleed footer that reaches both edges of the viewport */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  margin-top: 100px;

  padding: 1rem 2rem;
  background: #e1cfad;
  color: #3b3428;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid rgba(59,52,40,0.12);
}


/*  */
.site-footer img {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
  margin-top: 30px;
}

/* make timeline lists left-aligned and keep nested lists indented */
.timeline {
  /* keep headings/intro as-is but ensure lists default to left */
  text-align: center; /* preserve intro centering if desired */
}

.timeline ul {
  font-size: 1.35rem;
  text-align: left;         /* left-align bullets and text */
  list-style: disc;         /* standard bullets */
  padding-left: 120px;       /* match the same page padding */
  margin: 0.5rem 0 0 0;     /* tidy spacing */
}

.timeline ul li {
  margin: 0.4rem 0;         /* vertical spacing between items */
}

/* nested lists (sub-items) */
.timeline ul ul {
  list-style: circle;
  padding-left: 95px;       /* nested lists use the same left padding */
  margin-top: 0.25rem;
}

/* alternative: if you want the whole timeline block left-aligned, uncomment */
/*
.timeline {
  text-align: left;
}
*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

