html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: white;
    background-image: url('images/lili.jpg');
    font-family: Georgia, Times, Times New Roman, serif;
}

.content {
    flex: 1;
}

footer {
    flex-shrink: 0;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.settings {
    display: none; /* Hide settings by default */
}

.slideshow-container {
    max-width: 1000px;
    height: 160px; /* Adjust height as needed */
    position: relative;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide-image {
    width: 100%;
    display: block; /* Ensure images are displayed as block elements */
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    text-align: center;
    padding: 20px;
    background: #ddd;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Styles for Notification Panel */
.notification-panel {
    background-color: #f44336;
    color: #fff;
    padding: 5px;
    text-align: center;
}

/* Styles for About Us Panel */
.about-us {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack sections vertically on mobile */
    padding: 10px 20px; /* Adjust padding as needed */
    box-sizing: border-box; /* Include padding in width calculation */
    background-color: white;
}

.about-content,
.principal-info {
    width: 100%; /* Full width initially on mobile */
    text-align: center; /* Align content to center */
}

.about-content h2 {
    margin-bottom: 10px;
}

.about-content p,
.principal-info p {
    font-size: 16px; /* Reduce font size for better readability on mobile */
    line-height: 1.5;
}

.about-content .btn {
    margin-top: 10px; /* Add some space above the button */
}

.principal-info img {
    max-width: 100%; /* Ensure the image doesn't exceed its container */
    margin: 0 auto; /* Center align the image */
}

/* Media Query for larger screens */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .about-us {
        flex-direction: row; /* Switch to horizontal layout on larger screens */
        align-items: flex-start; /* Align items to the top */
    }
    
    .about-content {
        width: 70%; /* Set width for the first section */
        margin-right: 20px; /* Add some space between sections */
        text-align: justify; /* Justify text on larger screens */
    }
    
    .principal-info {
        width: 30%; /* Set width for the second section */
        text-align: center; /* Align content to center */
        display: flex; /* Use flexbox for content alignment */
        flex-direction: column; /* Stack content vertically within the section */
        justify-content: flex-start; /* Align content to the top */
        padding-left: 20px; /* Add padding to the left within the section */
    }
}

/* Styles for Notifications Panel */
.containers {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.notifications-containers {
    display: flex;
    justify-content: space-between;
    max-width: 100%; /* adjust max-width as needed */
}

.notificationss, .news-eventss {
    width: 700px; /* adjust width as needed */
}

.notificationss { 
    padding-right: 30px;
}

.notificationss .btn,
.news-eventss .btn {
    background-color: #ffffff;
    text-align: right; /* Align button text to the right */
    display: block; /* Change display to block */
    color: #0a0101;
}

.notificationss .btn:hover,
.news-eventss .btn:hover {
    background-color: #b7b8b2;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .notifications-containers {
        flex-direction: column;
        align-items: center;
    }

    .notificationss, .news-eventss {
        width: 100%;
    }
}

/* Styles for missionVision-container Panel */
.missionVision-container {
    display: flex;
    flex-direction: column;
}

.mission,
.news-events {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.mission h2,
.vision h2,
.mission p,
.vision p,
.mission .btn,
.vision .btn {
    margin-bottom: 10px;
}

/* For larger screens */
@media screen and (min-width: 768px) {
    .missionVision-container {
        flex-direction: row; /* Display sections side by side */
    }

    .mission,
    .vision {
        width: 40%; /* Each section takes 40% of the container width */
    }

    .mission {
        margin-right: 20px; /* Add some space between the sections */
    }
}
