@media (min-width: 80rem){
    h1{
        font-size: 5rem;
    }
    .nav-item .nav-link{
        font-size: 2rem;
    }
    .navbar .btn{
        font-size: 2rem;
    }
    .card-title{
        padding: 0.5rem;
        font-size: 1rem;
        font-weight: 700;
        text-align: justify;
        height: 5rem;
    } 
    .card{
        width: 90%;
        height: auto;
    }

}
@media (max-width: 80rem){
    /* html{
        font-size: 56.25%;
    } */
    h1{
        font-size: 4rem;
        
    }
    .card-title{
        padding: 0.5rem;
        font-size: 0.7rem;
        font-weight: 700;
        text-align: justify;
        height: 5rem;
    } 

}
@media (max-width: 67rem){
    html{
        font-size: 56.25%;
    }
    h1{
        font-size: 4rem;
        
    }
    .card{
        width: 90%;
        height: auto;
    }
    .card-title{
        padding: 0.5rem;
        font-size: 0.8rem;
        font-weight: 700;
        text-align: justify;
        height: 5rem;
    } 
}
@media (max-width: 62rem){
    html{
        font-size: 50%;
    }
    h1{
        font-size: 3rem;
        font-weight: 700;
    }
    .card-title{
        padding: 0.5rem;
        font-size: 0.9rem;
        font-weight: 700;
        text-align: justify;
        height: 5rem;
    }  
}
@media (max-width: 40rem){
    h1{
        font-size: 2.5rem;
        
    }
    .card-title{
        padding: 0.5rem;
        font-size: 0.7rem;
        font-weight: 700;
        text-align: justify;
        height: 5rem;
    }  


}
@media (max-width: 30rem){
    html{
        font-size: 44%;
    }
    h1{
        font-size: 2rem;
        
    }
    .card{
        width: 98%;
        height: auto;
    }
    .card-title{
        padding: 0.5rem;
        font-size: 0.7rem;
        font-weight: 700;
        text-align: justify;
        height: 5rem;
    }  
    .contact{
        height: 2rem;
        width: 2rem;
    } 
    .smi{
        height: 2rem;
        width: 2rem;
    }
    .main-container{
     display: flex;
     margin-top: 3rem;
     padding: 0;
     justify-content:center;
     align-items: center;
    }

    .flex-card-container{
    width: 20rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #000;
    gap: 1rem;
    margin-right: 2rem;
    margin-bottom: 2rem;
    position: relative;
    }

}
@media (max-width: 20rem){
    html{
        font-size: 37.5%;
    }
    h1{
        font-size: 2rem;
        
    }
    h2{
        font-size: 1.5rem;
        font-weight: 500;
    }
    .card{
        width: 98%;
        height: auto;
    }
    .card-img-top{
        padding-top: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        position: relative;
        margin: 0 auto;
        width: 100%;
        height: 10rem;
        object-fit: contain;
        border-radius: 1rem;
    }
    .card-title{
        padding: 0.5rem;
        font-size: 0.8rem;
        font-weight: 500;
        text-align: justify;
        height: 5rem;
        font-weight: 700;
    } 
    .contact{
        height: 1.6rem;
        width: 1.6rem;
    } 
    .smi{
        height: 1.6rem;
        width: 1.6rem;
    }

}