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: inherit;
    justify-content: space-between;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    font-size: larger;
    flex: -5;
    margin: 60px 20px 20px 20px;
    background-image: url('./img/watermark.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    opacity: 1.0;
    height: calc(100vh - 60px);
}

.sidebar-left {
    position: fixed;
    top: 60px;
    left: 0;
    width: 10%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 10px;
    font-weight: 400;
    z-index: 999;
}

.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;
}

.page-content {
    flex: 1;
    padding: 20px;
    margin: 0 12%;
    text-align: justify;
    hyphens: auto;
    overflow-y: auto;
    height: 100vh;
    justify-content: center;
    /* border: 1px solid black; */
}

.page-content img {
    width: 800px;
}

footer {
    display: none;
    position: fixed;
    bottom: 0;
    background-color: black;
    color: white;
    text-align: center;
    padding: 3px 0;
    width: 100%;
    z-index: 1000;
}

.cfooter {
    color: white;
    text-decoration: none;
}

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

.pdf-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: calc(100vh - 80px);
    overflow-y: auto;
    margin-top: -5px;
}

.pdf-page-canvas {
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


#pdf-render {
    border: none;
    width: auto;
    height: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.audio-player {
    text-align: center;
    margin-top: 20px;
}

.play-button {
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.play-button:hover {
    color: #007BFF;
}

.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;
}


.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;
}

.video-container {
    position: relative;
    width: 600px;
    height: 340px;
}

video {
    width: 100%;
    height: 100%;
}

.page-content .tit {
    font-size: 17px;
}

.warning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: justify;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    z-index: 1;
}

.continue-button {
    margin: 20px 40%;
    padding: 12px 24px;
    background-color: #ff1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.instruction-message {
    display: block;
}

.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);
}

.pic-page {
    display: flex;
}

.pic-page2 {
    display: flex;
    align-items: center;
}

#fin {
    width: 300px;
    margin: 10px auto;
}
.vid2 {
    margin: 0px 100px;
}

.iframe-pg {
    width: 800px;
    height: 530px;
    margin: 0 auto;
    /* border: 1px solid black; */
    aspect-ratio: 10 / 9;
    /* border: none; */
    padding: 0;
}

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

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

.declaration-link {
    text-decoration: none;
    color: black;
}

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

.audio-link {

    width: fit-content;
}

.declaration-icon {
    max-width: 45px;
    height: 33px;
    margin-top: 5px;
    border-radius: 5px;
    margin-left: 10px;
}

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

.para {
    display: flex;
}

.para img {
    width: 250px;
    margin-right: 10px;
    height: auto;
}

#news-pic {
    width: 500px;
}

@media (max-width: 800px) {

    #image-centre {
        margin-top: 50px;
        width: 315px;
    }

    #news-pic {
        width: 300px;
    }

    .para {
        display: block;
        text-align: center;
    }

    .para img {
        width: 300px;
        height: auto;
    }

    .titi {
        text-align: left;
        font-size: 14px;
    }

    .pic-page, .pic-page2 {
        display: block;
    }
    
    .pdf-page-canvas {
        width: 100%;
    }

    .pdf-container {
        width: 105%;
        margin: 0;
        margin-left: -10px;
    }

    .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);
    }

    #s34 {
        border: 1px solid beige;
        width: 350px;
        margin-left: -45px;
    }

    .content-wrapper {
        width: 100%;
        background-position: 50% 30%;
        background-size: 100%;
        /* border: 1px solid black; */
        margin: 15px 0px;
    }

    .page-content {
        width: 50%;
        padding: 15px;
        margin: 0px;
        hyphens: auto;
        overflow-x: hidden;
        font-size: 18px;
        /* text-justify: inter-word; */
        font-size: 14.8px;
    }

    p {
        text-align: justify;
        text-justify:distribute-all-lines;
    }

    .page-content h3 {
        /* text-align: justify; */
        hyphens: auto;
        font-size: 13.2px;
    }

    .page-content .tit {
        font-size: 15px;
    }

    .page-content img {
        width: 100%;
    }
    .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;
        margin: 3px 4px;
        box-shadow: 0 0 3px rgb(255, 255, 255);
    }

    .navbar {
        padding: 15px;
    }

    .medias{
        display: inline-block;
        flex-direction: column;
    }

    iframe {
        width: fit-content;
        /* height: fit-content; */
        margin: auto auto;
    }

    img {
        width: 100%;
        /* height: fit-content; */
        margin: auto auto;
    }

    .navbar {
        background-position: top right;
        background-size: 150%;
    }

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

    .video-container {
        position: relative;
        width: 100%;
        height: 340px;
    }

    video {
        width: 300px;
        height: 100%;
    }

    .continue-button {
        margin: 20px 20%;
        padding: 6px 6px;
        width: 50%;
        background-color: #ff1a1a;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
    }

    .instruction-message {
        display: none;
    }

    .warning-overlay {
        position: absolute;
        word-break: keep-all;
        top: 0;
        left: -5px;
        width: 100%;
        height: 100%;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        color: #fff;
        text-align: left;
        padding: 8px;
        font-family: Arial, sans-serif;
        font-size: 13px;
        line-height: 1.5;
        z-index: 1;
    }
}
