/*THIS WHOLE FILE IS IN A RANDOM ORDER, I ADD AS I GO*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/*Header style*/
header {
    text-align: center;
}

/*Nav style*/
nav {
    text-align: center;
    }

/*Background colour and font style*/
body {
    font-family: 'Poppins', sans-serif;
    background-color: beige;
    }

/*Underline text class*/
.underline {
        text-decoration: underline;
    }

/*Bold text class*/
.bold {
        font-weight: bold;
    }

/*Text centre class*/
.center {
        text-align: center;
    }

/*Image centre class*/
.center-img {
    display: block;
    margin: 20px auto;
    width: 300px;
    max-width: 100%;
    }

/*Style for main content and footer to be centred with max width */
main, footer, form {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 20px;
}

.formkit-powered-by-convertkit-container {
    display: none !important;
}

footer {
    max-width: 800px;
    margin: 40px auto 20px auto; /* Centers the box and adds space above/below */
    padding: 20px;
    background-color: #ffffff;   /* Box background color */
    border: 1px solid #e3e3e3;    /* Subtle outer border */
    border-radius: 8px;           /* Rounded corners */
    text-align: center;           /* Center-aligns footer text */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Optional soft drop shadow */
}

footer p {
    margin: 5px 0;
    font-size: 14px;
    color: #555555;
}

/*Green text class*/
.green-text {
    color: #44c348;
}

/*Grey text class*/
.grey-text {
    color: #b5b1b1;
}

/*AFTER A LINK UNDER NAV IS CLICKED ON, (VISITED), THE LINK COLOUR STAYS THE SAME*/
body > nav a, 
body > nav a:visited {
    color: #5faa62;
}

/*AFTER A LINK UNDER NAV IS CLICKED ON, (VISITED), THE LINK COLOUR STAYS THE SAME*/
footer nav a, 
footer nav a:visited {
    color: #b5b1b1;
}

/*Make text red*/
.red-text {
    color: red;
}

/*Make text blue*/
.blue-text {
    color: #A3D2D9;
}


/* Background Colour and Font Family*/
body {
    background-color: #B7E0E6;
    font-family: Arial, sans-serif;
}

/* Font Family */

/* Centre Text */
.centre-text {
    text-align: center;
}

/* Underline Text */
.underline-text {
    text-decoration: underline;
}

main, footer, form {
    max-width: 800px;
    line-height: 1.6;
    margin: 0px auto;
    padding: 20px;
}

/* GMN */
  /* CSS Reset & Variables */
  :root {
    --primary: #a4bd98;
    --primary-hover: #aca7e0;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --radius: 12px;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* Header & Navigation */
  header {
    background: linear-gradient(135deg, var(--primary), #53BAC7);
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
  }

  header h1 {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
  }

  nav {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.2s;
  }

  nav a:hover, nav a.active {
    color: var(--primary);
  }

  /* Main Content */
  main {
    max-width: 800px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 1rem;
    flex: 1;
  }

  main h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
  }

  article {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  article h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
  }

  article h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
  }

  article p {
    color: var(--text-muted);
    margin-bottom: 1rem;
  }

  /* Responsive Images */
  article img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
  }

.shrink-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}