.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    /* ... other styles ... */
}

#logo {
    order: 2; /* Logo in the center */
    height: 50px; /* Adjust as needed */
}

.nav-left, .nav-right {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    order: 1; /* Left nav appears first */
}

.nav-right {
    order: 3; /* Right nav appears last */
}



.top-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 20px;
    font-size: 28px; /* Increased font size */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Dark shadow for pop effect */
    transition: color 0.3s, text-shadow 0.3s; /* Smooth transition for hover effect */
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .top-nav ul li a {
        font-size: 10px; /* Reduced font size for mobile */
        padding: 5px 10px; /* Adjusted padding for mobile */
    }
}

/* Hide overlay boxes on mobile/tablet and show mobile-specific content */
@media screen and (max-width: 768px) {
    .overlay-box, .overlay-box-second {
        display: none;
    }
    .mobile-specific-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.9);
        margin: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        text-align: center; /* Center text */
    }

    .mobile-specific-content h1, .mobile-specific-content h2 {
        margin-bottom: 15px; /* Space below headings */
    }

    .mobile-specific-content ol {
        text-align: left; /* Align list text to left */
        padding: 0; /* Remove default padding */
        list-style-position: inside; /* List markers inside */
    }

    .mobile-specific-content a {
        color: #007bff; /* Hyperlink color */
        text-decoration: underline;
        margin-top: 10px; /* Space above links */
        display: inline-block; /* Align links properly */
    }

    .mobile-specific-content a:hover {
        color: #0056b3; /* Hover color for links */
    }
}

/* Hide mobile-specific content on desktop */
@media screen and (min-width: 769px) {
    .mobile-specific-content {
        display: none;
    }
}


.overlay-box {
    position: absolute; /* or fixed, depending on your needs */
    top: 40%; /* Adjust these to position the box */
    left: 20%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* Shadow for depth */
    border-radius: 10px; /* Optional rounded corners */
    z-index: 100; /* Ensure it's above other content */
    width: 80%; /* Adjust as needed */
    max-width: 300px; /* Maximum width */
}

.overlay-box h1, .overlay-box .tokenomics {
    text-align: center; /* Centered text */
}

.overlay-box .tokenomics a {
    display: inline-block;
    background-color: #1b5590;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 20px;
    border-radius: 5px;
}

.overlay-box .tokenomics a:hover {
    background-color: #000000;
}

.overlay-box-second {
    position: absolute;
    top: 40%;
    right: 5%; /* Positioned on the right instead of left */
    transform: translate(10%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 100;
    width: 300px /* Adjust the width as needed */
    /* Additional styling as needed */
}

/* Ensure the content is visible and styled as needed */
.overlay-box-second h1, .overlay-box-second .new-content-class {
    text-align: center;
    /* Additional styling */
}


.overlay-box-second h2 {
    text-align: center;
    margin-bottom: 15px;
}

.overlay-box-second ol {
    text-align: left;
    padding-left: 20px; /* For ordered list styling */
}

.overlay-box-second ol li {
    margin-bottom: 10px; /* Space out list items */
}

.overlay-box-second a {
    color: #007bff; /* Hyperlink color */
    text-decoration: underline;
}

.overlay-box-second a:hover {
    color: #0056b3;
}



.text-align {
    text-align: center;
}

.image-container {
    background-image: url('baby-teddy-bg.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh; /* Adjust height as needed */
    position: relative;
}

.header-image {
    /* ... existing styles ... */
    height: 100vh; /* Adjust height as needed */
}

/* Ensure the top navigation and main content are on top of the background */
.top-nav, main {
    position: relative;
    z-index: 10;
}


/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 0px; /* Adjust based on nav height */
    background-color: #f4f4f4;
}

/* Dexscreener Embed Full-Width */
#dexscreener-embed {
    width: 100%;
    padding-bottom: 60%; /* Adjust as needed */
    position: relative;
}

/* Shadow Effects */
.shadow-effect {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ...rest of your CSS... */


/* Call to Action Button */
.cta-button-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1b5590; /* Button color */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
}

.cta-button-container button:hover {
    background-color: #163d5c; /* Darken the color on hover */
}


.modal {
    z-index: 9999; /* High z-index to ensure it's on top */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); /* Adding shadow for better visibility */
}

.modal-content {
    max-width: 90%; /* Better responsiveness */
    font-size: 1.2em; /* Larger and more legible text */
}

@media (min-width: 768px) {
    .modal-content {
        max-width: 70%; /* Adjusting for larger screens */
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Updating button style to blend gray part */
.cta-button-container button {
    background-color: #1b5590; /* Adjusted to match the CTA background color */
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    outline: none; /* Removing outline to blend in */
    box-shadow: none; /* Removing any shadow effect */
}
