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

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

.pfp-image {
    position: absolute;
    left: 279px;
    top: 106px;
    width: 239px;
    height: 280px;
    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;
}


.container {
    position: relative;
    overflow: hidden;
}

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


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

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


.frame-60 {
    position: relative;
    z-index: 2; /* above frame-40 */
    transition: opacity 0.5s ease;
}

.fade-content-60 {
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* centers horizontally */
    overflow: show; /* keep overflow hidden */
    width: 100%;
    height: 100%
}

.fade-content-60 iframe {
    width: 100%; /* keep full width of container */
    max-width: 900px; /* optional max width to keep size reasonable */
    height: 750px; /* taller for bigger map */
    border: none;
    border-radius: 20px;
    display: block;
    margin-top: 105px;
}

.frame-40 .address-box {
    position: absolute;
    top: 386px;
    left: 138px;
    width: 522px;
    height: 150px;
    background-color: #393939;
    border-radius: 20px;

    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering */
}

.frame-40 .address-box .pinpoint {
    position: absolute;
    top: 10px;                    /* 10px from top */
    left: 50%;                   /* center horizontally */
    transform: translateX(-50%); /* correct offset from 50% */
    width: 56px;
    height: 80px;
}

.frame-40 .address-box .address-text {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 464px;
    height: 55px;
    font-weight: bold;
    font-size: 40px;
    color: #00D0FF;
    text-align: center;
    line-height: 300%;
}


.frame-40 .number-box {
    position: absolute;
    top: 550px;
    left: 138px;
    width: 522px;
    height: 150px;
    background-color: #393939;
    border-radius: 20px;

    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering */
}

.frame-40 .number-box .phonelogo {
    position: absolute;
    top: 10px;                    /* 10px from top */
    left: 50%;                   /* center horizontally */
    transform: translateX(-50%); /* correct offset from 50% */
    width: 56px;
    height: 80px;
}

.frame-40 .number-box .address-text {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 464px;
    height: 55px;
    font-weight: bold;
    font-size: 40px;
    color: #00D0FF;
    text-align: center;
    line-height: 300%;
}


.frame-40 .mail-box {
    position: absolute;
    top: 715px;
    left: 138px;
    width: 522px;
    height: 150px;
    background-color: #393939;
    border-radius: 20px;

    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering */
}

.frame-40 .mail-box .maillogo {
    position: absolute;
    top: 10px;                    /* 10px from top */
    left: 50%;                   /* center horizontally */
    transform: translateX(-50%); /* correct offset from 50% */
    width: 124.75px;
    height: 80px;
}

.frame-40 .mail-box .maillogo-text {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 464px;
    height: 55px;
    font-weight: bold;
    font-size: 40px;
    color: #00D0FF;
    text-align: center;
    line-height: 300%;
}


