/* CONTAINERS *************************************/

html, body {
	padding: 0;
	margin: 0;
	cursor: default;
	overflow-x: hidden }

.mod-custom.custom {
	display: flex;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	flex-flow: row wrap;
	justify-content: center;
	padding: 0;
	margin: 0 }

section {
	display: none;
	position: relative;
	width: 100%;
	height: 100vh;
	box-sizing: border-box;
	flex-flow: row wrap;
	justify-content: center;
	padding: 0;
	margin: 0;
	overflow: hidden }
  
	@media (min-width:1081px) { section { max-height: 100vh }}

.wrapper {
	display: flex;
	flex: 1 1 100%;
	position: relative;
	width: 100%;
	height: 100vh;
	align-content: center;
	align-items: center;
	box-sizing: border-box;
	flex-flow: row wrap;
	justify-content: center;
	padding: 50px;
	margin: 0 }
  
	@media (min-width:1081px) { .wrapper { padding: 100px }}



/* COLOR SCHEME **********************************/
:root {
  --cg: #0d171f }



/* TYPOGRAPHY ************************************/
body, p h1, h2, h3 { font-family: "eb-garamond", serif }

p {
  flex: 1 1 100%;
  font-size: 16px;
  line-height: 26px;
  color: var(--cg);
  text-align: center;
  opacity: 0;
  animation-name: reveal;
  animation-duration: 2s;
  animation-delay: 2s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards }

  @media (min-width:1081px) {p { font-size: 22px; line-height: 36px; }}

h2 {
  flex: 1 1 100%;
  font-size: 28px;
  text-align: center;
  color: var(--cg);
  font-weight: normal;
  letter-spacing: 1px;
  padding: 0;
  margin: 0 }

  @media (min-width:1081px) { h2 { font-size: 32px }}
  @media (min-width:1600px) { h2 { font-size: 36px }}
  @media (min-width:1921px) { h2 { font-size: 40px }}

h3 {
  flex: 1 1 100%;
  font-size: 26px;
  text-align: center;
  color: var(--cg);
  font-weight: normal;
  letter-spacing: 1px;
  padding: 0;
  margin: 0 }

  @media (min-width:1081px) { h2 { font-size: 28px }}
  @media (min-width:1600px) { h2 { font-size: 32px }}
  @media (min-width:1921px) { h2 { font-size: 36px }}

a {
  box-sizing: border-box;
  font-family: "eb-garamond", serif;
  color: var(--cg);
  text-decoration: none;
  -moz-transition: all 1s 0s ease-out;
  -o-transition: all 1s 0s ease-out;
  -ms-transition: all 1s 0s ease-out;
  transition: all 1s 0s ease-out;
  cursor: pointer }



/* KEYFRAMES **************************************/
@keyframes reveal { 0% { opacity: 0 } 100% { opacity: 1 }}

@keyframes scale { from { -webkit-transform: scaleX(0); -moz-transform: scaleX(0); -o-transform: scaleX(0); -ms-transform: scaleX(0); transform: scale(0) } to { -webkit-transform: scaleX(1); -moz-transform: scaleX(1); -o-transform: scaleX(1); -ms-transform: scaleX(1); transform: scale(1) }}

@keyframes scaleY { from { -webkit-transform: scaleY(0); -moz-transform: scaleY(0); -o-transform: scaleY(0); -ms-transform: scaleY(0); transform: scaleY(0) } to { -webkit-transform: scaleY(1); -moz-transform: scaleY(1); -o-transform: scaleY(1); -ms-transform: scaleY(1); transform: scaleY(1) }}

@keyframes scaleX { from { -webkit-transform: scaleX(0); -moz-transform: scaleX(0); -o-transform: scaleX(0); -ms-transform: scaleX(0); transform: scaleX(0) } to { -webkit-transform: scaleX(1); -moz-transform: scaleX(1); -o-transform: scaleX(1); -ms-transform: scaleX(1); transform: scaleX(1) }}

@keyframes rotate { 0% { -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg) } 100% { -webkit-transform: rotate(360deg); -moz-transform: rotate(360deg); -o-transform: rotate(360deg); -ms-transform: rotate(360deg); transform: rotate(360deg) }}



/* SECTION: HOME ***********************************/

/* logo */
#home { display: flex }

#home a.logo { 
  display: block;
  position: relative;
  width: 100vw;
  max-width: 700px;
  align-self: flex-end;
  margin: 0 auto;
  opacity: 0;
  animation-name: reveal;
  animation-duration: 2.5s;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards }

  @media (min-width:581px) { #home a.logo { width: 50vw }}
  @media (min-width:1081px) { #home a.logo { width: 45vw }}
  @media (min-width:1600px) { #home a.logo { width: 35vw }}
  @media (min-width:1921px) { #home a.logo { width: 25vw }}

#home a.logo:hover { transform: scale(1.05) }

#home a.logo svg path { 
  -webkit-transition: all 0.5s 0s ease-out;
  -moz-transition: all 0.5s 0s ease-out;
  -o-transition: all 0.5s 0s ease-out;
  -ms-transition: all 0.5s 0s ease-out;
  transition: all 0.5s 0s ease-out }

#home a.logo:hover { transform: scale(1.1) }


#home a.logo #left-line, #home a.logo #right-line { fill: none;
  stroke: #000000;
  stroke-width: 2px;
  -webkit-transform: scaleX(0); 
  -moz-transform: scaleX(0);
  -o-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  animation-name: scaleX;
  animation-duration: 0.5s;
  animation-delay: 2.75s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards }

#home a.logo #left-line { transform-origin: left }
#home a.logo #right-line { transform-origin: right }


/* Specialized Game Boards */
#home h2 {
	font-size: 18px;
	align-self: flex-start;
	margin: 20px 0 0;
	opacity: 0;
	animation-name: reveal;
	animation-duration: 2s;
	animation-delay: 2s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards }

  @media (min-width:1081px) { #home h2 { font-size: 18px }}
  @media (min-width:1600px) { #home h2 { font-size: 20px; margin: 30px 0 0 }}
  @media (min-width:1921px) { #home h2 { font-size: 24px }}


/* Family-Owned | Northern Virginia */
#home p {
  opacity: 0;
  animation-name: reveal;
  animation-duration: 2s;
  animation-delay: 2s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards }


/* Handcrafted in the U.S.A. */
#home h3 {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 26px;
  font-weight: normal;
  text-align: center;
  color: var(--cg);
  padding-top: 15px;
  margin-bottom: 120px;
  border-top: 1px solid var(--cg);
  transform: scaleY(0);
  transform-origin: top;
  animation-name: scaleY;
  animation-duration: 0.5s;
  animation-delay: 2.75s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards }

  @media (min-width:1081px) { #home h3 { font-size: 18px; padding-top: 20px; margin-bottom: 200px }}

#home h3 span { padding-left: 10px }

#home h3 i {
	color: var(--cg);
	padding-left: 10px }

	@media (min-width:1081px) { #home h3 i { font-size: 28px }}

/* links */
#home div.links {
  display: flex;
  flex: 1 1 100%;
  flex-flow: row wrap; 
  align-content: center;
  align-items: center;
  transform: scale(0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  animation: scale;
  animation-duration: 0.5s;
  animation-delay: 2.75s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards }


/* Find us on Esty */
#home a.insta-link {
  flex: 1 1 100%;
  font-size: 14px;
  color: var(--cg);
  font-weight: bold;
  text-align: center;
  padding: 0 0 30px }

  @media (min-width:1081px) { #home a.insta-link { flex: 0 0 50%; font-size: 16px; text-align: left; padding: 0 50px; order: 1 }}

#home a.insta-link:hover { transform: scale(1.05) translateY(-5px) }

#home a.insta-link i {
  font-size: 18px;
  padding-right: 10px }

#home a.insta-link span:nth-of-type(1) { 
  font-size: 16px;
  color: var(--cg);
  font-style: italic;
  padding-right: 5px;
  padding-left: 0 }

#home a.insta-link span:nth-of-type(2) {
  font-family: lindsey-signature, sans-serif;
  font-size: 22px;
  color: var(--cg) }

/* Help Start our Instagram */
#home a.etsy-link {
  display: block;
  flex: 1 1 100%;
  align-self: flex-end;
  font-size: 14px;
  color: var(--cg);
  font-weight: bold;
  text-align: center;
  padding: 0 50px }
    
  @media (min-width:1081px) { #home a.etsy-link { flex: 0 0 50%; font-size: 16px; text-align: right; order: 3 }}

#home a.etsy-link:hover { transform: scale(1.05) translateY(-5px) }

#home a.etsy-link > span:nth-of-type(1) { 
  font-size: 16px;
  color: var(--cg);
  font-style: italic;
  padding-right: 5px;
  padding-left: 5px }

#home a.etsy-link > span:nth-of-type(2) {
  font-family: lindsey-signature, sans-serif;
  font-size: 20px;
  color: var(--cg);
  padding-right: 10px;
  padding-left: 10px }

  @media (min-width:1081px) { #home a.etsy-link > span:nth-of-type(2) { font-size: 44px }}


/* SECTION: WELCOME ***********************************/
#welcome .wrapper { max-width: 1060px }

/* SECTION: BOARDS ***********************************/
#boards .wrapper { max-width: 1060px }

/* SECTION: OUR STORY ***********************************/
#our-story .wrapper { max-width: 1060px }

/* SECTION: CRAFTSMANSHIP ***********************************/
#craftsmanship .wrapper { max-width: 1060px }

/* SECTION: CUSTOM ORDERS ***********************************/
#custom-orders .wrapper { max-width: 1060px }

/* SECTION: SHOP ***********************************/
#shop .wrapper { max-width: 1060px }

/* SECTION: CONTACT ***********************************/
#contact .wrapper { max-width: 1060px }