/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Section */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 10px 5px 10px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 28px; /* Increased font size */
}

header p {
    font-size: 14px;
    margin-top: 5px;
}

/* Tabs Container */
.tabs-container {
    display: flex;
    justify-content: center;
    margin: 10px auto;
    width: 100%;
    max-width: 400px; /* Matches other blocks */

    /* Extra */
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #34495e;

}

/* Tabs Styling */
.tabs {
    display: flex;
    justify-content: space-between;
    background-color: #34495e;
    border: 1px solid #2c3e50;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.tablink {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px;
    transition: background-color 0.3s;
    font-size: 16px;
    flex: 1;
    text-align: center;
    color: #fff;
}

.tablink:hover {
    background-color: #2c3e50;
}

.tablink.active {
    background-color: #1abc9c;
}

.tabcontent {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-top: none;
}

/* Countdown Timer Section */
.countdown-container {
    text-align: center;
    padding: 15px;
    background-color: #34495e;
    color: #fff;
    border-radius: 10px;
    margin: 10px auto;
    width: 100%;
    max-width: 400px; /* Matches other blocks */
}

.timer {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
}

.timer-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.timer-number {
    flex: 1;
    text-align: right;
    padding-right: 10px;
}

.timer-colon {
    flex: 0;
    padding: 0 5px;
}

.timer-unit {
    flex: 1;
    text-align: left;
    padding-left: 10px;
}

/* Motivational Quotes Section */
.motivational-quotes {
    text-align: center;
    padding: 15px;
    background-color: #fff;
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.motivational-quotes blockquote {
    font-size: 16px;
    font-style: italic;
    color: #2c3e50;
}

.motivational-quotes cite {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

/* Puzzle Block */
.puzzle-block {
    text-align: center;
    padding: 15px;
    background-color: #fff;
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.puzzle-block h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.puzzle-block a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.puzzle-block a:hover {
    background-color: #c0392b;
}

/* Embed Image Block */
.embed-image-block {
    text-align: center;
    padding: 15px;
    background-color: #fff;
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.embed-image-block h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.embed-image-block img {
    width: 100%;
    border-radius: 5px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 15px;
    background-color: #2c3e50;
    color: #fff;
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.cta-section h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cta-section a {
    display: inline-block;
    margin: 5px;
    padding: 8px 16px;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.cta-section a:hover {
    background-color: #c0392b;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 10px;
    background-color: #34495e;
    color: #fff;
    margin-top: 10px;
}

footer a {
    color: #e74c3c;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
    .tabs {
        flex-direction: row;
    }

    .tablink {
        font-size: 14px;
        padding: 8px;
    }

    .timer {
        font-size: 20px;
    }

    .timer-number {
        padding-right: 5px;
    }
}