body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('background.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

input, button {
    padding: 12px;
    margin: 10px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
}

button {
    background-color: #ff7eb9;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #ffafbd;
}
/* History Section Styling */
.history-card {
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.history-question {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffdae9;
    margin-bottom: 15px;
}

.history-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.answer-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
}

.divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0));
    margin-top: 20px;
}
/* Styling for the History Cards */
.history-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.history-question {
    font-size: 1.3rem;
    color: #ffdae9;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side-by-side columns */
    gap: 20px;
}

.ans-col {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* For mobile phones, make the columns stack on top of each other */
@media (max-width: 600px) {
    .history-grid {
        grid-template-columns: 1fr;
    }
}
