﻿.hovergallery img {
    -webkit-transform: scale(0.8); /*Webkit: Scale down image to 0.8x original size*/
    -moz-transform: scale(0.8); /*Mozilla scale version*/
    -o-transform: scale(0.8); /*Opera scale version*/
    -webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/
    -moz-transition-duration: 0.5s; /*Mozilla duration version*/
    -o-transition-duration: 0.5s; /*Opera duration version*/
    opacity: 0.7; /*initial opacity of images*/
    margin: 0 -16px 5px 0; /*margin between images*/
}

    .hovergallery img:hover {
        -webkit-transform: scale(1.1); /*Webkit: Scale up image to 1.2x original size*/
        -moz-transform: scale(1.1); /*Mozilla scale version*/
        -o-transform: scale(1.1); /*Opera scale version*/
        box-shadow: 0px 0px 30px gray; /*CSS3 shadow: 30px blurred shadow all around image*/
        -webkit-box-shadow: 0px 0px 30px gray; /*Safari shadow version*/
        -moz-box-shadow: 0px 0px 30px gray; /*Mozilla shadow version*/
        opacity: 1;
    }


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    color: #ff8c00;
    font-size: 28px;
    margin-bottom: 10px;
}

.description {
    font-size: 16px;
    margin-bottom: 30px;
}

.engine-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.engine-card {
    position: relative;
    flex: 1 1 45%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    background: #000;
}

    .engine-card img {
        width: 100%;
        height: auto;
        display: block;
        opacity: 0.9;
    }

.label {
    position: absolute;
    bottom: 0;
    background: #000;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-size: 18px;
}

.arrow {
    width: 0;
    height: 0;
    border-left: 15px solid #ff8c00;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 10px;
}

.product img {
    width: 100%;
    height: auto;
    transition: 1s all ease-out;
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.product {
    display: block;
    position: relative;
    overflow: hidden;
}

a {
    font: inherit;
    color: inherit;
    text-decoration: none;
    transition: .3s all ease;
}