/* FRAMEWORKS */

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

/* modules */
.mod-custom.custom {
  display: flex;
  box-sizing: border-box;
  flex-flow: row wrap;
  justify-content: center;
  padding: 0 50px;
  margin: 0 }

/* color scheme */
:root {
  --toy: #03AFFF;
  --blue: #073B5B }


/* typography */
body, p h1, h2, h3 { font-family: "neue-kabel", sans-serif }


/* links */
a {
  box-sizing: border-box;
  font-family: "neue-kabel", sans-serif;
  color: var(--blue);
  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 }


/* logo */
a.logo:hover { transform: scale(1.05) translateY(-5px) }

.carpentry { fill: var(--blue) }

.puzzle { 
  fill: var(--toy);
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5)) }

.toys { fill: var(--blue) }


/* 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) } to { -webkit-transform: scaleY(1); -moz-transform: scaleY(1); -o-transform: scaleY(1); -ms-transform: scaleY(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) }}


/* HOMEPAGE */

/* landing module */
body.homepage > .mod-custom.custom:nth-of-type(1) { 
  height: 100vh;
  padding-top: 50px }
  
  @media (min-width:1081px) { body.homepage > .mod-custom.custom:nth-of-type(1) { max-height: 100vh; padding-top: 100px; overflow: hidden }}

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

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

body.homepage 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 }

body.homepage a.logo:hover path.puzzle { transform: scale(0.8); transform-origin: right }


/* tagline: up your board game */
body.homepage h2 {
  flex: 1 1 100%;
  align-self: flex-start;
  font-size: 14px;
  text-align: center;
  color: var(--blue);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0;
  margin: 20px 0 0;
  opacity: 0;
  animation-name: reveal;
  animation-duration: 2s;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards }

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

body.homepage h2 span {
  position: relative;
  top: 5px;
  font-size: 2em;
  color: var(--toy) }

body.homepage h2 span:nth-of-type(1) { margin-left: 2px }
body.homepage h2 span:nth-of-type(2) { margin-right: 2px }


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

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


/* EST. */
body.homepage h3 {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 22px;
  font-weight: normal;
  text-align: center;
  color: var(--toy);
  text-transform: uppercase;
  padding-top: 15px;
  margin-bottom: 60px;
  border-top: 1px solid var(--toy);
  transform: scaleY(0);
  transform-origin: top;
  animation-name: scaleY;
  animation-duration: 0.5s;
  animation-delay: 2s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards }

  @media (min-width:1081px) { body.homepage h3 { font-size: 18px; padding-top: 20px; margin-bottom: 100px }}

body.homepage h3 span { color: var(--blue); padding-left: 10px }

body.homepage h3 i {
  color: var(--blue);
  padding-left: 15px }

/* links */
body.homepage div.links {
  display: flex;
  flex: 1 1 100%;
  flex-flow: row wrap;
  align-content: center;
  align-items: center;
  padding-bottom: 50px;
  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: 2s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards }


/* Help Start our Instagram */
body.homepage a.insta-link {
  flex: 1 1 100%;
  font-size: 14px;
  color: var(--blue);
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  padding: 0 50px 30px }

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

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

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

body.homepage a.insta-link span { 
  font-size: 1.2em;
  color: var(--toy);
  font-style: italic;
  padding-right: 5px;
  padding-left: 5px }


/* Find us on Esty */
body.homepage a.etsy-link {
  display: block;
  flex: 1 1 100%;
  align-self: flex-end;
  font-size: 14px;
  color: var(--blue);
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  padding: 0 50px }
    
  @media (min-width:1081px) { body.homepage a.etsy-link { flex: 0 0 50%; font-size: 16px; text-align: right; order: 3 }}

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

body.homepage a.etsy-link > span:nth-of-type(1) { 
  font-size: 1.2em;
  color: var(--toy);
  font-style: italic;
  padding-right: 5px;
  padding-left: 5px }

body.homepage a.etsy-link > span:nth-of-type(2) {
  font-family: lindsey-signature, sans-serif;
  font-size: 28px;
  color: var(--blue);
  text-transform: none;
  padding-right: 10px;
  padding-left: 10px }

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