/* styles.css */
body {
    font-family: 'Century Gothic', sans-serif;
    
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 10px 20px; /* Reduced navbar size */
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Century Gothic', sans-serif;
}

h1 {
    color: #2c3e50;
    font-size: 2em; /* Reduced font size for a minimalistic look */
    margin-bottom: 5px;
}

p {
    font-size: 1em; /* Reduced font size for a minimalistic look */
    margin-bottom: 20px;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px; /* Centering the cards */
    width: 100%;
}

li {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    flex: 1 1 calc(33.333% - 40px); /* Cards layout */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

li:hover {
    transform: translateY(-5px);
}

a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
    text-align: center;
}

a:hover {
    text-decoration: underline;
}

/* Additional styling for a modern look */
body::before {
    content: "";
    background: url('artificialintelligence.png'); /* Optional: Background pattern image */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

footer {
    background-color: #f8f9fa;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.9em;
    text-align: center;
    padding: 10px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.5em; /* Adjusted for smaller screens */
    }

    p {
        font-size: 0.9em; /* Adjusted for smaller screens */
    }

    ul {
        padding: 0 10px;
    }

    li {
        flex: 1 1 100%;
    }
}
