* {
    box-sizing: border-box;
  }

  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
  }
  
  .page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  
  .site-footer {
    margin-top: auto;
  }
  

  body {
    margin: 0;
    height: 100vh;
    background-image: url("images/basalt.png");
    background-size: cover;
    background-repeat: repeat-y;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  body.lightmode {
    background-image: url("images/pale.png");
    color: black;
  }

  .banner-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2vh;
  }

  .banner-wrapper img {
    width: 60vw;
    max-width: 800px;
    height: auto;
    user-select: none;
   -webkit-user-drag: none;
   -webkit-touch-callout: none;
   pointer-events: none;
  }

  .theme-toggle {
    position: absolute;
    bottom: 20px;
    left: 20px;
  }

  .toggle-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  .toggle-slot {
    font-size: 10px;
    position: relative;
    height: 3.5em;
    width: 7em;
    border-radius: 10em;
    background-color: #374151;
    transition: background-color 250ms;
  }

  .toggle-checkbox:checked ~ .toggle-slot {
    background-color: white;
  }

  .toggle-button {
    transform: translate(0.3em, 0.25em);
    position: absolute;
    height: 3em;
    width: 3em;
    border-radius: 50%;
    background-color: #485367;
    box-shadow: inset 0px 0px 0px 0.75em white;
    transition: background-color 250ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
  }

  .toggle-checkbox:checked ~ .toggle-slot .toggle-button {
    background-color: #ffeccf;  
    box-shadow: inset 0px 0px 0px 0.75em #ffbb52;
    transform: translate(3.65em, 0.25em);
  }

  @font-face {
    font-family: 'mcfont';
    src: url('Minecraft.woff2') format('woff2'),
         url('Minecraft.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

  .opening_text {
    position: absolute;
    top: 200px;
    left: 60px;
    font-family: 'mcfont';
    font-size: 32px;
    color: white;
  }

  .opening_text_underscore {
    display: inline-block;
  }

  body.lightmode .opening_text {
    color: rgb(0, 0, 0);
  }

  .hidden {
    opacity: 0;
  }
  


  .project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 125px 20px;
    justify-content: center;
  }

  .project {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .project:hover {
    transform: scale(1.10);
  }

  .project-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
  }

  .project-link .project {
    transition: transform 0.3 ease;
  }

  .project-link:hover .project {
    transform: scale(1.05);
  }

  .project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .project p {
    color: white;
    font-weight: bold;
    font-family: 'mcfont';
  }

  body.lightmode .project{
    background-color: rgba(0,0,0,0.1);
    border: 2px solid #000;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.1);
  }

  body.lightmode .project p {
    color: black
  }






  .site-footer {
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    font-size: 12px;
    width: 100vw;
  }
  
  .footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  
  .footer-container p {
    margin: 0;
    line-height: 1.2;
  }
  
  .footer-container a {
    color: #66ccff;
    text-decoration: none;
    margin: 0 4px;
  }
  
  .footer-container a:hover {
    text-decoration: underline;
  }
  
  .footer-socials {
    margin: 0;
  }
  
  .footer-socials a {
    display: inline-block;
    margin: 0 4px;
  }
  
  .footer-socials img {
    width: 18px;
    height: 18px;
    filter: grayscale(100%);
    transition: filter 0.3s;
  }
  
  .footer-socials img:hover {
    filter: none;
  }
  
  body.lightmode .site-footer {
    color: #000000;
  }
  
  body.lightmode .footer-container a {
    color: #007acc;
  }
  
  body.lightmode .footer-socials img {
    filter: invert(1) brightness(0.8);
  }
