/* Global Settings */
body {
    font-family: Arial, sans-serif;
    background-color: #191d2b;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Container */
.container {
    display: flex;
    width: 100%;
    max-width: 1200px; /* Limit max width for better centering */
    margin: 0 auto;
}

/* Sidebar Settings */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 60px;
    background-color: #282c36;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    box-sizing: border-box;
}

/* Sidebar Items Container */
.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    gap: 20px;
    flex: 1;
    justify-content: center; /* Center items vertically */
}

/* Sidebar Items */
.sidebar-item {
    background-color: #3c4a61;
    color: #ffffff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, color 0.3s;
}

/* Tooltip Styles */
.sidebar-item .tooltip {
    visibility: hidden;
    width: 120px; /* Tooltip width */
    background-color: #3c4a61; /* Tooltip background */
    color: #ffd700; /* Tooltip text color */
    text-align: center;
    border-radius: 5px;
    padding: 3px 5px; /* Tooltip padding */
    position: absolute;
    left: 70px; /* Position to the right of the item */
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    z-index: 10;
    font-size: 0.8em; /* Tooltip font size */
    font-weight: bold; /* Tooltip font weight */
}

/* Show Tooltip on Hover */
.sidebar-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.sidebar-item.active {
    background-color: #ffd700; /* Highlighted color */
    color: #191d2b;
}

/* Back Button */
.back-btn {
    margin-top: auto; /* Push button to the bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f7e03c; /* Yellow background */
    color: #191d2b;
    border: 1px solid #ffffff;
    border-radius: 50%; /* Circular shape */
    text-decoration: none;
    font-size: 1.5em; /* Icon size */
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.back-btn:hover {
    background-color: #e6c72a; /* Slightly darker yellow for hover */
    transform: scale(1.05);
}

/* Main Content Settings */
#power-bi-projects {
    margin-left: 80px; /* Space for the sidebar */
    padding: 50px;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the main content */
    box-sizing: border-box;
}

/* Section Title and Description */
.section-title, .section-description {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1s forwards;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.section-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    animation-delay: 0.5s; /* Slight delay for description */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project Container */
.project-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 800px; /* Ensure it fits within the container */
}

/* Individual Project Settings */
.project {
    background-color: #282c36;
    border: 1px solid #3c4a61;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.project:hover {
    transform: scale(1.05);
}

.project-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.project-buttons {
    margin-top: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    text-decoration: none;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
    background-color: #191d2b; /* Match the background color */
    color: #ffffff; /* White text color */
    border: 1px solid #ffffff; /* White border */
}

.btn:hover {
    background-color: #2c2f3d; /* Slightly lighter background on hover */
    color: #ffd700; /* Highlight text color */
    border: 1px solid #ffd700; /* Highlight border color */
}
