/* reset.css: CSS Reset & Normalize for consistent cross-browser rendering */

/* 1. Use a modern CSS reset (based on Andy Bell's and Josh Comeau's recommendations */

@layer portfolio-reset {

  html:focus-within { scroll-behavior: smooth; }

  *, *::before, *::after {
    box-sizing: border-box;
  }

  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #222;
  }

  body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  img, picture, video, canvas, svg {
    /* display: block; */
    max-width: 100%;
    height: auto;
  }

  h1, h2, h3, h4, h5, h6,p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
  }

  button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  a {
    /* color: inherit; */
    text-decoration: none;
  }

  ul, ol {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
  }

}
