/* index.css */
html {
    font-size: 12pt;
    line-height: 1.6;
}

body {
    align-items: center;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.home-link-box {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.home-link-box a {
    text-decoration: none;
    margin: 0 10px;
    border-bottom: 1px dotted currentColor;
}

section {
    margin-top: 50px;
}
section h2 {
    border-bottom: 1px solid #888;
}
section h3 {
    color: rgb(8, 43, 92);
}
ul.cards {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}

ul.cards li {
    border: 1px solid #888;
    border-radius: 0.5rem;
    padding: 1rem;
    flex: 1 1 calc(33.333% - 1rem);
    box-sizing: border-box;
    text-align: center;
}

a[href].copy-btn {
    background-color: rgb(18, 74, 130);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

table.info-table td {
    border-bottom: 1px solid #888;
}

strong {
    color: #0000dd;
}

#imgOverlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
#imgOverlay img {
    border-radius: 12px;
}
#imgOverlay button {
  /* 이미 인라인 스타일 있음, 필요시 추가 스타일 작성 */
}

footer {
    color: #ccc;
    text-align: center;
}
@media (prefers-color-scheme: dark) {
    body {
        background: #000000;
        color: #e0e0e0;
    }
    section h3 {
        color: rgb(184, 198, 255);
    }
    a[href] {
        color: #80bfff;
    }
    a[href]:hover {
        color: #d9ff00;
    }
    a[href].copy-btn {
        background: #cdedff;
        color: #000;
        border: 1px solid #ffffff;
    }
    strong {
        color: #fff200;
    }
    footer {
        color: #444;
    }
}