/* About Page Styles */
.name-container {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

.name-container h1 {
    font-size: 5.4rem;
    font-weight: 600px;
    color: #444444;
    margin: 0;
}

.dynamic-word-container {
    text-align: center;
    margin: 12px 0;
    position: relative;
    min-height: 2.8rem;
    font-family: 'Roboto', sans-serif;
}

#dynamic-word {
    color: #81a6f0;
    font-size: 5.0rem;
    font-weight: 700;
    display: inline-block;
    line-height: 1.1;
    white-space: nowrap;
    width: 600px;
    margin-left: 0px;
    font-family: 'Roboto', sans-serif;
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-60%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Tags Section */
.tags {
    margin: 20px 0 40px;
    margin-left: 195px;
}

.tags span {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    margin: 0 4px;
    font-size: 1.12rem;
    font-family: "Roboto", sans-serif;
}

#programming { background-color: #f0cb81; }
#student { background-color: #de807e; }
#leader { background-color: #89cfa9; }
#engineer { background-color: #81a6f0; }

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 60px auto;
    padding: 0 60px;
    transform: translateY(-42px); 
    margin-left: 135px;
}

.grid-item {
    background: white;
    padding: .5rem;
    border-radius: 8px;
}

.grid-item span {
    display: inline;
    font-weight: 700;
    color: #666666;
    margin-right: 4px;
}

.grid-item p {
    display: inline;
    font-weight: 510;
    color: #5f5f5f;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 999;
    display: none;
}

.popup-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    display: none;
}

.popup-card h2 {
    font-size: 24px;
    color: #444444;
    margin-bottom: 20px;
    font-weight: 500;
}

.popup-card p {
    color: #444444;
    font-size: 16px;
    line-height: 1.5;
}

.popup-card a {
    color: #81a6f0;
    text-decoration: underline;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #444444;
}

/* Responsive Design */
@media (max-width: 992px) {
    .name-container h1 {
        font-size: 3rem;
    }

    .content {
        padding: 20px;
    }

    .main-title {
        font-size: 3rem;
        margin-bottom: 40px;
        min-height: 4rem;
    }

    #dynamic-word {
        font-size: 3rem;
        min-width: 300px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .tags span {
        margin: 4px;
    }
} 