/* Font Faces */
@font-face {
    font-family: "notoserif-rg";
    src: url("asset/Noto_Serif_SC/static/NotoSerifSC-Regular.ttf");
}

@font-face {
    font-family: "notoserif-light";
    src: url("asset/Noto_Serif_SC/static/NotoSerifSC-Light.ttf");
}

@font-face {
    font-family: "pinyonscript";
    src: url("asset/PinyonScript-Regular.ttf");
}

@font-face {
    font-family: "fathers";
    src: url("asset/Fathers-BF654cd265614b2.otf");
}

@font-face {
    font-family: "crimson-text-reg";  /* Corrected typo from "crimison" */
    src: url("asset/CrimsonText-Regular.ttf");
}

@font-face {
    font-family: "crimson-text-italic"; /* Corrected typo from "crimison" */
    src: url("asset/CrimsonText-Italic.ttf");
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    cursor: none; 
}

/* Body styles */
body {
    background-color: #111;
    min-height: 100vh;
    padding-top: 4rem; /* Add padding to avoid content being hidden under fixed nav */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation styles */
.nav {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    font-size: 24px;
    font-family: "fathers", serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-item {
    color: white;
    /* Removed position: relative since it's unnecessary */
}

/* Bottom text layout */
.bottom-txt {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    font-family: notoserif-rg;
    font-size: 24px;
    color: white;
}

/* Text styles */
.c-text {
    font-family: "notoserif-rg";
    font-size: 24px;
    color: white;
    text-align: center;
}

.title {
    font-family: "notoserif-rg", serif;
    font-weight: 400;
    color: white;
    font-size: 64px;
    margin-top: 100px;
}

.sub-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 10rem;
    gap: 2rem;
    min-height: 100vh; /* Ensure full viewport height */
}

/* Adjust the margin to make it more responsive */
.summary {
    margin-top: 4rem; /* Changed from 200px to rem for better responsiveness */
    font-family: "notoserif-light", serif;
    font-weight: 200;
    font-size: 24px;
    color: white;
    line-height: 2;
    align-self: flex-start;
}

/* Report heading */
.report-heading {
    font-family: notoserif-rg, serif;
    font-weight: bold;
}

/* Cursor styles */
.cursor {
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    z-index: 1000;
}

/* Language Toggle */
body.eng {
    background-color: #F5F5F5;
}

body.eng .nav-item,
body.eng .c-text {
    color: black;
}

body.eng .chinese-text {
    font-family: "crimson-text-italic", serif;
    font-size: 76px;
    color: black;
}

body.eng .report-text {
    font-family: "crimson-text-reg", serif;
    font-size: 24px;
    color: black;
}

body.eng .report-heading::before {
    font-family: "crimson-text-italic", serif;
    font-weight: 400;
}

body.eng .bottom-txt .chinese-text {
    font-family: "fathers", serif;
    font-size: 24px;
    color: black;
}
