/* Font Face Declarations */
@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-Demi.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Termina';
    src: url('../fonts/TerminaTest-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

/* Reset for proper alignment */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    /* Ensure the body and html take full height */
}

/* Font Face Declarations (unchanged) */
/* Your font-face declarations remain the same here */

/* Global Font Settings */
body {
    font-family: 'Termina', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    /* Apple-like color scheme */
}

/* Enhanced p Style for Visual Appeal */
p {
    font-family: 'Termina', sans-serif;
    font-weight: 300;
    font-size: 0.8125rem;
    /* 20% smaller than 1rem (16px) */
    line-height: 1.75;
    color: #4A4A4A;
    letter-spacing: 0.02em;
    margin-bottom: 1.5em;
}

p.light-text {
    font-weight: 200;
    color: #666;
    /* Softer color for light text */
}

.white-font {
    color: #fff !important;
}

/* Headings with Responsive Font Sizes */
h1 {
    font-weight: 700;
    font-size: 1.875rem;
    /* 30px */
}

h2 {
    font-weight: 500;
    font-size: 1.5rem;
    /* 24px */
}

h3 {
    font-weight: 400;
    font-size: 1.25rem;
    /* 20px */
}

h4,
h5 {
    font-weight: 300;
    font-size: 1.125rem;
    /* 18px */
}

/* Subheading and Capitalized Text */
.subheading {
    text-transform: uppercase;
    color: grey;
    font-weight: 400;
}

.cap {
    text-transform: uppercase;
}

/* Responsive Font Sizes */

/* Mobile Screens (Max 768px) */
@media (max-width: 768px) {
    body {
        font-size: 17.12px;
        /* 16px + 7% */
    }

    p {
        font-size: 0.8694rem;
        /* 0.8125rem + 7% */
        line-height: 1.8725;
        /* Increased proportionally */
    }

    h1 {
        font-size: 2.00625rem;
        /* 1.875rem + 7% */
    }

    h2 {
        font-size: 1.605rem;
        /* 1.5rem + 7% */
    }

    h3 {
        font-size: 1.3375rem;
        /* 1.25rem + 7% */
    }

    h4,
    h5 {
        font-size: 1.20375rem;
        /* 1.125rem + 7% */
    }
}

/* Medium Screens (Tablets, ~640px and up) */
@media (min-width: 640px) {
    body {
        font-size: 17px;
    }

    p {
        font-size: 0.8625rem;
        /* 20% smaller than 1.0625rem (17px) */
        line-height: 1.8;
    }

    h1 {
        font-size: 2rem;
        /* 32px */
    }

    h2 {
        font-size: 1.75rem;
        /* 28px */
    }

    h3 {
        font-size: 1.5rem;
        /* 24px */
    }

    h4,
    h5 {
        font-size: 1.25rem;
        /* 20px */
    }
}

/* Large Screens (Desktops, ~1024px and up) */
@media (min-width: 1024px) {
    body {
        font-size: 18px;
    }

    p {
        font-size: 0.9rem;
        /* 20% smaller than 1.125rem (18px) */
        line-height: 1.85;
    }

    h1 {
        font-size: 2.25rem;
        /* 36px */
    }

    h2 {
        font-size: 2rem;
        /* 32px */
    }

    h3 {
        font-size: 1.75rem;
        /* 28px */
    }

    h4,
    h5 {
        font-size: 1.5rem;
        /* 24px */
    }
}

/* Extra-Large Screens (Large Desktops, ~1440px and up) */
@media (min-width: 1440px) {
    body {
        font-size: 19px;
    }

    p {
        font-size: 0.95rem;
        /* 20% smaller than 1.1875rem (19px) */
        line-height: 1.9;
    }

    h1 {
        font-size: 2.5rem;
        /* 40px */
    }

    h2 {
        font-size: 2.25rem;
        /* 36px */
    }

    h3 {
        font-size: 2rem;
        /* 32px */
    }

    h4,
    h5 {
        font-size: 1.75rem;
        /* 28px */
    }
}