*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html{
    height: 100%;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
                                                                                                                                               
}


.slider-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height for larger screens */
    overflow: hidden; /* Hide any overflow */
    display: flex; /* Center items */
    justify-content: center;
    align-items: center;
}

.slides {
    display: flex;
    width: 300%; /* 3 images => 100% width for each */
    transition: transform 1s ease-in-out;
}

.slides img {
    max-width: 100%; /* Prevent overflow on width */
    max-height: 100%; /* Prevent overflow on height */
    width: auto; /* Scale the width dynamically */
    height: auto; /* Scale the height dynamically */
    object-fit: contain; /* Ensure full image is visible */
}

/* Mobile styles (up to 768px width) */
@media (max-width: 768px) {
    .slider-container {
        height: auto; /* Adjust container height for smaller screens */
    }

    .slides img {
        width: auto; /* Dynamically scale width */
        height: auto; /* Dynamically scale height */
        object-fit: contain; /* Keep full image visible */
    }
}

/* Very small screens (up to 480px width) */
@media (max-width: 480px) {
    .slider-container {
        height: auto; /* Dynamically adjust for small screens */
    }

    .slides img {
        width: auto; /* Dynamically scale width */
        height: auto; /* Dynamically scale height */
        object-fit: contain; /* Ensure no cropping */
    }
}


/* Notification Bar Container */
.notification-bar {
    position: fixed;
    top: 0;
    right: 0;
    margin-top: 4rem; /* Adjust position from top */
    margin-right: 1rem; /* Adjust position from right */
    width: 20rem; /* Width of the notification bar */
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
    border-radius: 0.5rem;
    overflow: hidden;
    z-index: 1000;
}

/* Header */
.notification-header {
    background-color: #06b6d4; /* Cyan background */
    color: #ffffff;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: bold;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

/* Content Section */
.notification-content {
    padding: 1rem;
    max-height: 80vh; /* Ensure it doesn’t overflow on mobile screens */
    overflow-y: auto; /* Allows scrolling if content exceeds the available height */
}

/* Notification Item */
.notification-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb; /* Light gray border */
    color: #4b5563; /* Dark gray for text */
}

/* Hover Effect for Notification Items */
.notification-item:hover {
    background-color: #f3f4f6; /* Light gray background on hover */
}

/* Time Text */
.notification-item span {
    font-size: 0.875rem;
    color: #6b7280; /* Gray text color for time */
}
/* Marquee scrolling animation */
@keyframes marquee {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-100%);
    }
}

.animate-marquee {
    animation: marquee 10s linear infinite; /* Adjust duration for speed */
}


/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .notification-bar {
        width: 18rem; /* Reduce width on smaller screens */
        margin-top: 3rem; /* Reduce margin-top on mobile */
        margin-right: 0.5rem; /* Adjust margin on mobile */
    }

    /* Ensure the content area has better vertical space on mobile */
    .notification-content {
        padding: 1rem;
        max-height: 70vh; /* Adjust the height for mobile screens */
        overflow-y: auto;
    }
}


@keyframes slideUp {
    0% {
        transform: translateY(100%); /* Start from the bottom */
    }
    100% {
        transform: translateY(-50%); /* Move up, looping seamlessly */
    }
}

.animate-slide {
    animation: slideUp 10s linear infinite; /* Adjust duration as needed */
}



@keyframes slideText {
    0% {
        transform: translateX(0%);
    }
    50% {
        transform: translateX(20%);
    }
    100% {
        transform: translateX(0%);
    }
}

.sliding-text {
    display: flex;
    white-space: nowrap;
    animation: slideText 15s linear infinite;
}
