/*
Theme Name: Too Good Enterprises Inc.
Theme URI: https://toogoodenterprises.com
Version: 1.0
Author: Too Good Enterprises Inc.
Author URI: https://toogoodenterprises.com
*/
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/Newsreader-VariableFont_opsz,wght.woff2') format('woff2');
}

@font-face {
  font-family: 'Squada One';
  src: url('fonts/SquadaOne-Regular.woff2') format('woff2');
}

:root
{
  font-size: 2vmin;
  --black: #1F1f1F;
  --pencil: #797979;
  --white: #F1F1F1;
  --header-font: 'squada one';
  --wpadminbarheight: 0px;
}
/* Reset rule */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body
{
  padding: 0px;
  margin: 0px;
  background: var(--white);
  color: var(--black);
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-rows: min-content auto  3rem;
  grid-template-areas:
    "header"
    "main"
    "footer";
  margin-top: calc(var(--wpadminbarheight) * -1);
  padding-top: var(--wpadminbarheight);
  overflow-x: hidden;
}
.tgei-page-header
{
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  font-family: 'Squada One';
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--white);
  width: 100%;
}
.tgei-page-header h1
{
  text-align: center;
  padding-left: max(50px, 15vw);
  padding-right: max(50px, 15vw);
}
main
{
  position: relative;
  grid-area: main;
  font-family: 'Newsreader';
  padding-left: max(50px, 15vw);
  padding-right: max(50px, 15vw);
  text-align: justify;
  max-height: 100%;
  overflow-y: auto;
  padding-bottom: 3rem;
}
main a
{
  color: var(--black);
}

main img
{
  max-width: 100%;
  display: block;
  margin: auto;
}
.tgei-page-footer
{
  grid-area: footer;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  position: sticky;
  z-index: 3;
  bottom: 0px;
  width: 100%;
  background: var(--white);
}
h1, h2, h3, h4, h5, h6
{
  font-family: var(--header-font);
  font-weight: normal;
}
h1
{
  font-size: 3rem;
  margin: 0px;
}
h1 sup
{
  font-size: 1.6rem;
  vertical-align: top;
}
h2
{
  font-size: 2rem;
  font-weight: normal;
}
#homeButton
{
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #1F1F1F;
  animation: homeButtonExpand 1s infinite alternate;
  box-shadow:
    0 0 2rem #fff;            /* outer white */
  z-index: 6;
}

#showMenu:checked ~ footer #homeButton
{
  --b: 25px; /* base */
  --h: 13px; /* height  */

  height: 50px;
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--black);
  clip-path: polygon(0 0,calc(50% - var(--b)/2) 0,50% var(--h),calc(50% + var(--b)/2) 0,100% 0,100% calc(50% - var(--b)/2),calc(100% - var(--h)) 50%,100% calc(50% + var(--b)/2),100% 100%,calc(50% + var(--b)/2) 100%,50% calc(100% - var(--h)),calc(50% - var(--b)/2) 100%,0 100%,0 calc(50% + var(--b)/2),var(--h) 50%,0 calc(50% - var(--b)/2));
  animation: none;
}
#homeButton:hover
{
  cursor: pointer;
}

@keyframes homeButtonExpand
{
  0% {transform: scale(0.9);}
  100%{transform: scale(1.1);}
}

#showMenu ~ footer #mainNav
{
  display: none;
}

#showMenu:checked ~ footer #mainNav
{
  display: block;
}
#closeMenuOverlay
{
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: none;
}

#showMenu:checked ~ #closeMenuOverlay
{
  display: block;
  z-index: 2;
}

#mainNav
{
  position: absolute;
  width: 20vw;
  left: calc(50vw - 10vw);
  bottom: 3rem;
  z-index: 6;
  background: var(--black);
  color: var(--white);
  border-radius: 30px;
}
#mainNav a
{
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  width: 100%;
}

#mainNav ul
{
  list-style-type: none;
  padding: 0px;
  text-align: center;
  width: 100%;
}

#mainNav ul li
{
  border-top: dashed 2px var(--white);
}

#mainNav li:first-child
{
  border: none;
}

#mainNav ul ul li
{
  border: none;
}

#mainNav ul > ul
{
  background: rgba(255, 255, 255, 0.2);
}
#mainNav input[type=checkbox] + ul
{
  overflow: hidden;
  transition: max-height 0.5s;
  max-height: 0;
}

#mainNav li:hover
{
  background-color: var(--white);
  color: var(--black);
  cursor: pointer;
}

#mainNav li:hover a
{
  color: var(--black);
}

#mainNav input[type=checkbox]:checked + ul
{
  max-height: 50rem;
  cursor: pointer;
}

#mainNav ul li label
{
  display: inline-block;
  position: relative;
  width: 100%;
}

.breadcrumbs
{
  width: 100vw;
  padding: 10px;
  padding-left: max(50px, 15vw);
  padding-right: max(50px, 15vw);
  background-color: var(--black);
  color: var(--white);
}
.breadcrumbs a
{
  color: var(--white);
  text-decoration-color: white;
}

.pagination
{
  text-align: center;
}

.marquee
{
  /*animation: scroll-left 60s linear infinite;*/
}

@keyframes scroll-left {
  0% {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.frontpage-header
{
  margin: 0px 0px 5px;
  display: flex;
  align-items: center;
}

.frontpage-header a
{
  text-decoration: underline overline 3px black;
}

.tgei-category-tag
{
  display: inline-block;
  /*line-height: inherit;*/
  color: var(--white);
  background: var(--black);
  font-size: 0.75rem;
  font-weight: normal;
  padding: 0.1rem;
  margin: 1.5rem 0px 0px;
  width: fit-content;
  font-family: 'Squada One';
  /*height: 50%;*/
}

.tgei-auto-tabs-content .wzkb-section-name-level-1
{
  display: none;
}
