* {
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;
}




.language-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.language-switcher select {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  border: none;
  background: transparent;
  cursor: pointer;
}


