/* public/css/styles.css */
body {
    background-color: #f8f9fa;
    color: #333;
    font-family: 'Tahoma', 'Arial', sans-serif;
    justify-content: center; /* Horizontally centers the content */
    align-items: center; /* Vertically centers the content */
}

h1 {
    font-size: 3rem;
}

header, footer {
    background-color: #343a40;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.joke-container {
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.joke-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.joke-content {
    font-size: 18px;
    line-height: 1.6;
}


/* Basic styling for tag container */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* Centers the tags inside the container */
    text-align: center; /* Centers text within the tags */
}

/* Tag styling */
.tag {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for tags */
.tag:hover {
    background-color: #007bff;
    color: white;
}

/* Optional: Focus for accessibility */
.tag:focus {
    outline: 2px solid #0056b3;
}
