@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html ,body{
    margin: 0;
    padding:0;
    font-size: 25px;
    font-family: "poppins";
    background-color: #E4DFDA;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;

}

.card{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40rem;
    height: 30rem;
    background: #70877F;
    box-shadow: 0.5rem 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
}


.card img {
    max-width: 100%;
    height: 300px;
    object-fit: cover; 
}

button{
    padding: 0.5rem 1rem;
    margin-top: 2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    background-color: rgb(50, 50, 114);
    border: none;
}

button:hover{
        background-color: hsl(240, 46%, 30%);

}
span{
    margin-left: 0.5rem;
}

button:active{
        background-color: hsl(240, 46%, 50%);
}

@media (max-width:1200px){
    html ,body{
    font-size: 20px;
}

.card img {
    max-width: 100%;
    height: 250px;
    object-fit: cover; 
}

}

@media (max-width:1000px){
    html ,body{
    font-size: 15px;
}

.card img {
    max-width: 100%;
    height: 150px;
    object-fit: cover; 
}
}

@media (max-width:700px){
    html ,body{
    font-size: 10px;
}

.card img {
    max-width: 100%;
    height: 100px;
    object-fit: cover; 
}

}


@media (max-width:500px){
    html ,body{
    font-size: 8px;
}

.card img {
    max-width: 100%;
    height: 100px;
    object-fit: cover; 
}


}