/* General Styles for All Pages */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 20px 0;
    background-color: #fefefe;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 3em;
    color: #333;
    margin: 0;
}

p {
    font-size: 1.2em;
    color: #666;
    margin: 10px 0;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 10px;
    font-size: 0.8em;
    background-color: #fefefe;
    color: #aaa;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
    display: flex;
    justify-content: space-around;
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    flex-wrap: wrap;
}

.amezaiku-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.amezaiku-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.amezaiku-item:hover {
    transform: scale(1.05);
}

.effect h2 {
    font-size: 2em;
    margin: 10px 0;
    color: #333;
}

.effect p {
    color: #777;
    font-size: 1em;
    margin: 10px 0;
}

/* Button Styles */
button.buy-now {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff4444;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.buy-now:hover {
    background-color: #ff0000;
}

/* Styles for Individual Product Pages (rabbit.html, dragonfly.html, goldfish.html) */
body.dark-theme {
    background-color: #111;
    color: #eee;
    font-family: 'Courier New', Courier, monospace;
}

.product-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #222;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 50px auto;
}

.product-image img {
    width: 50%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.1);
}

.product-info {
    padding-left: 20px;
}

.product-info h2 {
    font-size: 2.5em;
    color: #ff4444;
}

.product-info p {
    font-size: 1.2em;
    margin-top: 10px;
}

.product-info .highlight {
    color: #ff4444;
    font-weight: bold;
}

/* Footer Links */
.back-to-main a {
    color: #ff4444;
    text-decoration: none;
    font-size: 1.2em;
}

.back-to-main a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .amezaiku-item {
        width: 80%;
    }

    .product-page {
        flex-direction: column;
        text-align: center;
    }

    .product-image img {
        width: 80%;
    }

    .product-info {
        padding-left: 0;
    }
}
/* Credit Card Form Styles */
.payment-form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.payment-form-container h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.payment-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group input::placeholder {
    color: #999;
}

button.submit-btn {
    background-color: #ff4444;
    color: white;
    padding: 10px 15px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

button.submit-btn:hover {
    background-color: #ff0000;
}

footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9em;
    color: #aaa;
}

