html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Import custom fonts */
@font-face {
  font-family: "Lilian";                /* font name for CSS */
  src: url("fonts/Lilian.ttf") format("truetype");  /* correct format */
  font-weight: normal;
  font-style: normal;
}

/* Import second font */
@font-face {
  font-family: "Name";                           /* font-family name you’ll use in CSS */
  src: url("fonts/x12y16pxSolidLinker.ttf") format("truetype");  /* encode spaces as %20 */
  font-weight: normal;
  font-style: normal;
}

/* Apply default font to the whole site */
body {
  font-family: "Lilian", sans-serif;    /* fallback to sans-serif */
  image-rendering: pixelated;
}

/* Header */
.site-header {
  width: 100%;
  max-width: 520px;                /* same as background */
  height: auto;
  aspect-ratio: 720 / 192;           /* keep original header proportions */
  position: fixed;                   /* stick to top */
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("images/header test.png");
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  z-index: 1000;
  display: flex;                     /* flexbox to align content */
  flex-direction: column;            /* stack h1 and nav vertically */
  align-items: center;               /* horizontal centering */
  justify-content: center;           /* vertical centering inside header */
  padding: 0;                        /* optional: remove default padding */
}

/* Header title */
.site-header h1 {
  margin: 0;
  color: white;
  padding: 20px 20px auto;
  font-size: 40px;                   /* adjust as needed */
  text-align: center;
  line-height: normal;
  font-weight: normal; 
  font-family: "Name", monospace;
  image_rendering: pixelated
}

/* Navigation links */
.site-header nav {
  margin-top: 5px;
  text-align: center;
}

.site-header nav a {
  margin: 0 5px;
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.site-header nav a:hover {
  color: red;
}

/* Body background */
body {
  background-color: #090019;
  background-image: url("images/bg test2.png");
  background-size: contain;            /* keep full image visible */
  background-position: center top;
  background-repeat: no-repeat;
  image-rendering: pixelated;
}

/* Wrapper to center content below fixed header */
body {
    display: flex;
    flex-direction: column;
    align-items: center;       /* horizontal centering */
    justify-content: flex-start; /* start at top, can use padding for header space */
    min-height: 50vh;
    padding-top: 120px;        /* offset for fixed header height */
    box-sizing: border-box;
    color: white;
    image-rendering: pixelated;
    font-weight: normal;
}


.about-me {
    width: 520px;
    max-width: 90%;
    margin: 2rem auto;
    box-sizing: border-box;
    padding: 1rem;
    font-weight: normal;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* align content to top */
    align-items: center;          /* keep horizontally centered */
}

/* Heading */
.about-me h2 {
    color: white;
    font-weight: normal;
    font-family: "Lilian", sans-serif;
}

/* Paragraph text */
.about-me p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
}





/* Latest Video Section as a centered blog-style box */
.latest-video {
    width: 520px;                   /* fixed width */
    height: 370px;                   /* fixed width */
    max-width: 90%;                 /* responsive fallback for small screens */
    background-image: url("images/test blog box.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;             /* center text */
    padding: 1rem;                  /* inner padding */
    box-sizing: border-box;
    font-weight: normal;
    
}

.latest-video h2 {
    color: white;           /* text color */
    font-weight: normal;    /* remove bold */
    margin-bottom: 1rem;    /* optional spacing below title */
    font-family: "Lilian", sans-serif; /* match your site font */
}

/* Video container inside the blog box */
.video-container {
    position: relative;
    padding-bottom: 56.25%;         /* 16:9 aspect ratio */
    overflow: hidden;
    margin-top: 1rem;
    font-weight: normal;
}

/* Video iframe */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;                     /* fills container width */
    height: 100%;                    /* fills container height */
    border: none;
    border-radius: 4px;              /* optional rounded corners */
    font-weight: normal;
}