/*

index.css
2025 coded by Azuha

*/

/* =======================================
   全体レイアウト
======================================= */
body {
    margin: 0;
    padding: 0;
    background-image: 
        url("images/background.png");
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;


}

#wakame {
    position: absolute;
    bottom: -200px;       /* ← ここを変えれば自由に上へ動く！ */
    left: 0;
    width: 100%;
    height: 400px;

    background-image: url("wakame.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;

    pointer-events: none;
    z-index: 3;
}


/* アプリ全体コンテナ（高さを Canvas と合わせて必ず重ねる） */
#app-container {
    width: 640px;
    height:800px;
    margin: 0 auto;
    position: relative;
}

/* =======================================
   Canvas（魚エリア）
======================================= */

/* 魚エリアの大枠（高さは Canvas と同じ） */
#game-area {
    position: relative;
    width: 100%;
    height:800px;
    margin-top: 10px;
}

/* ★ Canvas を完全に背景扱いにする重要ポイント */
#game {
    position: fixed
    top: 0;
    left: 0;
    z-index: -1;                
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* エサボタン（Canvas より前） */
#feedBtn {
    z-index: 20;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 25px 25px;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    background: orange;
    color: white;
}

/* =======================================
   時刻表（Canvas の上に重ねる）
======================================= */
#title,
#clock-area,
.time-container {
    position: relative;
    z-index: 10;
    
}

/* タイトル */
#title {
    font-size: 26px;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #2c105b;
}

/* 現在時刻 */
#clock-area {
    margin-top: 10px;
    font-size: 20px;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #d0ecff;
}

/* ======== 時刻表レイアウト ======== */

/* 親を横並び */
.time-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
    margin-top: 20px;
}

/* 左右ブロック */
.time-block {
    flex: 1;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.15);
}

/* でかい時間（hh:mm / 残り分） */
.bigtime {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    margin: 10px 0;
}

/* "次は" の表記 */
.next-label {
    font-size: 25px;
      font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: block;
    margin-top: 10px;
}
