body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('backgrnd.jpg') no-repeat center center fixed;
    background-size: cover;
}

.app-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    padding: 20px;
    animation: fadeTitle 3s infinite alternate;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    max-width: 600px;
    margin: auto;
}

.segment {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transform: perspective(500px) rotateX(5deg);
    transition: transform 0.5s, box-shadow 0.5s;
}

.segment:hover {
    transform: perspective(500px) rotateX(0deg);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.icon {
    width: 80px;
    height: 80px;
    transition: transform 0.5s;
}

.label {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    transition: transform 0.5s;
}

/* Animation Keyframes */
@keyframes fadeTitle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Loading Overlay (Full-Screen) */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Spinner Animation */
.spinner {
    width: 200px;
    height: 200px;
    border: 5px solid #ccc;
    border-top: 5px solid #4caf50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframes for Rotation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 50px;
    left: 10px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

/* Sidebar */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 1000;
}

/* Sidebar Links with Separators */
.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid #333; /* Separator line */
}

.sidebar a:last-child {
    border-bottom: none; /* Remove separator from the last link */
}

.sidebar a:hover {
    color: #f1f1f1;
}

/* When the sidebar is open */
.sidebar.open {
    width: 250px;
}

/* Adjust body content when sidebar is open */
body.sidebar-open {
    margin-left: 250px;
    transition: margin-left 0.5s;
}

