/* JPG2JPG Revolutionary Converter Styles */

body {
    margin: 0;
    padding: 0;
    background: #c0c0c0;
    font-family: 'Comic Sans MS', 'Courier New', monospace;
    color: #000;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border: 5px ridge #808080;
    box-shadow: 10px 10px 0px #000;
}

.header {
    background: linear-gradient(to bottom, #000080, #0000ff);
    color: #ffff00;
    padding: 20px;
    border-bottom: 5px solid #ff0000;
}

.header h1 {
    margin: 0;
    text-align: center;
    font-size: 2.5em;
    text-shadow: 3px 3px #ff0000, 6px 6px #00ff00;
    animation: rainbow 3s infinite;
}

@keyframes rainbow {
    0% { color: #ff0000; }
    16% { color: #ff7f00; }
    33% { color: #ffff00; }
    50% { color: #00ff00; }
    66% { color: #0000ff; }
    83% { color: #8b00ff; }
    100% { color: #ff0000; }
}

.star {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

marquee {
    background: #ff0000;
    color: #ffff00;
    font-weight: bold;
    padding: 10px;
    border: 3px solid #000;
    font-size: 1.2em;
}

.content {
    padding: 20px;
}

.announcement {
    background: #ffff00;
    border: 5px dashed #ff0000;
    padding: 15px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.blink {
    color: #ff0000;
    font-size: 1.8em;
    animation: blink-animation 1s step-start infinite;
}

@keyframes blink-animation {
    50% {
        opacity: 0;
    }
}

.features {
    background: #e0e0e0;
    border: 3px solid #000080;
    padding: 15px;
    margin: 20px 0;
}

.features h2 {
    color: #000080;
    text-decoration: underline;
}

.features ul {
    list-style: none;
    padding-left: 0;
}

.features li {
    background: url('data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==') no-repeat left center;
    padding-left: 20px;
    margin: 10px 0;
    font-weight: bold;
}

.features li:before {
    content: "★ ";
    color: #ff0000;
    font-size: 1.2em;
}

.converter-box {
    background: linear-gradient(to bottom, #ffffff, #c0c0c0);
    border: 5px groove #808080;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.converter-box h2 {
    color: #000080;
    text-shadow: 2px 2px #ff0000;
}

#imageInput {
    display: block;
    margin: 20px auto;
    padding: 10px;
    border: 3px solid #000080;
    background: #fff;
    font-family: inherit;
    font-size: 1em;
}

.convert-btn {
    background: linear-gradient(to bottom, #ff0000, #cc0000);
    color: #ffff00;
    font-size: 1.5em;
    font-weight: bold;
    padding: 15px 30px;
    border: 5px outset #ff0000;
    cursor: pointer;
    font-family: inherit;
    text-shadow: 2px 2px #000;
    margin-top: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.convert-btn:hover:not(:disabled) {
    background: linear-gradient(to bottom, #ff3333, #ff0000);
    border-style: inset;
}

.convert-btn:disabled {
    background: #808080;
    color: #c0c0c0;
    cursor: not-allowed;
    animation: none;
}

.error {
    background: #ff0000;
    color: #fff;
    padding: 10px;
    margin: 10px 0;
    border: 3px solid #000;
    font-weight: bold;
    display: none;
}

.status {
    background: #00ff00;
    color: #000;
    padding: 10px;
    margin: 10px 0;
    border: 3px solid #000080;
    font-weight: bold;
    display: none;
}

#preview {
    margin: 15px 0;
}

.testimonials {
    background: #ffffcc;
    border: 3px double #000;
    padding: 15px;
    margin: 20px 0;
}

.testimonials h2 {
    color: #800080;
    text-align: center;
}

blockquote {
    background: #fff;
    border-left: 5px solid #0000ff;
    margin: 10px 0;
    padding: 10px;
    font-style: italic;
}

.counter {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #000;
    color: #00ff00;
    border: 3px solid #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
}

.footer {
    background: #808080;
    color: #fff;
    padding: 15px;
    text-align: center;
    border-top: 5px ridge #000;
}

.footer p {
    margin: 5px 0;
}

/* Under construction GIF style */
img[alt="badge"] {
    border: 2px solid #000;
    vertical-align: middle;
}

/* Responsive design (but still old-school) */
@media (max-width: 600px) {
    .header h1 {
        font-size: 1.5em;
    }

    .container {
        margin: 10px;
    }

    marquee {
        font-size: 1em;
    }
}
