@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@500&display=swap');

/* ========== FONT DEFINITIONS ========== */
@font-face {
  font-family: 'Calligraphic 421 BT';
  src: url('https://pyrefox.com/fnts/Calligraphic421BT-RomanB.woff2') format('woff2'),
       url('https://pyrefox.com/fnts/Calligraphic421BT-RomanB.woff') format('woff'),
       url('https://pyrefox.com/fnts/Calligraphic.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Animales Fantastic';
  src: url('https://pyrefox.com/fnts/AnimalesFantastic.woff2') format('woff2'),
       url('https://pyrefox.com/fnts/AnimalesFantastic.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ========== GLOBAL RESET ========== */
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-y: scroll;
}

body {
  background-color: #002244;
  font-family: 'Source Code Pro', monospace;
  background-image: url('https://plugins.pyrefox.com/wp-content/uploads/2025/01/bg2.gif');
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ========== TYPOGRAPHY STYLES ========== */
a {
  color: transparent;
  background-color: lightskyblue;
  background-image: linear-gradient(90deg, #fcf, hsla(10, 100%, 85%, 1) var(--line-width), hsla(0, 0%, 10%, 0) var(--line-width));
  background-clip: text;
  text-shadow: none;
  filter: saturate(10.85);
}

a.logo {
  filter: saturate(1);
}

h1 span:nth-child(1) {
  font-family: 'Calligraphic 421 BT', 'Courier New', serif;
  font-weight: 400;
  font-style: normal;
  float: left;
  padding-right: 5px;
  color: #eef4f8 !important;
  font-size: 30px;
  vertical-align: super;
}

h1 span:nth-child(2) {
  font-family: 'Animales Fantastic', cursive;
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  margin-left: 1px;
  background: linear-gradient(90deg, #ffbd44, #ff6f61);
  -webkit-background-clip: text;
  color: transparent;
  float: left;
  margin-top: 13px;
}

/* ========== STRUCTURE & HEADER ========== */
#header {
  position: relative;
  border-bottom: 1px solid #000 !important;
  color: #878c9c;
  font-size: 13px;
  font-weight: 500;
  min-height: 150px !important;
  margin-bottom: 30px;
  font-family: 'Source Code Pro', monospace;
  overflow: hidden;
  box-shadow: 0px 0px 5px 1px #666 !important;
  padding-top: 40px;
  z-index: 1;
  background-color: #13082a;
  filter: saturate(0.85);
}

#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 160px;
  bottom: 0;
  z-index: 0;
  background-image: url('https://pyrefox.com/imgs/pyre-fox-avatar.png');
  background-repeat: no-repeat;
  background-size: 150px;
  background-position: bottom right;
  background-color: #13082a;
  background-blend-mode: screen;
  pointer-events: none;
  opacity: 1;
  transform: none;
}

#header img {
  display: inline-block;
  position: relative;
  float: left;
  transform: scale(0.78) !important;
  margin-left: 24px;
  margin-top: -5px;
}

#header > *:not(#webCanvas) {
  position: relative;
  z-index: 10;
}

#header > div {
  height: 40vh !important;
  min-height: 270px;
}

/* ========== CANVAS ========== */
#webCanvas,
canvas#webCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  display: block;
  filter: opacity(0.2);
}

/* ========== DESCRIPTION SECTION ========== */
.site-description p {
  text-align: center;
  width: 80%;
  margin: 80px auto 60px auto;
  font-size: 22px;
  /* color: #ffffffda; */
  text-shadow: 3px 3px 0px #000;
  color: #bb86fc;
}

.site-description h1 {
  color: #ffffff;
  text-align: center;
  text-shadow: 3px 3px 0px #000;
  margin: 60px auto -40px auto;
  font-family: 'Calligraphic 421 BT', Arial, sans-serif;
}

.site-description strong {
  /* color: #bb86fc; */
  font-weight:900;
  color:#ffffffaa;
  text-shadow: 0px 0px 2px cyan;
}

.site-description em {
  /* text-shadow: -1px -1px 5px #000, 3px 3px 0px #000; */
  font-weight:200;
  color: #ffffffaa;
  text-shadow: 0px 0px 1px cyan;
}

/* ========== CONTAINER & CARD STYLES ========== */
.container {
  margin: 60px auto;
  height: 100%;
  width: 100%;
  padding: 1rem 0;
  display: grid;
  place-content: center;
}

.container h3 {
  color: #bb86fc;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  filter: saturate(0.85);
  text-align: center;
  text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000, 0 0 10px blue;
}

h3 {
    font-size: 1.5rem;
    color: #bb86fc;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: -10px;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000, 0 0 10px blue;
}

div.container:nth-child(3) > a:nth-child(3) {
  text-align: center;
  border: 2px solid slategrey;
  border-radius: 12px;
  padding: 10px;
  width: 250px;
  margin: 35px auto 40px auto;
  font-size: 1rem;
}

h1.title {
  background: linear-gradient(90deg, #ff6f61, #ffbd44, #ff6f61);
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
  font-size: 40px;
}

h2.title {
  color: #ffffff;
  float: right;
  display: block;
  text-align: center;
  font-size: 34px;
  font-family: 'Calligraphic 421 BT', Arial, sans-serif;
  filter: opacity(0.85);
}

/* --- Cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  pointer-events: none;
  padding-top: 30px;
}

.card {
  max-width: 20rem;
  color: #ffffffda;
  border-radius: 2px 12px 2px 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transform: scale(1);
  opacity: 1;
  transition: all 150ms ease-in-out;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card::after {
  content: "";
  height: 0rem;
  width: 0rem;
  background-color: transparent;
  background-image: url('https://plugins.pyrefox.com/wp-content/uploads/2025/01/pyrefox-1.png');
  background-size: cover;
  position: absolute;
  right: 0px;
  bottom: 19px !important;
}

.card:hover::before {
  background-image: url('https://plugins.pyrefox.com/wp-content/uploads/2025/01/prism-effect.d1ee58dabc3894b5-1.webp');
  opacity: 0.75;
}

.card-title,
.card .date {
  text-shadow: 2px 2px 0px #000;
}

.card .date {
  color: #bb86fc;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  filter: saturate(0.85);
}

.card .description {
  font-size: 0.9rem;
}

.card:nth-child(even) {
  transform: translateY(8px);
}

.card:nth-child(n) {
  transform: rotate(-3deg);
}

.cards:hover > .card:hover,
.cards:focus > .card:focus {
  transform: scale(1.25);
  z-index: 10;
  transition: all 500ms ease-in-out;
}

.cards:hover > .card:hover::after {
  transform: rotate(3deg) scale(1.5);
  right: 10px;
  height: 1.75rem;
  width: 1.75rem;
}

.cards:hover > .card:not(:hover) {
  opacity: 0.5;
  transition-duration: 300ms;
}

.card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  background-color: slategrey;
  filter: blur(0px) !important;
  opacity: 0.65;
  border-radius: 12px 0px 12px 0px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotateY(180deg);
  z-index: -1;
}

.card:hover::before {
  opacity: 0.75;
}

.card-content {
  background-color: #003366;
  padding: 1.5rem;
  border-radius: 0px 8px 0px 8px;
  box-shadow: inset 0px 0px 4px #000;
  height: 100%;
}

/* ========== BACKDROP OVERLAY ========== */
.overlay-bg {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 20, 0.6);
  backdrop-filter: blur(2.5px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.54s ease;
}

.overlay-bg.active {
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(2.5px) saturate(0.35);
  -webkit-backdrop-filter: blur(2.5px) saturate(0.35);
}

/* ========== MENU BUTTON ========== */
#menuButton {
  background-color: #13082a;
}

#menuButton.open {
  background-color: transparent !important;
}

/* ========== MENU ICON ========== */
.menu-icon {
  position: fixed;
  top: 64px;
  right: 44px;
  width: 36px;
  height: 26px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s ease;
  outline: none;
  padding: 2px;
}

.menu-icon span {
  height: 4px;
  background: linear-gradient(90deg, #ffbd44, #ff6f61);
  border-radius: 4px;
  transition: all 0.4s ease;
  box-shadow: 0 0 8px rgba(255, 111, 97, 0.8);
}

.menu-icon.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-icon.open span:nth-child(2) {
  opacity: 0;
}

.menu-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== OFF-CANVAS MENU ========== */
#offCanvasMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(19, 8, 42, 1);
  backdrop-filter: blur(1px);
  box-shadow: -4px 0 30px rgba(255, 111, 97, 0.2);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.45s ease;
  border-left: 2px solid #1292EC99;
  overflow: hidden;
}

#offCanvasMenu.active,
#offCanvasMenu.open {
  right: 0;
}

#offCanvasMenu::before {
  content: '';
  position: absolute;
  bottom: -18%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  background-image: url('https://plugins.pyrefox.com/wp-content/uploads/2025/06/pyre-fox-enso.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

#offCanvasMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
}

#offCanvasMenu ul li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateX(40px);
  animation: fadeSlideIn 0.4s ease forwards;
}

#offCanvasMenu.open ul li {
  animation: fadeSlideIn 0.4s ease forwards;
}

#offCanvasMenu.open ul li:nth-child(1) { animation-delay: 0.1s; }
#offCanvasMenu.open ul li:nth-child(2) { animation-delay: 0.2s; }
#offCanvasMenu.open ul li:nth-child(3) { animation-delay: 0.3s; }
#offCanvasMenu.open ul li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.menu-link {
  font-family: 'Source Code Pro', monospace;
  font-size: 20px;
  color: #FF755F;
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-block;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
  filter: saturate(1) !important;
}

.menu-link:hover {
  color: transparent;
  background-color: lightskyblue;
  background-clip: text;
  text-shadow: none;
  filter: saturate(10.85) !important;
}

.menu-link.active {
  color: #ffffff;
  text-shadow: 0 0 10px #ffbd44;
}

.menu-link.active::before {
  width: 100%;
  background: linear-gradient(90deg, #ffbd44, #ff6f61);
}

body.menu-open {
  overflow: hidden;
}

#offCanvasMenu > ul:nth-child(1) > span:nth-child(4) {
  color: #dedede;
  position: absolute;
  bottom: 25px;
  display: block;
}

/* ========== TYPEWRITER EFFECT ========== */
#typewriter {
  border-right: 2px solid #35ffad;
  padding-right: 5px;
  animation: blink 1s step-end infinite;
  text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000, 0 0 10px blue;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* ========== MODAL FORMS ========== */
#contactModal input,
#contactModal textarea {
  background-color: #1e1e2f;
  border: 1px solid #1292EC;
  color: white;
  font-family: 'Source Code Pro', monospace;
}

input[type="checkbox"] {
        accent-color: lime; /* Change 'green' to your desired color */
    }

/* ========== FOOTER ========== */
/* #site-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #878c9c !important;
  text-align: center;
} */

footer {
  background: #13082a;
  font-size: 0.813rem;
  font-weight: 500;
  font-family: 'Source Code Pro', monospace;
  text-align: center;
  font-weight: bold;
  border-top: 1px solid #000;
  color: #878c9c;
  min-height: 120px;
  margin-top: 30px;
  box-shadow: 0px 0px 5px 1px #666;
}

footer a {
  color: #98899f !important;
  filter: saturate(1);
  text-decoration: none;
  text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000, 0 0 10px blue !important;
}

footer p {
  background: #878c9c;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#site-footer > span:nth-child(3) > span:nth-child(2) > p:nth-child(3) {
  color:#878c9c !important;
}

#site-footer > span:nth-child(1),
#site-footer > span:nth-child(3) {
  line-height: 28px;
  min-width: 33%;
  letter-spacing: 1px;
}

#site-footer > span:nth-child(3) > span:nth-child(2) > p:nth-child(3) {
  padding-left: 16px;
}














/* NEW FOOTER FIX ALIGNMENT CODE */
/* #site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1em;
  text-align: center;
}

.footer-col {
  flex: 1 1 100%;
  padding: 0.5em;
}

#site-footer > div:nth-child(3) > span > span:nth-child(2) > p {
color:#878c9c !important;
}

#site-footer > div:nth-child(3) {
  margin-top:15px;
} */




#site-footer {
  display: grid;
  grid-template-columns: 1fr; /* start as single column */
  gap: 20px; /* space between rows */
  text-align: center; /* center text by default */
  padding: 20px 20px 35px 20px;
}

#site-footer .footer-col:first-child {
  grid-column: 1 / -1; /* span full width */
  justify-self: center; /* center the first one */
  margin-top:5px;
}

#site-footer .footer-col:not(:first-child) {
  text-align: center;
}

/* At wider screens, make the last 3 into 3 columns */
@media (min-width: 768px) {
  #site-footer {
    grid-template-columns: repeat(3, 1fr);
  }

  #site-footer .footer-col:first-child {
    grid-column: 1 / -1; /* stays on top full width */
    padding-top:15px;
  }

  #site-footer > div:nth-child(2), #site-footer > div:nth-child(4) {
    margin-top:-27px;
  }

  #site-footer > div:nth-child(1) > nav {
    font-size:.9rem;
  }
}


@media (min-width: 600px) {
  .footer-col {
    flex: 1 1 33%;
  }

  #site-footer > div:nth-child(3) {
    padding-top:0px !important;
  }


}











/* ========== MEDIA QUERIES ========== */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #header::before {
    right: 40px;
  }
}

@media (max-width: 768px) {
  #header {
    font-size: 12px;
    padding-top: 30px;
  }
}

@media (max-width: 600px) {
  #header::before {
    display: none;
    visibility: hidden;
  }

  #header {
    min-height: 90px !important;
  }

  .logo {
    transform: scale(0.75) !important;
    display: block;
  }

  #header img {
    margin-left: -60px;
    margin-top: -30px;
  }

  .logo > h1:nth-child(3) > span:nth-child(1) {
    margin-top: -20px;
  }

  .logo > h1:nth-child(3) > span:nth-child(2) {
    margin-top: -5px;
  }

  .cards {
    grid-template-columns: 1fr !important;
  }

  h1.title {
    font-size: 1.6rem !important;
    margin-top: 40px;
  }

  h2.title {
    font-size: 1.3rem !important;
    margin-top: 15px;
  }

  .site-description > p:nth-child(1) {
    font-size: 1.2rem;
    text-align: center !important;
  }

  #menuButton {
    top: 20px;
    right: 10px;
    margin: 10px;
  }

  .menu-icon {
    width: 30px;
    height: 24px;
  }

  .site-description > h1:nth-child(2) {
    font-size: 1.5rem;
    width: 80%;
  }

  footer {
    padding-top: 25px;
  }

  #site-footer span,
  #site-footer p {
    margin: 0px auto 12px auto;
  }

  #site-footer > p:nth-child(2) {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #site-footer > span:nth-child(3) {
    padding-right: 16px;
  }


}










<style>

/* HIGHLIGHT TEXT CODE */

    /* Main Variables */
    :root {
      --main-dark: black;
      --main-light: white;
    }

    /* Global Styles */
    ::selection {
    	background: var(--main-dark);
      color: var(--main-light);
      text-shadow: none;
    }
    img::selection, svg::selection {
    	background: transparent;
    }

    /* Link color inherits from parent font color  */
    article a {
    	color: #2EfB97 !important;
        text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000, 0 0 10px blue;
    }
    article a:hover {
    color:cornflowerblue !important;
    }

    article p {
    font-weight:bolder;
    }

    .line strong {
      filter:brightness(.75) !important;
  color:#fff;
  font-style:italic;
    }
    .line {
      color: transparent;
      --line-width: 100%;
      position: relative;
      background-color: grey;
      background-image: linear-gradient(
        90deg,
        hsla(0, 0%, 100%, 1),
        hsla(0, 0%, 100%, 1) var(--line-width),
        hsla(0, 0%, 10%, 0) var(--line-width)
      );
      background-clip: text;
    }
</style>
