* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f1f1f1;
}

/* Style the header */
.header {
    background-color: #f1f1f1;
    padding: 20px;
    text-align: center;
}

/* Style the top navigation bar */
.topnav {
    overflow: hidden;
    background-color: #2B5292;
}

/* Style the topnav links */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
    background-color: #93BEDF;
    color: black;
}

/* Create three unequal columns that floats next to each other */

.column {
    float: left;
    padding: 10px;
    background-color: #fff;
}

/* Left and right column */
.column.side {
    width: 25%;
    background-color: #fff;
    padding-left: 20px;
}
.column.three {
    width: 33%;
    background-color: #fff;
    padding-left: 20px;
}

/* Middle column */
.column.middle {
    width: 75%;
}
.column.alone{
    width: 100%;
    padding: 40px;
}

/* Clear floats after the columns */
.row{
    background-color: #fff;
}
.row:after {
    content: "";
    display: table;
    clear: both;

}
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    margin: auto;
    text-align: center;
    font-family: arial;
}
.box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px 2em;
}
.box :first-child {
    align-self: center;
}
.price {
    color: #CC0000;
    font-size: 22px;
}

.card button {
    border: none;
    outline: 0;
    padding: 12px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

.card button:hover {
    opacity: 0.7;
}
.products {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
}

.product-card {
    padding: 2%;
    flex-grow: 1;
    flex-basis: 16%;

    display: flex; /* so child elements can use flexbox stuff too! */
}
.product-image img {
    max-width: 100%;
}
.product-info {
    margin-top: auto;
}
.products h6{
    color: orangered;
    font-size: 22px;
}
.products h5{
    color: lightslategray;
    font-size: 14px;
}
.products p{
    color: slateblue;
    font-size: 12px;
    font-weight: bold;
}
.pagination {
    display: inline-block;
    background-color: #bd2130;
}

.pagination a {
    color: #fad30d;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
}
.pagination a:hover{
    background-color: #b3d7ff;
}
.center {
    text-align: center;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column.side, .column.middle {
        width: 100%;
    }
    .product-card {
        flex: 1 46%;
    }
}
@media (max-width: 920px) {
    .product-card {
        flex: 1 21%;
    }
}

/* Style the footer */
.footer {
    background-color: #f1f1f1;
    text-align: center;
}

/*Homepage styling*/
.hover-shadow {
    transition: all 0.3s ease;
}
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.transition {
    transition: all 0.3s ease;
}
.service-card {
    border-radius: 0.5rem;
}
/* Style the Services */
.hover-card {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border-color: #dee2e6 !important;
}

.service-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-features {
    list-style-type: none;
    padding-left: 0;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.service-commitment {
    border-top: 1px solid rgba(0,0,0,.1);
    padding-top: 15px;
}

.service-highlight {
    position: relative;
}
