@font-face {
  font-family: 'Vinnytsia Sans';
  src: url('/VinnytsiaSansReg.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Vinnytsia Sans';
  src: url('/VinnytsiaSansBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

:root {
  --bg: oklch(100% 0 0);
  --text: oklch(0% 0 0);
  --link: var(--text);
  --link-hover: oklch(50% 0.0977 46.47);
  --link-visited: rgba(0 0 0 / .5);
  --link-active: color-mix(in srgb, var(--link-hover) 60%, coral);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  position: relative;
  margin: 0;
  font-family: 'Vinnytsia Sans', 'Helvetica', 'Arial', sans-serif;
  font-size: 20px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--link);
  transition: color .3s;
  text-decoration-skip-ink: none;
  text-underline-offset: .15em;

  &:visited {
    color: var(--link-visited);
  }

  &:active {
    color: var(--link-active);
  }

  &:hover {
    color: var(--link-hover);
    transition: color 0s;
  }
}

h4 {
  margin: 0;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25em;

  padding: 1em 1em 2em;
  line-height: 1.2;

  h1 {
    font-size: 1em;
    line-height: inherit;
    margin: 0;
    padding: 0;
  }

  p {
    margin: 0;
    padding: 0;
    max-width: 12em;
  }

  a {
    color: currentColor;
  }

  .links {
    margin-top: .5em;
  }

  .header-main {
    margin-bottom: 1.2em;
  }
}

h1 { font-size: 1.6em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1em; }
h5 { font-size: .8em; }
h6 { font-size: .6em; }

main {
  flex-grow: 1;
  padding: 1em 4em;

  @media only screen and (max-width: 1024px) {
    padding-inline: 1em;
  }
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 2em 1em 1em;
  gap: 4em;

  .copyyear {
    white-space: nowrap;
  }
}






/* Local Styles */
.oneline {
  display: inline-flex;
  vertical-align: top;

  .oneline-icon {
    display: inline-block;
    width: 1em;
    aspect-ratio: 1;
    margin-left: -1.2em;
    margin-right: 0.2em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.promo-logos {
  display: flex;
  flex-wrap: wrap;
  gap: min(4em, 8vw);
  /* max-width: 500px; */
}

.promo-logo-small {
  display: flex;
  width: 160px;
  height: 160px;
  justify-content: center;
  align-items: center;

  img {
    aspect-ratio: 1;
    object-fit: contain;
  }
}

.promo-logos-large {
  /* max-width: 1200px; */
}
.promo-logo-large {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 260px;
  height: 400px;
  flex-grow: 1;
  /* border-radius: 12px; */
}

.promo-oneliners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;

  .oneline {
    display: flex;
    width: fit-content;

    .oneline-icon {
      margin-left: unset;
    }
  }
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
  /* flex-direction: column; */
}

.promo-large-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}

.promo-large {
  display: inline-flex;
  flex-direction: column;
  align-self: baseline;
  text-decoration: none;
  
  &:hover {
    color: var(--text);

    .subj {
      color: var(--link-hover);
    }
  }
  
  
  figure {
    margin: 0;
  }

  figcaption {
    margin-top: .5em;

    .subj {
      text-decoration: underline;
    }
  }
}