/* Reset styles */
* {
    margin: 1;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f3f1f5;
    color: #333;
    display: flex;
    min-height: 100vh;
    margin: 0;
}

/* Left navigation bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 200px;
    background-color: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav header {
    margin-bottom: 2rem;
}

nav h1 {
    font-size: 1.8rem;
    color: #a873ab;
    text-align: center;
}

nav a {
    display: block;
    margin: 1rem 0;
    color: #a873ab;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 80%;
    text-align: center;
}

nav a:hover {
    background-color: #e5d1ec;
}

/* Main content area */
main {
    margin-left: 220px; /* Leave space for the nav bar */
    padding: 3rem 2rem;
    width: calc(100% - 220px); /* Take up remaining width */
    max-width: 800px;
}

.content {
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.content h2 {
    font-size: 2rem;
    color: #a873ab;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.content ul {
    list-style-type: disc; /* Ensures bullets are displayed */
    padding-left: 1.5rem; /* Adjust this value to control indentation */
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Keeps text within list items easy to read */
}

.copy-notification {
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeOut 2s forwards;
    pointer-events: none;
    position: absolute;
    white-space: nowrap;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 220px;
    width: calc(100% - 220px);
    padding: 1rem;
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    background-color: #f5effc;
    text-align: center;
    box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Media query for mobile */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    nav {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        padding-top: 0;
        box-shadow: none;
    }

    main {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }

    footer {
        left: 0;
        width: 100%;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}