*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, sans-serif;
    background-color: #f4f9f4;
    color: #333;
    line-height: 1.6;
}



header{
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay{
    background-color: rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.overlay h1{
    font-size: 50px;
    margin-bottom: 10px;
}



nav{
    background-color: #2e7d32;
    padding: 15px;
    position: sticky;
    top: 0;
}

nav ul{
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li{
    margin: 10px 20px;
}

nav ul li a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover{
    color: #c8e6c9;
}


section{
    padding: 50px 10%;
}

section h2{
    margin-bottom: 20px;
    color: #1b5e20;
    font-size: 35px;
}



.card-container{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card{
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    flex: 1 1 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover{
    transform: translateY(-5px);
}



.animal-box{
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 8px solid #43a047;
    border-radius: 10px;
}



.tips{
    background-color: #e8f5e9;
    padding: 25px;
    border-radius: 15px;
}

.tips p{
    margin: 10px 0;
    font-size: 18px;
}


a{
    color: #2e7d32;
}

a:hover{
    color: #1b5e20;
}



footer{
    background-color: #1b5e20;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}


@media(max-width: 768px){

    .overlay h1{
        font-size: 35px;
    }

    nav ul{
        flex-direction: column;
        align-items: center;
    }

    section{
        padding: 40px 5%;
    }

}