body{
    font-family: 'Poppins', sans-serif;
}
 
.bulle-top{
    background-color: #fceed5;
    width: 100%;
    height: 680px;
    margin: 0;
}
 
header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
}
 
#logo img{
    width: 150px;
}
 
#search-bar{
    width: max-content;
 
}
 
#search-bar input{
    border-radius: 20px;
    width: 250px;
    height: 35px;
    padding-left: 10px;
    border: 0;
}
 
#search-bar button{
    box-sizing: border-box;
    width: 150px;
    height: 40px;
    border-radius: 20px;
    background-color: #003459;
    color: white;
    border: 0;
}
 
#intro{
    display: flex;
    align-items: center;
    height: 88%;
    padding-left: 100px;
    padding-right: 100px;
}
 
#text{
    width: 500px;
    height: 400px;
    color: #003459;
}
 
h1{
    font-size: 60px;
    margin-bottom: 5px;
}
 
h2{
    font-size: 45px;
    margin-top: 0;
}
 
#buttons{
    display: flex;
    align-items: center;
    gap: 15px;
}
 
#buttons button{
    width: 110px;
    height: 40px;
    border-radius: 20px;  
    border: none;
}
 
#intro-btn{
    display: flex;
    align-items: center;
    gap: 10px;
}
 
#intro-btn img{
    width: 20px;
}
 
#explore-btn{
    background-color: #003459;
    color: white;
}
 
#photo{
    background-image: url("images/hero-image.png");
    width: 800px;
    height: 102%;
    
}
.top-page{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-right: 110px;
    margin-top: 30px;
    
}
.alltexttop{
    margin-left: 38px;
}
.mobile-button{
    width: 100%;
    display: none;
}
.button-main{
    background-color: white;
    border: solid 1px #003459;
    color: #003459;
    border-radius: 30px;
    height: 48px;
    width: 135px;
    margin-right: 9px;
    cursor: pointer;
}
.text1, .text2{
    color: #003459;
    font-weight: bolder;
    margin-left: 65px;
}
.main-container{

    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    padding-left: 100px;
    padding-right: 110px;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 70px;
}
.description-pets{
    font-weight: bolder;
}
.age-pets{
    font-size: x-small;
}
.price-pets{
    font-weight: bolder;
}
.pet1, .pet2, .pet3, .pet4, .pet5, .pet6, .pet7, .pet8{
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border-color: white;
}
.img-pet1, .img-pet2, .img-pet3, .img-pet4, .img-pet5, .img-pet6, .img-pet7, .img-pet8{
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
    border-radius: 15px;

}
.img-pet1{
    background-image: url(images/pet1.png);
}
.img-pet2{
    background-image: url(images/pet2.png);
}
.img-pet3{
    background-image: url(images/pet3.png);
}
.img-pet4{
    background-image: url(images/pet4.png);
}
.img-pet5{
    background-image: url(images/pet5.png);
}
.img-pet6{
    background-image: url(images/pet6.png);
}
.img-pet7{
    background-image: url(images/pet7.png);
}
.img-pet8{
    background-image: url(images/pet8.png);
}
.main-container2{
    background-color: #fceed5;
    width: 1261px;
    height: 600px;
    margin-top: 100px;
    margin-left: 202px;
    margin-right: 100px;
}

.hero {
    background-color: #fce8c6;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 339px;
}

.hero-image {
    width: 405px;
    height: 306px;
}

.hero-text h1 {
    font-size: 2.5em;
    color: #1a3b6f;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1em;
    margin-bottom: 20px;
}

.hero-buttons .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.hero-buttons .btn.primary {
    background-color: #1a3b6f;
    color: #fff;
}

.hero-buttons .btn {
    background-color: #e6e8ea;
    color: #1a3b6f;
}

.pet-knowledge {
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    margin: 20px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 1.2em;
    color: #666;
}

.section-header h3 {
    font-size: 2em;
    color: #1a3b6f;
    margin-bottom: 20px;
}

.card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 29.33%;
    margin-right: 20px;
}

.card img {
    width: 100%;
    height: 300px;
}

.card-content {
    padding: 15px;
}

.card-content .tag {
    background-color: #5decff;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    display: inline-block;
    margin-bottom: 10px;
}

.card-content h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.9em;
    color: #666;
}
.footer {
    background-color: #fce8c6;
    padding: 40px 20px;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #333;
}

.subscribe-section {
    background-color: #1a3b6f;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #fff;
}

.subscribe-section h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.subscribe-form {
    display: flex;
    width: 100%;
    max-width: 500px;
    gap: 10px;
    background-color: white;
    height: 50px;
    border-radius: 5px;
}

.subscribe-form input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.subscribe-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #1a3b6f;
    color: white;
    cursor: pointer;
    font-weight: bold;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: auto;
    margin-bottom: auto;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.footer-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.footer-bottom {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 23px;
}

.social-icons a {
    margin: 0 10px;
    width: 30px;
    height: 30px;
}

.footer-info {
    font-size: 0.8em;
    color: #666;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 50px;
    border-top: #1a3b6f solid 1px ;
}

.footer-info a {
    text-decoration: none;
    color: #333;
}
.footer-info img{
    height: 35px;
}
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.2em;
    }

    p {
        font-size: 1em;
    }
    header {
        flex-direction: column;
        padding: 10px 0;
    }

    #logo img {
        width: 100px;
    }

    .footer-nav  {
        display: none;
    }

    #search-bar {
        display: none;
    }
    #intro {
        flex-direction: column;
        align-items: center; 
        text-align: center;  
        padding: 20px;
    }
    #text {
        width: 100%;  
        text-align: center;
    }
    #text #Title {
        align-items: center; 
        justify-content: center;
    }
    #photo {
        width: 100%;
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        flex-direction: column-reverse;
        gap: 20px;
    }
    #buttons {
        justify-content: center;
    }
    .hero-image {
        width: 100%;
        height: auto;
    }
    .top-page {
        padding: 0 20px;
    }
    .top-page .alltexttop{
        margin: 0;
    }
    .text1, .text2{
        margin: 0px;
    }
    .mobile-button{
        display: block;
    }
    .top-page .button-main{
        display: none;
    }
    .hero-buttons{
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .main-container {
        padding: 0 20px;
        gap: 20px;
    }

    .pet1, .pet2, .pet3, .pet4, .pet5, .pet6, .pet7, .pet8 {
        width: 100%;
        margin: 0 auto;
    }

    .img-pet1, .img-pet2, .img-pet3, .img-pet4, .img-pet5, .img-pet6, .img-pet7, .img-pet8 {
        width: 100%;
    }

    .button-main {
        display: none;
    }
    .pet-knowledge{
        padding: 0;
    }
    .card-container .card {
        width: 100%;
    }
    .card-container .mobile-button {
        width: 100%;
    }
    .card-container .mobile-button .button-main{
        display: block;
        width: 100%;
    }
    .card .card-content {
        padding: 15px 0;
    }
    .footer-nav ul {
        flex-direction: column;
    }

    .footer-info {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-section {
        flex-direction: column;
        padding: 20px;
    }

    .subscribe-form {
        flex-direction: column;
        padding: 10px;
        width: 100%;
        height: 100%;
    }
    .subscribe-form button{
        margin: 0;
    }
    
}