/* Global Styles */
body {
    font-family: "Parkinsans", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

/* Navigation Bar */
.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    height: 40px;
    box-shadow: 0 2px 10px #e9e9e9;
}

#location_time {
    display: block;
    margin-right: auto;
    font-family: "Ubuntu", sans-serif;
}

#location {
    font-size: 15px;
    font-family: "Ubuntu", sans-serif;
}

#time-display {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-right: auto;
}

/* Buttons */
button {
    border: none;
    border-radius: 8.5px;
    padding: 10px;
    margin: 10px;
    -webkit-tap-highlight-color: transparent;
}

.contactbtn {
    background-color: #000;
}

#contact-btn {
    color: #fff;
}

.portfoliobtn {
    background: #fff;
    border: 1px solid #ccc;
}

#portfolio-btn {
    color: #000;
}

/* Profile Section */
.myself {
    display: block;
    margin-top: 40px;
    padding: 10px 15px;
    position: relative;
    overflow: hidden;
}

.myself img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: auto;
    transform: scale(0.9);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
    -webkit-tap-highlight-color: transparent;
}

.myself img:hover {
    cursor: pointer;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.whoIam #heroTitle {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.whoIam #heroSubtitle {
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.whatIdo #heroLocation {
    font-size: 1.4rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 10px;
}

.whatIdo #heroDescription {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .whoIam #heroTitle {
        font-size: 2.5rem;
    }

    .whoIam #heroSubtitle {
        font-size: 1.6rem;
    }

    .whatIdo #heroLocation {
        font-size: 1.2rem;
    }

    .whatIdo #heroDescription {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .whoIam #heroTitle {
        font-size: 2rem;
    }

    .whoIam #heroSubtitle {
        font-size: 1.4rem;
    }

    .whatIdo #heroLocation {
        font-size: 1rem;
    }

    .whatIdo #heroDescription {
        font-size: 0.85rem;
    }
}/* Resume Viewer */
#resume-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1000;
    
}

#resume-viewer.show {
    display: flex;
}

#resume-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Slightly lighter backdrop */
}

#resume-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#resume-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures the entire image is visible */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

#close-resume-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: #fff; /* White for visibility */
    border: none;
    font-size: 24px;
    cursor: pointer;
}

#close-resume-btn:hover {
    color: #ddd; /* Slightly lighter hover effect */
}

#resume-viewer,
#resume-backdrop {
    transition: opacity 0.3s ease;
}

#resume-viewer.show {
    opacity: 1;
}

#resume-viewer:not(.show) {
    opacity: 0;
    pointer-events: none;
    }
