body {
box-sizing: border-box;
background-color: #f5f5f7;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
nav {
font-weight: bold;
background-color: #e6e6e6;
display: flex;
justify-content: space-between;
height: 80px;
align-items: center;
padding: 0rem calc((100vw - 1300px) /2);
margin-bottom: 50px;
}
nav a {
cursor: pointer;
padding: 0 1.5rem;
}
.LOGO {
font-size: 1.5rem;
font-style: italic;
padding: 0 2rem;
}
.featured {
background-color: transparent;
height: 300px;
display: flex;
align-items: flex-start;
border-radius: 15px;
justify-content: space-evenly;
}
.product{
height: 250px;
width: 250px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
border-radius: 15px;
text-align: center;
}
.product img{
width: 250px;
display: block;
margin: auto;
}
.product:hover {
/* on hover - scale to this x,y size */
transform: scale(1.15,1.15);
/* property values: name, duration, iteration, timing-function */
animation: jiggle 0.5s infinite linear;
}
@keyframes jiggle {
/* start at 0deg and this scale size.
scale size is repeated here to maintain smooth scaling */
0% {transform: rotate(0deg) scale(1.15,1.15);}
/* midway rotate 2deg right */
50% {transform: rotate(2deg) scale(1.15,1.15);}
/* end rotate -2deg left */
100% {transform: rotate(-2deg) scale(1.15,1.15)}
}
.fproducttitle {
text-align: center;
}
caption {
display: block;
text-align: center;
}
div.featuredproductimg {
vertical-align: bottom;
display: flex;
text-align: center;
width: 250px;
}