* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Rowdies';
    src: url(Rowdies-Light.ttf);
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}
nav {
    background-color: #000;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #1abc9c;
}

/* Sections */
section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #000;
}

.species {
    background-color: #ffffff;
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.species-card {
    background: linear-gradient(135deg, #1abc9c, #0066cc);
    padding: 25px;
    border-radius: 10px;
    color: white;
    text-align: center;
    transition:all 0.3s ease;
}

.species-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.species-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Rowdies';
}

.species-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}
/*indivdual card animation*/
.species-card {
    background-size: cover;
    background-position: center;
}

.species-card:hover {
    background-image: linear-gradient(135deg, rgba(26, 188, 156, 0.5), rgba(0, 102, 204, 0.5)), var(--card-bg);
}

#species-card1 { --card-bg: url(../images/speciesCards/1.jpg); }
#species-card2 { --card-bg: url(../images/speciesCards/2.jpg); }
#species-card3 { --card-bg: url(../images/speciesCards/3.jpg); }
#species-card4 { --card-bg: url(../images/speciesCards/4.jpg); }
#species-card5 { --card-bg: url(../images/speciesCards/5.jpg); }
#species-card6 { --card-bg: url(../images/speciesCards/6.jpg); }
#species-card7 { --card-bg: url(../images/speciesCards/7.jpg); }
#species-card8 { --card-bg: url(../images/speciesCards/8.jpg); }
#species-card9 { --card-bg: url(../images/speciesCards/9.jpg); }
#species-card10 { --card-bg: url(../images/speciesCards/10.jpg); }
#species-card11 { --card-bg: url(../images/speciesCards/11.jpg); }
#species-card12 { --card-bg: url(../images/speciesCards/12.jpg); }
#species-card13 { --card-bg: url(../images/speciesCards/13.jpg); }
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 30px;
}

footer p {
    margin-bottom: 10px;
}

li{
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {

    nav ul {
        flex-direction: row;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .species-grid {
        gap: 20px;
    }

    .species-card {
        padding: 20px;
    }

    footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    .species-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .species-card {
        padding: 15px;
    }

    footer {
        padding: 15px;
    }
}