:root {
    color-scheme: dark;
}
::selection { background: #00a6ff; color: #000; }
:focus-visible { outline: 2px solid #00a6ff; outline-offset: 3px; }

body {
    background: #000;
    color: #e8e8e8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: system-ui, sans-serif;
    font-size: 18px;
    padding: clamp(10px, 10vw - 20px, 50px);


    &.narrow {
      padding: clamp(20px, 10vw - 20px, 100px);
      max-width: 600px;
    }
}

p {
    line-height: 1.8;
}

p img {
    vertical-align: baseline;
    width: auto;
}

a {
    color: #00a6ff;
}

h1 {
    color: white;
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: 1000;
}

a.i {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    span {
        font-weight: bold;
        color: #fff;
        opacity: 0.5;
        transition: opacity 0.6s;    /* out: slow release */
    }
    svg {
        fill: #fff;
        opacity: 0.2;
        flex-shrink: 0 !important;
        transition: opacity 0.6s;
    }
    &:hover *,
    &:focus-visible * {
        opacity: 1;
        transition: opacity 0.15s;   /* in: instant response */
    }
}

.gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;

  img {
    width: auto;
    height: 350px;
    max-width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 600px) {
  .gallery img {
    width: 100%;
    height: auto;
  }
}
