/* load fonts in here  */

/* national 

@font-face {
  font-family: "halyard-display";
  src: url("../fonts/national/halyard-display.eot"),
  url("../fonts/national/halyard-display.woff") format("woff"),
  url("../fonts/national/halyard-display.woff2") format("woff2")



}

@font-face {
  font-family: "National2Web-Bold";
  src: url("../fonts/national/National2Web-Bold.eot"),
  url("../fonts/national/National2Web-Bold.woff") format("woff"),
  url("../fonts/national/National2Web-Bold.wof2f") format("woff2")
 
  
}*/




/***************************************** setting the base size */

html {
  font-size: 11px;
  -webkit-font-smoothing: subpixel-antialiased;
    -webkit-font-smoothing: antialiased;
  -webkit-font-smoothing: subpixel-antialiased !important; 
  -moz-osx-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media only screen and (min-width: 768px) {
        html {font-size: 12px;}
}
@media only screen and (min-width: 996px) {
        html {font-size: 14px;}
}
@media only screen and (min-width: 1200px) {
        html {font-size: 18px;}
}


/*************************************** type styles */

body {
  font-family: "halyard-display"; 
  font-weight: 400;
  line-height: 1.45;
  color: #003d58;


}

p, li {
  margin-bottom: 1.25em;
  font-size: 1.2rem;
}

/*li {
  color: #fff;
}
*/
h1, h2, h3, h4, h5 {
  margin: 1rem 0 2.25rem 0; /* this has been altered from the original */
  line-height: 1.15;
  font-weight: 600;
  font-family: "halyard-display"; 
  color: #003d58;
  letter-spacing: -0.01em;

}

h1 {
  margin-top: 0;
  font-size: 30px;}


h2 {font-size: 2.2rem;}

h3 {font-size: 1.8rem;}

h4 {font-size: 1.4rem;}

h5 {font-size: 1.6rem;}

.intro { line-height: 1.45; }

small, .text_small {font-size: 0.75em;}


@media only screen and (min-width: 996px) {
    h1 {
        margin-top: 0;
        font-size: 3.6vw;
      }

    p, li {
        margin-bottom: 1.25em;
        font-size: 1.1rem;
      }
}


/********* dividers **********/


.divider:after, .divider-sun:after, .divider-water:after {
  display: block;
  width: 50px;
  height: 3px;
  background-color: #80a340;
  content: " ";
  margin-top: 1.5rem;
}
.divider-sun:after {
  background-color: #ffad70;
}
.divider-water:after {
  background-color: #59c9eb;
}



/*********  **********/



p a, li a {
  color: inherit;
  text-decoration: none;
  padding-bottom: 0.02em;
  border-bottom: solid 1px;
  border-color: inherit;
  transition: all 0.3s;
}

p a:hover, li a:hover {
  color: inherit;
  border-color: transparent;
  padding-bottom: 0.02em;
  text-decoration: none;
  transition: all 0.3s;
}


/* this keeps the paragraphs a nce width */
/*@media only screen and (min-width: 1200px) {
  .content-block {
    max-width: 39.5vw;
  }
}*/



span {
  position: relative;
}

span::before {
  content: '';
  position: absolute;
  height: 2px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #3cefff;
  transform-origin: bottom left;
  transform: scaleX(1);
  transition: transform 0.3s ease-in-out;
}

span:hover::before {
  transform: scaleX(0);
  transform-origin: bottom right;
}
