/*
    Author: Yui Nguyen
    Homework 01
    Date created: 06-28-2025
    Last update: 06-29-2025
*/

/*
    Default Elements
*/

h1{
    position: relative;
    margin: 1%;
    width: fit-content;
    background-color: transparent;

    font-family: "Updock", cursive;
    font-weight: bold;
    font-style: normal;
    font-size: 2.5vw;
}

/*
    H2 is for subtopic header
*/
h2{
    margin-top: 0.5%;
    margin-bottom: 0%;
    width: 95%;
    height: 15%;
    background-color: transparent;

    font-weight: bold;
    font-style: normal;
    font-size: 2.0vw;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    scroll-behavior: smooth;
}

hr{
    width: 95%;
    height: 5px;
    background-color: black;
    border: none;
}

/*
    Panel Elements
*/
.main_container{
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    min-width: vw;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: black;
}

/*
    For Header
*/
.header{
    position: relative;
    width: 100%;
    min-height: 15vh;
    background: url(./img/Chinese_Scroll.png);
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}

.navigator{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background-color: transparent;

    display: flex;    
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.link_button{
    font-family: "Updock", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2.25vw;
    color: black;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content{
    display: none;
    position: absolute;
    min-width: 2vw;
    padding: 0.5em;

    background-color: rgba(248, 244, 227, 1);
    z-index: 10;
}

.dropdown-content a {
    display: block;
    padding: 0.25em 0.5em;

    text-decoration: none;
    color: black;
    font-size: 1.25vw;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*
    For Center Container
*/
.center_container{
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    min-height: 100vh;
    /* background-color: antiquewhite; */
    background: url(./img/Wood_Texture.jpg);
    

    display: flex;    
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.main_topic_header{
    width: fit-content;
    min-height: 7.5vh;
    background: url(./img/Topic_Background_02.jpg);
    background-size: 100% 100%;
    
    text-align: center;
    font-family: "Updock", cursive;
    font-weight: 400;
    font-style: normal;
    color: black;
    font-size: 3.0vw;
    padding: 1% 5% 0 5%;
}

.topic_container_one{
    position: relative;
    width: 95%;
    height: 30vh;
    padding: 2% 0 2% 0;
    min-height: fit-content;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
                url(./img/Topic_Background_02.jpg);
    background-size: cover, 100% 100%;

    display: flex;    
    flex-direction: column;
    align-items: center;
}

.topic_container_two{
    position: relative;
    width: 95%;
    height: 30vh;
    padding: 2% 0 2% 0;
    min-height: fit-content;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
                url(./img/Topic_Background_01.jpg);
    background-size: cover, 100% 100%;

    display: flex;    
    flex-direction: column;
    align-items: center;
}

.topic_container_three{
    position: relative;
    width: 95%;
    height: 30vh;
    padding: 2% 0 2% 0;
    min-height: fit-content;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
                url(./img/Topic_Background_03.jpg);
    background-size: cover, 100% 100%;

    display: flex;    
    flex-direction: column;
    align-items: center;
}

.topic_child_container{
    width: 95%;
    height: 65%;
    min-height: fit-content;
    background-color: transparent;

    display: flex;    
    flex-direction: row;
    align-items: start;
    gap: 2%;
}

.topic_text{
    width: 60%;
    height: 100%;
    min-height: fit-content;
    background-color: transparent;

    color: black;
    font-size: 1.25vw;
    line-height: 1.75em;
}

.topic_image{
    width: 35vw;
    height: 60vh;
    max-height: 95%;
    margin-top: 0;
}

/*
    For Footer
*/
.footer{  
    position: relative;
    width: 100%;
    min-height: 10vh;
    margin-top: 5%;
    background: url(./img/Chinese_Scroll.png);
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.9);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3%;
}

.image_panel{
    width: 7.5vw;
    height: 10vh;
}

/*
    Specific elements
*/

/*
    Decoration Elements
*/
.left_decoration{
    position: fixed;
    left: 0;
    width: 12.5vw;
    height: 100vh;
    background: linear-gradient(rgba(92, 64, 51, 1) 5px, transparent 1px),
                linear-gradient(to left, rgba(92, 64, 51, 1) 5px, transparent 1px),                
                radial-gradient(rgba(239, 232, 216, 0.5) 0%, rgba(239, 232, 216, 0) 80%),
                url(./img/Fish.png),              
                radial-gradient(rgba(239, 232, 216, 0.9) 0%, rgb(0, 0, 0, 0.3) 80%);
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    background-position: top left, top left, center center, center center, center center;
    background-size: 20% 8%, 20% 8%, cover, 125%, cover;
    color: white;
    z-index: 1;
}

.right_decoration{
    position: fixed;
    right: 0;
    width: 12.5vw;
    height: 100vh;
    background: linear-gradient(rgba(92, 64, 51, 1) 5px, transparent 1px),
                linear-gradient(to right, rgba(92, 64, 51, 1) 5px, transparent 1px),  
                radial-gradient(rgba(239, 232, 216, 0.5) 0%, rgba(239, 232, 216, 0) 80%),
                url(./img/Fox.png),              
                radial-gradient(rgba(239, 232, 216, 0.9) 0%, rgb(0, 0, 0, 0.3) 80%);
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    background-position: top left, top left, center center, center center, center center;
    background-size: 20% 8%, 20% 8%, cover, 100%, cover;
    color: white;
    z-index: 1;
}