/*
  The CSS in this style tag is based off of Bear Blog's default CSS.
  https://github.com/HermanMartinus/bearblog/blob/297026a877bc2ab2b3bdfbd6b9f7961c350917dd/templates/styles/blog/default.css
  License MIT: https://github.com/HermanMartinus/bearblog/blob/master/LICENSE.md
 */

:root {
  --accent: #1c93d2;        /* Primary logo blue */
  --accent-dark: #0d5e8d;   /* Darker shade for contrast */
  --black: 15, 18, 25;
  --gray: 96, 115, 159;
  --gray-light: 229, 233, 240;
  --gray-dark: 34, 41, 57;
  --gray-gradient: rgba(var(--gray-light), 50%), #fff;
  --box-shadow: 0 2px 6px rgba(var(--gray), 25%),
    0 8px 24px rgba(var(--gray), 33%), 0 16px 32px rgba(var(--gray), 33%);
}
.internal-links.show a{
  color: black !important;
}
nav[data-astro-cid-3ef6ksr2] a[data-astro-cid-3ef6ksr2] {
    padding: 0rem 1rem 0rem 1rem !important;
    /* color: var(--black);
    border-bottom: 4px solid transparent;
    text-decoration: none; */
}

#menu-toggle{
  color: white !important;
}
.internal-links[data-astro-cid-3ef6ksr2]{
  top: 80px !important;
}
@font-face {
  font-family: "Atkinson";
  src: url("/fonts/atkinson-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("/fonts/atkinson-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: "Atkinson", sans-serif;
  margin: 0;
  padding: 0;
  text-align: left;
  background: linear-gradient(var(--gray-gradient)) no-repeat;
  background-size: 100% 600px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: rgb(var(--gray-dark));
  font-size: 20px;
  line-height: 1.7;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
main {
  width: 100%;
  margin: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5rem 0;
  color: rgb(var(--black));
  line-height: 1.2;
}
h1 {
  font-size: 3.052em;
}
h2 {
  font-size: 2.441em;
}
h3 {
  font-size: 1.953em;
}
h4 {
  font-size: 1.563em;
}
h5 {
  font-size: 1.25em;
}
strong,
b {
  font-weight: 700;
}
a {
  color: var(--accent);
}
a:hover {
  color: var(--accent);
}
p {
  margin-bottom: 1em;
}
.prose p {
  margin-bottom: 2em;
}
textarea {
  width: 100%;
  font-size: 16px;
}
input {
  font-size: 16px;
}
table {
  width: 100%;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
code {
  padding: 2px 5px;
  background-color: rgb(var(--gray-light));
  border-radius: 2px;
}
pre {
  padding: 1.5em;
  border-radius: 8px;
}
pre > code {
  all: unset;
}
blockquote {
  border-left: 4px solid var(--accent);
  padding: 0 0 0 20px;
  margin: 0px;
  font-size: 1.333em;
}
hr {
  border: none;
  border-top: 1px solid rgb(var(--gray-light));
}
@media (max-width: 720px) {
  body {
    font-size: 18px;
  }

}

.sr-only {
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
  clip: rect(1px 1px 1px 1px);
  /* maybe deprecated but we need to support legacy browsers */
  clip: rect(1px, 1px, 1px, 1px);
  /* modern browsers, clip-path works inwards from each corner */
  clip-path: inset(50%);
  /* added line to stop words getting smushed together (as they go onto separate lines and some screen readers do not understand line feeds as a space */
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: white;
  text-align: center;
  padding: 2rem;
  padding-top: 96px
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust darkness */
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3em;
  color: rgb(var(--white));
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2em;
  color: rgb(var(--white));
  margin-bottom: 2rem;
}
header:not(.site-header) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4) !important;
  color: white;
  padding: 0px !important;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  backdrop-filter: blur(6px);
  flex-direction: column-reverse;
}
nav:not(.site-nav-links):not(.site-footer-nav){
  display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
}
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid var(--accent);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #000;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary {
  display: inline-block;
  background-color: var(--accent); /* Blue background */
  color: #ffffff; /* White text */
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid var(--accent); /* Adds a border for smooth hover transition */
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #ffffff; /* White background on hover */
  color: var(--accent); /* Blue text on hover */
  border-color: var(--accent); /* Maintains the border color */
}

/* About Preview Section */
.about-preview {
  background-color: rgba(var(--gray-light), 0.5);
  padding: 3rem 2rem;
}

.about-preview h2 {
  color: rgb(var(--black));
}

.about-preview p {
  color: rgb(var(--gray));
  max-width: 600px;
  text-align: left;
}

.about-preview li {
  color: rgb(var(--gray));
  text-align: left;
}

/* Call-to-Action (CTA) Section */
.cta {
  background-color: #084d70; /* Darker blue for CTA background */
  color: #ffffff;
  text-align: center;
  padding: 4rem 2rem;
}

.cta h2 {
  color: #ffffff;
  font-size: 2em;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2em;
  margin-bottom: 2rem;
}

/* Hero CTA */
.hero-content .btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid var(--accent);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.hero-content .btn-primary:hover {
    background-color: #ffffff;
    color: var(--accent);
    border-color: #ffffff;
}

/* CTA Button */
.cta .btn-primary {
  background-color: #228b9e;
  color: #ffffff;
  border: 2px solid #228b9e;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cta .btn-primary:hover {
  background-color: #ffffff; 
  color: #1a6f7d;
  border-color: #1a6f7d;
}

.cta .btn-primary:active {
  background-color: #155a65;
  color: #ffffff;
  border-color: #155a65;
}


@media (max-width: 1440px) {
  .hero{
    padding-top: 160px;
  }
  .about .hero{
    padding-top: 120px;
  }
}
@media (max-width: 768px) {
  .hero{
    padding-bottom: 80px;
  }
  .about .hero{
    min-height: 30vh;
  }
}
/* About Section */
