
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px; /* Desktop padding */
    background-color: #ad013d;
    box-sizing: border-box;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* Logo */
.logo img {
    width: 40px;
    height: 40px; /* Adjust as needed */
}
.logo a{
  color:white;
  font-family: Comic Sans MS;
  font-style: bold;
  text-decoration: none;
}

/* Navigation Links */
.menu a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 0px;
    padding: 20px;
    font-size: 1rem;
    font-weight: bold;
}

/* Hover effect for links */
.menu a:hover {
    color: #ffbfbf;
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Initially hidden on larger screens */
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    z-index: 1001; /* Ensure it's above other elements */
}
.side-menu {
    display: none; /* Hides the side menu on larger screens */
    position: fixed;
    top: 0;
    right: -50%; /* Initially hidden off the right side */
    width: 50%; /* Take half the screen width */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 999; /* Above other content */
}

/* Responsive Design for Navbar */

/* Tablet View */
@media (max-width: 900px) {
    .navbar {
        padding: 20px 50px; /* Reduce padding for tablets */
    }

    .menu a {
        font-size: 1rem;
    }
}

/* Mobile View */
@media (max-width: 600px) {
    .navbar {
        padding: 20px 20px; /* Adjust padding for mobile */
    }

    /* Hide the menu links and show hamburger */
    .menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    /* Side Menu (Initially hidden on the right) */
    .side-menu {
        display: flex;
    }

    .side-menu a {
        color: white;
        font-size: 1rem;
        margin: 15px 0;
        text-decoration: none;
        font-weight: bold;
    }

    /* When the menu is active (open), slide it in */
    .side-menu.active {
        right: 0;
    }
}

/* Main Content Styling */
.main-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Add some space below breadcrumb */
}

.content-wrapper p {
    text-align: justify;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr 300px; /* Left, main content, right sidebar */
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar Left */
.sidebar-left {
    background-color: #0000ff;
    height: auto;

}

/* Sidebar Right */
.sidebar-right {
    background-color: #00ff00;
    height: auto;

}

/* Responsive Design */
@media (max-width: 1040px) {
    /* Hide sidebar-left for medium screens (768px - 1039px) */
    .sidebar-left {
        display: none;
    }

    /* Adjust the layout for screens between 768px and 1039px */
    .content-wrapper {
        grid-template-columns: 1fr 300px; /* Only main content and right sidebar */
    }
}

@media (max-width: 768px) {
    /* Hide both sidebars for screens smaller than 768px */
    .sidebar-left, .sidebar-right {
        display: none;
    }

    /* Adjust the layout for small screens */
    .content-wrapper {
        grid-template-columns: 1fr; /* Only main content */
    }
}

/* Footer */
.footer {
    background-color: #ad013d;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%; /* Ensure it covers the full width of the screen */
    margin: 0; /* Remove any default margin */
    text-align: center;
    padding: 20px 0;
    color: #ffffff;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.footer-links li {
    display: inline-block;
    margin: 0 15px;
}

.footer-links li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

.footer-links li a:hover {
    text-decoration: underline;
    color: #ffff00;
}

.copyright {
    margin-top: 10px;
    font-size: 14px;
    color: #ffffff;
}

/* Responsive Design for Footer */
@media (max-width: 900px) {
    .footer-links li {
        margin: 0 10px; /* Slightly reduce margin between links */
    }

    footer {
        padding: 15px 0;
    }
}

@media (max-width: 600px) {
    .footer-links {
        padding: 0;
    }

    .footer-links li {
        display: block; /* Stack links vertically on mobile */
        margin: 5px 0;
    }

    footer {
        padding: 10px 0;
    }

    .copyright {
        margin-top: 5px;
        font-size: 12px; /* Smaller copyright text */
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: max-content;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    list-style: none;
    padding: 0px;
    border-radius: 4px;
    margin-top: 15px;
}

.dropdown-content a {
    color: #ad013d;
    text-decoration: none;
    padding: 10px 10px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ffbfbf; 
    color: #504f4f; 
    border-left: 3px solid #c5396a;
    padding-left: 12px;
}

/* Toggle visibility on hover */
.dropdown:hover .dropdown-content {
    display: block;
    width: auto;
}

/* Chevron animation */
.fas.fa-chevron-down {
    margin-bottom: 5px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .fas.fa-chevron-down {
    transform: rotate(180deg);
}

/* adjusting zodiac1 and zodiac2 input field size and stuffs */
#zodiac1, #zodiac2 {
    padding: 15px;
    font-size: 1.1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

/* Responsive design for zodiac1 and zodiac2 inpt field */
@media (max-width: 600px) {
    #zodiac1, #zodiac2 {
        padding: 12px;
        font-size: 1rem;
    }
}

