:root {
  --font-size-xs:      clamp(12px, 1vw,      15px);
  --font-size-sm:      clamp(15px, 1.25vw,   18px);
  --font-size-md:      clamp(16px, 2.5vw,    21px);
  --font-size-lg:      clamp(24px, 3.33vw,   36px);
  --font-size-xl:      clamp(36px, 5.5vw,    60px);
}

@font-face {
    font-family: 'F37Caslon-RegularText';
    src: url('fonts/F37Caslon-RegularText.woff2') format('woff2'),
        url('fonts/F37Caslon-RegularText.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
/* 
@font-face {
    font-family: 'Avenir Italic';
    src: url('fonts/AvenirNextLTPro-It.woff2') format('woff2'),
        url('fonts/AvenirNextLTPro-It.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Regular';
    src: url('fonts/AvenirNextLTPro-Regular.woff2') format('woff2'),
        url('fonts/AvenirNextLTPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */

.font-size-sm {
  font-size: var(--font-size-sm);
}

body {
  font-family: 'F37Caslon-RegularText';
  font-size: var(--font-size-md);
  background-color: #FFF;
  color: #000;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  line-height: 1.2;
}

header {
  margin: 1rem auto 0 1.5rem;
  z-index: 5;
  position: fixed;
}

p {
  margin: 0;
}

p:last-of-type {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: .5 all ease-out;
  border-bottom: 1px solid;
  cursor: pointer;
}

a:hover {
  transition: .5 all ease-out;
  border-bottom: transparent;
}

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

h2 {
  font-size: var(--font-size-md);
}


.logo {
  fill: currentColor;
  padding: 2rem 0;
  margin: auto auto 0;

}

.details {
  margin: 2rem auto;
}

.details.footer{
  padding-bottom: 2rem;
  margin: auto auto 0;
}

.max-width {
  width: 80%;
  max-width: 800px;
}

svg {
  fill: currentColor;
}
