*{
    padding: 0px;
    margin: 0px;
    position: relative;
    box-sizing: border-box; /* Add this for better responsive layout */
    font-family: Arial, Helvetica, sans-serif;
}
body {
    margin: 0; /* Ensure no default body margin */
}
.freeshipping {
    background-color: rgb(243, 47, 171);; /* Example background color */
    color: white;
    padding: 10px 0;
    text-align: center;
}
header{
    background-color: black;
    width: 100%;
    padding: 10px 20px; /* Add some padding to the header */
    display: flex;
    justify-content: space-between; /* Space out logo and burger */
    align-items: center; /* Vertically align items */
}
.navbar {
    background-color: black;
    position: static; /* Change to static for mobile layout */
    z-index: 999;
    width: 100%;
    padding: 0px 0;
}
.nav-links {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    background: black;
    display: flex;
    justify-content: center;
}
.nav-links li {
    display: inline-block;
    justify-content: center;
}
.nav-links li a {
    color: white;
    display: block;
    padding: 5px 25px;
    text-decoration: none;
    text-align: left;
}
.nav-links li a:hover {
    color: rgb(246, 26, 183);
}
.nav-links li ul li a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
}
.nav-links ul {
    position: absolute;
    top: 100%;
    left: 0; /* Align dropdown to the left */
    width: 100%; /* Make dropdown full width */
    background: black;
    display: none;
    padding: 0;
    margin: 0;
}
.nav-links ul li {
    display: block;
    text-align: left; /* Align dropdown items to the left */
}
.nav-links li:hover > ul { /* Use direct child selector */
    display: block;
}
.nav-links ul ul {
    top: 0;
    left: 100%; /* Position nested dropdown to the right */
}
.nav-links li ul {
    width: 200px;
}
.nav-links ul li a:hover {
    color: black;
    background-color: rgb(243, 47, 171);
    cursor: pointer;
}
.burger {
    display: none; /* Initially hide the burger */
    flex-direction: column;
    cursor: pointer;
}
.burger div {
    width: 45px; /* Adjust burger width */
    height: 3px;
    background-color: white;
    margin: 3px 0; /* Adjust margin for spacing */
    transition: all 0.3s ease;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the main nav links */
        flex-direction: column; /* Stack links vertically */
        width: 100%;
        text-align: center;
    }
    .nav-links.nav-active {
        display: flex; /* Show links when active */
    }
    .nav-links li {
        display: block; /* Make list items full width */
        text-align: left;
        
    }
    .nav-links li a {
        padding: 15px; /* Add more padding for touch targets */
    }
    .nav-links ul {
        position: static; /* Display dropdown below parent on mobile */
        width: 100%;
        background: rgba(0, 0, 0, 0.8); /* Slightly transparent background for dropdown */
    }
    .nav-links ul li a {
        padding-left: 30px; /* Indent dropdown items */
    }
    .burger {
        display: flex; /* Show the burger icon */
    }
    header .navbar {
        display: flex; /* Enable flexbox for header content */
        justify-content: space-between; /* Space out logo and burger */
        align-items: center;
        padding: 10px 20px; /* Keep padding */
    }
    .navbar ul {
        flex-direction: column; /* Stack main links */
        align-items: left; /* Center align links */
    }
}
/* Burger animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.exit-links {
    background-color: #333;
    color: white;
    padding-top: 10px;
}
.exit-links ul {
    list-style: none;
    padding: 5px;
    justify-content: space-around;
    align-items: center;
}
.exit-links a {
    text-decoration: none;
    color: white;
    font-size: 0.8em; /* Adjust font size */
}
.exit-links a:hover {
    color: rgb(243, 47, 171);
}

main {
    padding: 10px;
    min-height: 80vh; /* Ensure main content takes up at least 80% of viewport height */
}

/* Style for footer and hover effect for social media icons */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 100%;
    margin-bottom: 30px;
}
.social-media{
    display: inline-block; /* Makes icons to be placed horizontally on one line */
    padding: 5px;
}
.social-media a img{
    opacity: 1;
    transition: opacity 0.3s ease;
}
.social-media a:hover img{
    opacity: 0.5;
    border: rgb(243, 47, 171);
    border-style: solid;
    border-radius: 10px;
}
/* Style for the shop now button */
.button {
    display: inline-block;
    background-color: white;
    color: black;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-style: solid;
    border-color: black;
    margin-top: 1em;
}
/* Style for the browse all products button */
.button.primary {
    display: inline-block;
    background-color: rgb(243, 47, 171);
    color: white;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-style: solid;
    border-color: white;
    margin-top: 1em;
}
.button.white {
    display: inline-block;
    background-color: rgb(243, 47, 171);
    color: white;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-style: solid;
    border-color: black;
    margin-top: 1em;
}
.button:hover {
    color: rgb(243, 47, 171);
    border-color: rgb(243, 47, 171);
    background-color: rgb(86, 4, 122);
}
/* style for bottom nav */
.content {
    padding: 20px;
    margin-bottom: 60px; /* Adjust based on the height of your navigation bar */
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    border-color:rgb(243, 47, 171);
    border-style: solid;
    border-bottom: 20px;
    padding: 20px 0;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}
.bottom-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 40px; /* Adjust as needed */
}
.bottom-nav li {
    flex-grow: 1;
    text-align: center;
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 0.8em; /* Adjust font size */
}
.bottom-nav a img {
    width: 50px; /* Adjust icon size */
    height: 50px;
    margin-bottom: 2px; /* Space between icon and text */
}

