/*-----------------
Fonts
-------------------*/

.home-img{
    background-image: url(../img/back.png);
}
.text-crate {
    margin-right: 80px;
}

.products-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product {
    border: 1px solid #ddd;
    padding: 15px;
    width: 300px;
    text-align: center;
    background-color: #fff;
    transition: all 0.3s ease;
}

.product a {
    text-decoration: none;
}

.product:hover {
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product img {
    max-width: 100%;
    height: auto;
}

p.product-title {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
    height: 3rem;
    overflow: hidden;
}

p.product-link {
  font-size: 1.5rem;
  color: white;
  background: gray;
  border-radius: 1rem;
}

p.product-link:hover {
    background: #097fc6;
}

.product-view {
    display: inline-block;
    color: #007bff;
    font-weight: bold;
    margin-top: 10px;
}

.product-view:hover {
    text-decoration: underline;
}
@media only screen and (max-width: 80em) {

.product {
    width: 235px;
}
}
@media only screen and (max-width: 60em) {

.product {
    width: 300px;
}
}