/* =================================
   THE WITCHER III
   Neocities Style CSS
================================= */


/* ---------- 基本設定 ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    background:#080808;

    color:#eeeeee;

    font-family:
    "Noto Serif TC",
    serif;

}


h1,h2,h3{

    font-family:
    "Cinzel",
    serif;

    letter-spacing:2px;

}


a{

    text-decoration:none;

    color:white;

}


img{

    width:100%;

    display:block;

}




/* ---------- 導覽列 ---------- */


.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:80px;

    padding:0 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:
    rgba(0,0,0,.85);

    z-index:999;

    border-bottom:
    1px solid #8b6b20;

}



.logo{

    color:#d4af37;

    font-size:26px;

    font-weight:bold;

    text-shadow:
    0 0 15px gold;

}



.navbar ul{

    display:flex;

    gap:30px;

    list-style:none;

}



.navbar a:hover{

    color:#d4af37;

}





/* ---------- 首頁 ---------- */


.hero{

    height:100vh;

    background-image:

    linear-gradient(
    rgba(0,0,0,.5),
    rgba(0,0,0,.85)
    ),

    url("images/hero.jpg");


    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}



.hero-text h1{

    font-size:80px;

    color:white;

}



.hero-text h2{

    font-size:50px;

    color:#d4af37;

}



.hero-text p{

    font-size:24px;

    margin:30px;

}



.button{

    display:inline-block;

    padding:15px 45px;

    border:

    2px solid #d4af37;

    color:#d4af37;

    transition:.3s;

}



.button:hover{

    background:#d4af37;

    color:black;

    box-shadow:

    0 0 30px gold;

}




/* ---------- 區塊 ---------- */


.section{

    padding:

    100px 10%;

}



.dark{

    background:#111;

}



.section h2{

    text-align:center;

    color:#d4af37;

    font-size:45px;

    margin-bottom:60px;

}





/* ---------- 劇情 ---------- */


.story-box{

    display:grid;

    grid-template-columns:

    1fr 1fr;

    gap:50px;

    align-items:center;

}



.story-box img{

    border-radius:10px;

    box-shadow:

    0 0 30px #000;

}



.text{

    background:

    rgba(255,255,255,.05);

    padding:35px;

    border-left:

    5px solid #d4af37;

}



.text p{

    line-height:2;

    margin-bottom:20px;

}





/* ---------- 卡片 ---------- */


.cards{

    display:grid;

    grid-template-columns:

    repeat(4,1fr);

    gap:30px;

}



.card{

    background:#181818;

    padding:30px;

    border:

    1px solid #333;

    border-radius:10px;

    text-align:center;

    transition:.4s;

}



.card:hover{

    transform:
    translateY(-10px);

    border-color:#d4af37;

    box-shadow:

    0 0 30px
    rgba(212,175,55,.4);

}



.card h3{

    color:#d4af37;

    margin:20px 0;

}



.card p{

    color:#ccc;

    line-height:1.8;

}



.card img{

    height:220px;

    object-fit:cover;

    border-radius:8px;

}




/* ---------- 影片 ---------- */


.video{

    display:flex;

    justify-content:center;

}



iframe{

    width:900px;

    height:500px;

    border:

    3px solid #d4af37;

}




/* ---------- Footer ---------- */


footer{

    background:#050505;

    text-align:center;

    padding:50px;

}



footer h3{

    color:#d4af37;

}





/* ---------- 手機版 ---------- */


@media(max-width:900px){


.navbar{

    flex-direction:column;

    height:auto;

    padding:20px;

}


.navbar ul{

    margin-top:20px;

    flex-wrap:wrap;

    justify-content:center;

}


.hero-text h1{

    font-size:45px;

}



.hero-text h2{

    font-size:30px;

}



.story-box{

    grid-template-columns:1fr;

}



.cards{

    grid-template-columns:

    repeat(2,1fr);

}



}



@media(max-width:600px){


.cards{

    grid-template-columns:1fr;

}


.section{

    padding:

    70px 20px;

}


.hero-text h1{

    font-size:35px;

}



iframe{

    width:100%;

    height:250px;

}
url("images/griffin.jpg")
url("images/fiend.jpg")
url("images/leshen.jpg")
url("images/noonwraith.jpg")
url("images/story.jpg")

}
