body {
    background: url('./img/bgtest.png') no-repeat center center fixed;
    background-size: cover;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding: 0;
    background-position: bottom;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    justify-content: space-between;
    min-height: 100vh; /* New: Ensure body is at least as tall as the viewport */
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    font-size: larger;
    flex: 1;
    margin: 60px 20px 20px 20px;
    background-image: url('./img/watermark.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    opacity: 1.0;
    overflow-y: auto;
}

.sidebar-left {
    position: fixed;
    top: 60px;
    left: 0;
    width: 10%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 10px;
    z-index: 2;
    margin-bottom: 10%;
}

.lside-img {
    margin: 163% 0 10% 0;
    width: 90%;
}

.sidebar-right {
    position: fixed;
    top: 60px;
    right: 4%;
    width: 13%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    font-weight: 400;
    z-index: 999;
}

.rside-img {
    margin: 10% 0 30% 35%;
    width: 12vw;
}

.oral-content h2, .text-content h2 {
    font-size: 36px;
    margin: -5px 0 10px 0;
}

.oral-content {
    padding: 10px;
    margin: 0 5px 0 10%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: calc(100vh - 80px);
    width: 100%;
}

.text-content {
    padding: 10px;
    margin: 0 15% 0 0;
    /* border: 1px solid black; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: calc(100vh - 80px);
    width: 100%;
}

.declaration-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 95%;
}

.declaration-item {
    flex: 1;
    padding: 5px;
    border-radius: 2px;
    /* background-color: rgba(240, 240, 240, 0.9); */
    border: 1px solid green;
}

.declaration-link {
    display: block;
    justify-items: right;
    width: 100%;
    text-decoration: none;
    color: black;
}

.declaration-text {
    flex-grow: 1;
    margin-right: 10px;
    font-size: 22px;
    text-decoration: none;
}

.declaration-icon {
    width: 60px;
    height: 35px;
    margin-top: 5px;
    border-radius: 5px;
    margin-left: 10px;
}

.declaration-icon:hover {
    cursor: pointer;
    transform: scale(1.03);
}

.top-btn {
    width: 3%;
    position: fixed;
    bottom: 25px; left: 145px;
    cursor: pointer;
}

.top-btn:hover {
    transform: scale(0.8);
    border-radius: 50%;
    padding: -100px;
    box-shadow: 0px 0px 2px black;
}


footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 3px 0;
    width: 100%;
    position: inherit;
    z-index: 1000;
}
.cfooter {
    color: white;
    text-decoration: none;
}

.cfooter:hover {
    color: #1606a1;
}

#default-one {
    background-color: rgb(84, 130, 53);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    background: url('./img/navbg.png') no-repeat center left fixed;
    background-size: contain;
    background-position: top;
    padding: 10px;
    z-index: 1000;
}

.hamburger {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 20px;
    cursor: pointer;
}

.nav-link {
    color: white;
    font-size: 1.5vw;
    text-decoration: none;
    border: 1px solid black;
    background-color: rgba(63, 116, 32, 0);
    padding: 3px 15px;
    margin: 0 0 0 -5px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: rgb(84, 130, 53);
    font-weight: bold;
}

.gtranslate_wrapper {
    position: fixed;
    right: 0;
    top: 7%;
    display: flex;
    text-align: left;
    /* border: 1px solid black; */
    z-index: 1001;
}

.gtranslate_wrapper img {
    /* border: 1px solid black; */
    width: 40%;
    height: auto;
}

.gtranslate_wrapper a {
    margin-right: -12px;
    /* border: 1px solid black; */
    color: rgba(255, 255, 255, 0);
}


@media (max-width: 800px) {
    .gtranslate_wrapper {
        position: fixed;
        right: -1px;
        top: 15px;
        display: flex;
        text-align: left;
        /* border: 1px solid black; */
        z-index: 1001;
    }
    
    .gtranslate_wrapper img {
    /* border: 1px solid black; */
        width: 10px;
        height: auto;
    }
    
    .gtranslate_wrapper a {
        margin-right: -37px;
        /* border: 1px solid black; */
        color: rgba(255, 255, 255, 0);
    }
    .nav-link {
        font-size: 1.8vw;
        padding: 3px 13px;
        margin-left: 0;

    }
    .rside-img {
        visibility: hidden;
        transform: scale(0);
    }

    .lside-img {
        visibility: hidden;
        transform: scale(0);    
    }

    .content-wrapper {
        width: fit-content;
        background-position: 50% 30%;
    }

    .page-content {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 25px;
        left: 2px;
        width: fit-content;
        text-align: center;
    }
    
    .nav-link {
        font-size: 2.7vw;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
        box-shadow: 0 0 3px rgb(255, 255, 255);
        margin: 3px 4px;
    }

    .navbar {
        background-position: top right;
        background-size: 155%;
        padding: 20px;
    }

    .content-wrapper {
        width: 100%;
        /* border: 1px solid black; */
        margin: 40px 0 0 ;
    }

    .content-wrapper h2 {
        font-size: 20px;
    }

    .oral-content {
        padding: 5px;
        width: 90%;
        /* border: 1px solid black; */
        margin: 0 0px 0 0;
    }

    .text-content {
        padding-top: 12px;
        width: 90%;
        /* border: 1px solid black; */
        margin: 0;
    }

    .declaration-icon {
        width: 35px;
        margin-left: 5px;
        height: 30px;
    }

    .declaration-item {
        min-width: 70%;
        /* border: 1px solid black; */
        margin: 0;
        /* padding-right: 50%; */
    }


    .declaration-link {
        text-align: left;
        /* border: 1px solid rgb(255, 0, 0); */
        width: 100%;
        /* padding: 5px; */
        font-size: 15px;
        margin-right: 10px;
        /* padding-right: 100%; */
    }

    .declaration-text {
        border: 1px solid black;
        width: 100%;
        padding-right: 100%;
    }

    .top-btn {
        width: 18px;
        font-weight: bolder;
        position: fixed;
        bottom: 25px; left: 0px;
        cursor: pointer;
        box-shadow: 0px 0px 2px black;
        border-radius: 50%;
    }
}