﻿body {
  background-color: black;
  background-image: linear-gradient(to bottom, black, transparent, black);
  background-repeat: no-repeat, repeat;
  background-attachment: scroll, fixed;
  min-height: 100vh;
}


@font-face {
  font-family: "8bit";
  src: url("assets/fonts/8bit.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}


h1 {
  background-color: black;
  border: 10px double white;
  font-family: "8bit", Wingdings, sans-serif;
  color: white;
  text-align: center;
  width: fit-content;
  margin: 40px auto;
  font-size: 4rem; 
  padding: 20px 30px; 
}


h2 {
  font-family: "8bit", Wingdings, sans-serif;
  color: white;
  text-align: center;
}




nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; 
  margin: 20px 0;
}


nav a {
  text-decoration: none;
  display: inline-block;
}


nav img {
  display: block;
  image-rendering: pixelated; 
}


p {
  font-family: "8bit", Wingdings, sans-serif; 
  color: white;
}


footer {
  background-color: black;
  border: 3px Solid white ;
  font-family: "8bit", Wingdings, sans-serif;
  font-size:1em;
  color: white;
  width: 80%;    
  max-width: 1000px;  
  margin: 10px auto; 
  padding: 15px 20px;
  text-align: center;
}


.mainstuff {
  background-color: black;
  border: 5px Solid white ;
  font-family: "8bit", Wingdings, sans-serif;
  color: white;
  width: 80%;    
  max-width: 1000px;  
  margin: 40px auto; 
  padding: 30px 40px;
  font-size: 1.5rem;
}


.title-banner-home {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("assets/images/tobyfoxwelcome.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 3px Solid white ;
  width: 80%;    
  max-width: 1000px;  
  margin: 40px auto; 


  color: #ffff00 ;
  font-size:5;
  padding: 85px 20px;
  text-align: center;
}


.title-banner-info {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("assets/images/tobyfoxhistory.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 3px Solid white ;
  width: 80%;    
  max-width: 1000px;  
  margin: 40px auto; 
  color: #ffff00 ;
  font-size:5;
  padding: 85px 20px;
  text-align: center;
}


.title-banner-candle {
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("assets/images/asclol.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 3px Solid white ;
  width: 80%;    
  max-width: 1000px;  
  margin: 40px auto; 
  color: #ffff00 ;
  font-size:5;
  padding: 85px 20px;
  text-align: center;
}


.float-image {
  float: right;
  width: 250px;        
  margin: 0 0 15px 20px auto;
  border: 3px Solid white ;  
}


.mainstuff::after {
  content: "";
  display: block;
  clear: both;
}


.text-gif {
  width: 32px;
  height: 32px;
}


.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}


.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80vh;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}


#lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
  image-rendering: pixelated;
  border: 3px Solid white;
}


.lightbox-close {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  color: #ff0000;
  cursor: pointer;
  user-select: none;
  font-family: "8bit", sans-serif;
}


.lightbox-close:hover {
  color: #ffffff;
}


/* ===================================== */
/* MOBILE ONLY - Does NOT affect desktop */
/* ===================================== */

@media screen and (max-width: 768px) {

    h1 {
        width: 95%;
        font-size: 1.8rem;
        padding: 15px;
        margin: 20px auto;
    }

    nav {
        gap: 10px;
        flex-wrap: wrap;
    }

    nav img {
        width: 90px;
        height: auto;
    }

    .mainstuff {
        width: 95%;
        padding: 15px;
        font-size: 1rem;
    }

    footer {
        width: 95%;
        padding: 15px;
        font-size: 0.85rem;
    }

    .title-banner-home,
    .title-banner-info {
        width: 95%;
        padding: 40px 10px;
        background-size: cover;
    }

    .float-image {
        float: none;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }

    .text-gif {
        width: 20px;
        height: 20px;
    }

    p {
        word-wrap: break-word;
        line-height: 1.6;
    }

}

/* Very small phones */

@media screen and (max-width: 480px) {

    h1 {
        font-size: 1.4rem;
    }

    nav img {
        width: 70px;
    }

    .mainstuff {
        font-size: 0.9rem;
    }

}