/* Global styles */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    color: #fff;
    margin: 0;
    padding: 0;
    background-image: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzNjUyOXwwfDF8c2VhcmNofDF8fGZpdG5lc3MlMjBjb3VwbGV8ZW58MHx8fHwxNjc3MTEzNzY0&ixlib=rb-1.2.1&q=80&w=1080');
    background-size: cover;
    background-position: center;
}

header {
    text-align: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 5px solid #ff6f61;
}

h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 1.5rem;
}

/* Container styles */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

/* Section styles */
.section {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin: 1rem 0;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff6f61;
}

input[type="text"],
input[type="number"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background-color: #ff6f61;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1rem;
}

button:hover {
    background-color: #ff4c3b;
    transform: scale(1.05);
}

#result-container {
    margin-top: 1rem;
}

ul {
    list-style-type: none;
    padding: 0;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    bottom: 0;
    width: 100%;
    border-top: 5px solid #ff6f61;
}

/* Responsive design */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    button {
        width: 100%;
    }
}