*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.LOGO{
    height:30px;
}
/* Hero 圖片區 */
.hero {
    height: 50vh;
    max-height: 400px;
    background-image: url('./img/研究大樓_裁切.jpg');
    background-size: cover;
    background-position: center top; /* 水平置中 + 垂直靠上 */
    position: relative;
}

.hero-overlay {
    max-height: 500px;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.753);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-text{
    text-align: center;
    display:block;
    margin: 10%;
}

/* 白色內容區 */
.content-card {
    background: white;
    border-radius: 50px 50px 0 0;
    margin-top: -80px;
    padding: 60px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.235);
    position: relative;
    flex:1;
    display: flex;
}

.content-inner {
    max-width: 1100px;
    margin: auto;
}

.link-content{
    display: flex;
    justify-content: center;

    /* gap:30px */
}
.none-style-a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;        /* 讓整個區塊都可點擊 */
}

.icon-content{
    margin: 0  10px;
    padding:5px 20px;
    border-radius: 10px;
}
.icon-content:hover{
    background-color: rgb(227, 227, 227);
    cursor:pointer;
}
.icon-content:active{
    background-color: rgb(207, 207, 207);
}
.bar{
    border: solid 3px #77b885;
    border-radius: 10px;
    height:150px;
}
.icon{
    max-width: 100px;
}
@media (max-width:500px) {
    .link-content{
        flex-direction: column;
        align-items: center;
    }
    .icon-content{
        margin-top: 10px;
    }
    .bar{
        height: 0;
        width: 50%;
    }

    
}
/* 實驗室與研究中心清單 */
h3{
    color: #367243;
}
.list-content{
    margin-top: 5%;
    display: flex;
    justify-content: center;
}

.list{
    margin: 3% 2%;
    background-color: rgb(237, 237, 237);
    min-width: 300px;
    border-radius: 8px;
    padding:5%;
    text-align: center;
    width: 40vw;
    max-width: 400px;
}
ul{
    list-style: none;
    line-height: 30px;
}
li{
    border-bottom: 1px solid #c2c2c2;
    border-radius: 3px;
}

li:hover{
    background-color: #d3d3d3;
}

@media (max-width:600px) {

    .list-content{
        flex-direction: column;
        align-items: center;
    }
    .list{
        width:50vw;
    }
}

.buttom-link{
    width: 100%;
    margin-bottom: 10px;
    color: black;
}
.buttom-link div{
    padding: 5px;
    border-right: 1px solid ;
    display: inline-block;
}

footer {
    background: #77b885;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

