@font-face {
  font-family: 'Hero';
  src: url('./fonts/hero.woff2');
}
@font-face {
  font-family: 'Kieth';
  src: url('./fonts/kieth.woff2');
}

/* Reset */

:root {
  --hero-ff: 'Hero', sans-serif;
  --kieth-ff: "Kieth", sans-serif;
  --color-ws: #f5f5f5; /* Whitesmoke */
  --color-bg: #A7A7A7;
  --color-rt: #202020;
  --color-tb: #6495ed; /* Twitter blue */
  --color-sm: #7269C8;
  --color-s2: #84329b;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 100%;
  background-color: var(--color-bg);
  color: var(--color-rt);
  font-family: 'Kieth';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#header-div,
#footer-div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#header-div {
  z-index: 10;
  position: absolute;
}
#header-div a {
  width: 100%;
  text-align: center;
}
#header-div .box,
#footer-div {
  background: linear-gradient(to right, var(--color-s2) 0, var(--color-tb) 100%);
  color: var(--color-ws);
  padding: .5rem 0;
}
#header-div .box h3 {
  font-family: 'Kieth';
  margin-bottom: -5px;
}
header {
  width: 95vw;
  max-width: 1024px;
  height: min-content;
  display: flex;
  justify-content: center;
  align-items: center;
}
header #logo-text{
  color: var(--color-ws);
  font-size: clamp(2rem, 13vw, 3rem);
  text-transform: uppercase;
}
main {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
section {
  min-width: 100%;
  display: flex;
  justify-content: center;
}
#hero {
  width: 100%;
  height: 100svh;
  align-items: center;
  padding-top: 95px;
  background: linear-gradient(var(--color-ws), var(--color-bg));
}
#hero .hero-wrap {
  width: 95vw;
  max-width: 1024px;
  display: flex;
  flex-wrap: wrap;
}
#hero .hero-wrap .box-tr,
#hero .hero-wrap .box-bl {
  width: 100%;
  height: 40vh;
}
#hero .hero-wrap .box-tr {
  background-image: url('./images/pawn-king.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#hero .hero-wrap .box-bl {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
}
#hero .hero-wrap .box-bl h2 {
  width: 320px;
  font-size: 2.3rem;
  text-align: center;
}
#hero .hero-wrap .box-bl .box {
  display: flex;
}
#hero .hero-wrap .box-bl .box a {
  display: flex;
  align-items: center;
  margin: 0 .5rem;
}
.fwj-container,
.dtj-container,
.vh-fwj,
.vh-dtj,
#footer-div {
  padding: 1rem 0;
}
.fwj-container {
  width: 95vw;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.box-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: top;
  padding-top: 1rem;
}
.fwj-container .box-container .box {
  width: 100%;
  padding-bottom: 1rem;
}
.dtj-container {
  width: 95vw;
  max-width: 1024px;
  min-height: 100svh;
}
.vh-fwj,
.vh-dtj { 
  width: 95vw; 
  height: max-content;
}
.vh-fwj {
  background-color: green;
}
.vh-dtj {
  max-width: 1024px;
  background-color: rgb(31, 148, 31);
}
.section-header {
  width: 100%;
  max-height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
}
#footer-div footer {  
  width: 95vw;
  max-width: 1024px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#footer-div footer .box {
  width: 100%;
  padding-top: 1rem;
}
#footer-div footer h6 {
  width: 100%;
  text-align: center;
}
h1, h2, h3 {
  font-family: var(--hero-ff);
}
p {
  margin-bottom: .8rem;
}
a {
  text-decoration: none;
  color: var(--color-ws);
  font-weight: 600;
  text-shadow: 3px 4px 20px var(--color-sm);
  transition: all 0.7s ease;
}
a:hover {
  color: var(--color-sm);
  text-shadow: 3px 4px 20px var(--color-s2)
}
img, picture, svg, video {
  display: block;
  max-width: 100%;
}
li {
  list-style-type: none;
}
/* Use this selector to apply your own id to the hero id in child pages, or any other layout elements you want hidden */
.hide {
  display: none;
}
.show {
  display: flex;
}
/* @media (prefers-reduced-motion: reduce) {} */

/* *** MOBILE FIRST *** min-width: 320px */


@media (min-width: 600px) {
  #footer-div footer .box {
    width: 285px;
  }
}

@media (min-width: 768px) {
  .fwj-container .box {
    width: 100%;
    max-width: 324px;
  }  
}

@media (min-width: 1024px) {
  #hero .hero-wrap {
    flex-direction: row-reverse;
  }
  #hero .hero-wrap .box-bl,
  #hero .hero-wrap .box-tr {
    width: 50%;
    align-items: end;
    text-align: right;
  }
  #hero .hero-wrap .box-bl h2 {
    width: 100%;
    font-size: 4rem;
    text-align: right;
  }
  .fwj-container .box {
    width: 100%;
    max-width: 33%;
  }  
}

/* 
@media (min-width: 1440px)
@media (min-width: 2560px) 
*/