
@font-face {
  font-family: 'DIN Next Italic';
  src: url('fonts/dinnext_i4.61ded265c0c537a08a3ef6c1f78e76a5f3be91c9.woff2') format('woff2');
}

@font-face {
  font-family: 'DIN Next Normal';
  src: url('fonts/dinnext_n4.438c249fdbceeefafa64221353c5ece2fdb8ae14.woff2') format('woff2');
}

@font-face {
  font-family: 'DIN Next Medium';
  src: url('fonts/dinnext_n5.9de62f474792d83a5c7487ba13c73b05f03f03c7.woff2') format('woff2');
}

@font-face {
  font-family: 'Futura Normal';
  src: url('fonts/futura_n3.cc9b68efd1cfa8296b0ec7d463066804b6bcc72b.woff2') format('woff2');
}
.medium{
    font-family:DIN Next Medium;
}

.futura{
    font-family:Futura Normal;
}

.preview-info {
    background-color: #f4f4f4;
    color: black;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    height: 70vh;

}

.preview-info .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    padding-left: 5%;
}

.preview-info h2 {
    font-size: 48px;
    font-family: 'Futura Normal', sans-serif;
    line-height: 1.11111111;
    letter-spacing: -.9px;
    margin-bottom: 10px;
}

.preview-info img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    transform: rotate(35deg) scale(5.5);
    width: 10%;
    opacity: .7;
}

.preview-info p {
    width: 60%;
}


.product-container {
    display: flex;
    /*justify-content: center;*/
        flex-wrap: wrap;
    margin-top: 20px;
    width: 80%;
    margin: auto;
}

.product-card>a{
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
     width: 100%;
    min-width: 250px;
    margin: 20px;
}

.product-card {
    position: relative;
    margin:20px 50px;
    width:450px;
}

.tag-container {
    position: absolute;
    top: 40px;
    left: 20px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.tag {
    padding: 5px 15px;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: black;
    color: #fff;
    text-align: center;
}

.sale-tag {
    background-color: red;
}

.product-image-container {
    width: 100%;
    height: 100%;
   transition: transform .5s ease-in-out;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0vh 0vh 5vh rgba(0, 0, 0, 0.699);
    will-change: transform;
    border-radius: 20px;
}

.product-image-container:hover {
    transform: scale(1.07);
}


.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    font-size:16px;
    text-align:center;
    width:100%;
}

.product-details>button{
    width: 60%;
    padding:5px 20px;
    background: black;
    color: white;
    border: 1px solid black;
    transition: all .2s ease-in-out;
    font-size:20px;
    border:none;
}

.product-details>button:hover{
    color:black;
    background:#f5f5f5;
    border:none;
}

.product-name {
    margin-top:5px;
    font-size: 18px;
    /*font-weight: bold;*/
    margin-bottom: 10px;
    text-transform:uppercase;
}

.price {
    font-size: 18px;
    color: red;
    margin-bottom: 8px;
}

.discount-price {
    color: #e44d26;
    font-size: 20px !important;
}

.old-price {
    color: #777;
    font-size: 18px;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.star {
    color: #ffd700;
    margin-right: 4px;
    font-size: 28px;
}

.products-sold {
    font-size: 14px;
    color: #777;
}

@media screen and (max-width: 767px) {
    .tag-container {
        top: 2%;
        left: 2%;
    }
    .tag {
        font-size: 10px;
        padding: 3px;
    }
    .preview-info {
        height: auto;
    }

    .preview-info h2
    {
        text-align: center;
        font-family: Futura Normal, sans-serif;
        margin-top: 10px;
    }
    .preview-info img {
        display: none;
            }
    .preview-info p {
        width: 99%;
    }

}