/* General Reset and Body Styling */
* {
    box-sizing: border-box;
    font-family: 'Playwrite NG Modern', Arial, sans-serif;
}

/* Global Styles */
body {
    background-color: #0d1117;
    /* Dark background */
    color: #c9d1d9;
    line-height: 1.6;
    text-align: center;
}

/* Header and Navigation */
header.navbar {
    display: flex;
    background-color: #161b22;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 2rem;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    font-weight: bold;
}

.navbar a {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2a9d8f;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.navbar a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar-item:hover {
    color: #2a9d8f !important;
}

.navbar-item {
    color: white !important;
}

.navbar-burger {
    color: white !important;
}

/* Resume Section */
.resume-link,
.google-docs-embed {
    margin: 30px auto;
    padding: 30px;
    background-color: #1c1f26 !important;
    /* Dark background */
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    text-align: center;
    overflow: hidden;
}

.resume-link h2,
.google-docs-embed h2 {
    color: #ffffff !important;
    margin-bottom: 20px;
}

.resume-link a {
    font-size: 1.2rem;
    color: #fff;
    background-color: #2a9d8f;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.resume-link a:hover {
    background-color: #228a73;
}

/* Embedded Google Doc (Resume) */
iframe {
    width: 100%;
    height: 700px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    display: none;
    font-size: 1.5rem;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #161b22 !important;
    padding: 20px;
    color: white;
    text-align: center;
}

/* Styling for the Resume Page */
.title {
    color: #ffffff !important;
    /* Makes the text white */
    font-size: 2rem;
    /* Adjust size if needed */
    margin-bottom: 10px;
}

.subtitle {
    color: #ffffff !important;
    /* Makes the text white */
    font-size: 1.2rem;
    /* Adjust size if needed */
    margin-bottom: 20px;
    line-height: 1.6;
    /* Improve readability */
}

/* Mobile Devices (Max Width: 768px) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar a {
        font-size: 0.9rem;
        color: black !important;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    iframe {
        height: 400px;
    }

    .resume-link {
        padding: 10px;
    }

    .back-to-top {
        bottom: 10px;
        right: 10px;
        font-size: 1rem;
    }
}