@font-face {
	font-family: Gilroy;
	font-style: normal;
	font-weight: 300;
	src: url('../font/Gilroy-Light.woff2') format('woff2'),  
		 url('../font/Gilroy-Light.woff') format('woff');  
}
@font-face {
	font-family: Gilroy;
	font-style: normal;
	font-weight: 400;
	src: url('../font/Gilroy-Regular.woff2') format('woff2'),  
		 url('../font/Gilroy-Regular.woff') format('woff');  
}
@font-face {
	font-family: Gilroy;
	font-style: normal;
	font-weight: 600;
	src: url('../font/Gilroy-Bold.woff2') format('woff2'),  
		 url('../font/Gilroy-Bold.woff') format('woff');  
}
@font-face {
	font-family: Gilroy;
	font-style: normal;
	font-weight: 900;
	src: url('../font/Gilroy-Heavy.woff2') format('woff2'),  
		 url('../font/Gilroy-Heavy.woff2') format('woff');  
}

:root {
  --grey-1: hsl(240 24% 98%);
  --grey-2: hsl(240 24% 96%);
  --grey-3: hsl(240 14% 94%);
  --grey-4: hsl(240 10% 93%);
  --grey-5: hsl(240 6% 83%);
  --grey-6: hsl(240 5% 79%);
  --grey-7: hsl(240 3% 69%);
  --grey-8: hsl(240 2% 57%);
  --grey-9: hsl(240 1% 39%);
  --grey-10: hsl(240 1% 29%);
  --grey-11: hsl(240 2% 23%);
  --grey-12: hsl(240 2% 18%);
  --grey-13: hsl(240 3% 11%);
  --grey: hsl(240 2% 57%);
  --c-text: #1b1b1d;
  --mint: #1ecc98;
  --neon: #8fff00;
  --banana: #ffcf20;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}



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

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  max-height: 100%;
}

/* ==========================================================================
   Custom styles
   ========================================================================== */

body {
  font-family: Gilroy, sans-serif;
  min-height: 100vh;
  transition: background-color 0.26s cubic-bezier(0.25, 0.1, 0.25, 1);
}
body ::-moz-selection {
  background:  #1b1b1d;
  color: var(--banana);
  text-shadow: none;
}
body ::selection {
  background:  #1b1b1d;
  color: var(--banana);
  text-shadow: none;
}
.page-content {
  z-index: 10;
  position: relative;
}
.svg-bg {
  position: absolute;
  top: 0;
  left:0;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: none;
}
.page-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  max-width: 860px;
  margin: auto;  
  padding: 0 25px;
}
.hero {
  padding: 3em 0;
  color: var(--c-text);
}
.footer {
  padding: 4em 0 12em 0;
}
.hero .content-wrapper {
  width: 19em;
  text-align: left;
}
.hero .top {
  display: flex;
  align-items: flex-end;
  font-size: 3em;
  margin-bottom: -25px;
}
.hero h1 {
  font-size: 4rem;
  margin: 0;
}
.hand {
  width: 64px;
  padding-bottom: 15px;
  margin-right: 20px;
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}
.hero .desc {
  font-size: 1.4em;
  margin: 10px 2px;
  font-weight: 300;
  color: var(--grey);
}
.social-links .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.s-link {
  width: calc(50% - 12px);
  display: flex;
  text-decoration: none;
  color: var(--c-text);
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 0 1px rgba(66, 71, 76, 0.32), 0 4px 8px rgba(66, 71, 76, 0.06), 0 8px 48px rgba(238, 238, 238, 1);
  transition: all 0.26s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.s-link .icon {
  width: 24px;
  height: 24px;
  opacity: 0.15;
  margin-right: 1em;
  transition: opacity 0.26s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.s-link:hover {
  background-color: var(--banana);
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(66, 71, 76, 0.06), 0 8px 48px rgba(238, 238, 238, 1);
}
.s-link:hover .icon {
  opacity: 0.75;
}

.footer .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 84px;
  position: relative;
}

/* ==========================================================================
   Bulb
   ========================================================================== */
  .toggle-scene {
    overflow: visible !important;
    /* height: 50vmin; */
    height: 200px;
    position: absolute;
  }
  .toggle-scene__cord {
    stroke: var(--grey-5);
    cursor: move;
  }
  .toggle-scene__cord:nth-of-type(1) {
    display: none;
  }
  .toggle-scene__cord:nth-of-type(2),
  .toggle-scene__cord:nth-of-type(3),
  .toggle-scene__cord:nth-of-type(4),
  .toggle-scene__cord:nth-of-type(5) {
    display: none;
  }
  .toggle-scene__cord-end {
    stroke: var(--banana);
    fill: var(--banana);
  }
  .toggle-scene__dummy-cord {
    stroke-width: 6;
    stroke: var(--grey-5);
  }
  .bulb__filament {
    stroke: var(--grey-7);
  }
  .bulb__shine {
    stroke: #fff;
  }
  .bulb__flash {
    stroke: #f5e0a3;
    display: none;
  }
  .bulb__bulb {
    stroke: var(--grey-4);
    fill: rgb(116 193 255 / 10%);
  }
  .bulb__cap {
    fill: var(--grey-6);
  }
  .bulb__cap-shine {
    fill: var(--grey-1);
  }
  .bulb__cap-outline {
    stroke: var(--grey-4);
  }


/* ==========================================================================
   Colors
   ========================================================================== */
  body.on {
    background-color: var(--c-text);
  }
  body.on ::-moz-selection {
    background:  var(--banana);
    color: #fff;
    text-shadow: none;
  }
  body.on ::selection {
    background:  var(--banana);
    color: #fff;
    text-shadow: none;
  }
  body.on .hero {
    color: var(--grey-2);
  }
  body.on .hero .desc {
    color: var(--grey-5);
    opacity: 0.8;
  }
  @keyframes HUE_SHIFT {
    0% {
      filter: hue-rotate(0);
    }
    
    100% {
      filter: hue-rotate(360deg);
    }
  }
  body.on .hero h1 {
    animation: HUE_SHIFT 6s infinite;
    background: linear-gradient(-30deg, #FEF280, #FF7496, #FF59F8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  body.on .toggle-scene__cord {
    stroke: var(--grey-1);
    cursor: move;
  }
  body.on .toggle-scene__cord-end {
    stroke: var(--banana);
    fill: var(--banana);
  }
  body.on .toggle-scene__dummy-cord {
    stroke-width: 6;
    stroke: var(--grey-1);
  }
  body.on .bulb__filament {
    stroke: #ffeb3b;
  }
  body.on .bulb__shine {
    stroke: #fff7b1a3;
  }
  body.on .bulb__flash {
    stroke: #f5e0a3;
    display: none;
  }
  body.on .bulb__bulb {
    stroke: var(--banana);
    fill: rgb(255 235 59 / 30%);
  }
  body.on .bulb__cap {
    fill: #615214;
  }
  body.on .bulb__cap-shine {
    fill: #8b7b42;
  }
  body.on .bulb__cap-outline {
    stroke: #8b7b42;
  }
  @keyframes animateGlow {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  body.on .footer .glow {
    position: absolute;
    margin: auto;
    top: 0;
    width: 80px;
    height: 80px;
  }
  body.on .footer .glow::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.75);
    filter: blur(40px);
    background: linear-gradient(270deg, hsla(47, 100%, 56%, 0.8), hsla(47, 100%, 56%, 0.2));
    background-size: 300% 300%;
    animation: animateGlow 5s ease infinite;
  }
  body.on .s-link {
    background-color: hsl(228, 8%, 16%);
    box-shadow: 0 0 1px rgb(0 0 0 / 50%), 0px -1px 0px rgb(255 255 255 / 15%), 0 4px 8px hsl(0deg 0% 0% / 10%), 0 8px 48px rgb(0 0 0 / 30%);
    color: var(--grey-6);
    font-weight: 300;
  }
  body.on .s-link .icon {
    opacity: 0.60;
  }
  body.on .s-link:hover {
    box-shadow: 0 0 1px rgb(0 0 0 / 50%), 0px -1px 0px rgb(255 255 255 / 50%), 0 4px 8px hsl(0deg 0% 0% / 10%), 0 8px 48px rgb(0 0 0 / 30%);
    background-color: var(--banana);
    color: var(--c-text);
  }
  body.on .s-link:hover .icon {
    opacity: 1;
  } 

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

@media only screen and (min-width: 959px) {
  .hero {
    padding: 6em 0;
    color: var(--c-text);
  }
  .footer {
    padding: 8em 0 12em 0;
  }

  .hero .content-wrapper {
    width: 29em;
  }
  .hero .top {

  }
  .hand {

  }
  .hero h1 {
    font-size: 6rem;
  }
  .social-links .content-wrapper  {
    justify-content: center;
  }
  .s-link {
    width: calc(100% / 5);
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {

}

/* ==========================================================================
   Print styles.
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

