/* Global variables. */
:root {
  /* Set sans-serif & mono fonts */
  --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
    "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
    "Helvetica Neue", sans-serif;
  --standard-border-radius: 5px;
  --cyberglow-primary: rgba(255, 0, 43, 40%);

  /* Default (light) theme */
  --bg: #111015;
  --accent-bg: #2b2b2b;
  --text: rgb(255, 150, 150);
}
@font-face {
  font-family: "NimbusSansReg";
  src: url(nimbus-sans-l.regular.woff2) format("woff2 supports variations"), url(nimbus-sans-l.regular.woff2) format("woff2-variations");
  font-display: swap;
}

@font-face {
  font-family: "NimbusSansBold";
  src: url(nimbus-sans-l.bold.woff2) format("woff2 supports variations"), url(nimbus-sans-l.bold.woff2) format("woff2-variations");
  font-display: swap;
}

html {
  /* Set the font globally */
  font-family: "NimbusSansReg";
  scroll-behavior: smooth;
}

/* Make the body a nice central block */
body {
    color: var(--text);
    background-image: url("test-web-bg.png");
    background-size: cover;    /* fill the screen */
    background-position: top;
    background-repeat: repeat-y;
    /*background-color: var(--bg);*/
    font-size: 1.2rem;
    line-height: 1.5;
    display: grid;
    grid-template-columns: 1fr min(65rem, 90%) 1fr;
    margin: 0;
    margin-top: 25px;
}
body > * {
  grid-column: 2;
}

/* Format headers */
h1 {
  font-size: 3rem;
  font-family: "NimbusSansBold";
}

h2 {
  font-size: 2.6rem;
  margin-top: 3rem;
  font-family: "NimbusSansBold";
}

h3 {
  font-size: 2rem;
  margin-top: 3rem;
  font-family: "NimbusSansBold";
}

h4 {
  font-size: 1.44rem;
  font-family: "NimbusSansBold";
}

h5 {
  font-size: 1.15rem;
  font-family: "NimbusSansBold";
}

h6 {
  font-size: 0.96rem;
  font-family: "NimbusSansBold";
}

/* Prevent long strings from overflowing container */
p, h1, h2, h3, h4, h5, h6 {
  text-shadow:
    0 0 2px rgba(255, 0, 43, 40%),
    0 0 5px rgba(255, 0, 43, 40%),
    0 0 10px rgba(255, 0, 43, 40%);
  overflow-wrap: break-word;
}

/* Fix line height when title wraps */
h1,
h2,
h3 {
  line-height: 1.1;
}

li,
ul {
  text-shadow:
    0 0 2px rgba(255, 0, 43, 40%),
    0 0 5px rgba(255, 0, 43, 40%),
    0 0 10px rgba(255, 0, 43, 40%);
}

/* Reduce header size on mobile */
@media only screen and (max-width: 720px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}

.scanlines {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  background-size:150%;
  background-repeat: repeat;

  /* Darker scanlines so they work on light text too */
  background-image: url("/test-lines.jpg");

  mix-blend-mode: multiply; /* Makes scanlines affect text and images */
  animation: scroll 4s linear infinite;
}

/* Format links & buttons */
a:link,
a:visited,
a:hover,
a:active,
a:focus,
a:focus-visible {
  text-decoration: none !important;
  color: rgb(128, 225, 255) !important;
  font-family: "NimbusSansBold" !important;
  text-shadow:
    0 0 2px rgba(19, 200, 255, 0.473),
    0 0 5px rgba(19, 200, 255, 0.473),
    0 0 10px rgba(19, 200, 255, 0.473) !important;
  outline: none;
}

/* 255, 0.3 , 255 0.15 */

.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 25px;  
}

.navbar a {
  font-size: 2rem;
  text-decoration: none;
  padding-left: 45px;
  position: relative;
  color: rgb(128, 225, 255);
}

.navbar-logo {
  border: 0.15rem solid #fa5b5b;
  justify-self: flex-start;
  margin-right: auto;
  padding-left: 0%;
  max-width: 120px;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
 }

 @media only screen and (max-width: 720px) {
    .navbar {
      margin-top: 0px; 
    }
    .navbar a {
      font-size: 1.2rem;
      padding-left: 15px;
    }

    .navbar-logo {
      max-width: 75px;
    }
 }


/* Blog Post List */

time.blog-date {
  color: rgb(161, 233, 255);
  font-family: "NimbusSansBold";
  font-size: 1.5rem;
  font-weight: bolder;
  text-shadow:
    0 0 2px rgba(19, 200, 255, 0.815),
    0 0 5px rgba(19, 200, 255, 0.822),
    0 0 10px rgba(19, 200, 255, 0.801);
}

.blog-list {
  display: flex;
  flex-direction: row;
}

.blog-list-textwrap {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
}

.blog-list h2{
  margin-top: 2rem;
  margin-bottom: 5px;
  font-size: 2rem;
}

.blog-list p{
  padding: 0%;
  margin-top: 0rem;
  margin-bottom: 0.5rem;
  max-width: 100%;
}

.blog-list-textwrap .post-date {
  font-weight: 900;
  margin-bottom: 0rem;
  padding: 0%;
}

.blog-list img {
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 320px;
  max-height: 180px;
  padding: 0%;
  padding-top: 0px;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
}

.blog-list-cover {
  border: 0.15rem solid #fa5b5b;
}

@media only screen and (max-width: 720px) {
  .blog-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  }

  .blog-list img {
  align-self: center;
  margin-bottom: 0rem;
  }

  .blog-list h2 {
    font-size: 1.5rem;
  }
}

.divider {
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(255, 113, 113);
}


.about-img {
  max-width: 100%;
}


/* Footer Socials */

body > footer {
  margin-top: 4rem;
  padding: 0rem 0rem 1.5rem 0rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  font-size: 0rem;
}

.footer-left {
  margin-right: auto;
  margin-top: 20px;
}

.footer-right {
  margin-left: auto;
  margin-top: 20px;
}

.footer-left a {
  font-size: 1.25rem;
  text-decoration: none;
  color: rgb(128, 225, 255);
}

.socials {
  list-style: none;
  padding: 0;
  margin: 0;
  filter: drop-shadow(0 0 0.3rem rgb(161, 233, 255));
}

.socials ul {
  display: flex;
  align-items: center;
  justify-items:center;
  margin: 0;
  padding: 0px;
}

.socials li {
  display: inline-block;
  margin-right: 10px;
  padding: 0px;
}

.socials li:last-child {
  margin-right: 0;
  padding: 0px;
}

.socials a img {
  width: 30px;
  height: 30px;
}

@media only screen and (max-width: 720px) {

  body > footer {
  margin-top: 4rem;
  padding: 0rem 0rem 1.5rem 0rem;
  color: rgb(161, 233, 255);
  text-align: center;
  display: inline-block;
  justify-content: space-between;
  font-size: 0rem;
}

.footer-left a {
  font-size: 0.9rem;
  text-decoration: none;
}
.socials a img {
  width: 20px;
  height: 20px;
}
.footer-right {
  margin-left: auto;
  margin-top: 5px;
}
.socials li {
  display: inline-block;
  margin-right: 20px;
  padding: 0px;
}

}

/* PROJECTS PAGE SPECIFICS */

.project-list {
  display: grid;
  justify-content: flex-end;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  flex-direction: row;
}

.project-list-image {
  max-width: 100%;
  border: 0.15rem solid #fa5b5b;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
}

.featured-project {
  max-width: 100%;
  margin-bottom: 5px;
  margin: 0%;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
}

.featured-project img {
  max-width: 100%;
  margin-bottom: 10px;
  border: 0.15rem solid #fa5b5b;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
}

@media only screen and (max-width: 720px) {
  .project-list {
  display: grid;
  justify-content: flex-end;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  flex-direction: row;
}

  .project-list-image {
  max-width: 100%;
  margin-right: 12px;
  border: 0.15rem solid #fa5b5b;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
}
}

.project-image-generic {
  max-width: 100%;
  border: 0.15rem solid #fa5b5b;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
  align-self: center;
}

.blog-image-generic {
  max-width: 100%;
  border: 0.15rem solid #fa5b5b;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
  align-self: center;
  justify-self: center;
}

iframe {
  width: 100%;
  height: 540px;
  border: 0.15rem solid #fa5b5b;
  filter: drop-shadow(0 0 0.3rem rgba(255, 0, 43, 40%));
}


/*Featured Piece*/

.home-featured {
  max-width: 100%;
  margin-bottom: 5px;
  margin-top: 5px;
}

.home-featured h2 {
  font-size: 2.25rem;
}

.home-featured .image {
  border: 0.15rem solid #fa5b5b;
  max-width: 100%;
  filter: drop-shadow(0 0 0.5rem rgba(255, 0, 43, 40%));
}

.home-featured .cutout {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  object-fit: cover;
  pointer-events: none; /* overlay won’t block clicks */
}

/*WELCOME*/

.welcome p{
  font-size: 1.5rem;
}

@media only screen and (max-width: 720px) {
  .welcome p {
    font-size: 1.2rem;
  }
}

/*Blog Post Specific*/

.blog-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  color: rgb(128, 225, 255);
  text-shadow:
    0 0 2px rgba(19, 200, 255, 0.815),
    0 0 5px rgba(19, 200, 255, 0.822),
    0 0 10px rgba(19, 200, 255, 0.801);
}


p.notes {
  color: #c2ab61;
}