CSS:
header {
background: var(--grey-bg-color);
padding: 20px 0;
}
.box {
display: flex;
justify-content: space-around;
}
nav {
margin-top: 110px;
}
nav li {
display: inline;
margin: 0 0 0 15px;
}
nav a {
text-transform: uppercase;
color: var(--dark-color);
font-weight: 700;
font-size: 22px;
text-decoration: none;
}
nav a:hover {
color: var(--hover-menu-color);
text-decoration: underline;
}
.products {
display: flex;
justify-content: space-around;
width: 1080px;
margin: 0 auto;
padding: 50px 0;
}
.products li {
text-align: center;
width: 30%;
margin: 0 1.5%;
padding: 30px 20px;
border: 2px solid var(--dark-color);
border-radius: 10px;
}
.products li:hover {
border-color: var(--hover-menu-color);
}
.products li:active {
border-color: var(--active-menu-color);
}
.products li:hover h2 {
font-size: 34px;
}
.products h2 {
font-size: 30px;
font-weight: 700;
}
.product-description {
font-size: 18px;
}
/* Pega 0 último elemento e aplica as propriedades*/
.products li :last-child {
font-size: 22px;
font-weight: bold;
margin-top: 10px;
}
footer {
text-align: center;
background: url("../img/bg.jpg");
padding: 40px 0;
}
.copyright {
color: var(--white-bg-color);
font-size: 13px;
margin-top: 20px;
}