* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f0f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}


.hero {
    background-color: #3498db;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    margin-top: 60px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #2ecc71;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #27ae60;
}


#daily-quiz {
    padding: 60px 20px;
    background-color: #ecf0f1;
}

#daily-quiz h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.quiz-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.quiz-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 20px);
    margin-bottom: 20px;
}

.quiz-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.quiz-item p {
    font-weight: 600;
    margin-bottom: 15px;
}

.quiz-item ul {
    list-style-type: none;
    margin-bottom: 15px;
}

.quiz-item li {
    margin-bottom: 5px;
    padding: 5px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.answer {
    font-weight: 600;
    color: #27ae60;
}


#about {
    background-color: #2c3e50;
    background-image: url('https://startupbonsai.com/wp-content/uploads/Best-Online-Quiz-Makers-Featured.jpeg');
    background-size: cover;
    background-position: center;
    color: rgb(129, 8, 8);
    padding: 60px 20px;
    font-weight: 700;
    text-align: center;
    position: relative;

}

#about h2 {
    margin-bottom: 20px;
}


#contact {
    padding: 60px 20px;
    background-color: #ecf0f1;
}

#contact h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
}

form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #2980b9;
}


footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px;
}


@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .quiz-item {
        width: 100%;
    }
}
