/* ---------------------------------------------------- */
/* FONT IMPORTS */
/* ---------------------------------------------------- */

/* Merriweather Fonts */
@font-face {
    font-family: 'Merriweather';
    src: url('/assets/fonts/Merriweather/Merriweather-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/assets/fonts/Merriweather/Merriweather-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/assets/fonts/Merriweather/Merriweather-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/assets/fonts/Merriweather/Merriweather-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/assets/fonts/Merriweather/Merriweather-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/assets/fonts/Merriweather/Merriweather-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/assets/fonts/Merriweather/Merriweather-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/assets/fonts/Merriweather/Merriweather-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Roboto Fonts */
@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/Roboto-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

/* ---------------------------------------------------- */
/* ROOT VARIABLES */
/* ---------------------------------------------------- */

:root {
    --footer-height: 80px; /* Fixed height for footer */
    --background-color: #F5F5F5; /* Sky White */
    --text-color: #36454F; /* Lava Black */
    --link-color: #4682B4; /* Geothermal Blue */
    --link-hover-color: #556B2F; /* Moss Green */
    --footer-bg-color: #36454F; /* Lava Black */
    --padding: 40px;
}

/* ---------------------------------------------------- */
/* BODY STYLES */
/* ---------------------------------------------------- */

body {
    font-family: 'Roboto', sans-serif;
    padding: var(--padding);
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* ---------------------------------------------------- */
/* HEADER STYLES */
/* ---------------------------------------------------- */

header {
    font-family: 'Merriweather', serif; /* Branding font */
    display: flex;
    justify-content: flex-start; /* Aligns text to the left */
    align-items: center;
    font-size: 2.5rem;
    text-align: left;
    padding-top: var(--padding);
    padding-left: var(--padding);
    padding-right: var(--padding);
    padding-bottom: 0;
}

header a.branding, 
header a.branding:hover,
header a.branding:visited,
header a.branding:active {
    text-decoration: none;
    color: var(--text-color)
}

/* ---------------------------------------------------- */
/* MAIN CONTENT STYLES */
/* ---------------------------------------------------- */

section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content closer to the 1/3 line */
    padding: var(--padding);
    font-size: 1.32rem; /* Slightly larger for readability */
    line-height: 1.8;
}

section.verticly-center {
    align-items: center;
    text-align: center;
    margin-top: 15vh;
}

section.verticly-center p {
    font-family: 'Merriweather', serif; /* Branding font */
    font-size: 1.75rem;
}

section.verticly-center p:last-child {
    margin-top: 20px;
    font-size: 1rem; /* Slightly smaller for supplementary text */
}

/* ---------------------------------------------------- */
/* TYPOGRAPHY STYLES */
/* ---------------------------------------------------- */

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1.75rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--text-color);
}

h1.title, h2.title, h3.title, h4.title, h5.title, h6.title {
    margin-bottom: 0.5em;
}

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

/* Style UL and OL similar to P */
ul, ol {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1.75rem;
    padding-left: 2rem; /* Indent list items */
}

li {
    margin: 0; /* No margins for individual list items */
}

/* ---------------------------------------------------- */
/* FOOTER STYLES */
/* ---------------------------------------------------- */

footer {
    height: var(--footer-height);
    background-color: var(--footer-bg-color);
    color: var(--background-color);
    font-size: 0.9rem;
    display: flex; /* Flexbox for layout */
    justify-content: space-between; /* Align items to both ends */
    align-items: center; /* Vertically center content */
    padding-left: var(--padding);
    padding-right: var(--padding);
}

.footer-content {
    display: flex; /* Use flexbox for the content */
    justify-content: space-between; /* Space out left and right elements */
    align-items: center;
    width: 100%; /* Ensures full width is used */
}

.footer-content > span {
    margin-right: 20px; /* Add spacing between copyright and link */
}

.footer-content a {
    margin-left: 20px; /* Optional: Add spacing for balance */
}


/* ---------------------------------------------------- */
/* LINK STYLES */
/* ---------------------------------------------------- */

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

/* ---------------------------------------------------- */
/* RESPONSIVE STYLES */
/* ---------------------------------------------------- */

@media (max-width: 768px) {
    header {
        font-size: 2rem;
    }

    section {
        font-size: 1.2rem;
        padding: var(--padding);
    }

    footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 1.8rem;
    }

    section {
        font-size: 1.1rem;
    }

    footer {
        font-size: 0.7rem;
    }
}
