// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 200 to 900

.source-serif-4-<uniquifier> {
  font-family: "Source Serif 4", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.romanesco-regular {
  font-family: "Romanesco", cursive;
  font-weight: 400;
  font-style: normal;
}



body {
    font-family: "Source Serif 4", serif;
    margin: auto;
    width: 100vw;
    background-color: #FFFBE7;
    overflow: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: px 1vw;
    border-bottom: 1.3px solid black;
    align-items: center;
    background-color: #FFFBE7;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; /* Ensure the navbar stays on top */
}

.nav-links {
    display: flex;
    padding-left: 10px; /* Adjust this value as needed to move links to the left */
}

.navlink {
    color: black;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 14px 20px; /* Reduced padding to bring links closer together */
    transition: color 0.3s;
}

.logo {
    flex: 1;
    padding-left: 10px;
    align-content: center;
}

#shlogo {
    height: 70px;
}
#shlogo {
    height: 70px;
}

.navlink:hover {
    color: #FFC369;
}

.romanesco-regular {
    font-family: "Romanesco", cursive;
}

p {
    margin: 0 0 1.25rem;
}

a.home {
    position: fixed;
    left: 4vw;
    bottom: 2.5vw;
    padding: 0.5vw;
    border: solid black;
    background-color: lightgoldenrodyellow;
    color: black;
    font-size: 1.75rem;
    text-decoration: none;
}

a.home:hover {
    background-color: orange;
}
/* Typewriter animation */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange }
}

.subtitle .typed-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 6s steps(40, end), blink-caret .75s step-end infinite;
}

.spacer2 {
    height: 2.75pt;
    width: 96%;
    margin: 0 auto 1rem;
    border-bottom: solid 1.5pt #808080;
}

.left-container {
    flex: 40%;
    display: flex;
    flex-direction: column;
    padding: 0 2vw;
    line-height: 1.5;
}

.heading {
    font-family: "Romanesco", cursive;
    font-size: 12rem;
    font-weight: 200;
    text-align: center;
     padding-top: 5vw;
}

.headingroad,
.pinyinroad,
.heading2 {
    font-family: "Source Serif 4", serif;
    padding-left: 1vw;
}

.headingroad {
    font-size: 3rem;
    margin-top: 2rem;
    
    text-align: left;
     padding: 0 2vw 0 2vw;
}

.pinyinroad {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
     padding: 0 2vw 0 2vw;
}

.heading2 {
    font-size: 1.6rem;
    margin: 2rem 0 0.5rem;
    text-align: left;
    padding: 0 2vw 0 2vw;
  
}

.subtitle {
    font-family: "Source Serif 9", serif;
    font-style: italic;
    font-size: 2.5rem;
    font-weight: 601;
    margin: -3rem 0;
    text-align: center;
    
}

.bodytext {
    font-size: 1.2rem;
    line-height: 2rem;
    text-align: justify;
    padding: 0 11vw 0 2vw;
    padding-bottom: none;
}

.container {
    display: flex;
    height: 100vh;
    padding-top: 100px; /* Adjust this value to match the height of the navbar */
}

.right-container {
    flex: 45%;
    display: flex;
    flex-direction: column;
    padding-left: 1vw;
    padding-bottom: 9vw;
    border-left: solid dimgrey;
    overflow-y: auto;
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

.right-container::-webkit-scrollbar {
    display: none;
}

.imgbox {
    padding: 0 2vw;
    
}

.imgtext {
    width: 88%;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.4;
    padding-bottom: 2vw;
    color: #000;
}

#image1 {
    width: 85%;
}
/*vertical photo*/
#image2 {
    width: 42%;
    padding-right: 0.5vw;
}


    


@media screen and (max-width: 600px) {
    body,
    html {
        overflow: auto; /* Allow the entire body to scroll */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        scrollbar-width: none; /* Firefox */
    }

    .container {
        flex-direction: column;
        height: auto; /* Allow the container height to adjust based on content */
    }

    .left-container,
    .right-container {
        width: 100%; /* Make containers full width */
        height: auto; /* Allow the height to adjust based on content */
        border: none; /* Remove borders */
        overflow: visible; /* Allow content overflow to be visible */
        padding-top: 50px; /* Adjust this value to match the height of the navbar */
    }

    .subtitle {
        font-size: 1.5rem;
        margin: 0.9rem 0 0.75rem;
    }

    .bodytext {
        font-size: 1.2rem;
    }

    p {
        margin-bottom: 1.75rem;
    }

    .imgtext {
        width: 90%;
        font-size: 1.1rem;
        padding-bottom: 5vw;
    }
}


