body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#en-land, #cn-land {
    font-size: 24px;
    order: 0;
    white-space: normal;
    font-family: Montserrat, sans-serif;
    text-align: center;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#en-land {
    animation: fadeEnglish 4s infinite;
}

#cn-land {
    animation: fadeChinese 4s infinite;
}


#box {
    display: flex;
    flex-direction: column;
    gap: 10vh;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

#logo {
    position: relative;
    height: 60px;
    width: 100%;
}

#language {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#en, #cn {
    font-family: Montserrat, sans-serif;
}

#en{ 
    font-size: 16px;
}

#cn{ 
    font-size: 15px;
}

.language-button { 
    width: 80px;
    height: 32px;
    padding: 1px 8px;
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #000;
    color: rgb(0, 0, 0);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
a {
    text-decoration: none;
}

.language-button:hover {
    background-color: rgb(0, 0, 0);
    color: white;
    
}

.language-button:hover a {
    color: white;
    transition: all 0.3s ease;
}


@keyframes fadeEnglish {
    0% { opacity: 0; }
    45% { opacity: 1; }
    50% { opacity: 0; }
    95% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes fadeChinese {
    0% { opacity: 0; }
    45% { opacity: 0; }
    50% { opacity: 0; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}
