* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #4E4E4E;
    font-family: 'Inter', sans-serif;
}


.fade-content-40,
.fade-content-60 {
    opacity: 0;
    display: none; /* Start hidden to prevent flash */
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.frame {
    background-color: #4E4E4E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-40 {
    flex: 0 0 40%;
}

.frame-60 {
    flex: 0 0 60%;
}

.logo {
    position: absolute;
    top: 37px;
    left: 144px;
    font-family: 'Faster One', cursive;
    font-size: 2.5rem;
    width: 509px;
    height: 49px;
    line-height: 49px;
    text-align: center;
    color: #00D0FF;
}

.intro-text {
    position: absolute;
    top: 387px;
    left: 144px;
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    width: 509px;
    height: 57px;
    line-height: 57px;
    color: #ffffff;
}

.name-text {
    position: absolute;
    top: 444px;
    left: 144px;
    font-family: 'Inter', sans-serif;
    font-size: 60px;
    font-weight: bold;
    width: 509px;
    height: 57px;
    line-height: 57px;
    color: #ffffff;
}

.description-text {
    position: absolute;
    top: 501px;
    left: 144px;
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    width: 509px;
    height: 192px;
    line-height: 1.4;
    color: #ffffff;
}

.description-text .highlight {
    font-weight: bold;
    color: #00D0FF;
    font-size: 50px;
}

.frame-60 {
    flex: 0 0 60%;
    position: relative;
    background-color: #4E4E4E;
}

.pfp-image {
    position: absolute;
    top: 247px;
    left: 297px;
    width: 500px;
    height: 586px;
    object-fit: cover;
}


.frame-60 {
    flex: 0 0 60%;
    position: relative;
    background-color: #4E4E4E;
}

.navbar {
    position: absolute;
    top: 37px;
    left: 50%;
    transform: translateX(-50%);
    width: 770px;
    height: 49px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.nav-button {
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 30px;
    text-decoration: none;
    padding: 0 10px;
    cursor: pointer;
    user-select: none;
}

.nav-button {
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 30px;
    text-decoration: none;
    padding: 0 10px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.nav-button:hover {
    transform: scale(1.1);
    text-shadow: 0 10px 50px #00D0FF;
}

.nav-button.active {
    color: #00D0FF;
}

.nav-button.active:hover {
    transform: scale(1.1);
    text-shadow: 0 10px 50px #00D0FF;
}

/* Containers for sliding effect */
.container {
    position: relative;
    overflow: hidden; /* hide overflow during animation */
}

/* Slide left frame out */
.frame-40.slide-out-left {
    animation: slideOutLeft 0.5s forwards;
}

/* Slide left frame in */
.frame-40.slide-in-left {
    animation: slideInLeft 0.5s forwards;
}

/* Slide keyframes */
@keyframes slideOutLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Frame-60 should stay on top and fade while new page loads */
.frame-60 {
    position: relative;
    z-index: 2; /* above frame-40 */
    transition: opacity 0.5s ease;
}


.about-me {
    background: #393939;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #393939;
    border-radius: 20px;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    background: #4E4E4E;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.about-me h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #00D0FF;
}

.about-me p {
    line-height: 1.6;
    margin-bottom: 16px;
    color: #ffffff;
}

.about-me h3 {
    margin-top: 30px;
    font-size: 1.4em;
    color: #00D0FF;
}

.skills {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #00D0FF;
    font-weight: bold;
}

.skills li {
    background-color: #393939;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.95em;
}

.pfp2-image {
    position: absolute;
    top: 198px;
    left: 50%px;
    transform: translateX(-50%);
    width: 600px;
    height: 700px;
}

