/* General Styling */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    text-align: center;
    scroll-behavior: smooth;
}

/* Remove any default margin from the navigation */
nav {
    background: #1a1a1a;
    padding: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    margin: 0;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    position: absolute;
    left: 20px;
    top: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: #bbb;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #4CAF50;
}

/* Sections */
section {
    padding: 40px 20px;
    margin-bottom: 20px;
}

/* Home Section */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 0 15px;
}

.intro h1 {
    font-size: 2.5em;
}

.name {
    color: #4CAF50;
}

.typing {
    font-size: 1.5em;
    color: #aaa;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #4CAF50;
    display: inline-block;
}

/* About Section */
#about {
    max-width: 800px;
    margin: auto;
}

/* Research Section */
#research {
    max-width: 800px;
    margin: auto;
}

.project-card {
    background: #1e1e1e;
    padding: 20px;
    margin: 40px auto;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

/* Images inside Research Projects */
.project-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

/* Music Section */
#music {
    padding: 40px 20px;
    text-align: center;
    background-color: #1e1e1e;
    color: #fff;
}

#music h2 {
    font-size: 2em;
    color: #4CAF50;
}

#music a {
    color: #bbb;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

#music a:hover {
    color: #4CAF50;
}

/* Contact Section */
#contact {
    max-width: 600px;
    margin: auto;
}

#contact a {
    color: #4CAF50;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 10px;
    background: #1a1a1a;
    text-align: center;
    color: #bbb;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: #1a1a1a;
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    nav ul.active {
        display: flex;
    }

    .project-card {
        width: 90%;
    }

    .intro h1 {
        font-size: 2em;
    }

    .typing {
        font-size: 1.2em;
    }

    #home {
        padding: 0 20px;
    }
}

#pdf-viewer {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 700px;
    text-align: center;
}

canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto !important;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

.pdf-controls {
    margin-top: 10px;
}

.pdf-controls button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 12px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 4px;
}

.canvas-wrapper {
    display: flex;
    justify-content: center;
}

#dashboard {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    text-align: center;
}

#dashboard h2 {
    color: #4CAF50;
    margin-bottom: 10px;
}

#dashboard p {
    color: #ccc;
    margin-bottom: 20px;
}

.tableau-container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 0 10px;
}

.tableauPlaceholder object {
    width: 1000px !important;
    height: 750px !important;
    margin: auto;
    display: block;
}


.resume-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 18px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.resume-button:hover {
    background-color: #45a049;
}
.mobile-tableau-link {
    display: none;
    margin-top: 20px;
}

.mobile-tableau-link a {
    color: #4CAF50;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .mobile-tableau-link {
        display: block;
    }
}
