@import './reset.css';

.topmenu {
    height: 8vh;
    width: 100vw;
    color: rgb(234, 233, 226);
    background-color: rgb(255, 255, 255);
    float: top;
}

.topmenu .logo {
    position: relative;
    /*此項設定後、float方能起作用*/
    display: flex;
    /*align-items: center; 此項用於調整 li的排列水平置中、但用於此處不太合用*/
    float: left;
    /*導覽列靠右*/
    padding: 0px 0px;
    /*對靠右的導覽列進行位置的微調*/
}

.topmenu .logo .logoStyle {
    height: 8vh;
    width: 220px;
}

#loginContent {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#loginForm {
    text-align: center;
    font-size: 24px;
    /* 对登录表单进行位移 */
    margin-left: 5vh;
    margin-top: 10vh;
}

.topmenu ul {
    position: relative;
    /*此項設定後、float方能起作用*/
    display: flex;
    /*align-items: center; 此項用於調整 li的排列水平置中、但用於此處不太合用*/
    float: right;
    /* 導覽列靠右*/
    padding: 15px 10px;
    /*對靠右的導覽列進行位置的微調 上下/左右*/
}

.topmenu ul li {
    font-size: 1.3em;
    font-width: 200;
    padding: 0px 10px;
    color: black;
}

a:link {
    color: black;
}

/* visited link */
a:visited {
    color: black;
}

/* mouse over link */
a:hover {
    color: hotpink;
}

/* selected link */
a:active {
    color: blue;
}

div.leftmenu {
    height: 90vh;
    width: 20vw;
    background-color: blue;
    float: left;
}

div.content {
    position: relative;
    left: 0vw;
    height: 100vh;
    width: auto;
    overflow: auto;
    /*width: 100vw;*/
    background-color: rgb(109, 109, 109);
}

.content .aboutInfoPng {
    /*position: relative;
    height: 90vh;
    width: 80vw;*/
    position: relative;
    /*display area*/
    height: 100%;
    width: 100%;
    left: 15vw;
    background: url('../../imgs/aboutCK.jpg') no-repeat;
    background-size: auto 100%;
    /*h,w*/
    /*display: inline-block;*/
}

.aboutSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 92vh;
    padding-top: 6vh;
    background: linear-gradient(to bottom, #1b2735 0%, #223044 100%);
    /* 深藍灰漸層背景 */
}

.aboutImage {
    width: 60%;
    max-width: 800px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.aboutImage:hover {
    transform: scale(1.02);
    /* 滑過時輕微放大，增加質感 */
}

.aboutText {
    margin-top: 26px;
    font-size: 1.2em;
    color: #f0f3f8;
    /* 淡白灰文字，對比深色背景 */
    text-align: center;
    width: 70%;
    line-height: 1.8;
    background-color: rgba(0, 0, 0, 0.4);
    /* 半透明深底，讓文字清晰 */
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* RWD 手機版調整 */
@media (max-width: 768px) {
    .aboutImage {
        width: 90%;
    }

    .aboutText {
        width: 90%;
        font-size: 1.05em;
        padding: 12px 16px;
    }
}


/* 可選：RWD 手機版調整 */
@media (max-width: 768px) {
    .aboutImage {
        width: 90%;
    }

    .aboutText {
        width: 90%;
        font-size: 1em;
    }
}