body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.card {
     margin: 5rem;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: center;
    align-items: center;
    object-fit: cover;
}
.card img {
    /* height: 80vh;
    width: 80vw; */
    height: 100%;
    width: 100%;
    object-fit: cover;
}

footer {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    margin: 0;
    color: #fff;
    font-size: 15px;
}

 @media screen and (max-width:800px){
   .card img {
    font-size: 17px;
}
footer {
    font-size: 12px;
}
}
@media screen and (max-width:580px){
   .card img {
    height: 100%;
    width: 90vw;
    font-size: 15px;
}
footer {
    font-size: 10px;
}
}
@media screen and (max-width:440px){
   .card img {
    height: 100%;
    width: 90vw;
    font-size: 12px;
}
footer {
    font-size: 9px;
}
}
@media screen and (max-width:380px){

footer {
    font-size: 8px;
}
}
@media screen and (max-width:350px){
    .card img {
    height: 70vh;
    width: 95vw;
}
footer {
    font-size: 10px;
}
}