/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/2fce43");

  
@font-face { 
	font-family: "Benton Sans"; 
	src: url(fonts/BentonSans-Regular.otf); 
	font-weight: normal; 
}

@font-face { 
	font-family: "Benton Sans Medium"; 
	src: url(fonts/BentonSans-Medium.otf); 
	font-weight: normal; 
}

@font-face { 
	font-family: "Antenna Light"; 
	src: url(fonts/Antenna-Light.otf); 
	font-weight: normal; 
}

* {
  box-sizing: border-box;
}

html {
  overscroll-behavior: contain;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {

  --activeColor: #000;
  --hoverColor: #000;
  --navBgColor: #e7eeed;
  --navTextColor: #000;
  font-family: "Benton Sans";
  min-height: 100vh;
  margin: 0;
  color: #8c7878;
}

img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

#logo {
    line-height: 0;
}

#logo img {
    width: 60%
}

/*
@media only screen and (min-width: 768px) {
	
    #logo .logo-img {
        width: 163px;
        height: 163px;
    }
    
    #logo svg {
        width: 300px;
        height: 15px;
    }
}
*/

section {
  --h: calc(var(--i) * 30);
  min-height: 100vh;
  padding: 8rem 0 max(5vh, 2rem);
  padding: max(5vh, 2rem) 0 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(var(--h, 0), 75%, 60%);
  background-color: white;
}

section:nth-of-type(even) {
	background-color: #f8f8f8;
}

.container {
  width: 100%;
  max-width: 80rem;
  padding: 0 max(5vw, 1rem);
  transform-style: perspective-3d;
  perspective: 900px;
}
@media (min-width: 32em) {
  .container {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
  }
}

nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--navBgColor);
  color: var(--navTextColor);
  z-index: 2;
  height: 7rem;
}
nav::after {
  content: "";
  position: absolute;
  top: 2.7rem;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: currentColor;
  pointer-events: none;
  z-index: -1;
}

.marker {
  position: fixed;
  bottom: 51px;
  left: 4rem;
  width: 1rem;
  height: 1rem;
  transform: translate3d(-50%, -50%, 0);
  background: var(--activeColor);
  border-radius: 100%;
  z-index: 2000;
  display: none;
}
.marker::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.2rem);
  right: 100%;
  width: 4rem;
  height: 0.4rem;
  background-color: var(--activeColor);
}

.nav__track {
  position: relative;
  min-width: max(200rem, 200%);
  padding: 1.5rem max(100rem, 100%) 0 0;
  padding: 2.5rem max(100rem, 100%) 0 0;
  height: 7rem;
}

.nav__list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: block;
  min-width: 8rem;
  padding: 2.25rem 1rem 0.5rem;
  text-align: center;
  color: inherit;
  text-decoration: none;
  z-index: 1;
  transition: color 250ms;
}
.nav__link:hover, .nav__link:focus {
  color: var(--hoverColor);
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  background-color: currentColor;
  border-radius: 50%;
  transform: translate3d(-50%, 0, 0);
  transform-origin: center center;
}
.nav__link.hidden::after {
	display: none;
}
.nav__link span {
  display: block;
  transition: transform 200ms;
}
.nav__link.is-active span {
  transform: scale(1.4);
  color: var(--activeColor);
}
.nav__link.is-active::after {
//  display: none;
	transform: scale(2);
}

#section_1 .container {
	display: block;
}

#section_1 .section__heading {
	color: #8d1926;
	font-size: 1.5rem;
	transform: none !important;
	opacity: 1 !important;
	rotate: none !important;
	translate: none !important;
}

#section_1 .heading {
	margin-top: 40px;
	margin-bottom: 1em;
	line-height: 1.5;
}

#section_1 .intro {
	grid-row: 2;
    grid-column: 2 / span 7;
    margin: 40px auto 0;
}

#section_14 .section__image {
    grid-column: 6 / span 2;
}

.section__heading {
	color: #8d1926;
  font-size: 3rem;
  font-family: "Antenna Light";
  font-weight: normal;
  margin: 0 0 1rem;
  margin: 0;
  grid-row: 1;
  grid-column: 1/span 7;
  align-self: end;
  position: relative;
  z-index: 1;
}

.section__image {
  grid-row: 1;
  grid-column: 5/span 3;
  position: relative;
  box-shadow: 0.45rem 0.45rem 8rem rgba(0, 0, 0, 0.3);
  align-self: center;
  opacity: 1 !important;
}
.section__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
 // background-color: hsl(var(--h, 0), 50%, 50%);
  mix-blend-mode: screen;
}
.section__image img {
 // filter: brightness(0.5) grayscale(100%);
}

.section-content {
	font-size: 1.25rem;
	line-height: 1.7;
	grid-row: 2;
    grid-column: 1 / span 7;
    max-width: 900px;
    margin-top: 20px;
}

.section-content .title {
	color: #8d1926;
	font-size: 2rem;
	font-family: "Antenna Light";
	display: block;
	line-height: 1.3;
    margin: 2rem 0 1rem;
}

.section-content p {
	margin: 0 0 .75rem;
}

.section-content img {
	width: auto;
}

.section-content a {
	color: #8d1926 !important;
	text-decoration: underline;
}

.intro a {
	color: black;
	transition: all .3s;
}

.intro a:hover {
	color: #e8b923;
}


svg {
  width:100%;
  position: fixed;
  bottom: 0;
}
.wave {
  animation: wave 23s linear;
  animation-iteration-count:infinite;
  fill: #C00;
}

@keyframes wave {
  to {transform: translateX(-100%);}
}

@media only screen and (min-width: 768px) {
	
    .section__heading {
	    font-size: 6rem;
    }
    
    #section_1 .section__heading {
	    font-size: 2rem;
    }
}
