/* General Page Styling */
:root {
    --sidebar-header-footer-bg-color: #FFB880;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FFE7D4; /* sand color */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: var(--sidebar-header-footer-bg-color); /* terracotta */
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav {
    display: flex;
    gap: 0.5rem;
}

/* Sidebar and Main Layout */
.container {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
}

aside {
    background-color: var(--sidebar-header-footer-bg-color); /* terracotta */
    color: white;
    padding: 1rem;
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

main {
    flex: 1;
    padding: 2rem;
}

/* Footer */
footer {
    background-color: var(--sidebar-header-footer-bg-color); /* terracotta */
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: white;
    color: #b85c38;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    background-color: #f4e1c1;
    color: #7a3c22;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    aside {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

 ----------------------------------------
 Fade-in animation for content transitions
 ----------------------------------------
.fade {
    opacity: 0;
    transition: opacity 1.4s ease;
}

.fade.show {
    opacity: 1;
}
