#services_section{
    padding: 20px 0 0 0;
}

#services_section p{
    text-align: center;
    color: var(--secondary-text-color);
}
.flex_container{
    position: relative;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.card{
    position: relative;
    width: 200px;
    max-width: 90%;
    padding: 15px 15px;
    background-image: url("../Images/metal_cards.png");
    background-repeat: repeat;
    background-size: auto;
    display: flex;
    flex-direction: column;
    justify-content: top;
    gap: 10px;
    line-height: 125%;
    z-index: 0;
}
.card *{text-align: center;}

.card h3{
    padding: 10px;
    font-size: 25px;
    color: var(--main-brand-color);
    text-align: center;
}

.card a{
    width: 100px;
    background-color: var(--main-brand-color);
    padding: 8px 15px;
    border-radius: 15px;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    margin: 25px auto;
    border: 4px solid var(--main-brand-color);
    box-shadow: var(--shedow-3D);
    transition: 100ms ease-in-out;
}
.card a:hover{
    background: var(--secondary-color);
    color: var(--main-brand-color);
}
.card p{
    height: 7.5em;
    margin: 0 0px 0 0px;
} 
@media print{
    #services_section{padding: 0 0 0 0;}
    
    .card {
        max-width: 120px;
        min-height: 180px;
    }
    .card a{display: none;}
}


@media(max-width:800px) {
    .card{
        width: 180px;
        max-width: 80%;
    }
    .card h3{font-size: 18px;}
}
/* @-moz-document url-prefix() {
    @media screen and (max-width: 900px) {
        .card p{height: min-content;}
    }
} */ 