/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url(''); /* Replace with your background image URL */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
}

/* Navigation Styles */
.toggle-btn {
    background: white; /* Background color for visibility */
    border: 2px solid black; /* Border black */
    color: black;
    font-size: 1.5em;
    cursor: pointer;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1001; /* Ensure the button is above other content */
    width: 45px; /* Define width to match the example */
    height: 45px; /* Define height to match the example */
    text-align: center; /* Center the icon */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px; /* Adjust border-radius for the square corners */
}

.toggle-btn:hover {
    background: green; /* Hover color */
}

.sidebar {
    background-color: white; /* Changed to white */
    color: black;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-x: hidden;
    transition: width 0.3s;
    z-index: 1000; /* Ensure the sidebar is above other content */
    display: none; /* Hidden by default */
}

.sidebar.open {
    width: 200px; /* Expand to full width when open */
    display: block; /* Display when open */
}

.sidebar .close-btn {
    background: none;
    border: none;
    color: black;
    font-size: 1.5em;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 160px;
}

.sidebar .close-btn:hover {
    color: green; /* Hover color for close button */
}

.sidebar .sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    transition: opacity 0.3s;
}

.sidebar .sidebar-content ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
}

.sidebar .sidebar-content ul li {
    width: 100%;
    padding: 10px 0;
}

.sidebar .sidebar-content ul li a {
    color: black; /* Sidebar link text color */
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 15px 0; /* Increase height of links */
    transition: background-color 0.3s, padding 0.3s;
}

.sidebar .sidebar-content ul li a:hover {
    background-color: green; /* Hover color for links */
    padding: 20px 0; /* Increase padding on hover to make the links taller */
}

/* Container for the content */
.container {
    background: rgba(255, 255, 255, 0.8); /* White background with transparency */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 5px solid green; /* Add green border */
}

/* QR Image */
.qr-image {
    max-width: 80%; /* Adjust the size as needed */
    height: auto;
    margin-bottom: 20px;
}

/* Thank You Message */
.thank-you {
    font-size: 1.5em;
    color: #333;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        width: 0;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
    }

    .sidebar.open {
        width: 200px;
    }

    .sidebar .toggle-btn {
        position: fixed;
        left: 10px;
        top: 10px;
    }

    .sidebar.open .toggle-btn {
        left: 210px;
    }

    main {
        margin-left: 0;
        padding: 10px;
    }

    main .main-content {
        flex-direction: column; /* Stack content vertically on mobile */
        max-width: 100%;
        padding: 10px;
    }

    main .text-content {
        padding-right: 0; /* Remove padding on mobile */
    }

    main .profile-pic {
        max-width: 100%; /* Adjust image size for mobile */
        margin-top: 10px; /* Add margin to top of image */
    }

    .thin-footer {
        width: 80%; /* Ensure footer spans a good portion of the screen */
    }
}

