        body {
            font-family: Arial, sans-serif;
            background-color: #f8f9fa;
            margin: 0;
            padding: 0;
        }

        .picturecontainer img {
            position: relative;
            width: 100%;
            height: auto;
            overflow: hidden;
        }

        .container2 {
            position: relative;
            width: 100%;
            height: auto;
        }

        h1, h2 {
            text-align: center;
            color: #333;
        }

        nav {
            margin-bottom: 20px;
           /* overflow: hidden;*/
        }

        nav ul {
            list-style-type: none;
            padding: 0;
            text-align: center;
            /*display: flex;
            flex-wrap: wrap; /* Allow items to wrap 
            justify-content: center;*/
        }

        nav ul li {
    display: inline-block;
    vertical-align: middle;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
}

        nav ul li a {
            text-decoration: none;
            color: #ffffff; /* Text color */
            font-weight: bold;
            border: 1px solid #fff; /* Thin white border */
            box-sizing: border-box; /* Include padding and border in the element's total width and height */
            padding: 10px 15px; /* Padding inside the button */
            text-align: center; /* Center the text */
            border-radius: 20px; /* Rounded corners */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Add shadow effect */
            transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
        }
        
        nav ul li a:hover {
            text-decoration: underline;
            color: #f3f0208f; /* Hover text color */
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4); /* Larger shadow on hover */
        }
        
        nav ul li a.profile {
            box-sizing: border-box; /* Include padding and border in the element's total width and height */
            padding: 10px 15px; /* Padding inside the profile button */
            text-align: center; /* Center the text */
            border: none; /* Remove border for profile icon */
            box-shadow: none; /* Remove shadow for profile icon */
        }
        
        nav ul li img.profile-icon {
            border: none; /* Remove border */
            width: 40px;
            height: 40px;
            border-radius: 50%;
            transition: transform 0.3s ease; /* Smooth transition for scaling */
        }
        
        nav ul li a.profile:hover img.profile-icon {
            transform: scale(1.2); /* Scale the image to 1.2 times its original size */
        }


        /* Form styling */
        form {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 20px;
        }

        form label {
            margin: 5px 0;
            display: block;
        }

        label {
            margin-top: 10px;
            font-weight: bold;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="date"],
        select {
            padding: 10px;
            margin-top: 5px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
            width: 100%;
            box-sizing: border-box;
        }

       input[type="submit"] {
            padding: 15px 30px; /* Increase padding for a larger button */
            margin-top: 20px;
            border: none;
            border-radius: 4px; /* Slightly increase the border radius for a smoother look */
            background-color: #4CAF50;
            color: white;
            font-size: 24px; /* Increase the font size for larger text */
            cursor: pointer;
            width: 50%; /* Adjust width as needed, or set a specific pixel width */
            box-sizing: border-box;
}

        input[type="submit"]:hover {
            background-color: #45a049;
        }

        .home {
            /*display: inline-block;
            width: 96%;*/
            padding: 10px 20px;
            margin-top: 20px;
            border: none;
            border-radius: 5px;
            background-color: #4CAF50;
            color: white;
            font-size: 16px;
            cursor: pointer;
        }
        

        .home:hover {
            background-color: #45a049;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }

        table, th, td {
            border: 1px solid black;
        }

        th, td {
            padding: 10px;
            text-align: left;
        }

        th {
            background-color: #f2f2f2;
        }

        #calendar {
            margin-top: 20px;
            max-width: 100%;
            overflow-x: auto;
            font-size: 0.8em; /* Adjust font size for better fit on small screens */
        }
        .collapsible {
            background-color: #f2f2f2;
            color: #333;
            cursor: pointer;
            padding: 10px;
            width: 100%;
            border: none;
            text-align: left;
            outline: none;
            font-size: 1.1em;
        }

        .active, .collapsible:hover {
            background-color: #e2e2e2;
        }
        
        .collapsible.hidden {
            display: none; /* Hide content when toggled */
        }

        .content {
            padding: 0 10px;
            display: block;
            overflow: hidden;
            max-height: 1000px; /* Set a large max-height to make it visible initially */
            transition: max-height 0.2s ease-out;
            background-color: #f9f9f9;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .content.hidden {
            display: none; /* Hide content when toggled */
        }

        /* Default styles for larger screens (laptops, desktops) */
        .container {
            align-items: center;
            padding: 20px;
            width: 80%;
            max-width: 1200px;
            margin: auto;
            border: 1px solid #ccc;
            background-color: #f9f9f9;
            box-sizing: border-box;
            border-radius: 10px;
        }

        .container .li img {
            float: right;
            width: 200px;
            height: auto;
            margin: 0 0 20px 20px;
        }

        .container p {
            font-size: 18px;
        }


#photo-container {
    width: 90%; /* Set the width of the container */
    height: auto; /* The height will adjust based on the content */
    max-height: 20%;
    padding: 20px; /* Add padding around the image */
    box-sizing: border-box; /* Ensure padding is included in the total width/height */
    margin: 0 auto; /* Center the container horizontally */
}

#month-photo {
    width: 100%; /* The image takes up 100% of the container's width */
    height: auto; /* Maintains aspect ratio */
    max-height: 20%;
    display: block; /* Centers the image block */
    object-fit: cover; /* Ensures the image covers the entire container, cropping if necessary */
}

#calendar {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


        /* Responsive styles for tablets and phones */
        @media (max-width: 768px) {
        
        
        
            .container {
                width: 90%;
                padding: 10px;
            }

            .container img {
                max-width: 100%;
                height: auto;
            }

            .container p {
                font-size: 16px;
            }

            nav ul {
                flex-direction: column;
                align-items: center;
            }

            form label, form select, form input[type="submit"] {
                font-size: 12px;
            }
            
            #photo-container {
                width: 100%; /* Set the width of the container */
                height: auto; /* The height will adjust based on the content */
                max-height: 40%;
                padding: 10px; /* Add padding around the image */
                box-sizing: border-box; /* Ensure padding is included in the total width/height */
                margin: 0 auto; /* Center the container horizontally */
            }
        }

        /* Styles for mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .container p {
        font-size: 12px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin-bottom: 10px;
        width: 100%; /* Make nav items full width on mobile */
    }

    nav ul li a {
        display: block; /* Make nav links block elements on mobile */
        width: 100%; /* Make nav links full width on mobile */
        border: 1px solid #fff; /* Add thin white border */
        box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
        padding: 10px 15px; /* Add padding */
        text-align: center; /* Center the text */
    }
    
    form {
        flex-direction: column;
        align-items: center;
    }

    form label, form select, form input[type="submit"] {
        font-size: 11px;
    }

    #calendar {
        font-size: 0.8em; /* Adjust font size for better fit */
    }
    
    #photo-container {
        width: 100%; /* Set the width of the container */
        height: auto; /* The height will adjust based on the content */
        max-height: 40%;
        padding: 5px; /* Add padding around the image */
        box-sizing: border-box; /* Ensure padding is included in the total width/height */
        margin: 0 auto; /* Center the container horizontally */
    }
    
    
}

        .clearfix::after {
            content: "";
            clear: both;
            display: table;
        }

        .inline-box {
            display: inline-block;
            padding: 10px;
            margin: 5px;
            border: 1px solid #000;
            width: 200px;
            text-align: center;
        }
        .legend {
    display: flex;
    align-items: center;
    }

    .dot {
        height: 12px;
        width: 12px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 5px;
    }
    
    .purple {
        background-color: #800080;
    }
    
    .red {
        background-color: #ff0000;
    }
    
    .green {
        background-color: #03ff00;
    }
    
    .legend span {
        margin-right: 15px;
    }

#backToTopButton {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: none;
        background-color: #333;
        color: white;
        border: none;
        border-radius: 50%;
        padding: 15px;
        font-size: 20px;
        cursor: pointer;
        z-index: 1000;
    }
    
    #backToTopButton:hover {
        background-color: #555;
    }
/* Default: Hide the button */
#backToTopButton {
    display: none;
}    


