﻿html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    margin: 0;
    padding: 0;
}

p {
    margin-block-end: 1rem;
}

ul,
ol {
    list-style: none;
}

@layer base {
    :root {
        --text-darkest: black;
        --text-dark: hsl(50, 0%, 20%);
        --text-light: hsl(206, 100%, 97%);
        --text-lightest: white;
        --text-accent: hsl(150deg 100% 70%);
        --text-secondary: hsl(15, 75%, 60%);
        --background_darkorange: darkorange;
        --background-dark: hsl(197, 87%, 30%);
        --background-darker: hsl(197, 87%, 25%);
        --background-darkest: hsl(197, 87%, 15%);
        --background-light: hsl(185deg 45% 85%);
        --background-lightest: hsl(206, 100%, 97%);
        --background-accent: hsl(5, 85%, 70%);
        --light-tint: hsla(0 100% 100% / 0.15);
    }
}
@layer layout {
}

/* desktop view */
@media (width > 768px) {
}

@layer utilities {
}
@layer components {
    .section-hero {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .hero-image {
        width: 100%;
        border-radius: 0.5rem;
    }

    .aboutcontainer-flex {
        max-width: 80%;
        margin: 0px auto;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        background-color: var(--background-light);
        border-radius: 0.35rem;
        border: 1px solid red;
        box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
    }

    img, picture {
        max-inline-size: 100%;
        display: block;
    }


    .biography-container {
        display: flex;
        align-items: start;
        gap: 2rem;
    }

    .hero-wrapper {
        display: grid;
        min-height: 75dvh;
        grid-template-rows: auto 1fr;
    }


    .main-header-container {
        display: grid;
        grid-template-areas: "logo main-text contact";
        grid-template-columns: auto 1fr auto;
        padding: 0.5em;
        line-height: 1.25;
        gap: 1rem;
    }

    .inner-header {
        color: teal;
        grid-area: main-text;
    }

    .header-contact {
        grid-area: contact;
        margin-left: auto;
        font: 1.2rem sans-serif;
        padding-right: 0.5em;
    }

        .header-contact a {
            text-decoration: none;
            color: inherit;
        }

    .logo-link {
        grid-area: logo;
    }

    .logo {
        width: 130px;
        height: auto;
    }

    h1,
    .kids {
        font-size: 2rem;
    }

    .suite {
        font-size: 1.4rem;
        font-style: italic;
    }

        .suite span {
            white-space: nowrap;
        }

    .main-container {
        max-width: 1200px;
        margin-inline: auto;
        padding-block: 2rem;
        padding-inline: var(--inline-padding);
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .article-container {
        margin-top: 1em;
        max-width: 1200px;
        margin-inline: auto;
        padding-block: 2rem;
        padding-inline: var(--inline-padding);
        display: flex;
        flex-direction: column;
        gap: 2rem;
        border: solid;
        border-color: black;
        border-width: 1px;
        border-radius: 20px;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    }

    section.hero {
        /* local variable overwrites the global */
        --text-main: rgb(20, 20, 20);
        max-width: 100%; /* add this */
        padding-inline: 2rem; /* I'd also suggest this to get the text away from the very edge... */
    }

    .biography-container {
        display: flex;
        align-items: start;
        gap: 2rem;
    }

        .biography-container p {
            max-width: 60ch;
        }

        .biography-container img {
            width: 200px;
            object-fit: contain;
        }

    p {
        max-width: 60ch;
    }

    img {
        width: 200px;
        object-fit: contain;
    }

    .officehoursdynamic {
        margin: 0 auto;
        width: 60%;
        color: white;
        padding: 2rem;
        font-size: 1.15rem;
        font-weight: 300;
        line-height: 1.75rem;
        color: white;
        /*
            background-color: darkorange;
        */
        background-color: var(--background_darkorange);
        border-radius: 0.35rem;
        border: 1px solid red;
        box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
    }

    .officehourscontainer {
        margin: 0 auto;
        max-width: 60%;
    }

    .officehoursdetails {
        text-align: center;
    }

    #tblhursofoperation {
        color: white;
        font-size: 1.15em;
        font-weight: 300;
    }

        #tblhursofoperation th, td {
            padding-top: .5em;
            padding-bottom: .5em;
            padding-left: .5em;
            padding-right: .5em;
        }
    /* smaller screen for header only (excluding navigation) */
    @media screen and (max-width: 768px) {
        h1, .kids {
            font-size: 1.1rem;
        }

        .header-contact {
            font: 0.8rem sans-serif;
        }

        .suite {
            font-size: 0.8rem;
        }

        .logo {
            width: 65px;
        }
    }
    /* smaller screen for header only (excluding navigation) */
    @media screen and (max-width: 540px) {
        .main-header-container {
            grid-template-areas:
                "logo main-text"
                "logo contact";
            grid-template-columns: auto 1fr;
            padding: 0.5em 0;
            line-height: 1.25;
            gap: 0 0.5rem;
            align-items: center;
        }

        .header-contact {
            margin-left: 0;
            display: flex;
            gap: 1rem;
            color: teal;
        }
    }

    /* start navigation main code */

    .primary-navigation {
        background-color: rgb(11, 24, 61);
        position: relative;
    }

    .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0); /* older syntax for max compatibility */
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }

    .toggle {
        display: none;
        -webkit-appearance: none;
        background: transparent;
        color: #fff;
        border: none;
        font-size: 1.2rem;
        padding: 0.1rem 0.5rem;
        margin: 0;
        cursor: pointer;
    }

    .menu-items {
        display: flex;
    }

        .menu-items li {
            display: flex;
        }

        .menu-items a {
            display: flex;
            align-items: center;
            color: #f2f2f2;
            text-align: center;
            padding: 0.9rem 1vw;
            text-decoration: none;
            font-size: 1.1rem;
            transition: 0.3s ease;
        }

            .menu-items a:hover {
                background-color: #555;
                color: white;
            }

    /* smaller screen for navigation only */
    @media screen and (max-width: 920px) {
        .menu-items a {
            padding: 0.8rem 0.5vw;
            font-size: 0.95rem;
        }
    }
    /* kick in mobile navigation about here */
    @media screen and (max-width: 768px) {
        .primary-navigation {
            min-height: 2.2rem;
        }

        .menu-items {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
        }

            .menu-items li {
                background-color: rgba(11, 24, 61, 0.9);
                transition: 0.5s ease;
            }

                .menu-items li:not(:first-child) {
                    pointer-events: none;
                    opacity: 0;
                }

        .toggle {
            display: block;
            position: absolute;
            z-index: 99;
            right: 0.5rem;
            top: 0;
        }

        .menu-items,
        .menu-items li,
        .menu-items a {
            display: block;
            padding: 0;
            text-align: left;
        }

        .menu-items {
            padding: 0;
        }

            .menu-items a {
                font-size: 1.1rem;
                display: block;
                padding: 0.5rem 1rem;
            }

        .toggle[aria-expanded="true"] + ul > li {
            opacity: 1;
            pointer-events: initial;
        }
    }

    /* start splash hero code here */

    #splash {
        width: 100%;
        height: 60vh;
        /*float: right;*/

        display: grid;
        align-content: center;
        /*
            color: teal;
            font-size: .7em;
                */
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        margin: 0 0 1rem;
        padding: 0.5em;
        text-align: right;
        line-height: 1;
        /*
                font-weight: 900;
            -webkit-text-stroke-width: 2px;
            -webkit-text-stroke-color: black;
                */
        /*
                background: url(../images/July_2002_028.jpg) no-repeat center center;
            */
        background: url(../images/July_2002_028_fade.jpg) no-repeat center center;
        /*opacity: 0.7;*/
        background-size: cover;
    }

        #splash span {
            display: block;
        }

        #splash h2,
        #splash a,
        #splash p {
            color: teal;
            -webkit-text-stroke-width: 2px;
            -webkit-text-stroke-color: black;
            font-size: clamp(2.5rem, 8vw, 7rem);
            text-decoration: none;
        }

    /* main section and footer styling follows */
    .pcmh {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;
        margin: 0 0 1rem;
        height: 50vh;
        max-height: 250px;
    }

        .pcmh img {
            width: auto;
            height: 100%;
            max-width: 300px;
            object-fit: contain;
            border: 1px solid red;
            box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
        }

    .footer {
        line-height: 1.6;
        font-size: 1.2rem;
        padding: 1rem;
        background: #000;
        color: #fff;
    }

    .footer-top {
        display: flex;
        gap: 0 1rem;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }

    .footer-name:after {
        content: " - ";
        padding-left: 0.5rem;
    }

    .postal-address {
        font-style: normal;
        display: flex;
        align-items: center;
        flex-direction: column;
        line-height: 1.6;
    }

        .postal-address * {
            color: inherit;
            text-decoration: none;
        }

    #dislcaimer {
        padding-top: 1em;
        width: 80%;
    }
    /* smaller screen for main section and footer only */
    @media screen and (max-width: 768px) {
        .pcmh {
            gap: 1rem;
            padding: 1rem;
            margin: 0 0 1rem;
            height: auto;
            max-height: none;
        }

            .pcmh img {
                width: 100%;
                height: auto;
                max-width: 280px;
                margin: auto;
            }

        .footer {
            line-height: 1.4;
            font-size: 1.1rem;
        }

        /*  MY STYLES
        .divabout {
            background-color: teal;
            width: 80%;
            color: white;
        }
            */
    }
}

/* kick in mobile navigation about here */
@media screen and (max-width: 768px) {
}

/* smaller screen for header only (excluding navigation) */
@media screen and (max-width: 540px) {
    .main-header-container {
        grid-template-areas:
            "logo main-text"
            "logo contact";
        grid-template-columns: auto 1fr;
        padding: 0.5em 0;
        line-height: 1.25;
        gap: 0 0.5rem;
        align-items: center;
    }

    .header-contact {
        margin-left: 0;
        display: flex;
        gap: 1rem;
        color: teal;
    }
}
/*
    ****************************************************************
    START NAVIGATION MAIN CODE
    ****************************************************************
*/

.primary-navigation {
    background-color: rgb(11, 24, 61);
    position: relative;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0); /* older syntax for max compatibility */
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.toggle {
    display: none;
    -webkit-appearance: none;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    padding: 0.1rem 0.5rem;
    margin: 0;
    cursor: pointer;
}

.menu-items {
    display: flex;
}

    .menu-items li {
        display: flex;
    }

    .menu-items a {
        display: flex;
        align-items: center;
        color: #f2f2f2;
        text-align: center;
        padding: 0.9rem 1vw;
        text-decoration: none;
        font-size: 1.1rem;
        transition: 0.3s ease;
    }

        .menu-items a:hover {
            background-color: #555;
            color: white;
        }

/* smaller screen for navigation only */
@media screen and (max-width: 920px) {
    .menu-items a {
        padding: 0.8rem 0.5vw;
        font-size: 0.95rem;
    }
}

/* kick in mobile navigation about here */
@media screen and (max-width: 768px) {
    .primary-navigation {
        min-height: 2.2rem;
    }

    .menu-items {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

        .menu-items li {
            background-color: rgba(11, 24, 61, 0.9);
            transition: 0.5s ease;
            transition-behavior: allow-discrete;
        }

            .menu-items li:not(:first-child) {
                pointer-events: none;
                opacity: 0;
                display: none;
            }

    .toggle {
        display: block;
        position: absolute;
        z-index: 99;
        right: 0.5rem;
        top: 0;
    }

    .menu-items,
    .menu-items li,
    .menu-items a {
        display: block;
        padding: 0;
        text-align: left;
    }

    .menu-items {
        padding: 0;
    }

        .menu-items a {
            font-size: 1.1rem;
            display: block;
            padding: 0.5rem 1rem;
        }

    .toggle[aria-expanded="true"] + ul > li {
        opacity: 1;
        display: block;
        pointer-events: initial;


    }
}

/*
    ****************************************************************
    END NAVIGATION
    ****************************************************************
*/
/*
    ****************************************************************
    START MAIN SETION AND FOOTER
    ****************************************************************
*/
.pcmh {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    margin: 0 0 1rem;
    height: 50vh;
    max-height: 250px;
}
.pcmh img {
    width: auto;
    height: 100%;
    max-width: 300px;
    object-fit: contain;
    border: 1px solid red;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
}

.footer {
    line-height: 1.6;
    font-size: 1.2rem;
    padding: 1rem;
    background: #000;
    color: #fff;
}

.footer-top {
    display: flex;
    gap: 0 1rem;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-name:after {
    content: " - ";
    padding-left: 0.5rem;
}

.postal-address {
    font-style: normal;
    display: flex;
    align-items: center;
    flex-direction: column;
    line-height: 1.6;
}

    .postal-address * {
        color: inherit;
        text-decoration: none;
    }

#dislcaimer {
    padding-top: 1em;
    width: 60%;
}
/* smaller screen for main section and footer only */
@media screen and (max-width: 768px) {
    .pcmh {
        gap: 1rem;
        padding: 1rem;
        margin: 0 0 1rem;
        height: auto;
        max-height: none;
    }

        .pcmh img {
            width: 100%;
            height: auto;
            max-width: 280px;
            margin: auto;
        }

    .footer {
        line-height: 1.4;
        font-size: 1.1rem;
    }
}