@import url("https://fonts.googleapis.com/css2?family=Handlee&family=Lato&display=swap");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Lato", "sans-serif";
  overflow-x: hidden;
  background: linear-gradient(90deg, #9feab3, #f4d089);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

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

.card {
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  border-radius: 10px;
  overflow: hidden;
  width: 26%;
  /* width: 350px; */
  background-color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

}


/* only card content */
.card-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



.card-title{
    padding: 10px 20px;
    font-size: 20px;
    line-height: 1.2; 
    border-bottom:  solid 1px lightgray;
    padding-bottom: 20px;
}

.card-title h1 {
    padding: 5px 0 5px 0;
}




.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    text-align: start;
    margin-left: 2px;
    padding-top: 20px;

}
.card-body p {
    padding-left: 20px;
}

.border-bottom-grey{
    border-bottom:  solid 1px lightgray;
}


footer > a {
    padding-left: 20px;
    font-size: 16px;
   
    
}

footer {
    padding-top: 20px;
    padding-bottom: 20px;
   
}
 

 
@media only screen and (max-width: 375px){
    

   .card {
    width: 80%;
   }

    h1 {
        color: pink;
    }

    footer > a {
        font-size: 13px;
    }
    

}

@media screen and (min-width: 376px) and (max-width: 500px){

    .card {
        width: 78%;
       }
    
        h1 {
            color: rgb(244, 29, 65);
        }

        footer > a {
            font-size: 14px;
        }

}

@media screen and (min-width: 501px) and (max-width: 668px) {
    .card {
        width: 60%;
    }

    h1 {
        color: aquamarine;
    }

    footer > a {
        font-size: 14px;
    }
}


@media screen and (min-width: 669px) and (max-width: 768px) {
    .card {
        width: 50%;
    }

    h1 {
        color: rgb(35, 78, 218);
    }

    footer > a {
        font-size: 14px;
       
        
    }
}

@media screen and (min-width: 768px) and (max-width: 898px) {
    .card {
        width: 40%;
    }

    h1 {
        color: rgb(196, 24, 222);
    }

    footer > a {
        font-size: 14px;
    }
}



@media screen and (min-width: 899px) and (max-width: 1024px){ 

    .card {
        width: 30%;
    }

    h1 {
        color: rgb(215, 222, 9);
    }

    footer > a {
        font-size: 12px;
    }
    
}

@media screen and (min-width: 1025px) and (max-width: 1460px) {
    .card {
        width: 30%;
    }

    h1 {
        color: rgb(222, 87, 9);
    }

    footer > a {
        font-size: 14px;
    }
}