/* color setup and general styling */
:root {
    --sage: #374b43;
    --light-sage: #9aaca4;
    --white: #ffffff;
    --dark-text: #2c2c2c;
}

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

body {
    background-color: var(--light-sage);
    color: var(--dark-text);
}

/* navigation and footer styling */
nav, #footer {
    background-color: var(--sage);
    color: var(--white);
    padding: 15px 30px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
}

#footer {
    margin-top: 40px;
}

/* top-of-the-page title comp.  */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 3em;
    color: var(--sage);
    margin-bottom: 10px;
}

/* section title and text attr.  */
.section-title {
    font-size: 2em;
    margin-bottom: 15px;
}

.section-text {
    line-height: 1.5;
}

.section-image {
    width: 35%;
    border-radius: 5px;
}

/* cards for the species page  */
.species-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.species-card {
    background-color: var(--sage);
    color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    width: 300px;
    text-align: center;
}