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

body {
    font-family: sans-serif;
    background-color: #f1f8ff;
}

header {
    background-color: #f1f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    padding: 10px;
}

#header-svg-icon {
    height: 200px;
    padding: 0px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*======================
HAMBURGER AND NAVIGATION
========================*/

#hamburger {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #f0f0f0;
    border: 2px solid rgb(0, 0, 0, 1);
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
    align-items: center;
    z-index: 2001;
    border-radius: 8px;
}

/*the lines inside the button that make the hamburger*/
#hamburger span {
    display: block;
    width: 42px;
    height: 4px;
    padding: 0;
    margin: 0;
    background-color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/*==========*/
/*SLIDE MENU*/
/*==========*/

/*
MENU STATE MANAGEMENT
All menu open/close behavior is controlled by toggling
the 'menu-open' class on the body element.
When body has class 'menu-open':
  - slide menu slides in from left
  - overlay appears behind menu
  - page scroll is disabled
  - hamburger animates into an X
JavaScript only needs to add/remove this one class.
*/

#slide-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #f1f8ff;
    z-index: 2000;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    padding: 4rem 1rem 1rem 1rem;
}

/*
The menu-open class can be toggled on the body element
This activates and deactives the css to open menu
and style to hamburger into an x
The individual elements are selected with
a descendant combinator ID
*/

/*slide out menu when menu-open class is added to body element*/
body.menu-open #slide-menu {
    left: 0;
}

/*changes the display on the overlay from none to block
when menu-open class is added to body element*/
body.menu-open #menu-overlay {
    display: block;
}

/*stops the feed scroll when menu-open class is added
to body element*/
body.menu-open {
    overflow: hidden;
}

/*translates the hamburger into an x
when menu-open class added to body element*/

body.menu-open #hamburger span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

body.menu-open #hamburger span:nth-child(2) {
    opacity: 0;
}

body.menu-open #hamburger span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

#slide-menu ul {
    list-style: none;
}

#slide-menu ul li {
    border-bottom: 1px solid #ddd;
}

#slide-menu ul li a {
    display: block;
    padding: 1rem 0.5rem;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
}

#slide-menu ul li a:hover {
    color: #0066cc;
}

#menu-active {
    background-color: #ddd;
}

#menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

/*=======
content
=========*/

#content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    padding: 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

#Lynn_pic {
    width: 88%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



#sales-pitch {
    padding: 0 12px 12px 12px;
    position: relative;
    padding-top: 20px;
    font-size: 18px;
    margin-top: 0.5rem;
    white-space: normal;
    width: 100%;
    max-width: 700px;
    text-align: left;
    color: #013467
}

/*Contact Section*/

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    flex: 1;
    width: 33%;
    max-width: 500px;
}

.contact-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.contact-blinker {
    width: 100%;
    height: auto;
}

.contact-icon {
    height: auto;
    width: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

/* Social Media Section - Mobile First */
.social-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    flex: 1;
    width: 33%;
    max-width: 500px;
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.social-icon {
    height: auto;
    width: 100%;
    max-width: 500px;
    object-fit: contain;
}

/* animate hamburger menu icon */
@keyframes hamburger-animate {
  0%   {background-color:#333;}
  16% {background-color:#333;}
  33% {background-color: rgb(244,180,255);}
  50% {background: #333;}
  100%{background-color: #333;}
}

#hamburger-1 {
    animation-name: hamburger-animate;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

#hamburger-2 {
    animation-name: hamburger-animate;
    animation-duration: 6s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
}

#hamburger-3 {
    animation-name: hamburger-animate;
    animation-duration: 6s;
    animation-delay: 2s;
    animation-iteration-count: infinite;
}

/* on wide screens show the menu permanently */
@media (min-width: 768px) {

    #slide-menu {
        left: 0;
        box-shadow: none;
        border-right: 1px solid #ddd;
        position: sticky;
        grid-column: 1;
        grid-row: 1;
    }

    #hamburger {
        display: none;
    }

    #menu-overlay {
        display: none !important;
    }

    body {
        display: grid;
        grid-template-columns: 280px 1fr;
        grid-template-rows: 1fr;
        height: 100vh;
        max-width: 1400px;
        margin:0 auto;
        overflow: hidden;
    }

    main {
        grid-column: 2;
        grid-row: 1;
        overflow-y: auto;
        min-height: 0;
        width: 100%;
    }
}