﻿body {
    scroll-behavior:smooth;
}
.Slider {
    width: 100%;
    height: 480px;
    background-image: url('../images/birdimage.jpg');
    background-size:100% 100%;
    animation : changeImage 60s linear infinite;
}
@keyframes changeImage{
    0% {
        background-image: url('../images/birdimage.jpg');
    }
    25% {
        background-image: url('../images/butterfly.jpg');
    }
    50% {
        background-image: url('../images/snake.jpg');
    }
    75% {
        background-image: url('../images/greycrownedcrane.jpg');
    }
    100% {
        background-image: url('../images/chameleon.jpg');
    }
}
/*HOME PAGE ANIMAL BIRD CARDS*/
 #Animals-Birds {
  background-color: #172D13;
  padding-bottom: 30px;
    }
 #Animals-Birds h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 18px auto;
    color:white;
    font-size: 30px;
    font-weight: bold;
    width: 700px;
    padding-top: 20px;
    text-align: center;
    margin-top:0px;
 }

.animal_bird-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.animals_birds {
    width: 300px;
    height: 230px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    background-color: white;
    transition: transform 0.3s;
}
.animals_birds:hover {
    transform: scale(1.05);
}
.animals_birds a {
    text-decoration: none;
}
#Herbivores, #Carnivores, #Omnivores, #Passerine, #Raptors, #Waterfowl {
    height: 180px;
    width: 300px;
}
.animals_birds p {
    margin: 0;
    padding: 10px;
    color: #54441b;
    font-family: Verdana;
    font-size: 16px;
}
/* EVENTS PAGE */
#Events {
    padding: 30px;
}
#Events h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 35px;
    color: #172D13;
    margin: 0 auto;
    text-align: center;
}
.event {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}
.Animals, .Birds {
    padding: 10px;
}
.Animals a, .Birds a {
    text-decoration: none;
    color: #558B2F;
    font-size: 25px;
    font-weight: bold;
}
.Animals a:hover, .Birds a:hover {
     color: #e67518;
 }
.section {
    display: none; /* Displays no section for events*/
}
.section:target {
    display: block; /* Displays the targeted section(the section whose link is being clicked)*/
}
.myEvents {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    font-family: Verdana;
}
.myEvents h2 {
    font-family: Calibri;
    font-size: 30px;
    margin-bottom: 15px;
    text-align: center;
}
.myEvents p {
    color: #555;
    font-size: 18px;
    line-height: 1.6; 
    text-align: center;
    margin-bottom: 20px;
}
.KnowMore {
    display: block;
    width: 200px;
    padding: 10px 20px;
    margin: 0 auto;
    background-color: #007bff; 
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}
.KnowMore:hover {
    background-color: #0056b3;
}
/*BLOGS SECTION*/
#Blogs {
    background-color: #172D13;
    padding:20px;
}
#Blogs h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
    font-size: 35px;
    margin: 0 auto;
    text-align: center;
    }
.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 20px;
    justify-items: center;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
    flex-wrap: wrap;
}
.blog-box {
    width: 350px;
    background-color: #ffffff;
    margin: 20px;
    border-radius: 8px;
}
img {
    border-radius:8px;
    width:350px;
    height:250px;
}
.blog-text {
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.blog-text span {
    color: blueviolet;
    font-size: 12px;
    padding-bottom:10px;
}
.blog-text .blog-title {
    font-size: 16px;
    font-weight: 500;
    color: black;
}
.blog-text .blog-title hover {
    color: red;
}
.blog-text p {
    color: cadetblue;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0px;
}
.BlogsReadMore, .ARbtn {
    padding: 10px 20px;
    color: #fff;
    background-color: darkolivegreen;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
.BlogsReadMore:hover, .ARbtn:hover {
    background-color: #0056b3;
}
#BlogSender{
    color:red;
}
.AddBlogs {
    padding: 10px 20px;
    margin-left: 622px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
}
.AddBlogs:hover {
    background-color: #0056b3;
}
/*ABOUT US SECTION */
#AboutUs {
    background-color: #f9f9f9;
    padding: 40px 20px;
    color: #333;
    font-family: Arial, sans-serif;
}
.AboutUsContainer {
    max-width: 900px;
    margin: 0 auto;
}
.AboutUsContent {
    text-align: center;
}
.AboutUsContent h1 {
    font-size: 35px;
    color: #172D13;
    margin-bottom: 20px;
}
.AboutUsContent h3 {
     font-size: 24px;
     color: #172D13;
     margin-top: 30px;
     margin-bottom: 15px;
}
.AboutUsContent p {
     font-size: 1.1em;
     line-height: 1.6;
     color: #555;
     margin-bottom: 20px;
     text-align: left;
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
}
.AboutUsContent p b {
    color: #4b7a5b;
}
@media (max-width: 768px) {
    .AboutUsContent h1 {
        font-size: 2em;
    }

    .AboutUsContent h3 {
        font-size: 1.5em;
    }

    .AboutUsContent p {
        font-size: 1em;
    }
}
/*HELP PAGE*/
#Help h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #172D13;
    font-size: 35px;
    text-align: center;
}

.helpSection {
    margin: 20px;
    background-color: #edffec;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.helpSection h3 {
    font-family: Calibri;
    font-size: 24px;
    margin-bottom: 20px;
}

.Help {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
.Help:last-child {
   border-bottom: none;
}
.question {
    font-family: Verdana;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: #276221;
    font-size: 19px;
}
.answer {
    padding-top: 10px;
    font-family: Verdana;
    font-size: 18px;
    color: #613613;
}
