/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Body */
body {
    background-color: #f0f8ff; /* Light blue background */
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Title */
.title {
    text-align: center;
    font-size: 2.5rem;
    color: #0066cc; /* Dark blue */
    margin-bottom: 40px;
}

/* Polls Grid */
.polls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Poll Card */
.poll-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.poll-card:hover {
    transform: translateY(-5px);
}

/* Poll Thumbnail */
.poll-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Poll Info */
.poll-info {
    padding: 20px;
    text-align: center;
}

.poll-title {
    font-size: 1.5rem;
    color: #004080; /* Medium blue */
    margin-bottom: 10px;
}

.poll-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.poll-link {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.poll-link:hover {
    background-color: #004080;
}
