/* Home dealer */

.home-dealer {
    margin-top: 2rem;
    padding: 0 1rem;
}

.home-dealer .card {
    border-radius: 1rem;
}

.home-dealer .card img {
    max-width: 10rem;
    margin: auto;
}

.home-dealer .card-body h4 {
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: capitalize;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.home-dealer .card-body p {
    font-size: 1.2rem;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.home-dealer .card-body a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid white;
    transition: .5s;
}

.home-dealer .card-body a:hover {
    background-color: red;
    border-color: white;
    color: white;
}

/* End dealer */

.home-matic .container .card {
    border: 2px solid white;
    border-radius: 1rem;
    width: 19rem;
    margin: auto;
    transition: .25s;
    text-align: center;
    text-transform: capitalize;
}

.home-matic .container .card:hover {
    transform: scale(1.03);
    border-color: red;
}

.home-matic .container .btn:hover {
    background-color: white;
    color: red;
}

@media (max-width: 768px) {
    html {
        font-size: 63%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 58%;
    }
}