* {
    margin: 0px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
html {
    scroll-behavior: smooth;
}
:target {
    scroll-margin-top: 8vh;
}
.block {
    width: 100vw;
    height: 7vh;
}
body {
    overflow-x: hidden;
    background-color: #e2e2e2;
}
header {
    height: 64px;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 189, 89, 0.5);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    z-index: 100000;
    position: fixed;
}

/* Logo */
header a img {
    height: 44px;
    margin-right: 12px;
}

/* Title */
header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(45deg, #0097b2, #ffbd59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    white-space: nowrap;
}

header h1 a {
    text-decoration: none;
}

/* Nav container */
.nav_bar {
    margin-right: auto;
    padding-left: 20px;
    align-items: center;
    gap: 20px;
}

/* Nav links */
.nav_bar a {
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover */
.nav_bar a:hover {
    background: rgba(255, 189, 89, 0.15);
    color: #ffbd59;
    cursor: pointer;
}

/* Active / current page */
.nav_bar a.active {
    background: rgba(255, 189, 89, 0.25);
    color: #ffbd59;
    font-weight: 600;
}
.menu_button {
    color: white;
    margin-left: auto;
    height: 100%;
    width: 64px;
    align-items: center;      /* vertically center content */
    justify-content: center;
}
.menu_button:hover {
    background: rgba(255, 189, 89, 0.15);
    color: #ffbd59;
    cursor: pointer;
}
#nav_menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    font-size: 2em;
    color: white;
    background-color: rgba(0,0,0,0.8);
    box-shadow: 0 4px 20px rgba(255, 189, 89, 0.5);
    transform: translateX(100%); /* hidden offscreen */
    transition: transform 0.3s ease;
    z-index: 100000;
    top: 64px;
}
#nav_menu a {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid black;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
    color: white;
}
.nav_menuhr {
    width: 100%;
    border-color: black;
    position: relative;
}
#nav_menu a:hover {
    background: rgba(255, 189, 89, 0.15);
    color: #ffbd59;
    cursor: pointer;
    border-left: 5px solid #0097b2;
}
#nav_menu.open {
    transform: translateX(0); /* slide in */
}
h1 {
    text-align: center;
    font-size: clamp(30px, 4vw, 40px);
    margin: 10px;
    color: #005f6a;
}
.main_body {
    width: 100vw;
    display: flex;
}
.center {
    padding: 10px;
    width: calc(100% - 35px);
}
.marginL {
    width: 25%;
}
.marginR {
    width: 25%;
}
/* The individual ad styling */
.margin-ad {
    margin-top: 100px;
    cursor: pointer;
    width: 80%;
    left: 10%;
    pointer-events: all;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative; /* Required for the X button positioning */
    background: #fff;
    /* Removed the hover scale effect */
}

/* The Ad Label */
.ad-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    padding: 2px 5px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* The X Button */
.close-ad {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-family: Arial, sans-serif;
    z-index: 2;
    transition: background 0.2s;
}

.close-ad:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* State when user clicks X */
.ad-hidden {
    visibility: hidden; /* Keeps the layout intact */
}
p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 2.6;
}
hr {
    margin: 10px;
}
.friendsOfSprouts {
    display: flex;                    /* Arrange image + text side by side */
    flex-wrap: wrap;                  /* Wrap on small screens */
    align-items: center;              /* Vertically center content */
    background: #f7f7f7;             /* Light card background */
    border-radius: 15px;              /* Rounded corners */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Soft shadow */
    padding: 20px;                    /* Inner spacing */
    gap: 20px;                        /* Space between image and text */
    max-width: 900px;                 /* Limit width on large screens */
    margin: 20px auto;                /* Center card horizontally */
}

.friendsOfSprouts #friends img {
    width: 200px;                     /* Fixed width for image */
    max-width: 100%;                  /* Responsive on small screens */
    height: auto;                     /* Maintain aspect ratio */
    border-radius: 10px;              /* Slightly rounded image */
}

.friendsOfSprouts #friends2 {
    flex: 1;                          /* Take remaining space */
    min-width: 200px;                 /* Avoid shrinking too small */
}

.friendsOfSprouts h2 {
    font-size: clamp(24px, 3vw, 36px); /* Responsive headline */
    margin-bottom: 10px;
}

.friendsOfSprouts h3 {
    font-size: clamp(18px, 2vw, 24px);
    margin-bottom: 10px;
}

.friendsOfSprouts p {
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 15px;
    color: #555;
}

.friendsOfSprouts a {
    
    padding: 10px 20px;
    background-color: #ff4d4d;        /* Matches red in "Friend" */
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.friendsOfSprouts a:hover {
    background-color: #e60000;
    transform: translateY(-2px);
}
.insta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: black;             /* Dark teal background */
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 20px auto;
    flex-wrap: wrap;                  /* Wrap on smaller screens */
    gap: 15px;
}

.insta div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.insta div:first-child div {
    width: 7.5vh;
    height: 7.5vh;
    overflow: hidden;
    border-radius: 50%;               /* Circular logo */
    flex-shrink: 0;
}

.insta div:first-child div img {
    width: 100%;
    height: 100%;
    object-fit: cover;                /* Keep logo centered and cropped nicely */
}

.insta div:first-child h2 {
    color: white;
    font-size: clamp(16px, 4vw, 4vh); /* Responsive font */
    margin: 0;
}
.insta div:first-child h2 span {
    background: linear-gradient(45deg, #0097b2, #ffbd59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.insta button#follow {
    padding: 10px 20px;
    background-color: #e1306c;        /* Instagram pink */
    color: white;
    font-weight: bold;
    font-size: clamp(14px, 2vw, 18px);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.insta button#follow:hover {
    background-color: #c1275b;
    transform: translateY(-2px);
}
.site-footer {
    background-color: #125f72;   /* Dark teal */
    color: white;
    padding: 40px 20px 20px;
    font-family: sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 10px;
    font-size: clamp(16px, 2vw, 20px);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-social a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
    margin-right: 15px;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #ff4d4d;   /* Match button red */
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
}
/* Generic full-width action buttons */
    .fullWidthButtons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 24px;
    }

    .fullWidthButtons a {
        text-decoration: none;
        width: 100%;
        padding: 14px 0;

        border: none;
        border-radius: 12px;

        background: linear-gradient(135deg, #0097b2, #36592d);
        color: #ffffff;

        font-size: 1.4rem;
        
        letter-spacing: 0.3px;

        cursor: pointer;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        transition: transform 0.15s ease, box-shadow 0.15s ease,
                    background 0.2s ease;
        text-align: center;
    }

    .fullWidthButtons a:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    }

    .fullWidthButtons a:active {
        transform: translateY(0);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    }

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-social a {
        margin: 10px;
    }
}

/* Responsive for small screens */
@media (max-width: 480px) {
    .insta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .insta div:first-child h2 {
        font-size: clamp(14px, 3vw, 20px);
    }
    .insta button#follow {
        width: 100%;
    }
}


/* Optional: stack on smaller screens */
@media (max-width: 600px) {
    .friendsOfSprouts {
        flex-direction: column;
        text-align: center;
    }

    .friendsOfSprouts #friends2 {
        margin-left: 0;
    }
}
@media (min-width: 1000px) {
    .nav_bar {
        display: flex;
    }
    .menu_button {
        display: none;
    }
    .title-large {
        display: block;
    }
    .title-small {
        display: none;
    }
    .marginL, .marginR {
        display: block;
    }
}
@media (max-width: 1000px) {
    .title-large {
        display: none;
    }
    .nav_bar {
        display: none;
    }
    .menu_button {
        display: flex;
    }
    .title-small {
        display: block;
    }
    .marginL, .marginR {
        display: none;
    }
}
@media (min-width: 800px) {
    #nav_menu {
        width: 50vw;
        border-left: 2px solid black;
        left: 50vw;
    }
}
@media (max-width:800px) {
    #nav_menu {
        width: 100vw;
        border: none;
        left: 0vw;
        height: fit-content;
        border-bottom: 2px solid black;
    }
}
