/*!
Name: Everlasting Eye Care
URI: https://www.everlastingeyecare.com/
Author: Donny Truong
Author URI: http://www.visualgui.com/
Description: Responsive design, readability
Version: 1.0
*/
@font-face {
  src: url("/fonts/Lexend[LXND,wght].woff2") format("woff2");
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  src: url("/fonts/Literata-Regular-VF.woff2") format("woff2");
  font-family: "Literata";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* Primary Styles
   Author: Donny Truong
*/
/* Base Rules */
@viewport {
  width: device-width;
}
:root {
  font-size: 100%;
}

body {
  color: #444;
  background-color: #fff;
  font: 100%/1.4 "Lexend", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-align: left;
  padding: 0;
  margin: 0 auto;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: "kern", "liga", "clig", "calt", "lnum";
  font-variation-settings: "wght" 400, "LXND" 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 2em;
  margin: 1em 0 0 0;
  font-family: "Literata", Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
  font-variation-settings: "wght" 500, "opsz" 72;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 2em;
  margin: 0.5em 0;
  font-variation-settings: "wght" 700, "opsz" 72;
}

h2 {
  font-size: 1.6em;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.8em;
}

p, img {
  margin: 1em 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 2em 0;
  padding: 0;
}

.thin-header {
  font-variation-settings: "wght" 400, "opsz" 72;
}

nav, [role=contentinfo] {
  font-weight: 400;
  line-height: 1.2;
}

img, iframe, embed, object, video {
  max-width: 100%;
}

img {
  height: auto;
  width: 100%;
  vertical-align: middle;
}

a {
  color: #ED1C24;
  text-decoration: none;
}

a:visited {
  color: #ED1C24;
}

a:hover {
  color: #444;
}

a {
  transition: all 0.5s ease;
}
a img, a svg {
  transition: opacity 0.2s ease-in-out;
}

a:hover img {
  opacity: 0.7;
}

/*
main {
	a:link, a:visited, a:active, a:hover  {text-decoration: underline; text-decoration-skip-ink: auto; }
	}

*/
sup {
  vertical-align: super;
}

ul, ol, dd {
  margin: 1em;
  padding: 0;
}

ul li li, ol li li {
  margin: 0 0 0 1em;
}

nav ul, nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* Mobile First */
[role=banner], nav, [role=presentation], main, [role=contentinfo] {
  padding: 1em;
}

[role=banner] {
  padding-top: 1em;
  text-align: center;
}

#logo {
  width: 225px;
}

.everlasting {
  fill: #444;
}

nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  font-size: 0.9em;
}
nav a:link, nav a:visited, nav a:active {
  color: #444;
}
nav a:hover {
  color: #ED1C24;
}
nav li[aria-current=page] a {
  color: #ED1C24;
}

#homepage {
  display: none;
}

.wrap-nav {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.wrap-footer {
  border-top: 1px solid #ccc;
}

footer p {
  font-size: 0.8em;
}

.social-icon {
  margin: 0.5em 0;
}

blockquote {
  margin: 0;
  padding: 0 0 1em 0;
}
blockquote p {
  text-indent: -0.3em;
  opacity: 0.8;
  margin-bottom: 0;
}
blockquote footer {
  text-align: right;
}

cite {
  font-style: normal;
  font-family: "Literata", Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
  font-variation-settings: "wght" 500, "opsz" 50;
  font-weight: 400;
}

.button a:link, .button a:active, .button a:visited {
  display: block;
  text-decoration: none;
  text-decoration-skip-ink: none;
  text-align: center;
  background: #ED1C24;
  padding: 1em 0;
  margin: 1em 0;
}
.button a:hover {
  color: #444;
  background: #444;
}

.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (min-width: 50em) {
  body {
    font-size: 118.8%;
  }

  #logo {
    width: 350px;
  }

  ul, ol, dd {
    margin: 1em 0;
  }

  [role=banner], [role=presentation], main, [role=contentinfo] {
    max-width: 60em;
    margin: auto;
  }

  nav {
    width: 40em;
    margin: auto;
  }

  #homepage {
    display: block;
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 2em;
  }

  .grid-span-2 {
    grid-column: span 2;
  }
}
/*Close media*/
@media print {
  body {
    width: 100%;
    margin: 0;
    padding: 1em;
    font-size: 9pt;
    line-height: 1.5;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: 12pt;
  }

  nav, [role=contentinfo] {
    display: none;
  }
}
/*Close media*/

/*# sourceMappingURL=style.css.map */
