/* Reset some basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Basic styling for body */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #74EBD5;
    background-image: linear-gradient(250deg, #74EBD5 0%, #9FACE6 100%);
    color: #333;
    min-height: 100vh; /* Ensures the background covers the entire viewport */
}

/* Navigation Bar Styling */
.navbar {
    width: 100%;
    background-color: #333;
    color: white;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    list-style-type: none;
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Main Content Styling */
.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 30vh;
    margin-top: 10px; /* Moves title and description downwards */
}

.main-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.main-content p {
    font-size: 1.5rem;
    color: #555;
}

/* Card Styling */
.card {
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-stats {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
}

.card-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-content {
    padding: 1rem;
    text-align: center;
}

.card-content h2 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #333;
}

.card-content p {
    font-size: 1rem;
    color: #777;
}