body {
    font-family: sans-serif;
    margin: 0;
    overflow: hidden; /* Prevent scrollbars */
    background-image: url('./images/motivation.jpg');
    background-size: cover;
    background-position: center;
}

.page {
    display: none; /* Initially hide all pages */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

#category-page {
    display: flex; /* Show the category page initially */
    background-image: url('./images/cat-home.jpg'); /* Replace with your image */
    opacity: 1;
}

#quote-page {
    background-image: url('path/to/random-background.jpg'); /* Default background */
}

.container {
    background-color: rgba(247, 234, 164, 0.8); /* Semi-transparent white */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 600px; /* Limit container width */
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #555;
}

select {
    appearance: none; /* Remove default browser styling */
    -webkit-appearance: none; /* For Safari */
    padding: 12px 30px 12px 15px; /* Adjust padding for arrow */
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #1a1a1a;
    margin-bottom: 20px;
    background-color: rgba(247, 234, 164, 0.8);
    background-image: url('./images/motivation.jpg'); /* Custom arrow icon */
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    cursor: pointer;
}

select::-ms-expand {
    display: none; /* Hide default arrow in IE */
}

select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

option {
    padding: 8px 15px;
    font-size: 1em;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}