html, body {
    height: 100%;  /* ensures body fills the viewport */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto Slab', serif;
    line-height: 1.6;
    color: #fff;
/*     max-width: 800px; */
    margin: 0 auto;
    padding: 20px;
    position: relative; /* needed for ::before positioning */

    min-height: 100vh;
    display: flex;
    flex-direction: column; /* allows for flexible layout */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('https://hc-cdn.hel1.your-objectstorage.com/s/v3/b1c37cb9f61367b6dd4bc55f64b2c6eb6f492bbd_google_ai_studio_2025-11-19t08_21_57.758z.png');
    background-size: cover;  /* scales bigger */
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px);  /* fixed typo */
    z-index: -1;
    background-attachment: fixed; 
}

/* background-attachment: fixed; */

h1.main-title {

 
   /* display: table;
    margin: 30px auto;
    background-color: rgba(255, 255, 255, 0.5);  /* semi-transparent white background */
   /* padding: 15px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);  /* adds blur to background behind text */

    font-family: 'Audiowide', sans-serif;

    color: #40a9f0;  /* dark blue text colour */
    border-bottom: 2px solid #eee;  
    padding-bottom: 10px;
    text-align: center;

    user-select: none;
    cursor: default;

}

.sidebar {
    width: 220px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(30, 30, 30, 0.85); /* dark semi-transparent */
    backdrop-filter: blur(5px); /* frosted-glass effect */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.content {
  margin-left: 240px; 
  padding: 20px;
}

.sidebar a:link,   
.sidebar a:visited, 
.sidebar a:hover,
.sidebar a:active {
    color: white;          
    text-decoration: none;  
}

#secret-link {
  position: fixed;          /* stays in place while scrolling */
  bottom: 20px;             /* distance from bottom */
  right: 20px;              /* distance from right */
  width: 50px;              /* size of clickable area */
  height: 50px;
  display: block;           /* make width/height effective */
  background-color: transparent; /* invisible */
  text-decoration: none;    /* no underline */
  z-index: 9999;            /* on top of everything else */
  cursor: default;          /* show pointer on hover */
}

.secret-image{
    border-radius: 15px;      /* rounded corners */
    border: 2px solid #000;   /* border */
    width: 400px;             /* size */
    height: auto;
}

body .content h2.About_Me {
    font-family: 'Audiowide', sans-serif;
    color: #a1d6f9; 
    text-align: left;
}

h2.secret {
    font-family:'Times New Roman', Times, serif;
    color: #ff1100;

}

.button-container {
    display: flex; 
    gap: 15px; /* Adds space between the buttons */
    margin-bottom: 20px; /* Space below the button block */
}

.secret-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: #f0f8ff;
    color: #007bff;
    transition: background-color 0.2s; /* Smooth hover effect */
}

.secret-button:hover {
    background-color: #e6f7ff;
}

#secret-result-text {
    font-size: 22px;
    font-weight: bold;
    min-height: 30px;
    color: #ff1100;
}

h2.sidebar-title {
    padding: 10px 20px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    border: 1px solid #dde1e6;
    background-color: #586d7aa6;
    border-radius: 4px;
    text-align: center;
    margin-left: 35px;
}

h3.Journal-Intro {
    font-family: 'Roboto Slab', serif;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 30px;
}

.sidebar-links {
    display: block;
    padding: 10px 15px;
    margin: 8px 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    border: 1px solid #175e8a;
    background-color: #115077a6;
    border-radius: 4px;
    text-align: center;
    width: 150px;
    transition: background-color 0.3s, transform 0.3s;
}

.FTC-Icon {
    display: flex;
    flex-direction: column;  
    align-items: center;     
    justify-content: center;
    text-decoration: none;   
    background-color: #2d6c96;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    width: 80px;           
    height: 80px; 
    border-radius: 4px;   
    padding: 10px;
    transition: transform 0.2s, background-color 0.2s;
}

.FTC-Icon img {
    width: 135px;
    height: 135px;
    margin-bottom: 5px;
    border-radius: 2px;
}

.FTC-Icon:hover {
    background-color: #1b4c73;
    transform: scale(1.1);
}

.FTC-Icon span {
    font-size: 12px;
}

.FTC-Content {
    font-family: 'Lucida Sans', 'Lucida Sans Regular';
    font-size: 16px;
    
}

a {
    color:#40a9f0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #40a9f0;
}

a:active {
    color: #FF6347;
}


form[name="contact-me-form"] {
    max-width: 500px; 
    
    /* margin-left: auto;
    margin-right: auto; */
    margin-left: 5px;
    margin-right: auto;
    padding: 20px;
    
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



form[name="contact-me-form"] p {
    margin-bottom: 15px;
}

form[name="contact-me-form"] label {
    display: block; 
    font-weight: bold;
    margin-bottom: 5px;
}

form[name="contact-me-form"] input[type="text"],
form[name="contact-me-form"] input[type="email"],
form[name="contact-me-form"] textarea,
form[name="contact-me-form"] select {
    width: 100%; 
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box; 
}

form[name="contact-me-form"] button[type="submit"] {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form[name="contact-me-form"] button[type="submit"]:hover {
    background-color: #0056b3;
}

.hidden-field-for-bots {
    display: none;
    visibility: hidden;
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.Magstrike-projects {
    text-shadow: #1b4c73 3px 3px 5px;
    font-family: sans-serif, Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 24px;
    color: beige;
}

#journal {
  max-width: 700px;
  margin: auto;
  padding: 20px;
  line-height: 1.6;
}
#journal h1, #journal h2, #journal h3 {
  margin-top: 1.5em;
}

.header-press:hover {
    text-decoration: none;
}

footer {
  text-align: center;
  padding: 3px;
  background-color: DarkSalmon;
  color: white;
}