/* =========================
   Retro Image Converter CSS
   ========================= */

/* =========================
   Base Layout
   ========================= */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;

    background-color: #0b0b0b;
    color: #33ff33;
    font-family: 'Press Start 2P', monospace;
    padding: 20px;
    line-height: 1.6;

    /* CRT scanline */
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(0, 255, 0, 0.05),
        rgba(0, 255, 0, 0.05) 1px,
        transparent 1px,
        transparent 3px
    );

    animation: flicker 0.15s infinite;
}
.content {
    margin-bottom: 20px;
}

/* =========================
   Title
   ========================= */
#page_title {
    text-align: center;
    font-size: 2em;
    color: #00ffcc;
    text-shadow: 0 0 8px #00ffcc;
    border-bottom: 2px solid #00ffcc;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* =========================
   Description
   ========================= */
#page_description {
    white-space: pre-wrap;
    background: #111;
    border: 2px solid #33ff33;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px #33ff33 inset;
}

/* =========================
   Tool List
   ========================= */
#Tool_List {
    background: #000;
    border: 2px solid #33ff33;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 0 15px #33ff33;
}

#Tool_List dt {
    font-size: 1.2em;
    margin-top: 0px;
    margin-bottom: 5px;
}

#Tool_List dt a {
    color: #ffff66;
    text-decoration: none;
    text-shadow: 0 0 5px #ffff66;
}

#Tool_List dt a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff;
    transform: scale(1.05);
    display: inline-block;
}

#Tool_List dd {
    margin-left: 20px;
    margin-bottom: 10px;
    color: #cccccc;
}
.fontcancel {
    font-family: monospace;
}
/* =========================
   Footer Area (Sticky)
   ========================= */
#footer_area {
    margin-top: auto;
}

/* =========================
   WordPress Banners
   ========================= */
#wp_banners {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Banner Card */
.wp-banner {
    width: 260px;
    background: #ffffff;
    color: #000;
    border-radius: 6px;
    overflow: hidden;

    box-shadow:
        0 0 0 2px #33ff33,
        0 10px 20px rgba(0,0,0,0.6);

    transition: transform 0.2s, box-shadow 0.2s;
}

.wp-banner:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow:
        0 0 0 2px #33ff33,
        0 15px 30px rgba(0,0,0,0.8);
}

/* Banner Image */
.wp-banner-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* Banner Text */
.wp-banner-title {
    font-size: 0.8em;
    padding: 10px 10px 0;
    font-weight: bold;
    color: #222;
}

.wp-banner-desc {
    font-size: 0.7em;
    padding: 5px 10px 10px;
    color: #555;
}

#wp_banners a {
    text-decoration: none;
}

/* =========================
   Footer
   ========================= */
#footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8em;
    color: #666;
}

/* =========================
   Button (future use)
   ========================= */
button {
    background: #222;
    color: #33ff33;
    border: 2px solid #33ff33;
    padding: 8px 16px;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 0 5px #33ff33;
}

button:hover {
    background: #33ff33;
    color: #000;
}

/* =========================
   Scrollbar
   ========================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #33ff33;
}

/* =========================
   Flicker Effect
   ========================= */
@keyframes flicker {
    0% { opacity: 0.95; }
    50% { opacity: 1; }
    100% { opacity: 0.9; }
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 600px) {

    body {
        font-size: 12px;
        padding: 12px;
    }

    #page_title {
        font-size: 2em;
        margin: 0;
    }

    #Tool_List dt {
        font-size: 1.3em;
    }

    .wp-banner {
        width: 100%;
    }
}
