@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Noto+Sans+TC:wght@100;400&family=Roboto:wght@100;300;400&display=swap');
*{
    margin: 0; 
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', sans-serif;
    /* font-family: 'Roboto', sans-serif; */
}


body {
    height: 100%;
    width: 100%;
    line-height: 1.6;
    opacity: 0;
    -webkit-transition: opacity .4s ease-in;
    transition: opacity 1s ease-in;
    font-size: 15px;
    background-color: #f5f5f5;
}

body.show {
    opacity: 1;
    -webkit-transition: opacity .4s ease-in;
    transition: opacity 1s ease-in;
}

/* --------header--------- */
@media (min-width: 900px) {
    header{
        display: block;
        position: fixed;
        width: 70px;
        height: 100vh;
        left: 0;
        top: 0;
        z-index: 4;
        background-color: #555555;
        box-shadow: 5px 0px 20px rgb(40, 40, 40, .7);
        overflow: auto;
    }
    
    header #social {
        line-height: 70px;
        justify-content: center;
        align-items: center;
    }
    
    header #social a {
        font-size: 2rem;
        color: #fff;
    }
    
    header nav {
        width: 100vh;
        position: absolute;
        height: 70px;
        margin-left: 70px;
        transform: rotate(-90deg);
        transform-origin: left bottom;
        display: flex;
        justify-content: center;
    }
    header nav a {
        color: #fff;
        font-size: .9rem;
        padding: 0px 25px;
        height: 70px;
        line-height: 70px;
        display: block;
        text-transform: uppercase;
        transition: .3s;
    }
    header nav li {
        float: left;
        color: #555555;
        
    }
}

@media (max-width: 900px) {
    .bars::before {
        font-family: "Font Awesome 6 Free"; 
        font-weight: 900;
        content: "\f0c9";
    }

    .bars {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 70px;
        height: 70px;
        position: fixed;
        right: 0;
        font-size: 2rem;
        background-color: rgba(255, 255, 255, .5);
        color: #555555;
    }

    .flex-menu {
        position: fixed;
        width: 100vw;
        height: auto;
        margin-top: 70px;
        top: 0;
        background-color: rgba(245,245,245,.9);
        transition: .5s;
        z-index: 4;
        box-shadow: 0px -2px 15px 1px rgba(85,85,85,.2);
        text-align: center;
        display: none;
    }

    header nav a {
        color: #555555;
        font-size: 2rem;
        margin: 25px;
        padding: 20px 0;
        line-height: 10px;
        display: block;
        text-transform: uppercase;
        transition: .3s;
        font-weight: 900;
    }

    header .social a {
        font-size: 3rem;
    }
}



header #social a:hover,
header nav a:hover {
    color: #f19371;
}





/* --------header--------- */

/* --------leftArea--------- */

@media (min-width: 900px) {
    .leftArea {
        width: 360px;
        height: 100%;
        float: left;
        position: fixed;
        left: 70px;
        top: 0;
        background-color: #f5f5f5;
        z-index: 1;
    }
    
    .leftArea .content {
        width: 100%;
        height: 100%;
        padding: 25px 50px;
        position: relative;
        color: #555555;
        z-index: 1;
        overflow: auto;
    }
}
@media (max-width: 900px) {
    .leftArea {
        width: 100%;
        height: auto;
        float: left;
        position: relative;
        /* background-color: #f5f5f5; */
        z-index: 1;
    }
    .leftArea .content {
        width: 100%;
        height: 100%;
        padding: 25px;
        position: relative;
        color: #555555;
        z-index: 1;
        overflow: auto;
        border-bottom: 2px dashed #555555;
    }

}

.leftArea .content::-webkit-scrollbar {
    width: 10px;
}

.leftArea .logo h2{
    font-family: 'Fjalla One', sans-serif;
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 3.5rem;
}

.leftArea .content .text {
    margin-top: 25px;
}

.leftArea .text h2 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .1rem;
}

.leftArea .info,
.leftArea .text p {
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.8rem;
}


/* --------leftArea--------- */

/* --------rightArea--------- */
@media (min-width: 900px) {
    .rightArea {
        width: calc(100% - 430px);
        margin-left: 430px;
        background-color: rgba(245,245,245,1);
    }
}

@media (max-width: 900px) {
    .rightArea {
        width: 100%;
        height: auto;
        background-color: rgba(245,245,245,1);
    }
}

.rightArea ul {
    float: left;
    width: 100%;
}

.rightArea li {
    width: 100%;
    height: auto;
    padding: 0px;
}

.rightArea img {
    width: 100%;
    height: auto;
}

.rightArea .straight img {
    width: 50%;
}

/* --------rightArea--------- */

/* --------footer--------- */
footer {
    display: block;
    position: fixed;
    height: 30px;
    width: calc(100% - 430px);
    right: 0;
    bottom: 0;
    z-index: 1;
    background-color: #dddddd;
}

#copyright {
    display: flex;
    position: absolute;
    color: #555555;
    font-weight: 100;
    font-size: .3vw;
    right: 5px; 
    letter-spacing: .1vw;
    line-height: 30px;
}


.goBack::before {
    font-family: "Font Awesome 6 Free"; 
	font-weight: 900;
	content: "\f100";
    margin: 0 10px;
}

@media (min-width: 900px){
    .goBack {
        z-index: 4;
        display: block;
        position: absolute;
        bottom: 0px;
        right: 0px;
        padding-right: 20px;
        line-height: 29px;
        color: #555555;
        font-weight: 500;
        font-size: 1rem;
        background-color: #dddddd;
        border-left: 1.5px solid #bbbbbb;
    }
}

@media (max-width: 900px) {
    .goBack {
        display: block;
        width: calc(100% - 70px);
        line-height: 70px;
        color: #fff;
        background-color: #555555;
        font-weight: 500;
        font-size: 1rem;
        padding-left: 18px;
    }
}


.goTop::before {
    font-family: "Font Awesome 6 Free"; 
	font-weight: 900;
	content: "\f106";
}

.goTop {
    z-index: 4;
    display: block;
    position: fixed;
    bottom: 50px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, .6);
    border: none;
    border-radius: 15%;
    color: #555555;
    font-size: 1.5rem;
    box-shadow: 1px 1px 10px 1px rgba(85,85,85,.8),-1px -1px 10px 1px rgba(85,85,85,.8);
}

